Home
last modified time | relevance | path

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

123

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/
DQuicktimeTextSampleEntry.java50 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/lottie/lottie/src/main/java/com/airbnb/lottie/model/
DDocumentData.java18 @SuppressWarnings("WeakerAccess") public String fontName; field in DocumentData
30 …public DocumentData(String text, String fontName, float size, Justification justification, int tra… in DocumentData() argument
33 …set(text, fontName, size, justification, tracking, lineHeight, baselineShift, color, strokeColor, … in DocumentData()
39 …public void set(String text, String fontName, float size, Justification justification, int trackin… in set() argument
43 this.fontName = fontName; in set()
59 result = 31 * result + fontName.hashCode(); in hashCode()
/external/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()
/external/cronet/third_party/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);
/external/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()
/external/cronet/third_party/icu/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()
/external/skia/src/pdf/
DSkPDFSubsetFont.cpp122 const char* fontName, in subset_sfntly() argument
138 int subsetFontSize = SfntlyWrapper::SubsetFont(fontName, in subset_sfntly()
145 (void)fontName; in subset_sfntly()
171 const char* fontName, in SkPDFSubsetFont() argument
177 return subset_sfntly(std::move(fontData), glyphUsage, fontName, ttcIndex); in SkPDFSubsetFont()
187 const char* fontName, in SkPDFSubsetFont() argument
189 return subset_sfntly(std::move(fontData), glyphUsage, fontName, ttcIndex); in SkPDFSubsetFont()
/external/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,
/external/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 …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DDocumentDataParser.java32 String fontName = null; in parse() local
50 fontName = reader.nextString(); in parse()
91 return new DocumentData(text, fontName, size, justification, tracking, lineHeight, in parse()
/external/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 …]
/external/skia/src/core/
DSkStrike.cpp217 SkString fontName; in dumpMemoryStatistics() local
218 face->getFamilyName(&fontName); in dumpMemoryStatistics()
220 for (size_t index = 0; index < fontName.size(); ++index) { in dumpMemoryStatistics()
221 if (!std::isalnum(fontName[index])) { in dumpMemoryStatistics()
222 fontName[index] = '_'; in dumpMemoryStatistics()
228 fontName.c_str(), in dumpMemoryStatistics()
/external/skia/gm/
Dscaledemoji_rendering.cpp37 char const * const fontName; member
52 typefaces[i] = MakeResourceAsTypeface(test.fontName); in onOnceBeforeDraw()
54 typefaces[i] = ToolUtils::create_portable_typeface(test.fontName, SkFontStyle()); in onOnceBeforeDraw()
/external/pdfium/core/fxge/
Dcfx_fontmapper.cpp179 void GetFontFamily(uint32_t nStyle, ByteString* fontName) { in GetFontFamily() argument
180 if (fontName->Contains("Script")) { in GetFontFamily()
182 *fontName = "ScriptMTBold"; in GetFontFamily()
183 else if (fontName->Contains("Palace")) in GetFontFamily()
184 *fontName = "PalaceScriptMT"; in GetFontFamily()
185 else if (fontName->Contains("French")) in GetFontFamily()
186 *fontName = "FrenchScriptMT"; in GetFontFamily()
187 else if (fontName->Contains("FreeStyle")) in GetFontFamily()
188 *fontName = "FreeStyleScript"; in GetFontFamily()
192 if (fontName->Contains(alternate.m_pFontName)) { in GetFontFamily()
[all …]
/external/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()
/external/cronet/third_party/icu/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()

123