Home
last modified time | relevance | path

Searched refs:fontIndex (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/icu/source/samples/layout/
DFontMap.cpp211 le_int32 fontIndex = fFontIndices[scriptCode]; in getScriptFont() local
213 if (fontIndex < 0) { in getScriptFont()
220 if (fFontInstances[fontIndex] == NULL) { in getScriptFont()
221 fFontInstances[fontIndex] = openFont(fFontNames[fontIndex], fPointSize, status); in getScriptFont()
224 sprintf(errorMessage, "Could not open font file %s", fFontNames[fontIndex]); in getScriptFont()
230 return fFontInstances[fontIndex]; in getScriptFont()
/third_party/flutter/skia/third_party/externals/icu/source/samples/layout/
DFontMap.cpp211 le_int32 fontIndex = fFontIndices[scriptCode]; in getScriptFont() local
213 if (fontIndex < 0) { in getScriptFont()
220 if (fFontInstances[fontIndex] == NULL) { in getScriptFont()
221 fFontInstances[fontIndex] = openFont(fFontNames[fontIndex], fPointSize, status); in getScriptFont()
224 sprintf(errorMessage, "Could not open font file %s", fFontNames[fontIndex]); in getScriptFont()
230 return fFontInstances[fontIndex]; in getScriptFont()
/third_party/icu/icu4c/source/samples/layout/
DFontMap.cpp211 le_int32 fontIndex = fFontIndices[scriptCode]; in getScriptFont() local
213 if (fontIndex < 0) { in getScriptFont()
220 if (fFontInstances[fontIndex] == NULL) { in getScriptFont()
221 fFontInstances[fontIndex] = openFont(fFontNames[fontIndex], fPointSize, status); in getScriptFont()
224 sprintf(errorMessage, "Could not open font file %s", fFontNames[fontIndex]); in getScriptFont()
230 return fFontInstances[fontIndex]; in getScriptFont()
/third_party/flutter/skia/src/ports/
DSkFontMgr_win_dw.cpp930 for (UINT32 fontIndex = 0; fontIndex < fontCount; ++fontIndex) { in onMakeFromStreamIndex() local
932 HRN(fontFamily->GetFont(fontIndex, &font)); in onMakeFromStreamIndex()
979 for (UINT32 fontIndex = 0; fontIndex < fontCount; ++fontIndex) { in onMakeFromStreamArgs() local
981 HRN(fontFamily->GetFont(fontIndex, &font)); in onMakeFromStreamArgs()
1009 for (UINT32 fontIndex = 0; fontIndex < fontAxisCount; ++fontIndex) { in onMakeFromStreamArgs() local
1011 if (SkEndian_SwapBE32(fontAxisValues[fontIndex].axisTag) == in onMakeFromStreamArgs()
1013 fontAxisValues[fontIndex].value = in onMakeFromStreamArgs()
DSkRemotableFontMgr_win_dw.cpp135 for (int fontIndex = 0; fontIndex < count; ++fontIndex) { in getIndex() local
137 HRNM(fontFamily->GetFont(fontIndex, &font), "Could not get font."); in getIndex()
139 HRN(FontToIdentity(font.get(), &fontIds[fontIndex])); in getIndex()
DSkTypeface_win_dw.cpp284 for (UINT32 fontIndex = 0; fontIndex < fontAxisCount; ++fontIndex) { in onMakeClone() local
286 if (SkEndian_SwapBE32(fontAxisValue[fontIndex].axisTag) == in onMakeClone()
288 fontAxisValue[fontIndex].value = in onMakeClone()
DSkFontMgr_fontconfig.cpp668 for (int fontIndex = 0; fontIndex < allFonts->nfont; ++fontIndex) { in GetFamilyNames() local
669 FcPattern* current = allFonts->fonts[fontIndex]; in GetFamilyNames()
861 for (int fontIndex = 0; fontIndex < allFonts->nfont; ++fontIndex) { in onMatchFamily() local
862 FcPattern* font = allFonts->fonts[fontIndex]; in onMatchFamily()
/third_party/skia/src/ports/
DSkRemotableFontMgr_win_dw.cpp135 for (int fontIndex = 0; fontIndex < count; ++fontIndex) { in getIndex() local
137 HRNM(fontFamily->GetFont(fontIndex, &font), "Could not get font."); in getIndex()
139 HRN(FontToIdentity(font.get(), &fontIds[fontIndex])); in getIndex()
DSkFontMgr_fontconfig.cpp658 for (int fontIndex = 0; fontIndex < allFonts->nfont; ++fontIndex) { in GetFamilyNames() local
659 FcPattern* current = allFonts->fonts[fontIndex]; in GetFamilyNames()
860 for (int fontIndex = 0; fontIndex < allFonts->nfont; ++fontIndex) { in onMatchFamily() local
861 FcPattern* font = allFonts->fonts[fontIndex]; in onMatchFamily()
DSkTypeface_win_dw.cpp333 for (UINT32 fontIndex = 0; fontIndex < fontAxisCount; ++fontIndex) { in onMakeClone() local
335 if (SkEndian_SwapBE32(fontAxisValue[fontIndex].axisTag) == in onMakeClone()
337 fontAxisValue[fontIndex].value = in onMakeClone()
DSkFontMgr_win_dw.cpp1091 for (UINT32 fontIndex = 0; fontIndex < fontCount; ++fontIndex) { in onMakeFromStreamArgs() local
1093 HRN(fontFamily->GetFont(fontIndex, &font)); in onMakeFromStreamArgs()
/third_party/flutter/skia/tests/
DTypefaceTest.cpp111 int fontIndex; in DEF_TEST() local
112 std::unique_ptr<SkStreamAsset> stream = typeface->openStream(&fontIndex); in DEF_TEST()
115 sk_sp<SkTypeface> typeface2 = fm->makeFromStream(std::move(stream), fontIndex); in DEF_TEST()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
DFontInfoMain.java231 private static String prependDataAndBuildCsv(String[] arr, String fontName, int fontIndex) { in prependDataAndBuildCsv() argument
238 .append(fontIndex) in prependDataAndBuildCsv()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
DFontInfoMain.java231 private static String prependDataAndBuildCsv(String[] arr, String fontName, int fontIndex) { in prependDataAndBuildCsv() argument
238 .append(fontIndex) in prependDataAndBuildCsv()
/third_party/skia/tests/
DTypefaceTest.cpp126 int fontIndex; in DEF_TEST() local
127 std::unique_ptr<SkStreamAsset> stream = typeface->openStream(&fontIndex); in DEF_TEST()
130 sk_sp<SkTypeface> typeface2 = fm->makeFromStream(std::move(stream), fontIndex); in DEF_TEST()
/third_party/skia/experimental/sktext/src/
DText.cpp104 for (auto fontIndex = 0; fontIndex < fontChain.count(); ++fontIndex) { in resolveChain() local
105 auto typeface = fontChain[fontIndex]; in resolveChain()