///
EUFRAK_FAMILY,
///
+ WASY_FAMILY,
+ ///
INHERIT_FAMILY,
///
IGNORE_FAMILY,
/// Converts logical attributes to concrete shape attribute
LyXFont::FONT_SHAPE realShape() const;
-private:
- ///
+
+ /** Compaq cxx 6.5 requires that the definition be public so that
+ it can compile operator==()
+ */
struct FontBits {
- ///
- bool operator==(FontBits const & fb1) const;
- ///
- bool operator!=(FontBits const & fb1) const;
///
FONT_FAMILY family;
///
///
FONT_MISC_STATE number;
};
+private:
///
FontBits bits;
case LyXFont::CMEX_FAMILY:
case LyXFont::MSA_FAMILY:
case LyXFont::MSB_FAMILY:
+ case LyXFont::WASY_FAMILY:
return true;
default:
return false;
///
std::ostream & operator<<(std::ostream &, LyXFont::FONT_MISC_STATE);
+bool operator==(LyXFont::FontBits const & lhs, LyXFont::FontBits const & rhs);
+
+inline
+bool operator!=(LyXFont::FontBits const & lhs, LyXFont::FontBits const & rhs)
+{
+ return !(lhs == rhs);
+}
+
///
inline
bool operator==(LyXFont const & font1, LyXFont const & font2)
{
return !(font1 == font2);
}
+
+
#endif