/external/webkit/Source/WebCore/platform/graphics/wince/ |
FontCustomPlatformData.cpp | 35 bool renameFont(SharedBuffer* fontData, const String& fontName); 68 String fontName = base64Encode(reinterpret_cast<char*>(&fontUuid), sizeof(fontUuid)); 69 ASSERT(fontName.length() < LF_FACESIZE); 70 return fontName.replace('/', '_'); 76 String fontName = createUniqueFontName(); 78 if (renameFont(localBuffer.get(), fontName) && g_customFontCache->registerFont(fontName, localBuffer.get())) 79 return new FontCustomPlatformData(fontName);
|
FontCustomPlatformData.h | 38 virtual bool registerFont(const String& fontName, const SharedBuffer*) = 0; 39 virtual void unregisterFont(const String& fontName) = 0;
|
/external/skia/src/sfnt/ |
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/ |
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/icu4c/samples/layout/ |
GDIFontMap.cpp | 29 const LEFontInstance *GDIFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) 31 LEFontInstance *result = new GDIFontInstance(fSurface, fontName, pointSize, status);
|
GnomeFontMap.cpp | 31 const LEFontInstance *GnomeFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) 33 LEFontInstance *result = new GnomeFontInstance(fEngine, fontName, pointSize, status);
|
GDIFontMap.h | 32 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status);
|
GnomeFontMap.h | 32 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status);
|
FontMap.h | 37 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) = 0; 43 le_int32 getFontIndex(const char *fontName);
|
FontMap.cpp | 40 char *c, *scriptName, *fontName, *line, buffer[BUFFER_SIZE]; 64 fontName = strip(&c[1]); 68 defaultFont = getFontIndex(fontName); 89 fFontIndices[script] = getFontIndex(fontName); 127 le_int32 FontMap::getFontIndex(const char *fontName) 132 if (strcmp(fontName, fFontNames[index]) == 0) { 164 le_int32 len = strlen(fontName); 167 fFontNames[index] = strcpy(s, fontName);
|
/external/icu4c/test/letest/ |
xmlreader.h | 14 const char *fontName,
|
gendata.cpp | 39 const char *fontName; 192 char *fontName = getCString(element->getAttribute(name_attr)); 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);
|
xmlreader.cpp | 171 char *fontName = NULL; 204 fontName = getCString(element->getAttribute(name_attr)); 238 (*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCount, &expected); 248 freeCString(fontName);
|
/external/skia/legacy/src/animator/ |
SkPaintParts.h | 68 return SkTypeface::CreateFromName(fontName.c_str(), style); } 71 SkString fontName;
|
SkPaintParts.cpp | 75 SK_MEMBER(fontName, String), 96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontName.c_str());
|
/external/skia/src/animator/ |
SkPaintParts.h | 68 return SkTypeface::CreateFromName(fontName.c_str(), style); } 71 SkString fontName;
|
SkPaintParts.cpp | 75 SK_MEMBER(fontName, String), 96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontName.c_str());
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
FontCustomPlatformData.cpp | 121 String fontName = base64Encode(reinterpret_cast<char*>(&fontUuid), sizeof(fontUuid)); 122 ASSERT(fontName.length() < LF_FACESIZE); 123 return fontName; 185 String fontName = createUniqueFontName(); 186 HANDLE fontReference = renameAndActivateFont(buffer, fontName); 189 return new FontCustomPlatformData(fontReference, fontName);
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
FontCustomPlatformData.cpp | 160 String fontName = base64Encode(reinterpret_cast<char*>(&fontUuid), sizeof(fontUuid)); 161 ASSERT(fontName.length() < LF_FACESIZE); 162 return fontName; 185 String fontName = createUniqueFontName(); 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/ |
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) 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) 419 if (!renameFontInternal(fontData, fontName, rewrittenFontData)) 428 HANDLE renameAndActivateFont(SharedBuffer* fontData, const String& fontName) 431 size_t nameTableSize = renameFontInternal(fontData, fontName, rewrittenFontData) [all...] |
/external/webkit/Tools/DumpRenderTree/mac/ |
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 size:fontSize] range:NSMakeRange((unsigned)from, (unsigned)length)] [all...] |
/external/webkit/Source/WebCore/loader/cache/ |
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/ |
UniscribeHelperTest.cpp | 51 HFONT MakeFont(const wchar_t* fontName, SCRIPT_CACHE** cache) 56 wcscpy_s(lf.lfFaceName, fontName);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
CrossProcessFontLoading.mm | 78 NSString* fontName = (NSString*)CGFontCopyPostScriptName(cgFont); 79 return [fontName isEqualToString:@"LastResort"];
|