-public:
- /** The value INHERIT_* means that the font attribute is
- inherited from the layout. In the case of layout fonts, the
- attribute is inherited from the default font.
- The value IGNORE_* is used with Font::update() when the
- attribute should not be changed.
- */
- enum FONT_FAMILY {
- ///
- ROMAN_FAMILY, // fontstruct rely on this to be 0
- ///
- SANS_FAMILY,
- ///
- TYPEWRITER_FAMILY,
- ///
- SYMBOL_FAMILY,
- ///
- CMR_FAMILY,
- ///
- CMSY_FAMILY,
- ///
- CMM_FAMILY,
- ///
- CMEX_FAMILY,
- ///
- MSA_FAMILY,
- ///
- MSB_FAMILY,
- ///
- EUFRAK_FAMILY,
- ///
- WASY_FAMILY,
- ///
- ESINT_FAMILY,
- ///
- INHERIT_FAMILY,
- ///
- IGNORE_FAMILY,
- ///
- NUM_FAMILIES = INHERIT_FAMILY
- };
-
- ///
- enum FONT_SERIES {
- ///
- MEDIUM_SERIES, // fontstruct rely on this to be 0
- ///
- BOLD_SERIES,
- ///
- INHERIT_SERIES,
- ///
- IGNORE_SERIES
- };
-
- ///
- enum FONT_SHAPE {
- ///
- UP_SHAPE, // fontstruct rely on this to be 0
- ///
- ITALIC_SHAPE,
- ///
- SLANTED_SHAPE,
- ///
- SMALLCAPS_SHAPE,
- ///
- INHERIT_SHAPE,
- ///
- IGNORE_SHAPE
- };
-
- ///
- enum FONT_SIZE {
- ///
- SIZE_TINY, // fontstruct rely on this to be 0
- ///
- SIZE_SCRIPT,
- ///
- SIZE_FOOTNOTE,
- ///
- SIZE_SMALL,
- ///
- SIZE_NORMAL,
- ///
- SIZE_LARGE,
- ///
- SIZE_LARGER,
- ///
- SIZE_LARGEST,
- ///
- SIZE_HUGE,
- ///
- SIZE_HUGER,
- ///
- INCREASE_SIZE,
- ///
- DECREASE_SIZE,
- ///
- INHERIT_SIZE,
- ///
- IGNORE_SIZE
- };
-
- /// Used for emph, underbar, noun and latex toggles
- enum FONT_MISC_STATE {
- ///
- OFF,
- ///
- ON,
- ///
- TOGGLE,
- ///
- INHERIT,
- ///
- IGNORE
- };
-
- /// Trick to overload constructor and make it megafast
- enum FONT_INIT1 {
- ///
- ALL_INHERIT
- };
- ///
- enum FONT_INIT2 {
- ///
- ALL_IGNORE
- };
- ///
- enum FONT_INIT3 {
- ///
- ALL_SANE
- };