void FontStyle::applyBaseStyle(const FontStyle& baseStyle, const ArgList& args) { setDefaultedAttr(m_sName, "font", args, baseStyle.getFont()); setDefaultedAttr(m_sVariant, "variant", args, baseStyle.getFontVariant()); setDefaultedAttr(m_Color, "color", args, baseStyle.getColor()); setDefaultedAttr(m_AAGamma, "aagamma", args, baseStyle.getAAGamma()); setDefaultedAttr(m_Size, "fontsize", args, baseStyle.getFontSize()); setDefaultedAttr(m_Indent, "indent", args, baseStyle.getIndent()); setDefaultedAttr(m_LineSpacing, "linespacing", args, baseStyle.getLineSpacing()); setDefaultedAttr(m_Alignment, "alignment", args, baseStyle.getAlignmentVal()); setDefaultedAttr(m_WrapMode, "wrapmode", args, baseStyle.getWrapModeVal()); setDefaultedAttr(m_bJustify, "justify", args, baseStyle.getJustify()); setDefaultedAttr(m_LetterSpacing, "letterspacing", args, baseStyle.getLetterSpacing()); setDefaultedAttr(m_bHint, "hint", args, baseStyle.getHint()); }