Searched refs:fontName (Results 1 - 25 of 48) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/wince/
H A DFontCustomPlatformData.cpp35 bool renameFont(SharedBuffer* fontData, const String& fontName);
68 String fontName = base64Encode(reinterpret_cast<char*>(&fontUuid), sizeof(fontUuid)); local
69 ASSERT(fontName.length() < LF_FACESIZE);
70 return fontName.replace('/', '_');
76 String fontName = createUniqueFontName(); local
78 if (renameFont(localBuffer.get(), fontName) && g_customFontCache->registerFont(fontName, localBuffer.get()))
79 return new FontCustomPlatformData(fontName);
H A DFontCustomPlatformData.h38 virtual bool registerFont(const String& fontName, const SharedBuffer*) = 0;
39 virtual void unregisterFont(const String& fontName) = 0;
/external/skia/src/sfnt/
H A DSkOTUtils.h27 * UniqueFontIdentifier, FullFontName, and PostscriptName are fontName.
32 * fontName and fontNameLen must be specified in terms of ASCII chars.
34 static SkData* RenameFont(SkStream* fontData, const char* fontName, int fontNameLen);
/external/freetype/include/freetype/
H A Dftmac.h95 /* 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/
H A DQuicktimeTextSampleEntry.java50 String fontName = ""; field in class:QuicktimeTextSampleEntry
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) { argument
208 this.fontName = fontName;
229 if (fontName !
[all...]
/external/icu4c/samples/layout/
H A DGDIFontMap.cpp29 const LEFontInstance *GDIFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) argument
31 LEFontInstance *result = new GDIFontInstance(fSurface, fontName, pointSize, status);
H A DGnomeFontMap.cpp31 const LEFontInstance *GnomeFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) argument
33 LEFontInstance *result = new GnomeFontInstance(fEngine, fontName, pointSize, status);
H A DFontMap.h37 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) = 0;
43 le_int32 getFontIndex(const char *fontName);
H A DGDIFontMap.h32 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status);
H A DGnomeFontMap.h32 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status);
H A DFontMap.cpp40 char *c, *scriptName, *fontName, *line, buffer[BUFFER_SIZE]; local
64 fontName = strip(&c[1]);
68 defaultFont = getFontIndex(fontName);
89 fFontIndices[script] = getFontIndex(fontName);
127 le_int32 FontMap::getFontIndex(const char *fontName) argument
132 if (strcmp(fontName, fFontNames[index]) == 0) {
164 le_int32 len = strlen(fontName);
167 fFontNames[index] = strcpy(s, fontName);
/external/icu4c/test/letest/
H A Dxmlreader.h14 const char *fontName,
H A Dgendata.cpp39 const char *fontName; member in struct:TestInput
192 char *fontName = getCString(element->getAttribute(name_attr)); local
194 PortableFontInstance *pfi = new PortableFontInstance(fontName, 12, leStatus);
197 printf("Error: could not open font: %s\n", fontName);
198 freeCString(fontName);
211 fontName, uversion, pfi->getFontChecksum());
217 fontName, version, pfi->getFontChecksum());
222 freeCString(fontName);
H A Dxmlreader.cpp171 char *fontName = NULL; local
204 fontName = getCString(element->getAttribute(name_attr));
238 (*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCount, &expected);
248 freeCString(fontName);
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DFontCustomPlatformData.cpp121 String fontName = base64Encode(reinterpret_cast<char*>(&fontUuid), sizeof(fontUuid)); local
122 ASSERT(fontName.length() < LF_FACESIZE);
123 return fontName;
185 String fontName = createUniqueFontName(); local
186 HANDLE fontReference = renameAndActivateFont(buffer, fontName);
189 return new FontCustomPlatformData(fontReference, fontName);
/external/skia/legacy/src/animator/
H A DSkPaintParts.cpp75 SK_MEMBER(fontName, String),
96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontName.c_str());
H A DSkPaintParts.h68 return SkTypeface::CreateFromName(fontName.c_str(), style); }
71 SkString fontName; member in class:SkDrawTypeface
/external/skia/src/animator/
H A DSkPaintParts.cpp75 SK_MEMBER(fontName, String),
96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontName.c_str());
H A DSkPaintParts.h68 return SkTypeface::CreateFromName(fontName.c_str(), style); }
71 SkString fontName; member in class:SkDrawTypeface
/external/webkit/Source/WebCore/platform/graphics/win/
H A DFontCustomPlatformData.cpp160 String fontName = base64Encode(reinterpret_cast<char*>(&fontUuid), sizeof(fontUuid)); local
161 ASSERT(fontName.length() < LF_FACESIZE);
162 return fontName;
185 String fontName = createUniqueFontName(); local
201 LONG loadEmbeddedFontResult = TTLoadEmbeddedFont(&fontReference, TTLOAD_PRIVATE, &privStatus, LICENSE_PREVIEWPRINT, &status, readEmbedProc, &eotStream, const_cast<LPWSTR>(fontName.charactersWithNullTermination()), 0, 0);
203 fontName = String();
205 fontReference = renameAndActivateFont(buffer, fontName);
210 return new FontCustomPlatformData(fontReference, fontName);
/external/webkit/Source/WebCore/platform/graphics/opentype/
H A DOpenTypeUtilities.cpp344 // adds fontName to the font table in fontData, and writes the new font table to rewrittenFontTable
346 static size_t renameFontInternal(SharedBuffer* fontData, const String& fontName, Vector<char> &rewrittenFontData) argument
362 size_t nameTableSize = ((offsetof(nameTable, nameRecords) + nameRecordCount * sizeof(nameRecord) + fontName.length() * sizeof(UChar)) & ~3) + 4;
383 name->nameRecords[i].length = fontName.length() * sizeof(UChar);
393 for (unsigned i = 0; i < fontName.length(); ++i)
394 reinterpret_cast<BigEndianUShort*>(data + originalDataSize + name->stringOffset)[i] = fontName[i];
407 bool renameFont(SharedBuffer* fontData, const String& fontName) argument
419 if (!renameFontInternal(fontData, fontName, rewrittenFontData))
428 HANDLE renameAndActivateFont(SharedBuffer* fontData, const String& fontName) argument
431 size_t nameTableSize = renameFontInternal(fontData, fontName, rewrittenFontDat
[all...]
/external/webkit/Tools/DumpRenderTree/mac/
H A DTextInputController.m77 || aSelector == @selector(addFontAttribute:fontName:size:)
78 || aSelector == @selector(addFontAttribute:fontName:size:from:length:))
99 if (aSelector == @selector(addFontAttribute:fontName:size:))
101 if (aSelector == @selector(addFontAttribute:fontName:size:from:length:))
143 - (void)addFontAttribute:(NSString *)attrName fontName:(NSString *)fontName size:(float)fontSize
145 [self addAttribute:attrName value:[NSFont fontWithName:fontName size:fontSize] range:NSMakeRange(0, [self length])];
148 - (void)addFontAttribute:(NSString *)attrName fontName:(NSString *)fontName size:(float)fontSize from:(int)from length:(int)length
150 [self addAttribute:attrName value:[NSFont fontWithName:fontName siz
[all...]
/external/webkit/Source/WebCore/loader/cache/
H A DCachedFont.cpp148 SVGFontElement* CachedFont::getSVGFontById(const String& fontName) const
165 if (fontName.isEmpty())
170 if (element->getIdAttribute() == fontName)
/external/webkit/Source/WebKit/chromium/tests/
H A DUniscribeHelperTest.cpp51 HFONT MakeFont(const wchar_t* fontName, SCRIPT_CACHE** cache) argument
56 wcscpy_s(lf.lfFaceName, fontName);
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DCrossProcessFontLoading.mm78 NSString* fontName = (NSString*)CGFontCopyPostScriptName(cgFont);
79 return [fontName isEqualToString:@"LastResort"];

Completed in 411 milliseconds

12