-// Initialize static member
-Font::FontBits Font::sane = {
- ROMAN_FAMILY,
- MEDIUM_SERIES,
- UP_SHAPE,
- SIZE_NORMAL,
- Color_none,
- OFF,
- OFF,
- OFF,
- OFF };
-
-// Initialize static member
-Font::FontBits Font::inherit = {
- INHERIT_FAMILY,
- INHERIT_SERIES,
- INHERIT_SHAPE,
- INHERIT_SIZE,
- Color_inherit,
- INHERIT,
- INHERIT,
- INHERIT,
- OFF };
-
-// Initialize static member
-Font::FontBits Font::ignore = {
- IGNORE_FAMILY,
- IGNORE_SERIES,
- IGNORE_SHAPE,
- IGNORE_SIZE,
- Color_ignore,
- IGNORE,
- IGNORE,
- IGNORE,
- IGNORE };
-
-
-bool operator==(Font::FontBits const & lhs,
- Font::FontBits const & rhs)
-{
- return lhs.family == rhs.family &&
- lhs.series == rhs.series &&
- lhs.shape == rhs.shape &&
- lhs.size == rhs.size &&
- lhs.color == rhs.color &&
- lhs.emph == rhs.emph &&
- lhs.underbar == rhs.underbar &&
- lhs.noun == rhs.noun &&
- lhs.number == rhs.number;
-}
-
-
-Font::Font()
- : bits(sane), lang(default_language), open_encoding_(false)
-{}
-
-
-Font::Font(Font::FONT_INIT1)
- : bits(inherit), lang(default_language), open_encoding_(false)
-{}
-
-
-Font::Font(Font::FONT_INIT2)
- : bits(ignore), lang(ignore_language), open_encoding_(false)
-{}
-
-
-Font::Font(Font::FONT_INIT3)
- : bits(sane), lang(default_language), open_encoding_(false)
-{}
-
-
-Font::Font(Font::FONT_INIT1, Language const * l)
- : bits(inherit), lang(l), open_encoding_(false)
-{}
-
-
-Font::Font(Font::FONT_INIT2, Language const * l)
- : bits(ignore), lang(l), open_encoding_(false)
-{}
-
-
-Font::Font(Font::FONT_INIT3, Language const * l)
- : bits(sane), lang(l), open_encoding_(false)
-{}
-
-
-
-ColorCode Font::color() const