diff --git a/src/servers/app/FontStyle.cpp b/src/servers/app/FontStyle.cpp index 84042b96e3..8dab23e96c 100644 --- a/src/servers/app/FontStyle.cpp +++ b/src/servers/app/FontStyle.cpp @@ -140,6 +140,8 @@ FontStyle::Flags() const if (IsFixedWidth()) flags |= B_IS_FIXED; + if (IsFullAndHalfFixed()) + flags |= B_PRIVATE_FONT_IS_FULL_AND_HALF_FIXED; if (TunedCount() > 0) flags |= B_HAS_TUNED_FONT; if (HasKerning()) diff --git a/src/servers/app/FontStyle.h b/src/servers/app/FontStyle.h index ae1803bea2..034f4449ff 100644 --- a/src/servers/app/FontStyle.h +++ b/src/servers/app/FontStyle.h @@ -74,6 +74,14 @@ class FontStyle : public ReferenceCounting, public Hashable/*, public BLocker*/ */ bool IsFixedWidth() const { return fFreeTypeFace->face_flags & FT_FACE_FLAG_FIXED_WIDTH; } + +/* \fn bool FontStyle::IsFullAndHalfFixed() + \brief Determines whether the font has 2 different, fixed, widths. + \return false (for now) +*/ + bool IsFullAndHalfFixed() const + { return false; }; + /*! \fn bool FontStyle::IsScalable(void) \brief Determines whether the font can be scaled to any size