Home
last modified time | relevance | path

Searched refs:familyName (Results 1 – 25 of 33) sorted by relevance

12

/external/webkit/WebCore/css/
DCSSFontSelector.cpp291 String familyName; in addFontFaceRule() local
293 familyName = static_cast<FontFamilyValue*>(item)->familyName(); in addFontFaceRule()
297 String familyName; in addFontFaceRule() local
300 familyName = "-webkit-serif"; in addFontFaceRule()
303 familyName = "-webkit-sans-serif"; in addFontFaceRule()
306 familyName = "-webkit-cursive"; in addFontFaceRule()
309 familyName = "-webkit-fantasy"; in addFontFaceRule()
312 familyName = "-webkit-monospace"; in addFontFaceRule()
319 if (familyName.isEmpty()) in addFontFaceRule()
326 familyName += "-webkit-svg-small-caps"; in addFontFaceRule()
[all …]
DFontFamilyValue.h31 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);
DFontFamilyValue.cpp63 FontFamilyValue::FontFamilyValue(const String& familyName) in FontFamilyValue() argument
65 , m_familyName(familyName) in FontFamilyValue()
DCSSFontSelector.h53 …tual FontData* getFontData(const FontDescription& fontDescription, const AtomicString& familyName);
/external/webkit/WebCore/platform/graphics/wince/
DFontCacheWince.cpp178 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/WebCore/platform/graphics/
DFontCache.cpp135 static const AtomicString& alternateFamilyName(const AtomicString& familyName) in alternateFamilyName() argument
140 if (equalIgnoringCase(familyName, courier)) in alternateFamilyName()
146 if (equalIgnoringCase(familyName, courierNew)) in alternateFamilyName()
153 if (equalIgnoringCase(familyName, times)) in alternateFamilyName()
155 if (equalIgnoringCase(familyName, timesNewRoman)) in alternateFamilyName()
161 if (equalIgnoringCase(familyName, arial)) in alternateFamilyName()
163 if (equalIgnoringCase(familyName, helvetica)) in alternateFamilyName()
171 if (equalIgnoringCase(familyName, msSans)) in alternateFamilyName()
177 if (equalIgnoringCase(familyName, msSerif)) in alternateFamilyName()
185 const AtomicString& familyName, in getCachedFontPlatformData() argument
[all …]
DFontSelector.h40 virtual FontData* getFontData(const FontDescription&, const AtomicString& familyName) = 0;
/external/webkit/WebCore/platform/graphics/win/
DFontCacheWin.cpp255 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()
460 TraitsInFamilyProcData(const AtomicString& familyName) in TraitsInFamilyProcData()
461 : m_familyName(familyName) in TraitsInFamilyProcData()
489 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
495 unsigned familyLength = min(familyName.length(), static_cast<unsigned>(LF_FACESIZE - 1)); in getTraitsInFamily()
496 memcpy(logFont.lfFaceName, familyName.characters(), familyLength * sizeof(UChar)); in getTraitsInFamily()
[all …]
/external/webkit/WebCore/platform/graphics/qt/
DFontCacheQt.cpp67 …che::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& familyName) in createFontPlatformData() argument
69 return new FontPlatformData(fontDescription, familyName); in createFontPlatformData()
DFontPlatformDataQt.cpp49 …ntPlatformData(const FontDescription& description, const AtomicString& familyName, int wordSpacing… in FontPlatformData() argument
53 font.setFamily(familyName); in FontPlatformData()
DFontPlatformData.h68 …FontPlatformData(const FontDescription&, const AtomicString& familyName, int wordSpacing = 0, int …
/external/webkit/WebCore/platform/graphics/chromium/
DFontCacheChromiumWin.cpp470 TraitsInFamilyProcData(const AtomicString& familyName) in TraitsInFamilyProcData()
471 : m_familyName(familyName) in TraitsInFamilyProcData()
500 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
506 unsigned familyLength = min(familyName.length(), static_cast<unsigned>(LF_FACESIZE - 1)); in getTraitsInFamily()
507 memcpy(logFont.lfFaceName, familyName.characters(), familyLength * sizeof(UChar)); in getTraitsInFamily()
511 TraitsInFamilyProcData procData(familyName); in getTraitsInFamily()
DFontCacheLinux.cpp98 void FontCache::getTraitsInFamily(const AtomicString& familyName, in getTraitsInFamily() argument
/external/webkit/WebCore/platform/graphics/mac/
DSimpleFontDataMac.mm98 …_LOCAL(RetainPtr<NSString>, webFallbackFontFamily, ([[NSFont systemFontOfSize:16.0f] familyName]));
168 if ([[m_platformData.font() familyName] isEqual:@"Times"])
206 [m_platformData.font() familyName], [initialFont.get() familyName], filePath);
239 NSString *familyName = [m_platformData.font() familyName];
240 …if ([familyName isEqualToString:@"Times"] || [familyName isEqualToString:@"Helvetica"] || [familyN…
242 else if ([familyName isEqualToString:@"Geeza Pro"]) {
257 if (m_descent < 3 && m_lineGap >= 3 && [familyName hasPrefix:@"Hiragino"]) {
DFontCacheMac.mm135 …if (NSFont *bestVariation = [fontManager fontWithFamily:[substituteFont familyName] traits:traits …
188 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks)
190 [WebFontCache getTraits:traitsMasks inFamily:familyName];
/external/webkit/WebCore/platform/graphics/opentype/
DOpenTypeUtilities.cpp221 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/webkit/WebCore/platform/graphics/gtk/
DFontPlatformDataGtk.cpp39 …tformData::FontPlatformData(const FontDescription& fontDescription, const AtomicString& familyName) in FontPlatformData() argument
49 CString familyNameString = familyName.string().utf8(); in FontPlatformData()
DFontPlatformDataPango.cpp49 …tformData::FontPlatformData(const FontDescription& fontDescription, const AtomicString& familyName) in FontPlatformData() argument
59 CString stored_family = familyName.string().utf8(); in FontPlatformData()
DFontCacheGtk.cpp75 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
/external/webkit/WebCore/platform/graphics/haiku/
DFontCacheHaiku.cpp73 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
/external/webkit/WebCore/platform/graphics/wx/
DFontCacheWx.cpp67 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
/external/skia/include/core/
DSkTypeface.h84 static SkTypeface* CreateFromName(const char familyName[], Style style);
/external/skia/src/ports/
DSkFontHost_android.cpp557 const char familyName[], in CreateTypeface() argument
570 } else if (NULL != familyName) { in CreateTypeface()
572 tf = find_typeface(familyName, style); in CreateTypeface()
/external/webkit/WebCore/platform/graphics/android/
DFontCacheAndroid.cpp125 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
/external/webkit/WebCore/platform/mac/
DWebFontCache.mm214 availableFamily = [nameMatchedFont familyName];

12