/external/webkit/Source/WebCore/platform/graphics/wince/ |
H A D | FontCustomPlatformData.cpp | 35 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 D | FontCustomPlatformData.h | 38 virtual bool registerFont(const String& fontName, const SharedBuffer*) = 0; 39 virtual void unregisterFont(const String& fontName) = 0;
|
/external/skia/src/sfnt/ |
H A D | SkOTUtils.h | 27 * 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 D | 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/ |
H A D | QuicktimeTextSampleEntry.java | 50 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 D | GDIFontMap.cpp | 29 const LEFontInstance *GDIFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) argument 31 LEFontInstance *result = new GDIFontInstance(fSurface, fontName, pointSize, status);
|
H A D | GnomeFontMap.cpp | 31 const LEFontInstance *GnomeFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) argument 33 LEFontInstance *result = new GnomeFontInstance(fEngine, fontName, pointSize, status);
|
H A D | FontMap.h | 37 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) = 0; 43 le_int32 getFontIndex(const char *fontName);
|
H A D | GDIFontMap.h | 32 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status);
|
H A D | GnomeFontMap.h | 32 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status);
|
H A D | FontMap.cpp | 40 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 D | xmlreader.h | 14 const char *fontName,
|
H A D | gendata.cpp | 39 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 D | xmlreader.cpp | 171 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 D | FontCustomPlatformData.cpp | 121 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 D | SkPaintParts.cpp | 75 SK_MEMBER(fontName, String), 96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontName.c_str());
|
H A D | SkPaintParts.h | 68 return SkTypeface::CreateFromName(fontName.c_str(), style); } 71 SkString fontName; member in class:SkDrawTypeface
|
/external/skia/src/animator/ |
H A D | SkPaintParts.cpp | 75 SK_MEMBER(fontName, String), 96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontName.c_str());
|
H A D | SkPaintParts.h | 68 return SkTypeface::CreateFromName(fontName.c_str(), style); } 71 SkString fontName; member in class:SkDrawTypeface
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | FontCustomPlatformData.cpp | 160 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 D | OpenTypeUtilities.cpp | 344 // 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 D | TextInputController.m | 77 || 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 D | CachedFont.cpp | 148 SVGFontElement* CachedFont::getSVGFontById(const String& fontName) const 165 if (fontName.isEmpty()) 170 if (element->getIdAttribute() == fontName)
|
/external/webkit/Source/WebKit/chromium/tests/ |
H A D | UniscribeHelperTest.cpp | 51 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 D | CrossProcessFontLoading.mm | 78 NSString* fontName = (NSString*)CGFontCopyPostScriptName(cgFont); 79 return [fontName isEqualToString:@"LastResort"];
|