/frameworks/layoutlib/bridge/src/android/graphics/ |
Typeface_Accessor.java | 25 public static boolean isSystemFont(@NonNull String fontName) { 26 return Typeface.sSystemFontMap.containsKey(fontName);
|
/external/freetype/include/freetype/ |
ftmac.h | 95 /* fond = GetResource( 'FOND', fontName ); */ 116 /* fontName :: Mac OS name of the font (e.g., Times New Roman */ 130 FT_GetFile_From_Mac_Name( const char* fontName, 145 /* fontName :: Mac OS name of the font in ATS framework. */ 158 FT_GetFile_From_Mac_ATS_Name( const char* fontName, 174 /* fontName :: Mac OS name of the font in ATS framework. */ 189 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName,
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/ |
QuicktimeTextSampleEntry.java | 50 String fontName = ""; 79 fontName = new String(myFontName); 81 fontName = null; 87 return 52 + (fontName != null ? fontName.length() : 0); 204 return fontName; 207 public void setFontName(String fontName) { 208 this.fontName = fontName; 229 if (fontName != null) [all...] |
/external/pdfium/third_party/freetype/include/freetype/ |
ftmac.h | 95 /* fond = GetResource( 'FOND', fontName ); */ 116 /* fontName :: Mac OS name of the font (e.g., Times New Roman */ 130 FT_GetFile_From_Mac_Name( const char* fontName, 145 /* fontName :: Mac OS name of the font in ATS framework. */ 158 FT_GetFile_From_Mac_ATS_Name( const char* fontName, 174 /* fontName :: Mac OS name of the font in ATS framework. */ 189 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName,
|
/prebuilts/misc/darwin-x86_64/freetype/include/freetype2/ |
ftmac.h | 95 /* fond = GetResource( 'FOND', fontName ); */ 116 /* fontName :: Mac OS name of the font (e.g., Times New Roman */ 130 FT_GetFile_From_Mac_Name( const char* fontName, 145 /* fontName :: Mac OS name of the font in ATS framework. */ 158 FT_GetFile_From_Mac_ATS_Name( const char* fontName, 174 /* fontName :: Mac OS name of the font in ATS framework. */ 189 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName,
|
/external/icu/icu4c/source/samples/layout/ |
GDIFontMap.cpp | 33 const LEFontInstance *GDIFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) 35 LEFontInstance *result = new GDIFontInstance(fSurface, fontName, pointSize, status);
|
GnomeFontMap.cpp | 35 const LEFontInstance *GnomeFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) 37 LEFontInstance *result = new GnomeFontInstance(fEngine, fontName, pointSize, status);
|
GDIFontMap.h | 36 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status);
|
GnomeFontMap.h | 36 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status);
|
FontMap.h | 41 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) = 0; 47 le_int32 getFontIndex(const char *fontName);
|
FontMap.cpp | 44 char *c, *scriptName, *fontName, *line, buffer[BUFFER_SIZE]; 68 fontName = strip(&c[1]); 72 defaultFont = getFontIndex(fontName); 93 fFontIndices[script] = getFontIndex(fontName); 131 le_int32 FontMap::getFontIndex(const char *fontName) 136 if (strcmp(fontName, fFontNames[index]) == 0) { 168 le_int32 len = strlen(fontName); 171 fFontNames[index] = strcpy(s, fontName);
|
/external/icu/icu4c/source/test/letest/ |
xmlreader.h | 16 const char *fontName,
|
gendata.cpp | 43 const char *fontName; 237 char *fontName = getCString(element->getAttribute(name_attr)); 240 PortableFontInstance *pfi = new PortableFontInstance(getPath(buf,fontName), 12, leStatus); 243 printf("Error: could not open font: %s (path: %s)\n", fontName, buf); 244 freeCString(fontName); 248 printf(" Generating: %s, %s, %s, %s\n", id, script, lang, fontName); 265 fontName, uversion_utf8, pfi->getFontChecksum(), pfi->getRawChecksum()); 270 fontName, pfi->getFontChecksum(), pfi->getFontChecksum(), pfi->getRawChecksum()); 274 fontName, version, pfi->getFontChecksum(), pfi->getRawChecksum()); 280 freeCString(fontName); [all...] |
xmlreader.cpp | 173 char *fontName = NULL; 206 fontName = getCString(element->getAttribute(name_attr)); 240 (*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCount, &expected); 250 freeCString(fontName);
|
/external/icu/icu4c/source/test/perf/leperf/ |
xmlreader.h | 17 const char *fontName,
|
xmlreader.cpp | 177 char *fontName = NULL; 210 fontName = getCString(element->getAttribute(name_attr)); 244 (*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCount, &expected); 254 freeCString(fontName);
|
/external/skia/src/utils/ |
SkWhitelistTypefaces.cpp | 31 static bool font_name_is_local(const char* fontName, SkFontStyle style) { 32 if (!strcmp(fontName, "DejaVu Sans")) { 36 sk_sp<SkTypeface> foundFace(SkTypeface::MakeFromName(fontName, style)); 59 SkDebugf("no match fontName=\"%s\"\n", familyNameLocalized.fString.c_str()); 86 static void serialize_sub(const char* fontName, SkFontStyle style, SkWStream* wstream) { 89 subName.append(fontName); 96 if (!strcmp(fontName, whitelist[i].fFontName)) { 165 const char* fontName = whitelist[whitelistIndex].fFontName; 166 if (!font_name_is_local(fontName, tf->fontStyle())) { 168 SkDebugf("name not found locally \"%s\" style=%d\n", fontName, tf->style()) [all...] |
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
ResourceHelper.java | 400 public static Typeface getFont(String fontName, BridgeContext context, Theme theme, boolean 402 if (fontName == null) { 406 if (Typeface_Accessor.isSystemFont(fontName)) { 413 Typeface typeface = Typeface.findFromCache(context.getAssets(), fontName); 418 String lowerCaseValue = fontName.toLowerCase(); 425 parser = context.getLayoutlibCallback().getXmlFileParser(fontName); 428 File f = new File(fontName); 435 Bridge.getLog().error(null, "Failed to parse file " + fontName, 448 fontName); 450 Bridge.getLog().error(null, "Failed to parse file " + fontName, [all...] |
/frameworks/base/core/java/android/text/ |
FontConfig.java | 71 public Font(@NonNull String fontName, int ttcIndex, @NonNull FontVariationAxis[] axes, 73 mFontName = fontName;
|
/external/freetype/src/base/ |
ftmac.c | 125 FT_GetFile_From_Mac_Name( const char* fontName, 129 FT_UNUSED( fontName ); 175 FT_GetFileRef_From_Mac_ATS_Name( const char* fontName, 185 cf_fontName = CFStringCreateWithCString( NULL, fontName, 221 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName, 230 if ( !fontName || !face_index ) 233 err = FT_GetFileRef_From_Mac_ATS_Name( fontName, &ref, face_index ); 246 FT_GetFile_From_Mac_ATS_Name( const char* fontName, 252 FT_UNUSED( fontName ); 262 if ( !fontName || !face_index [all...] |
/external/pdfium/third_party/freetype/src/base/ |
ftmac.c | 125 FT_GetFile_From_Mac_Name( const char* fontName, 129 FT_UNUSED( fontName ); 175 FT_GetFileRef_From_Mac_ATS_Name( const char* fontName, 185 cf_fontName = CFStringCreateWithCString( NULL, fontName, 221 FT_GetFilePath_From_Mac_ATS_Name( const char* fontName, 230 if ( !fontName || !face_index ) 233 err = FT_GetFileRef_From_Mac_ATS_Name( fontName, &ref, face_index ); 246 FT_GetFile_From_Mac_ATS_Name( const char* fontName, 252 FT_UNUSED( fontName ); 262 if ( !fontName || !face_index [all...] |
/external/skia/src/sfnt/ |
SkOTUtils.h | 30 * UniqueFontIdentifier, FullFontName, and PostscriptName are fontName. 35 * fontName and fontNameLen must be specified in terms of ASCII chars. 39 static SkData* RenameFont(SkStreamAsset* fontData, const char* fontName, int fontNameLen);
|
/external/pdfium/core/fpdfapi/page/ |
cpdf_docpagedata.h | 34 CPDF_Font* GetStandardFont(const CFX_ByteString& fontName,
|
/external/pdfium/core/fxge/ge/ |
cfx_fontmapper.cpp | 208 CFX_ByteString GetFontFamily(CFX_ByteString fontName, int nStyle) { 209 if (fontName.Find("Script") >= 0) { 211 fontName = "ScriptMTBold"; 212 else if (fontName.Find("Palace") >= 0) 213 fontName = "PalaceScriptMT"; 214 else if (fontName.Find("French") >= 0) 215 fontName = "FrenchScriptMT"; 216 else if (fontName.Find("FreeStyle") >= 0) 217 fontName = "FreeStyleScript"; 218 return fontName; [all...] |
/external/fonttools/Lib/fontTools/misc/ |
psLib.py | 323 m = re.search(br"/FontName\s+/([^ \t\n\r]+)\s+def", data) 325 fontName = m.group(1) 327 fontName = None 332 if fontName in fontdir: 333 rawfont = fontdir[fontName] 335 # fall back, in case fontName wasn't found
|