/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | FontCustomPlatformData.cpp | 35 bool renameFont(SharedBuffer* fontData, const String& fontName); 68 String fontName = base64Encode(reinterpret_cast<char*>(&fontUuid), sizeof(fontUuid)); in createUniqueFontName() local 69 ASSERT(fontName.length() < LF_FACESIZE); in createUniqueFontName() 70 return fontName.replace('/', '_'); in createUniqueFontName() 76 String fontName = createUniqueFontName(); in createFontCustomPlatformData() local 78 …if (renameFont(localBuffer.get(), fontName) && g_customFontCache->registerFont(fontName, localBuff… in createFontCustomPlatformData() 79 return new FontCustomPlatformData(fontName); in createFontCustomPlatformData()
|
D | FontCustomPlatformData.h | 38 virtual bool registerFont(const String& fontName, const SharedBuffer*) = 0; 39 virtual void unregisterFont(const String& fontName) = 0;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/ |
D | QuicktimeTextSampleEntry.java | 50 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/icu4c/samples/layout/ |
D | FontMap.cpp | 40 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()
|
D | GDIFontMap.cpp | 29 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()
|
D | GnomeFontMap.cpp | 31 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()
|
D | FontMap.h | 37 …virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &stat… 43 le_int32 getFontIndex(const char *fontName);
|
D | GDIFontMap.h | 32 …virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &stat…
|
D | GnomeFontMap.h | 32 …virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &stat…
|
/external/icu4c/test/letest/ |
D | gendata.cpp | 39 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()
|
D | cletest.c | 394 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()
|
D | xmlreader.cpp | 171 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()
|
D | xmlreader.h | 14 const char *fontName,
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
D | FontCustomPlatformData.cpp | 160 String fontName = base64Encode(reinterpret_cast<char*>(&fontUuid), sizeof(fontUuid)); in createUniqueFontName() local 161 ASSERT(fontName.length() < LF_FACESIZE); in createUniqueFontName() 162 return fontName; in createUniqueFontName() 185 String fontName = createUniqueFontName(); in createFontCustomPlatformData() local 201 …SE_PREVIEWPRINT, &status, readEmbedProc, &eotStream, const_cast<LPWSTR>(fontName.charactersWithNul… in createFontCustomPlatformData() 203 fontName = String(); in createFontCustomPlatformData() 205 fontReference = renameAndActivateFont(buffer, fontName); in createFontCustomPlatformData() 210 return new FontCustomPlatformData(fontReference, fontName); in createFontCustomPlatformData()
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
D | FontCustomPlatformData.cpp | 121 String fontName = base64Encode(reinterpret_cast<char*>(&fontUuid), sizeof(fontUuid)); in createUniqueFontName() local 122 ASSERT(fontName.length() < LF_FACESIZE); in createUniqueFontName() 123 return fontName; in createUniqueFontName() 185 String fontName = createUniqueFontName(); in createFontCustomPlatformData() local 186 HANDLE fontReference = renameAndActivateFont(buffer, fontName); in createFontCustomPlatformData() 189 return new FontCustomPlatformData(fontReference, fontName); in createFontCustomPlatformData()
|
/external/freetype/include/freetype/ |
D | ftmac.h | 130 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/webkit/Source/WebCore/platform/graphics/opentype/ |
D | OpenTypeUtilities.cpp | 346 static size_t renameFontInternal(SharedBuffer* fontData, const String& fontName, Vector<char> &rewr… in renameFontInternal() argument 362 …fsetof(nameTable, nameRecords) + nameRecordCount * sizeof(nameRecord) + fontName.length() * sizeof… in renameFontInternal() 383 name->nameRecords[i].length = fontName.length() * sizeof(UChar); in renameFontInternal() 393 for (unsigned i = 0; i < fontName.length(); ++i) in renameFontInternal() 394 … reinterpret_cast<BigEndianUShort*>(data + originalDataSize + name->stringOffset)[i] = fontName[i]; in renameFontInternal() 407 bool renameFont(SharedBuffer* fontData, const String& fontName) in renameFont() argument 419 if (!renameFontInternal(fontData, fontName, rewrittenFontData)) in renameFont() 428 HANDLE renameAndActivateFont(SharedBuffer* fontData, const String& fontName) in renameAndActivateFont() argument 431 size_t nameTableSize = renameFontInternal(fontData, fontName, rewrittenFontData); in renameAndActivateFont()
|
/external/webkit/Source/WebCore/loader/cache/ |
D | CachedFont.cpp | 148 SVGFontElement* CachedFont::getSVGFontById(const String& fontName) const in getSVGFontById() 165 if (fontName.isEmpty()) in getSVGFontById() 170 if (element->getIdAttribute() == fontName) in getSVGFontById()
|
/external/webkit/Tools/DumpRenderTree/mac/ |
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… 148 - (void)addFontAttribute:(NSString *)attrName fontName:(NSString *)fontName size:(float)fontSize fr… 150 …[self addAttribute:attrName value:[NSFont fontWithName:fontName size:fontSize] range:NSMakeRange((…
|
/external/skia/legacy/src/animator/ |
D | SkPaintParts.h | 68 return SkTypeface::CreateFromName(fontName.c_str(), style); } in getTypeface() 71 SkString fontName; variable
|
D | SkPaintParts.cpp | 75 SK_MEMBER(fontName, String), 96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontName.c_str()); in dump()
|
/external/skia/src/animator/ |
D | SkPaintParts.h | 68 return SkTypeface::CreateFromName(fontName.c_str(), style); } in getTypeface() 71 SkString fontName; variable
|
D | SkPaintParts.cpp | 75 SK_MEMBER(fontName, String), 96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontName.c_str()); in dump()
|
/external/webkit/Source/WebKit/chromium/tests/ |
D | UniscribeHelperTest.cpp | 51 HFONT MakeFont(const wchar_t* fontName, SCRIPT_CACHE** cache) in MakeFont() argument 56 wcscpy_s(lf.lfFaceName, fontName); in MakeFont()
|
/external/skia/src/sfnt/ |
D | SkOTUtils.h | 34 static SkData* RenameFont(SkStream* fontData, const char* fontName, int fontNameLen);
|