Home
last modified time | relevance | path

Searched refs:fontName (Results 1 – 25 of 68) 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/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DFontCustomPlatformDataWin.cpp54 String fontName = base64Encode(reinterpret_cast<char*>(&fontUuid), sizeof(fontUuid)); in createUniqueFontName() local
55 ASSERT(fontName.length() < LF_FACESIZE); in createUniqueFontName()
56 return fontName; in createUniqueFontName()
122 String fontName = createUniqueFontName(); in create() local
123 HANDLE fontReference = renameAndActivateFont(buffer, fontName); in create()
127 return adoptPtr(new FontCustomPlatformData(fontReference, fontName)); in create()
DFontFallbackWin.cpp46 bool isFontPresent(const UChar* fontName) in isFontPresent() argument
48 HFONT hfont = CreateFont(12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, fontName); in isFontPresent()
61 return !wcscmp(fontName, actualFontName); in isFontPresent()
/external/icu4c/samples/layout/
DFontMap.cpp40 char *c, *scriptName, *fontName, *line, buffer[BUFFER_SIZE]; in FontMap() local
64 fontName = strip(&c[1]); in FontMap()
68 defaultFont = getFontIndex(fontName); in FontMap()
89 fFontIndices[script] = getFontIndex(fontName); in FontMap()
127 le_int32 FontMap::getFontIndex(const char *fontName) in getFontIndex() argument
132 if (strcmp(fontName, fFontNames[index]) == 0) { in getFontIndex()
164 le_int32 len = strlen(fontName); in getFontIndex()
167 fFontNames[index] = strcpy(s, fontName); in getFontIndex()
DGDIFontMap.cpp29 const LEFontInstance *GDIFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode &s… in openFont() argument
31 LEFontInstance *result = new GDIFontInstance(fSurface, fontName, pointSize, status); in openFont()
DGnomeFontMap.cpp31 const LEFontInstance *GnomeFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode … in openFont() argument
33 LEFontInstance *result = new GnomeFontInstance(fEngine, fontName, pointSize, status); in openFont()
DFontMap.h37 …virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &stat…
43 le_int32 getFontIndex(const char *fontName);
/external/chromium_org/third_party/icu/source/test/letest/
Dgendata.cpp39 const char *fontName; member
192 char *fontName = getCString(element->getAttribute(name_attr)); in main() local
194 PortableFontInstance *pfi = new PortableFontInstance(fontName, 12, leStatus); in main()
197 printf("Error: could not open font: %s\n", fontName); in main()
198 freeCString(fontName); in main()
211 fontName, uversion, pfi->getFontChecksum()); in main()
217 fontName, version, pfi->getFontChecksum()); in main()
222 freeCString(fontName); in main()
Dcletest.c394 static le_font *openFont(const char *fontName, const char *checksum, const char *version, const cha… in openFont() argument
400 if (fontName != NULL) { in openFont()
401 font = le_portableFontOpen(getPath(path, fontName), 12, &fontStatus); in openFont()
404 log_info("Test %s: can't open font %s - test skipped.\n", testID, fontName); in openFont()
439 const char *fontName, in doTestCase() argument
450 le_font *font = openFont(fontName, fontChecksum, fontVersion, testID); in doTestCase()
459 if (fontName == NULL) { in doTestCase()
Dxmlreader.cpp171 char *fontName = NULL; in readTestFile() local
204 fontName = getCString(element->getAttribute(name_attr)); in readTestFile()
238 …(*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCoun… in readTestFile()
248 freeCString(fontName); in readTestFile()
Dxmlreader.h14 const char *fontName,
/external/icu4c/test/letest/
Dgendata.cpp39 const char *fontName; member
192 char *fontName = getCString(element->getAttribute(name_attr)); in main() local
194 PortableFontInstance *pfi = new PortableFontInstance(fontName, 12, leStatus); in main()
197 printf("Error: could not open font: %s\n", fontName); in main()
198 freeCString(fontName); in main()
211 fontName, uversion, pfi->getFontChecksum()); in main()
217 fontName, version, pfi->getFontChecksum()); in main()
222 freeCString(fontName); in main()
Dcletest.c394 static le_font *openFont(const char *fontName, const char *checksum, const char *version, const cha… in openFont() argument
400 if (fontName != NULL) { in openFont()
401 font = le_portableFontOpen(getPath(path, fontName), 12, &fontStatus); in openFont()
404 log_info("Test %s: can't open font %s - test skipped.\n", testID, fontName); in openFont()
439 const char *fontName, in doTestCase() argument
450 le_font *font = openFont(fontName, fontChecksum, fontVersion, testID); in doTestCase()
459 if (fontName == NULL) { in doTestCase()
Dxmlreader.cpp171 char *fontName = NULL; in readTestFile() local
204 fontName = getCString(element->getAttribute(name_attr)); in readTestFile()
238 …(*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCoun… in readTestFile()
248 freeCString(fontName); in readTestFile()
Dxmlreader.h14 const char *fontName,
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
DOpenTypeUtilities.cpp147 static size_t renameFont(SharedBuffer* fontData, const String& fontName, Vector<char> &rewrittenFon… in renameFont() argument
163 …fsetof(nameTable, nameRecords) + nameRecordCount * sizeof(nameRecord) + fontName.length() * sizeof… in renameFont()
184 name->nameRecords[i].length = fontName.length() * sizeof(UChar); in renameFont()
194 for (unsigned i = 0; i < fontName.length(); ++i) in renameFont()
195 … reinterpret_cast<BigEndianUShort*>(data + originalDataSize + name->stringOffset)[i] = fontName[i]; in renameFont()
206 HANDLE renameAndActivateFont(SharedBuffer* fontData, const String& fontName) in renameAndActivateFont() argument
209 size_t nameTableSize = renameFont(fontData, fontName, rewrittenFontData); in renameAndActivateFont()
/external/freetype/include/freetype/
Dftmac.h130 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/chromium_org/third_party/freetype/include/freetype/
Dftmac.h130 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/chromium_org/content/common/mac/
Dfont_descriptor_unittest.mm30 << [[font1 fontName] UTF8String]
32 << [[font2 fontName] UTF8String]
41 << [[font1 fontName] UTF8String] << " (" << size1 << ")"
43 << [[font2 fontName] UTF8String] << " (" << size2 << ")"
60 << [[font1 fontName] UTF8String]
62 << [[font2 fontName] UTF8String]
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DFontResource.cpp128 SVGFontElement* FontResource::getSVGFontById(const String& fontName) const in getSVGFontById()
145 if (fontName.isEmpty()) in getSVGFontById()
150 if (element->getIdAttribute() == fontName) in getSVGFontById()
/external/skia/src/animator/
DSkPaintParts.h68 return SkTypeface::CreateFromName(fontName.c_str(), style); } in getTypeface()
71 SkString fontName; variable
DSkPaintParts.cpp75 SK_MEMBER(fontName, String),
96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontName.c_str()); in dump()
/external/chromium_org/third_party/skia/src/animator/
DSkPaintParts.cpp75 SK_MEMBER(fontName, String),
96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontName.c_str()); in dump()
DSkPaintParts.h68 return SkTypeface::CreateFromName(fontName.c_str(), style); } in getTypeface()
71 SkString fontName; variable
/external/chromium_org/third_party/WebKit/Source/web/tests/
DUniscribeHelperTest.cpp51 HFONT MakeFont(const wchar_t* fontName, SCRIPT_CACHE** cache) in MakeFont() argument
56 wcscpy_s(lf.lfFaceName, fontName); in MakeFont()

123