Home
last modified time | relevance | path

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

/external/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()
/external/pdfium/core/fpdfdoc/
Dcpvt_wordinfo.cpp19 CPVT_WordInfo::CPVT_WordInfo(uint16_t word, int32_t charset, int32_t fontIndex) in CPVT_WordInfo() argument
25 nFontIndex(fontIndex) {} in CPVT_WordInfo()
Dcpvt_wordinfo.h16 CPVT_WordInfo(uint16_t word, int32_t charset, int32_t fontIndex);
/external/skqp/src/ports/
DSkFontMgr_win_dw.cpp908 for (UINT32 fontIndex = 0; fontIndex < fontCount; ++fontIndex) { in onMakeFromStreamIndex() local
910 HRN(fontFamily->GetFont(fontIndex, &font)); in onMakeFromStreamIndex()
957 for (UINT32 fontIndex = 0; fontIndex < fontCount; ++fontIndex) { in onMakeFromStreamArgs() local
959 HRN(fontFamily->GetFont(fontIndex, &font)); in onMakeFromStreamArgs()
987 for (UINT32 fontIndex = 0; fontIndex < fontAxisCount; ++fontIndex) { in onMakeFromStreamArgs() local
989 if (SkEndian_SwapBE32(fontAxisValues[fontIndex].axisTag) == in onMakeFromStreamArgs()
991 fontAxisValues[fontIndex].value = in onMakeFromStreamArgs()
DSkRemotableFontMgr_win_dw.cpp134 for (int fontIndex = 0; fontIndex < count; ++fontIndex) { in getIndex() local
136 HRNM(fontFamily->GetFont(fontIndex, &font), "Could not get font."); in getIndex()
138 HRN(FontToIdentity(font.get(), &fontIds[fontIndex])); in getIndex()
DSkFontMgr_fontconfig.cpp652 for (int fontIndex = 0; fontIndex < allFonts->nfont; ++fontIndex) { in GetFamilyNames() local
653 FcPattern* current = allFonts->fonts[fontIndex]; in GetFamilyNames()
826 for (int fontIndex = 0; fontIndex < allFonts->nfont; ++fontIndex) { in onMatchFamily() local
827 FcPattern* font = allFonts->fonts[fontIndex]; in onMatchFamily()
DSkTypeface_win_dw.cpp341 for (UINT32 fontIndex = 0; fontIndex < fontAxisCount; ++fontIndex) { in onMakeClone() local
343 if (SkEndian_SwapBE32(fontAxisValue[fontIndex].axisTag) == in onMakeClone()
345 fontAxisValue[fontIndex].value = in onMakeClone()
/external/skia/src/ports/
DSkFontMgr_win_dw.cpp908 for (UINT32 fontIndex = 0; fontIndex < fontCount; ++fontIndex) { in onMakeFromStreamIndex() local
910 HRN(fontFamily->GetFont(fontIndex, &font)); in onMakeFromStreamIndex()
957 for (UINT32 fontIndex = 0; fontIndex < fontCount; ++fontIndex) { in onMakeFromStreamArgs() local
959 HRN(fontFamily->GetFont(fontIndex, &font)); in onMakeFromStreamArgs()
987 for (UINT32 fontIndex = 0; fontIndex < fontAxisCount; ++fontIndex) { in onMakeFromStreamArgs() local
989 if (SkEndian_SwapBE32(fontAxisValues[fontIndex].axisTag) == in onMakeFromStreamArgs()
991 fontAxisValues[fontIndex].value = in onMakeFromStreamArgs()
DSkRemotableFontMgr_win_dw.cpp134 for (int fontIndex = 0; fontIndex < count; ++fontIndex) { in getIndex() local
136 HRNM(fontFamily->GetFont(fontIndex, &font), "Could not get font."); in getIndex()
138 HRN(FontToIdentity(font.get(), &fontIds[fontIndex])); in getIndex()
DSkFontMgr_fontconfig.cpp651 for (int fontIndex = 0; fontIndex < allFonts->nfont; ++fontIndex) { in GetFamilyNames() local
652 FcPattern* current = allFonts->fonts[fontIndex]; in GetFamilyNames()
825 for (int fontIndex = 0; fontIndex < allFonts->nfont; ++fontIndex) { in onMatchFamily() local
826 FcPattern* font = allFonts->fonts[fontIndex]; in onMatchFamily()
DSkTypeface_win_dw.cpp341 for (UINT32 fontIndex = 0; fontIndex < fontAxisCount; ++fontIndex) { in onMakeClone() local
343 if (SkEndian_SwapBE32(fontAxisValue[fontIndex].axisTag) == in onMakeClone()
345 fontAxisValue[fontIndex].value = in onMakeClone()
/external/skia/tests/
DTypefaceTest.cpp106 int fontIndex; in DEF_TEST() local
107 std::unique_ptr<SkStreamAsset> stream = typeface->openStream(&fontIndex); in DEF_TEST()
110 sk_sp<SkTypeface> typeface2 = fm->makeFromStream(std::move(stream), fontIndex); in DEF_TEST()
/external/skqp/tests/
DTypefaceTest.cpp106 int fontIndex; in DEF_TEST() local
107 std::unique_ptr<SkStreamAsset> stream(typeface->openStream(&fontIndex)); in DEF_TEST()
110 sk_sp<SkTypeface> typeface2 = fm->makeFromStream(std::move(stream), fontIndex); in DEF_TEST()