Searched refs:fontIndex (Results 1 – 9 of 9) sorted by relevance
/external/icu/icu4c/source/samples/layout/ |
D | FontMap.cpp | 211 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/skia/tools/ |
D | create_test_font.cpp | 336 int fontIndex = written_index(fontDesc); in generate_fonts() local 337 if (fontIndex >= 0) { in generate_fonts() 338 fontDesc.fFontIndex = fontIndex; in generate_fonts() 362 int fontIndex; in generate_index() local 367 for (fontIndex = 0; fontIndex < fontCount; ++fontIndex) { in generate_index() 368 const FontWritten& writ = gWritten[fontIndex]; in generate_index() 385 for (fontIndex = 0; fontIndex < fontCount; ++fontIndex) { in generate_index() 386 const FontWritten& writ = gWritten[fontIndex]; in generate_index()
|
/external/pdfium/core/fpdfdoc/ |
D | cpvt_wordinfo.cpp | 20 int32_t fontIndex, in CPVT_WordInfo() argument 27 nFontIndex(fontIndex) {} in CPVT_WordInfo()
|
D | cpvt_wordprops.h | 24 CPVT_WordProps(int32_t fontIndex, 32 : nFontIndex(fontIndex), in nFontIndex()
|
D | cpvt_wordinfo.h | 19 int32_t fontIndex,
|
/external/skia/src/ports/ |
D | SkRemotableFontMgr_win_dw.cpp | 132 for (int fontIndex = 0; fontIndex < count; ++fontIndex) { in getIndex() local 134 HRNM(fontFamily->GetFont(fontIndex, &font), "Could not get font."); in getIndex() 136 HRN(FontToIdentity(font.get(), &fontIds[fontIndex])); in getIndex()
|
D | SkFontMgr_fontconfig.cpp | 612 for (int fontIndex = 0; fontIndex < allFonts->nfont; ++fontIndex) { in GetFamilyNames() local 613 FcPattern* current = allFonts->fonts[fontIndex]; in GetFamilyNames() 784 for (int fontIndex = 0; fontIndex < allFonts->nfont; ++fontIndex) { in onMatchFamily() local 785 FcPattern* font = allFonts->fonts[fontIndex]; in onMatchFamily()
|
D | SkFontMgr_win_dw.cpp | 899 for (UINT32 fontIndex = 0; fontIndex < fontCount; ++fontIndex) { in onCreateFromStream() local 901 HRN(fontFamily->GetFont(fontIndex, &font)); in onCreateFromStream()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 1287 static void update_font(SkWStream* wStream, int fontIndex, SkScalar textSize) { in update_font() argument 1291 wStream->writeDecAsText(fontIndex); in update_font() 1563 int fontIndex = this->getFontResourceIndex(typeface, gid); in internalDrawText() local 1565 SkASSERT(fontIndex >= 0); in internalDrawText() 1566 if (fontIndex < 0) { in internalDrawText() 1570 update_font(out, fontIndex, textSize); in internalDrawText() 1571 font = fFontResources[fontIndex]; in internalDrawText()
|