/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()
|
D | CSSFontSelector.h | 53 …tual FontData* getFontData(const FontDescription& fontDescription, const AtomicString& familyName);
|
/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/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/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 …]
|
D | SkFontHost_win.cpp | 1089 char *familyName = new char[str_len]; in GetAdvancedTypefaceMetrics() local 1091 WideCharToMultiByte(CP_UTF8, 0, lf.lfFaceName, -1, familyName, str_len, in GetAdvancedTypefaceMetrics() 1093 info->fFontName.set(familyName); in GetAdvancedTypefaceMetrics() 1094 delete [] familyName; in GetAdvancedTypefaceMetrics() 1248 const char familyName[], in CreateTypeface() argument 1252 if (NULL == familyFace && NULL == familyName) { in CreateTypeface() 1261 size_t str_len = ::MultiByteToWideChar(CP_UTF8, 0, familyName, in CreateTypeface() 1267 ::MultiByteToWideChar(CP_UTF8, 0, familyName, -1, in CreateTypeface() 1272 ::strncpy(lf.lfFaceName, familyName, LF_FACESIZE); in CreateTypeface()
|
/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
|
D | FontPlatformDataPango.cpp | 48 …tformData::FontPlatformData(const FontDescription& fontDescription, const AtomicString& familyName) in FontPlatformData() argument 58 CString stored_family = familyName.string().utf8(); in FontPlatformData()
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
D | FontCacheHaiku.cpp | 75 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
|
/external/skia/include/core/ |
D | SkTypeface.h | 85 static SkTypeface* CreateFromName(const char familyName[], Style style);
|
D | SkFontHost.h | 62 const char familyName[],
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
D | FontCacheWx.cpp | 101 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
|