Lines Matching refs:isFallback
75886 + * \param isFallback to indicate the font style set is from generic family or fallback family
75891 +int FontConfig_OHOS::getTypefaceCount(int styleIndex, bool isFallback) const
75896 + if (isFallback) {
75911 + * \param isFallback false, the font style set is generic
75917 + bool isFallback) const
75920 + (isFallback && (unsigned int)styleIndex >= fallbackSet.size()) ||
75921 + (!isFallback && (unsigned int)styleIndex >= genericFamilySet.size())) {
75924 + if (isFallback) {
75941 + * \param isFallback false, the font style set is generic
75947 + bool isFallback) const
75950 + (isFallback && (unsigned int)styleIndex >= fallbackSet.size()) ||
75951 + (!isFallback && (unsigned int)styleIndex >= genericFamilySet.size())) {
75955 + if (isFallback) {
75970 + * \param[out] isFallback to tell if the family is from generic or fallback to the caller.
75971 + * \n isFallback is false, if the font style is from generic family list
75972 + * \n isFallback is true, if the font style is from fallback family list
75976 +int FontConfig_OHOS::getStyleIndex(const char* familyName, bool& isFallback) const
75979 + isFallback = false;
75985 + isFallback = false;
75990 + isFallback = true;
77163 + int getTypefaceCount(int styleIndex, bool isFallback = false) const;
77164 + int getStyleIndex(const char* familyName, bool& isFallback) const;
77166 + SkTypeface_OHOS* getTypeface(int styleIndex, int index, bool isFallback = false) const;
77168 + bool isFallback = false) const;
77518 + bool isFallback = false;
77519 + int index = fontConfig->getStyleIndex(familyName, isFallback);
77523 + return new SkFontStyleSet_OHOS(fontConfig, index, isFallback);
77539 + bool isFallback = false;
77542 + styleIndex = fontConfig->getStyleIndex(familyName, isFallback);
77544 + return SkSafeRef(fontConfig->getTypeface(styleIndex, style, isFallback));
78003 + * \param isFallback true - the font style is from fallback family
78007 + int index, bool isFallback)
78008 + : fontConfig_(fontConfig), styleIndex(index), isFallback(isFallback)
78011 + tpCount = fontConfig_->getTypefaceCount(styleIndex, isFallback);
78034 + SkTypeface* typeface = fontConfig_->getTypeface(styleIndex, index, isFallback);
78079 + return SkSafeRef(fontConfig_->getTypeface(styleIndex, index, isFallback));
78092 + return SkSafeRef(fontConfig_->getTypeface(styleIndex, pattern, isFallback));
78121 + int index, bool isFallback = false);
78130 + bool isFallback = false; // the flag of font style set. False for fallback family, true for ge…