-/** \c Font_size is a wrapper for Font::FONT_SIZE.
- * It can be forward-declared and passed as a function argument without
- * having to expose Font.h.
- */
-class Font_size {
-public:
- ///
- Font_size(Font::FONT_SIZE val) : val_(val) {}
- ///
- operator Font::FONT_SIZE() const { return val_; }
-private:
- ///
- Font::FONT_SIZE val_;
-};
-
-
-
-inline
-bool Font::isSymbolFont() const
-{
- switch (family()) {
- case Font::SYMBOL_FAMILY:
- case Font::CMSY_FAMILY:
- case Font::CMM_FAMILY:
- case Font::CMEX_FAMILY:
- case Font::MSA_FAMILY:
- case Font::MSB_FAMILY:
- case Font::WASY_FAMILY:
- case Font::ESINT_FAMILY:
- return true;
- default:
- return false;
- }
-}
-
-///
-std::ostream & operator<<(std::ostream &, Font::FONT_MISC_STATE);
-
-bool operator==(Font::FontBits const & lhs, Font::FontBits const & rhs);
-
-inline
-bool operator!=(Font::FontBits const & lhs, Font::FontBits const & rhs)
-{
- return !(lhs == rhs);
-}
-