Home
last modified time | relevance | path

Searched refs:fontName (Results 1 – 25 of 69) sorted by relevance

123

/third_party/skia/third_party/externals/icu/source/samples/layout/
DFontMap.cpp44 char *c, *scriptName, *fontName, *line, buffer[BUFFER_SIZE]; in FontMap() local
68 fontName = strip(&c[1]); in FontMap()
72 defaultFont = getFontIndex(fontName); in FontMap()
93 fFontIndices[script] = getFontIndex(fontName); in FontMap()
131 le_int32 FontMap::getFontIndex(const char *fontName) in getFontIndex() argument
136 if (strcmp(fontName, fFontNames[index]) == 0) { in getFontIndex()
168 le_int32 len = strlen(fontName); in getFontIndex()
171 fFontNames[index] = strcpy(s, fontName); in getFontIndex()
DGDIFontMap.cpp33 const LEFontInstance *GDIFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode &s… in openFont() argument
35 LEFontInstance *result = new GDIFontInstance(fSurface, fontName, pointSize, status); in openFont()
DGnomeFontMap.cpp35 const LEFontInstance *GnomeFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode … in openFont() argument
37 LEFontInstance *result = new GnomeFontInstance(fEngine, fontName, pointSize, status); in openFont()
DFontMap.h41 …virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &stat…
47 le_int32 getFontIndex(const char *fontName);
/third_party/icu/icu4c/source/samples/layout/
DFontMap.cpp44 char *c, *scriptName, *fontName, *line, buffer[BUFFER_SIZE]; in FontMap() local
68 fontName = strip(&c[1]); in FontMap()
72 defaultFont = getFontIndex(fontName); in FontMap()
93 fFontIndices[script] = getFontIndex(fontName); in FontMap()
131 le_int32 FontMap::getFontIndex(const char *fontName) in getFontIndex() argument
136 if (strcmp(fontName, fFontNames[index]) == 0) { in getFontIndex()
168 le_int32 len = strlen(fontName); in getFontIndex()
171 fFontNames[index] = strcpy(s, fontName); in getFontIndex()
DGDIFontMap.cpp33 const LEFontInstance *GDIFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode &s… in openFont() argument
35 LEFontInstance *result = new GDIFontInstance(fSurface, fontName, pointSize, status); in openFont()
DGnomeFontMap.cpp35 const LEFontInstance *GnomeFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode … in openFont() argument
37 LEFontInstance *result = new GnomeFontInstance(fEngine, fontName, pointSize, status); in openFont()
DFontMap.h41 …virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &stat…
47 le_int32 getFontIndex(const char *fontName);
/third_party/icu/icu4c/source/test/letest/
Dgendata.cpp43 const char *fontName; member
237 char *fontName = getCString(element->getAttribute(name_attr)); in main() local
240 … PortableFontInstance *pfi = new PortableFontInstance(getPath(buf,fontName), 12, leStatus); in main()
243 printf("Error: could not open font: %s (path: %s)\n", fontName, buf); in main()
244 freeCString(fontName); in main()
248 printf(" Generating: %s, %s, %s, %s\n", id, script, lang, fontName); in main()
265fontName, uversion_utf8, pfi->getFontChecksum(), pfi->getRawChecksum()); in main()
270fontName, pfi->getFontChecksum(), pfi->getFontChecksum(), pfi->getRawChecksum()); in main()
274 fontName, version, pfi->getFontChecksum(), pfi->getRawChecksum()); in main()
280 freeCString(fontName); in main()
Dcletest.c398 static le_font *openFont(const char *fontName, const char *checksum, const char *version, const cha… in openFont() argument
404 if (fontName != NULL) { in openFont()
405 font = le_portableFontOpen(getPath(path, fontName), 12, &fontStatus); in openFont()
408 log_info("Test %s: can't open font %s - test skipped.\n", testID, fontName); in openFont()
443 const char *fontName, in doTestCase() argument
454 le_font *font = openFont(fontName, fontChecksum, fontVersion, testID); in doTestCase()
463 if (fontName == NULL) { in doTestCase()
Dxmlreader.cpp173 char *fontName = NULL; in readTestFile() local
206 fontName = getCString(element->getAttribute(name_attr)); in readTestFile()
240 …(*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCoun… in readTestFile()
250 freeCString(fontName); in readTestFile()
Dletest.cpp541 LEFontInstance *openFont(const char *fontName, const char *checksum, const char *version, const cha… in openFont() argument
548 font = new PortableFontInstance(getPath(path, fontName), 12, fontStatus); in openFont()
551 log_info("Test %s: can't open font %s - test skipped.\n", testID, fontName); in openFont()
641 char *fontName = getCString(element->getAttribute(name_attr)); in DataDrivenTest() local
645 font = openFont(fontName, fontCksum, fontVer, id); in DataDrivenTest()
648 freeCString(fontName); in DataDrivenTest()
Dxmlreader.h16 const char *fontName,
/third_party/skia/src/pdf/
DSkPDFSubsetFont.cpp115 const char* fontName, in subset_sfntly() argument
131 int subsetFontSize = SfntlyWrapper::SubsetFont(fontName, in subset_sfntly()
138 (void)fontName; in subset_sfntly()
164 const char* fontName, in SkPDFSubsetFont() argument
170 return subset_sfntly(std::move(fontData), glyphUsage, fontName, ttcIndex); in SkPDFSubsetFont()
180 const char* fontName, in SkPDFSubsetFont() argument
182 return subset_sfntly(std::move(fontData), glyphUsage, fontName, ttcIndex); in SkPDFSubsetFont()
DSkPDFSubsetFont.h13 const char* fontName,
/third_party/skia/third_party/externals/freetype/include/freetype/
Dftmac.h133 FT_GetFile_From_Mac_Name( const char* fontName,
162 FT_GetFile_From_Mac_ATS_Name( const char* fontName,
196 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName,
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
DRuleDump.java16 String fontName = args[0]; in main() local
19 System.out.println("Rules from font: " + fontName); in main()
20 Font[] fonts = loadFont(new File(fontName)); in main()
DSFView.java16 for (String fontName : args) { in main()
17 System.out.println("Displaying font: " + fontName); in main()
18 Font[] fonts = loadFont(new File(fontName)); in main()
DGsubRulesDump.java17 String fontName = args[0]; in main() local
20 System.out.println("Rules from font: " + fontName); in main()
21 Font[] fonts = loadFont(new File(fontName)); in main()
/third_party/skia/third_party/externals/freetype/builds/mac/
Dftmac.c178 FT_GetFile_From_Mac_Name( const char* fontName, in FT_GetFile_From_Mac_Name() argument
182 FT_UNUSED( fontName ); in FT_GetFile_From_Mac_Name()
192 FT_GetFile_From_Mac_Name( const char* fontName, in FT_GetFile_From_Mac_Name() argument
206 if ( !fontName || !face_index ) in FT_GetFile_From_Mac_Name()
253 if ( ft_strcmp( fullName, fontName ) == 0 ) in FT_GetFile_From_Mac_Name()
311 FT_GetFileRef_From_Mac_ATS_Name( const char* fontName, in FT_GetFileRef_From_Mac_ATS_Name() argument
321 cf_fontName = CFStringCreateWithCString( NULL, fontName, in FT_GetFileRef_From_Mac_ATS_Name()
360 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName, in FT_GetFilePath_From_Mac_ATS_Name() argument
365 FT_UNUSED( fontName ); in FT_GetFilePath_From_Mac_ATS_Name()
376 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName, in FT_GetFilePath_From_Mac_ATS_Name() argument
[all …]
/third_party/skia/third_party/externals/freetype/src/base/
Dftmac.c125 FT_GetFile_From_Mac_Name( const char* fontName, in FT_GetFile_From_Mac_Name() argument
129 FT_UNUSED( fontName ); in FT_GetFile_From_Mac_Name()
175 FT_GetFileRef_From_Mac_ATS_Name( const char* fontName, in FT_GetFileRef_From_Mac_ATS_Name() argument
185 cf_fontName = CFStringCreateWithCString( NULL, fontName, in FT_GetFileRef_From_Mac_ATS_Name()
221 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName, in FT_GetFilePath_From_Mac_ATS_Name() argument
230 if ( !fontName || !face_index ) in FT_GetFilePath_From_Mac_ATS_Name()
233 err = FT_GetFileRef_From_Mac_ATS_Name( fontName, &ref, face_index ); in FT_GetFilePath_From_Mac_ATS_Name()
246 FT_GetFile_From_Mac_ATS_Name( const char* fontName, in FT_GetFile_From_Mac_ATS_Name() argument
252 FT_UNUSED( fontName ); in FT_GetFile_From_Mac_ATS_Name()
262 if ( !fontName || !face_index ) in FT_GetFile_From_Mac_ATS_Name()
[all …]
/third_party/skia/src/core/
DSkStrikeCache.cpp96 SkString fontName; in DumpMemoryStatistics() local
97 face->getFamilyName(&fontName); in DumpMemoryStatistics()
99 for (size_t index = 0; index < fontName.size(); ++index) { in DumpMemoryStatistics()
100 if (!std::isalnum(fontName[index])) { in DumpMemoryStatistics()
101 fontName[index] = '_'; in DumpMemoryStatistics()
106 "%s/%s_%d/%p", gGlyphCacheDumpName, fontName.c_str(), rec.fFontID, &strike); in DumpMemoryStatistics()
/third_party/icu/icu4c/source/test/perf/leperf/
Dxmlreader.cpp177 char *fontName = NULL; in readTestFile() local
210 fontName = getCString(element->getAttribute(name_attr)); in readTestFile()
244 …(*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCoun… in readTestFile()
254 freeCString(fontName); in readTestFile()
/third_party/skia/modules/skparagraph/tests/
DSkShaperJSONWriter.cpp79 SkString fontName; in commitRunBuffer() local
80 info.fFont.getTypeface()->getFamilyName(&fontName); in commitRunBuffer()
81 fJSONWriter->appendString("font name", fontName); in commitRunBuffer()
/third_party/skia/src/utils/
DSkShaperJSONWriter.cpp72 SkString fontName; in commitRunBuffer() local
73 info.fFont.getTypeface()->getFamilyName(&fontName); in commitRunBuffer()
74 fJSONWriter->appendString("font name", fontName.c_str()); in commitRunBuffer()

123