uint32 FontFamily::Flags() { if (fFlags == kInvalidFamilyFlags) { fFlags = 0; int32 count = fStyles.CountItems(); for (int32 i = 0; i < count; i++) { FontStyle* style = fStyles.ItemAt(i); if (style->IsFixedWidth()) fFlags |= B_IS_FIXED; if (style->IsFullAndHalfFixed()) fFlags |= B_PRIVATE_FONT_IS_FULL_AND_HALF_FIXED; if (style->TunedCount() > 0) fFlags |= B_HAS_TUNED_FONT; } } return fFlags; }