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