/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/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/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/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,
|
D | letest.cpp | 538 LEFontInstance *openFont(const char *fontName, const char *checksum, const char *version, const cha… in openFont() argument 545 font = new PortableFontInstance(getPath(path, fontName), 12, fontStatus); in openFont() 548 log_info("Test %s: can't open font %s - test skipped.\n", testID, fontName); in openFont() 638 char *fontName = getCString(element->getAttribute(name_attr)); in DataDrivenTest() local 642 font = openFont(fontName, fontCksum, fontVer, id); in DataDrivenTest() 645 freeCString(fontName); in DataDrivenTest()
|
/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/src/animator/ |
D | SkPaintParts.cpp | 83 SK_MEMBER(fontName, String), 104 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontName.c_str()); in dump()
|
D | SkPaintParts.h | 76 return SkTypeface::CreateFromName(fontName.c_str(), style); } in getTypeface() 79 SkString fontName; variable
|
/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/webkit/Source/WebCore/platform/graphics/chromium/ |
D | FontUtilsChromiumWin.cpp | 47 bool isFontPresent(const UChar* fontName) in isFontPresent() argument 50 fontName); in isFontPresent() 63 return !wcscmp(fontName, actualFontName); in isFontPresent()
|
/external/webkit/Source/WebCore/platform/gtk/ |
D | RenderThemeGtk.cpp | 435 GOwnPtr<gchar> fontName; in systemFont() local 436 g_object_get(settings, "gtk-font-name", &fontName.outPtr(), NULL); in systemFont() 438 PangoFontDescription* pangoDescription = pango_font_description_from_string(fontName.get()); in systemFont()
|
/external/webkit/Source/WebCore/platform/mac/ |
D | WebFontCache.mm | 108 static inline void fixUpWeight(NSInteger& weight, NSString *fontName) 112 UNUSED_PARAM(fontName); 114 …if (weight == 3 && [fontName rangeOfString:@"ultralight" options:NSCaseInsensitiveSearch | NSBackw…
|