Home
last modified time | relevance | path

Searched refs:bcp47 (Results 1 - 25 of 27) sorted by relevance

12

/third_party/skia/src/ports/skia_ohos/
H A DSkFontMgr_ohos.cpp109 * \param bcp47 an array of languages which indicate the language of 'character'
110 * \param bcp47Count the array size of bcp47
118 const char* bcp47[], int bcp47Count, SkUnichar character) const in onMatchFamilyStyleCharacter()
145 SkTypeface* retTp = findTypeface(*item, style, bcp47, bcp47Count, character); in onMatchFamilyStyleCharacter()
177 * \param bcp47 an array of languages which indicate the language of 'character'
178 * \param bcp47Count the array size of bcp47
184 const char* bcp47[], int bcp47Count, SkUnichar character) const in findTypeface()
191 // example bcp47 code : 'zh-Hans' : ('zh' : iso639 code, 'Hans' : iso15924 code) in findTypeface()
192 // iso639 code will be taken from bcp47 code, so that we can try to match in findTypeface()
193 // bcp47 o in findTypeface()
117 onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character) const onMatchFamilyStyleCharacter() argument
183 findTypeface(const FallbackSetPos& fallbackItem, const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character) const findTypeface() argument
240 compareLangs(const SkString& langs, const char* bcp47[], int bcp47Count, const int tps[]) const compareLangs() argument
[all...]
H A DSkFontMgr_ohos.h38 const char* bcp47[], int bcp47Count,
62 int compareLangs(const SkString& langs, const char* bcp47[], int bcp47Count, const int tps[]) const;
66 const char* bcp47[], int bcp47Count,
/third_party/skia/modules/skparagraph/src/
H A DFontCollection.cpp314 std::vector<const char*> bcp47; local
316 bcp47.push_back(locale.c_str());
320 nullptr, fontStyle, bcp47.data(), bcp47.size(), unicode));
323 nullptr, fontStyle, bcp47.data(), bcp47.size(), unicode));
/third_party/skia/src/utils/
H A DSkOrderedFontMgr.cpp68 const char* bcp47[], int bcp47Count, in onMatchFamilyStyleCharacter()
71 if (auto tf = fm->matchFamilyStyleCharacter(familyName, style, bcp47, bcp47Count, uni)) { in onMatchFamilyStyleCharacter()
66 onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar uni) const onMatchFamilyStyleCharacter() argument
/third_party/skia/src/core/
H A DSkFontMgr.cpp57 const char* bcp47[],
110 const char* bcp47[], int bcp47Count, in matchFamilyStyleCharacter()
112 return this->onMatchFamilyStyleCharacter(familyName, style, bcp47, bcp47Count, character); in matchFamilyStyleCharacter()
109 matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character) const matchFamilyStyleCharacter() argument
/third_party/skia/src/ports/
H A DSkFontMgr_fuchsia.cpp243 const char* bcp47[], int bcp47Count,
257 const char* bcp47[], int bcp47Count, SkUnichar character,
299 fFamilyName.c_str(), fStyles[index], /*bcp47=*/nullptr,
356 FetchTypeface(familyName, style, /*bcp47=*/nullptr, in onMatchFamilyStyle()
364 const char* bcp47[], int bcp47Count, in onMatchFamilyStyleCharacter()
367 FetchTypeface(familyName, style, bcp47, bcp47Count, character, /*allow_fallback=*/true, in onMatchFamilyStyleCharacter()
397 const SkFontStyle& style, const char* bcp47[], in FetchTypeface()
408 localeId.id = bcp47[i]; in FetchTypeface()
362 onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character) const onMatchFamilyStyleCharacter() argument
396 FetchTypeface(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character, bool allow_fallback, bool exact_style_match) const FetchTypeface() argument
H A DSkFontMgr_preview.cpp115 const char* bcp47[], in onMatchFamilyStyleCharacter()
128 SkLanguage lang(bcp47[bcp47Index]); in onMatchFamilyStyleCharacter()
113 onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character) const onMatchFamilyStyleCharacter() argument
H A DSkFontMgr_custom.h146 const char* bcp47[], int bcp47Count,
H A DSkRemotableFontMgr_win_dw.cpp357 const char* bcp47[], int bcp47Count,
384 HR_GENERAL(sk_cstring_to_wchar(bcp47[bcp47Count-1], &dwBcp47Local), nullptr, identity);
H A DSkFontMgr_android.cpp395 const char* bcp47[],
408 SkLanguage lang(bcp47[bcp47Index]);
H A DSkFontMgr_FontConfigInterface.cpp214 const char* bcp47[], int bcp47Count,
H A DSkFontMgr_custom.cpp220 const char* bcp47[], int bcp47Count,
H A DSkFontMgr_preview.h335 const char* bcp47[],
H A DSkFontMgr_win_dw.cpp355 const char* bcp47[], int bcp47Count,
825 const char* bcp47[], int bcp47Count, in onMatchFamilyStyleCharacter()
844 HRN(sk_cstring_to_wchar(bcp47[bcp47Count - 1], &dwBcp47Local)); in onMatchFamilyStyleCharacter()
823 onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character) const onMatchFamilyStyleCharacter() argument
H A DSkFontMgr_fontconfig.cpp913 const char* bcp47[],
934 SkASSERT(bcp47);
937 FcLangSetAdd(langSet, (const FcChar8*)bcp47[i]);
/third_party/skia/tools/fonts/
H A DTestFontMgr.cpp151 const char* bcp47[],
154 (void)bcp47; variable
/third_party/skia/include/core/
H A DSkFontMgr.h105 * Note that bcp47 is a combination of ISO 639, 15924, and 3166-1 codes,
114 * bcp47[0] is the least significant fallback, bcp47[bcp47Count-1] is the
115 * most significant. If no specified bcp47 codes match, any font with the
119 const char* bcp47[], int bcp47Count,
199 const char* bcp47[], int bcp47Count,
/third_party/skia/src/fonts/
H A DSkFontMgr_indirect.cpp145 const char* bcp47[], in onMatchFamilyStyleCharacter()
148 SkFontIdentity id = fProxy->matchNameStyleCharacter(familyName, style, bcp47, in onMatchFamilyStyleCharacter()
143 onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character) const onMatchFamilyStyleCharacter() argument
/third_party/skia/include/utils/
H A DSkOrderedFontMgr.h36 const char* bcp47[], int bcp47Count,
/third_party/skia/include/ports/
H A DSkRemotableFontMgr.h123 const char* bcp47[], int bcp47Count,
H A DSkFontMgr_indirect.h46 const char* bcp47[],
/third_party/skia/src/sfnt/
H A DSkOTTable_name.cpp95 const char* bcp47;
579 record.language = BCP47FromLanguageID[languageIndex].bcp47;
/third_party/skia/gm/
H A Dfontmgr.cpp45 const char* fontName, const char* bcp47[], int bcp47Count, in drawCharacter()
52 bcp47, bcp47Count, character)); in drawCharacter()
43 drawCharacter(SkCanvas* canvas, uint32_t character, SkScalar x, SkScalar y, const SkFont& origFont, SkFontMgr* fm, const char* fontName, const char* bcp47[], int bcp47Count, const SkFontStyle& fontStyle) drawCharacter() argument
/third_party/skia/modules/skottie/tests/
H A DText.cpp42 const char* bcp47[], int bcp47Count,
/third_party/skia/modules/skottie/src/
H A DSkottieTest.cpp225 const char* bcp47[], int bcp47Count, in DEF_TEST()
646 const char* bcp47[], in DEF_TEST()

Completed in 21 milliseconds

12