/external/webkit/Source/WebCore/css/ |
D | CSSFontSelector.cpp | 289 String familyName; in addFontFaceRule() local 291 familyName = static_cast<FontFamilyValue*>(item)->familyName(); in addFontFaceRule() 295 String familyName; in addFontFaceRule() local 298 familyName = "-webkit-serif"; in addFontFaceRule() 301 familyName = "-webkit-sans-serif"; in addFontFaceRule() 304 familyName = "-webkit-cursive"; in addFontFaceRule() 307 familyName = "-webkit-fantasy"; in addFontFaceRule() 310 familyName = "-webkit-monospace"; in addFontFaceRule() 317 if (familyName.isEmpty()) in addFontFaceRule() 320 Vector<RefPtr<CSSFontFace> >* familyFontFaces = m_fontFaces.get(familyName); in addFontFaceRule() [all …]
|
D | FontFamilyValue.h | 31 static PassRefPtr<FontFamilyValue> create(const String& familyName) in create() argument 33 return adoptRef(new FontFamilyValue(familyName)); in create() 38 const String& familyName() const { return m_familyName; } in familyName() function 43 FontFamilyValue(const String& familyName);
|
D | FontFamilyValue.cpp | 28 FontFamilyValue::FontFamilyValue(const String& familyName) in FontFamilyValue() argument 30 , m_familyName(familyName) in FontFamilyValue()
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | FontCacheWinCE.cpp | 178 TraitsInFamilyProcData(const AtomicString& familyName) in TraitsInFamilyProcData() 179 : m_familyName(familyName) in TraitsInFamilyProcData() 230 String familyName; local 294 familyName = name; 297 FontPlatformData::mapKnownFont(codePages, familyName); 300 if (familyName.isEmpty()) 301 familyName = FontPlatformData::defaultFontFamily(); 303 if (!familyName.isEmpty()) { 309 FontPlatformData* result = getCachedFontPlatformData(fontDescription, familyName); 337 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) argument [all …]
|
/external/webkit/Source/WebCore/platform/graphics/ |
D | FontCache.cpp | 130 static const AtomicString& alternateFamilyName(const AtomicString& familyName) in alternateFamilyName() argument 135 if (equalIgnoringCase(familyName, courier)) in alternateFamilyName() 141 if (equalIgnoringCase(familyName, courierNew)) in alternateFamilyName() 148 if (equalIgnoringCase(familyName, times)) in alternateFamilyName() 150 if (equalIgnoringCase(familyName, timesNewRoman)) in alternateFamilyName() 156 if (equalIgnoringCase(familyName, arial)) in alternateFamilyName() 158 if (equalIgnoringCase(familyName, helvetica)) in alternateFamilyName() 166 if (equalIgnoringCase(familyName, msSans)) in alternateFamilyName() 172 if (equalIgnoringCase(familyName, msSerif)) in alternateFamilyName() 180 const AtomicString& familyName, in getCachedFontPlatformData() argument [all …]
|
D | FontSelector.h | 41 virtual FontData* getFontData(const FontDescription&, const AtomicString& familyName) = 0;
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
D | FontCacheWin.cpp | 255 String familyName; in getFontDataForCharacters() local 262 familyName = name; in getFontDataForCharacters() 268 linkedFonts = getLinkedFonts(familyName); in getFontDataForCharacters() 285 if (!familyName.isEmpty()) { in getFontDataForCharacters() 286 … FontPlatformData* result = getCachedFontPlatformData(font.fontDescription(), familyName); in getFontDataForCharacters() 306 AtomicString familyName = String(font.lfFaceName, wcsnlen(font.lfFaceName, LF_FACESIZE)); in fontDataFromDescriptionAndLogFont() local 307 SimpleFontData* fontData = fontCache->getCachedFontData(fontDescription, familyName); in fontDataFromDescriptionAndLogFont() 309 outFontFamilyName = familyName; in fontDataFromDescriptionAndLogFont() 506 TraitsInFamilyProcData(const AtomicString& familyName) in TraitsInFamilyProcData() 507 : m_familyName(familyName) in TraitsInFamilyProcData() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
D | FontCacheQt.cpp | 67 …che::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& familyName) in createFontPlatformData() argument 69 return new FontPlatformData(fontDescription, familyName); in createFontPlatformData()
|
D | FontPlatformDataQt.cpp | 63 …ntPlatformData(const FontDescription& description, const AtomicString& familyName, int wordSpacing… in FontPlatformData() argument 68 font.setFamily(familyName); in FontPlatformData()
|
/external/skia/src/utils/ios/ |
D | SkFontHost_iOS.mm | 144 const char familyName[], 149 if (familyName) { 150 FontDesign design = find_design_from_name(familyName); 152 familyName = "$#@*&%*#$@ never match any name"; 158 if (design == gFontRes[i].fDesign || !strcmp(gFontRes[i].fName, familyName)) {
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
D | SimpleFontDataMac.mm | 99 …_LOCAL(RetainPtr<NSString>, webFallbackFontFamily, ([[NSFont systemFontOfSize:16.0f] familyName])); 169 if ([[m_platformData.font() familyName] isEqual:@"Times"]) 207 [m_platformData.font() familyName], [initialFont.get() familyName], filePath); 241 NSString *familyName = [m_platformData.font() familyName]; 242 …if ([familyName isEqualToString:@"Times"] || [familyName isEqualToString:@"Helvetica"] || [familyN… 245 else if ([familyName isEqualToString:@"Geeza Pro"]) { 259 if (descent < 3 && lineGap >= 3 && [familyName hasPrefix:@"Hiragino"]) {
|
/external/webkit/Source/WebCore/platform/graphics/opentype/ |
D | OpenTypeUtilities.cpp | 221 const BigEndianUShort* familyName = 0; in getEOTHeader() local 289 familyName = nameString; in getEOTHeader() 325 eotHeader.appendBigEndianString(familyName, familyNameLength); in getEOTHeader() 330 if (fullNameLength >= familyNameLength && memcmp(familyName, fullName, familyNameLength)) { in getEOTHeader() 332 overlayDst = reinterpret_cast<const char*>(familyName) - data; in getEOTHeader()
|
/external/skia/legacy/src/ports/ |
D | SkFontHost_FONTPATH.cpp | 235 const char familyName[], in CreateTypeface() argument 244 else if (familyName) in CreateTypeface() 245 family = find_family_rec(familyName); in CreateTypeface()
|
D | SkFontHost_fontconfig.cpp | 210 const char familyName[], in CreateTypeface() argument 249 } else if (familyName) { in CreateTypeface() 250 resolved_family_name = familyName; in CreateTypeface()
|
D | SkFontHost_mac_coretext.cpp | 386 static SkTypeface* NewFromName(const char familyName[], in NewFromName() argument 410 cfFontName = CFStringCreateWithCString(NULL, familyName, kCFStringEncodingUTF8); in NewFromName() 443 return ctFont ? NewFromFontRef(ctFont, familyName) : NULL; in NewFromName() 524 const char familyName[], in CreateTypeface() argument 527 if (familyName) { in CreateTypeface() 528 familyName = map_css_names(familyName); in CreateTypeface() 533 if (familyName == NULL && familyFace != NULL) { in CreateTypeface() 538 if (!familyName || !*familyName) { in CreateTypeface() 539 familyName = FONT_DEFAULT_NAME; in CreateTypeface() 542 NameStyleRec rec = { familyName, style }; in CreateTypeface() [all …]
|
/external/skia/src/ports/ |
D | SkFontHost_fontconfig.cpp | 116 const char familyName[], in CreateTypeface() argument 155 } else if (familyName) { in CreateTypeface() 156 resolved_family_name = familyName; in CreateTypeface()
|
D | SkFontHost_FONTPATH.cpp | 235 const char familyName[], in CreateTypeface() argument 243 else if (familyName) in CreateTypeface() 244 family = find_family_rec(familyName); in CreateTypeface()
|
D | SkFontHost_linux.cpp | 506 const char* familyName = descriptor.getFamilyName(); in Deserialize() local 522 return SkFontHost::CreateTypeface(NULL, familyName, style); in Deserialize() 528 const char familyName[], in CreateTypeface() argument 541 } else if (NULL != familyName) { in CreateTypeface() 543 tf = find_typeface(familyName, style); in CreateTypeface()
|
D | SkFontHost_win.cpp | 1300 static void logfont_for_name(const char* familyName, LOGFONT& lf) { in logfont_for_name() argument 1304 size_t str_len = ::MultiByteToWideChar(CP_UTF8, 0, familyName, in logfont_for_name() 1310 ::MultiByteToWideChar(CP_UTF8, 0, familyName, -1, in logfont_for_name() 1316 ::strncpy(lf.lfFaceName, familyName, LF_FACESIZE - 1); in logfont_for_name() 1365 SkString familyName; in Serialize() local 1366 tchar_to_skstring(fontName.get(), &familyName); in Serialize() 1367 descriptor.setFamilyName(familyName.c_str()); in Serialize() 1621 char familyName[BASE64_GUID_ID_LEN]; in CreateTypefaceFromStream() local 1622 const int familyNameSize = SK_ARRAY_COUNT(familyName); in CreateTypefaceFromStream() 1623 if (FAILED(create_unique_font_name(familyName, familyNameSize))) { in CreateTypefaceFromStream() [all …]
|
D | SkFontHost_mac_coretext.cpp | 426 static SkTypeface* NewFromName(const char familyName[], SkTypeface::Style theStyle) { in NewFromName() argument 439 CFStringCreateWithCString(NULL, familyName, kCFStringEncodingUTF8)); in NewFromName() 475 return ctFont ? NewFromFontRef(ctFont, familyName) : NULL; in NewFromName() 556 const char familyName[], in CreateTypeface() argument 558 if (familyName) { in CreateTypeface() 559 familyName = map_css_names(familyName); in CreateTypeface() 564 if (familyName == NULL && familyFace != NULL) { in CreateTypeface() 569 if (!familyName || !*familyName) { in CreateTypeface() 570 familyName = FONT_DEFAULT_NAME; in CreateTypeface() 573 NameStyleRec rec = { familyName, style }; in CreateTypeface() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
D | FontCacheChromiumWin.cpp | 372 TraitsInFamilyProcData(const AtomicString& familyName) in TraitsInFamilyProcData() 373 : m_familyName(familyName) in TraitsInFamilyProcData() 592 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument 598 unsigned familyLength = min(familyName.length(), static_cast<unsigned>(LF_FACESIZE - 1)); in getTraitsInFamily() 599 memcpy(logFont.lfFaceName, familyName.characters(), familyLength * sizeof(UChar)); in getTraitsInFamily() 603 TraitsInFamilyProcData procData(familyName); in getTraitsInFamily()
|
/external/webkit/Source/WebCore/platform/win/ |
D | SystemInfo.cpp | 113 const char* familyName = (version >= WindowsNT3) ? "Windows NT " : "Windows CE "; in osVersionForUAString() local 114 return makeString(familyName, String::number(major), '.', String::number(minor)); in osVersionForUAString()
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | font_settings_utils_mac.mm | 27 [[font familyName] caseInsensitiveCompare:family_name] != NSOrderedSame) { 28 std::string new_family_name = base::SysNSStringToUTF8([font familyName]);
|
/external/webkit/Source/WebCore/platform/graphics/pango/ |
D | FontCachePango.cpp | 56 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
D | FontCacheHaiku.cpp | 75 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
|