Home
last modified time | relevance | path

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

12

/external/webkit/WebCore/css/
DCSSFontSelector.cpp292 String familyName; in addFontFaceRule() local
294 familyName = static_cast<FontFamilyValue*>(item)->familyName(); in addFontFaceRule()
298 String familyName; in addFontFaceRule() local
301 familyName = "-webkit-serif"; in addFontFaceRule()
304 familyName = "-webkit-sans-serif"; in addFontFaceRule()
307 familyName = "-webkit-cursive"; in addFontFaceRule()
310 familyName = "-webkit-fantasy"; in addFontFaceRule()
313 familyName = "-webkit-monospace"; in addFontFaceRule()
320 if (familyName.isEmpty()) in addFontFaceRule()
327 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/gdata/src/com/google/wireless/gdata2/contacts/data/
DName.java15 private String familyName; field in Name
61 return this.familyName; in getFamilyName()
67 public void setFamilyName(String familyName) { in setFamilyName() argument
68 this.familyName = familyName; in setFamilyName()
160 if (familyName != null) sb.append(" familyName:").append(familyName); in toString()
/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/qt/
DFontPlatformDataQt.cpp34 QString familyName; in FontPlatformData() local
37 familyName += family->family(); in FontPlatformData()
40 familyName += QLatin1Char(','); in FontPlatformData()
43 m_font.setFamily(familyName); in FontPlatformData()
DFontCacheQt.cpp51 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
/external/webkit/WebCore/platform/graphics/win/
DFontCacheWin.cpp254 String familyName; in getFontDataForCharacters() local
261 familyName = name; in getFontDataForCharacters()
267 linkedFonts = getLinkedFonts(familyName); in getFontDataForCharacters()
284 if (!familyName.isEmpty()) { in getFontDataForCharacters()
285 … FontPlatformData* result = getCachedFontPlatformData(font.fontDescription(), familyName); in getFontDataForCharacters()
446 TraitsInFamilyProcData(const AtomicString& familyName) in TraitsInFamilyProcData()
447 : m_familyName(familyName) in TraitsInFamilyProcData()
475 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
481 unsigned familyLength = min(familyName.length(), static_cast<unsigned>(LF_FACESIZE - 1)); in getTraitsInFamily()
482 memcpy(logFont.lfFaceName, familyName.characters(), familyLength * sizeof(UChar)); in getTraitsInFamily()
[all …]
/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/opentype/
DOpenTypeUtilities.cpp220 const BigEndianUShort* familyName = 0; in getEOTHeader() local
288 familyName = nameString; in getEOTHeader()
324 eotHeader.appendBigEndianString(familyName, familyNameLength); in getEOTHeader()
329 if (fullNameLength >= familyNameLength && memcmp(familyName, fullName, familyNameLength)) { in getEOTHeader()
331 overlayDst = reinterpret_cast<const char*>(familyName) - data; in getEOTHeader()
/external/webkit/WebCore/platform/graphics/mac/
DSimpleFontDataMac.mm97 …_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/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/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.cpp554 const char familyName[], in CreateTypeface() argument
567 } else if (NULL != familyName) { in CreateTypeface()
569 tf = find_typeface(familyName, style); in CreateTypeface()
/external/webkit/WebCore/platform/graphics/android/
DFontCacheAndroid.cpp128 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
/external/webkit/WebCore/platform/mac/
DWebFontCache.mm214 availableFamily = [nameMatchedFont familyName];
DThemeMac.mm425 fontDescription.firstFamily().setFamily([nsFont familyName]);

12