Searched refs:fontNameLen (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/sfnt/ |
D | SkOTUtils.cpp | 36 SkData* SkOTUtils::RenameFont(SkStreamAsset* fontData, const char* fontName, int fontNameLen) { in RenameFont() argument 76 …izeof(SkOTTableName) + (namesCount * sizeof(SkOTTableName::Record)) + (fontNameLen * sizeof(wchar_… in RenameFont() 132 nameRecords[i].length = SkEndian_SwapBE16(SkToU16(fontNameLen * sizeof(wchar_t))); in RenameFont() 136 for (int i = 0; i < fontNameLen; ++i) { in RenameFont()
|
D | SkOTUtils.h | 39 static SkData* RenameFont(SkStreamAsset* fontData, const char* fontName, int fontNameLen);
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 102 int fontNameLen; //length of fontName in TCHARS. in dcfontname_to_skstring() local 103 if (0 == (fontNameLen = GetTextFace(deviceContext, 0, nullptr))) { in dcfontname_to_skstring() 105 if (0 == (fontNameLen = GetTextFace(deviceContext, 0, nullptr))) { in dcfontname_to_skstring() 106 fontNameLen = 0; in dcfontname_to_skstring() 110 SkAutoSTArray<LF_FULLFACESIZE, TCHAR> fontName(fontNameLen+1); in dcfontname_to_skstring() 111 if (0 == GetTextFace(deviceContext, fontNameLen, fontName.get())) { in dcfontname_to_skstring() 113 if (0 == GetTextFace(deviceContext, fontNameLen, fontName.get())) { in dcfontname_to_skstring()
|