/external/skqp/src/utils/ |
D | SkWhitelistTypefaces.cpp | 31 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 …]
|
/external/skia/src/utils/ |
D | SkWhitelistTypefaces.cpp | 31 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 …]
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/ |
D | QuicktimeTextSampleEntry.java | 50 String fontName = ""; field in QuicktimeTextSampleEntry 79 fontName = new String(myFontName); in _parseDetails() 81 fontName = null; in _parseDetails() 87 return 52 + (fontName != null ? fontName.length() : 0); in getContentSize() 204 return fontName; in getFontName() 207 public void setFontName(String fontName) { in setFontName() argument 208 this.fontName = fontName; in setFontName() 229 if (fontName != null) { in getContent() 230 IsoTypeWriter.writeUInt8(byteBuffer, fontName.length()); in getContent() 231 byteBuffer.put(fontName.getBytes()); in getContent()
|
/external/icu/icu4c/source/samples/layout/ |
D | FontMap.cpp | 44 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()
|
D | GDIFontMap.cpp | 33 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()
|
D | GnomeFontMap.cpp | 35 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()
|
D | FontMap.h | 41 …virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &stat… 47 le_int32 getFontIndex(const char *fontName);
|
/external/icu/icu4c/source/test/letest/ |
D | gendata.cpp | 43 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() 265 … fontName, uversion_utf8, pfi->getFontChecksum(), pfi->getRawChecksum()); in main() 270 … fontName, pfi->getFontChecksum(), pfi->getFontChecksum(), pfi->getRawChecksum()); in main() 274 fontName, version, pfi->getFontChecksum(), pfi->getRawChecksum()); in main() 280 freeCString(fontName); in main()
|
D | cletest.c | 398 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()
|
D | xmlreader.cpp | 173 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()
|
D | letest.cpp | 541 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()
|
D | xmlreader.h | 16 const char *fontName,
|
/external/skqp/src/pdf/ |
D | SkPDFSubsetFont.cpp | 13 const char* fontName, in SkPDFSubsetFont() argument 27 int subsetFontSize = SfntlyWrapper::SubsetFont(fontName, in SkPDFSubsetFont() 34 (void)fontName; in SkPDFSubsetFont()
|
D | SkPDFSubsetFont.h | 14 const char* fontName,
|
/external/freetype/include/freetype/ |
D | ftmac.h | 138 FT_GetFile_From_Mac_Name( const char* fontName, 169 FT_GetFile_From_Mac_ATS_Name( const char* fontName, 204 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName,
|
/external/freetype/builds/mac/ |
D | ftmac.c | 179 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 …]
|
/external/pdfium/core/fxge/ |
D | cfx_fontmapper.cpp | 186 void GetFontFamily(uint32_t nStyle, ByteString* fontName) { in GetFontFamily() argument 187 if (fontName->Contains("Script")) { in GetFontFamily() 189 *fontName = "ScriptMTBold"; in GetFontFamily() 190 else if (fontName->Contains("Palace")) in GetFontFamily() 191 *fontName = "PalaceScriptMT"; in GetFontFamily() 192 else if (fontName->Contains("French")) in GetFontFamily() 193 *fontName = "FrenchScriptMT"; in GetFontFamily() 194 else if (fontName->Contains("FreeStyle")) in GetFontFamily() 195 *fontName = "FreeStyleScript"; in GetFontFamily() 199 if (fontName->Contains(alternate.m_pFontName)) { in GetFontFamily() [all …]
|
/external/freetype/src/base/ |
D | ftmac.c | 126 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 …]
|
/external/skia/src/pdf/ |
D | SkPDFSubsetFont.cpp | 83 const char* fontName, in SkPDFSubsetFont() argument 102 int subsetFontSize = SfntlyWrapper::SubsetFont(fontName, in SkPDFSubsetFont() 109 (void)fontName; in SkPDFSubsetFont()
|
D | SkPDFSubsetFont.h | 11 const char* fontName,
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | xmlreader.cpp | 177 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()
|
/external/skqp/src/core/ |
D | SkStrikeCache.cpp | 259 SkString fontName; in DumpMemoryStatistics() local 260 face->getFamilyName(&fontName); in DumpMemoryStatistics() 262 for (size_t index = 0; index < fontName.size(); ++index) { in DumpMemoryStatistics() 263 if (!std::isalnum(fontName[index])) { in DumpMemoryStatistics() 264 fontName[index] = '_'; in DumpMemoryStatistics() 269 "%s/%s_%d/%p", gGlyphCacheDumpName, fontName.c_str(), rec.fFontID, &cache); in DumpMemoryStatistics()
|
/external/skia/src/core/ |
D | SkStrikeCache.cpp | 284 SkString fontName; in DumpMemoryStatistics() local 285 face->getFamilyName(&fontName); in DumpMemoryStatistics() 287 for (size_t index = 0; index < fontName.size(); ++index) { in DumpMemoryStatistics() 288 if (!std::isalnum(fontName[index])) { in DumpMemoryStatistics() 289 fontName[index] = '_'; in DumpMemoryStatistics() 294 "%s/%s_%d/%p", gGlyphCacheDumpName, fontName.c_str(), rec.fFontID, &cache); in DumpMemoryStatistics()
|
/external/fonttools/Lib/fontTools/misc/ |
D | psLib.py | 356 fontName = m.group(1) 358 fontName = None 363 if fontName in fontdir: 364 rawfont = fontdir[fontName]
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_docpagedata.cpp | 147 CPDF_Font* CPDF_DocPageData::GetStandardFont(const ByteString& fontName, in GetStandardFont() argument 149 if (fontName.IsEmpty()) in GetStandardFont() 157 if (pFont->GetBaseFont() != fontName) in GetStandardFont() 176 pDict->SetNewFor<CPDF_Name>("BaseFont", fontName); in GetStandardFont()
|