/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);
|
D | GDIFontMap.h | 36 …virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &stat…
|
D | GnomeFontMap.h | 36 …virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &stat…
|
/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 | xmlreader.h | 16 const char *fontName,
|
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()
|
/external/freetype/include/freetype/ |
D | ftmac.h | 130 FT_GetFile_From_Mac_Name( const char* fontName, 158 FT_GetFile_From_Mac_ATS_Name( const char* fontName, 189 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName,
|
/external/pdfium/third_party/freetype/include/freetype/ |
D | ftmac.h | 130 FT_GetFile_From_Mac_Name( const char* fontName, 158 FT_GetFile_From_Mac_ATS_Name( const char* fontName, 189 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName,
|
/external/pdfium/core/fxge/ge/ |
D | cfx_fontmapper.cpp | 208 CFX_ByteString GetFontFamily(CFX_ByteString fontName, int nStyle) { in GetFontFamily() argument 209 if (fontName.Find("Script") >= 0) { in GetFontFamily() 211 fontName = "ScriptMTBold"; in GetFontFamily() 212 else if (fontName.Find("Palace") >= 0) in GetFontFamily() 213 fontName = "PalaceScriptMT"; in GetFontFamily() 214 else if (fontName.Find("French") >= 0) in GetFontFamily() 215 fontName = "FrenchScriptMT"; in GetFontFamily() 216 else if (fontName.Find("FreeStyle") >= 0) in GetFontFamily() 217 fontName = "FreeStyleScript"; in GetFontFamily() 218 return fontName; in GetFontFamily() [all …]
|
/external/freetype/src/base/ |
D | ftmac.c | 125 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 …]
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftmac.c | 125 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 …]
|
/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()
|
D | xmlreader.h | 17 const char *fontName,
|
/external/fonttools/Lib/fontTools/misc/ |
D | psLib.py | 325 fontName = m.group(1) 327 fontName = None 332 if fontName in fontdir: 333 rawfont = fontdir[fontName]
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_docpagedata.cpp | 155 CPDF_Font* CPDF_DocPageData::GetStandardFont(const CFX_ByteString& fontName, in GetStandardFont() argument 157 if (fontName.IsEmpty()) in GetStandardFont() 165 if (pFont->GetBaseFont() != fontName) in GetStandardFont() 184 pDict->SetNewFor<CPDF_Name>("BaseFont", fontName); in GetStandardFont()
|
/external/skia/src/core/ |
D | SkGlyphCache.cpp | 563 SkString fontName; in sk_trace_dump_visitor() local 564 face->getFamilyName(&fontName); in sk_trace_dump_visitor() 566 for (size_t index = 0; index < fontName.size(); ++index) { in sk_trace_dump_visitor() 567 if (!std::isalnum(fontName[index])) { in sk_trace_dump_visitor() 568 fontName[index] = '_'; in sk_trace_dump_visitor() 573 gGlyphCacheDumpName, fontName.c_str(), rec.fFontID, &cache); in sk_trace_dump_visitor()
|
/external/skia/src/sfnt/ |
D | SkOTUtils.cpp | 36 SkData* SkOTUtils::RenameFont(SkStreamAsset* fontData, const char* fontName, int fontNameLen) { in RenameFont() argument 137 nameString[i] = SkEndian_SwapBE16(fontName[i]); in RenameFont()
|
D | SkOTUtils.h | 39 static SkData* RenameFont(SkStreamAsset* fontData, const char* fontName, int fontNameLen);
|