Home
last modified time | relevance | path

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

1234

/third_party/flutter/skia/src/utils/
DSkWhitelistTypefaces.cpp31 static bool font_name_is_local(const char* fontName, SkFontStyle style) { in font_name_is_local() argument
32 if (!strcmp(fontName, "DejaVu Sans")) { in font_name_is_local()
36 sk_sp<SkTypeface> foundFace(SkTypeface::MakeFromName(fontName, style)); in font_name_is_local()
86 static void serialize_sub(const char* fontName, SkFontStyle style, SkWStream* wstream) { in serialize_sub() argument
89 subName.append(fontName); in serialize_sub()
96 if (!strcmp(fontName, whitelist[i].fFontName)) { in serialize_sub()
165 const char* fontName = whitelist[whitelistIndex].fFontName; in WhitelistSerializeTypeface() local
166 if (!font_name_is_local(fontName, tf->fontStyle())) { in WhitelistSerializeTypeface()
168 SkDebugf("name not found locally \"%s\" style=%d\n", fontName, tf->style()); in WhitelistSerializeTypeface()
180 SkDebugf(" { \"%s\", 0x%08x },\n", fontName, checksum); in WhitelistSerializeTypeface()
[all …]
/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()
/third_party/flutter/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()
/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()
/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()
/third_party/flutter/skia/src/pdf/
DSkPDFSubsetFont.cpp92 const char* fontName, in subset_sfntly() argument
111 int subsetFontSize = SfntlyWrapper::SubsetFont(fontName, in subset_sfntly()
118 (void)fontName; in subset_sfntly()
144 const char* fontName, in SkPDFSubsetFont() argument
150 return subset_sfntly(std::move(fontData), glyphUsage, fontName, ttcIndex); in SkPDFSubsetFont()
160 const char* fontName, in SkPDFSubsetFont() argument
162 return subset_sfntly(std::move(fontData), glyphUsage, fontName, ttcIndex); in SkPDFSubsetFont()
/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()
/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/flutter/skia/third_party/externals/freetype/include/freetype/
Dftmac.h134 FT_GetFile_From_Mac_Name( const char* fontName,
163 FT_GetFile_From_Mac_ATS_Name( const char* fontName,
197 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName,
/third_party/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/flutter/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/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/flutter/skia/third_party/externals/freetype/builds/mac/
Dftmac.c179 FT_GetFile_From_Mac_Name( const char* fontName, in FT_GetFile_From_Mac_Name() argument
183 FT_UNUSED( fontName ); in FT_GetFile_From_Mac_Name()
193 FT_GetFile_From_Mac_Name( const char* fontName, in FT_GetFile_From_Mac_Name() argument
207 if ( !fontName || !face_index ) in FT_GetFile_From_Mac_Name()
254 if ( ft_strcmp( fullName, fontName ) == 0 ) in FT_GetFile_From_Mac_Name()
312 FT_GetFileRef_From_Mac_ATS_Name( const char* fontName, in FT_GetFileRef_From_Mac_ATS_Name() argument
322 cf_fontName = CFStringCreateWithCString( NULL, fontName, in FT_GetFileRef_From_Mac_ATS_Name()
361 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName, in FT_GetFilePath_From_Mac_ATS_Name() argument
366 FT_UNUSED( fontName ); in FT_GetFilePath_From_Mac_ATS_Name()
377 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/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/flutter/skia/third_party/externals/freetype/src/base/
Dftmac.c126 FT_GetFile_From_Mac_Name( const char* fontName, in FT_GetFile_From_Mac_Name() argument
130 FT_UNUSED( fontName ); in FT_GetFile_From_Mac_Name()
176 FT_GetFileRef_From_Mac_ATS_Name( const char* fontName, in FT_GetFileRef_From_Mac_ATS_Name() argument
186 cf_fontName = CFStringCreateWithCString( NULL, fontName, in FT_GetFileRef_From_Mac_ATS_Name()
222 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName, in FT_GetFilePath_From_Mac_ATS_Name() argument
231 if ( !fontName || !face_index ) in FT_GetFilePath_From_Mac_ATS_Name()
234 err = FT_GetFileRef_From_Mac_ATS_Name( fontName, &ref, face_index ); in FT_GetFilePath_From_Mac_ATS_Name()
247 FT_GetFile_From_Mac_ATS_Name( const char* fontName, in FT_GetFile_From_Mac_ATS_Name() argument
253 FT_UNUSED( fontName ); in FT_GetFile_From_Mac_ATS_Name()
263 if ( !fontName || !face_index ) in FT_GetFile_From_Mac_ATS_Name()
[all …]
/third_party/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/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()

1234