Searched refs:familyName (Results 1 - 25 of 43) sorted by relevance

12

/external/webkit/Source/WebCore/css/
H A DFontFamilyValue.h31 static PassRefPtr<FontFamilyValue> create(const String& familyName) argument
33 return adoptRef(new FontFamilyValue(familyName));
38 const String& familyName() const { return m_familyName; } function in class:WebCore::FontFamilyValue
43 FontFamilyValue(const String& familyName);
H A DFontFamilyValue.cpp28 FontFamilyValue::FontFamilyValue(const String& familyName) argument
30 , m_familyName(familyName)
H A DCSSFontSelector.cpp289 String familyName; local
291 familyName = static_cast<FontFamilyValue*>(item)->familyName();
295 String familyName; local
298 familyName = "-webkit-serif";
301 familyName = "-webkit-sans-serif";
304 familyName = "-webkit-cursive";
307 familyName = "-webkit-fantasy";
310 familyName = "-webkit-monospace";
317 if (familyName
391 fontDataForGenericFamily(Document* document, const FontDescription& fontDescription, const AtomicString& familyName) argument
[all...]
H A DCSSFontSelector.h53 virtual FontData* getFontData(const FontDescription& fontDescription, const AtomicString& familyName);
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DFontCacheQt.cpp67 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& familyName) argument
69 return new FontPlatformData(fontDescription, familyName);
H A DFontPlatformDataQt.cpp63 FontPlatformData::FontPlatformData(const FontDescription& description, const AtomicString& familyName, int wordSpacing, int letterSpacing) argument
68 font.setFamily(familyName);
H A DFontPlatformData.h73 FontPlatformData(const FontDescription&, const AtomicString& familyName, int wordSpacing = 0, int letterSpacing = 0);
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DFontCacheWinCE.cpp178 TraitsInFamilyProcData(const AtomicString& familyName) argument
179 : m_familyName(familyName)
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, Vecto argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/
H A DFontSelector.h41 virtual FontData* getFontData(const FontDescription&, const AtomicString& familyName) = 0;
H A DFontCache.cpp130 static const AtomicString& alternateFamilyName(const AtomicString& familyName) argument
135 if (equalIgnoringCase(familyName, courier))
141 if (equalIgnoringCase(familyName, courierNew))
148 if (equalIgnoringCase(familyName, times))
150 if (equalIgnoringCase(familyName, timesNewRoman))
156 if (equalIgnoringCase(familyName, arial))
158 if (equalIgnoringCase(familyName, helvetica))
166 if (equalIgnoringCase(familyName, msSans))
172 if (equalIgnoringCase(familyName, msSerif))
180 const AtomicString& familyName,
179 getCachedFontPlatformData(const FontDescription& fontDescription, const AtomicString& familyName, bool checkingAlternateName) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/pango/
H A DFontCachePango.cpp56 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) argument
/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DFontCacheHaiku.cpp75 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) argument
/external/webkit/Source/WebCore/platform/graphics/mac/
H A DSimpleFontDataMac.mm99 DEFINE_STATIC_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"] || [familyName isEqualToString:@"Courier"])
245 else if ([familyName isEqualToStrin
[all...]
H A DFontCacheMac.mm135 if (NSFont *bestVariation = [fontManager fontWithFamily:[substituteFont familyName] traits:traits weight:weight size:size])
189 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks)
191 [WebFontCache getTraits:traitsMasks inFamily:familyName];
/external/webkit/Source/WebCore/platform/graphics/win/
H A DFontCacheWin.cpp255 String familyName; local
262 familyName = name;
268 linkedFonts = getLinkedFonts(familyName);
285 if (!familyName.isEmpty()) {
286 FontPlatformData* result = getCachedFontPlatformData(font.fontDescription(), familyName);
306 AtomicString familyName = String(font.lfFaceName, wcsnlen(font.lfFaceName, LF_FACESIZE)); local
307 SimpleFontData* fontData = fontCache->getCachedFontData(fontDescription, familyName);
309 outFontFamilyName = familyName;
506 TraitsInFamilyProcData(const AtomicString& familyName) argument
507 : m_familyName(familyName)
535 getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) argument
[all...]
/external/webkit/Source/WebCore/platform/win/
H A DSystemInfo.cpp113 const char* familyName = (version >= WindowsNT3) ? "Windows NT " : "Windows CE "; local
114 return makeString(familyName, String::number(major), '.', String::number(minor));
/external/skia/include/core/
H A DSkTypeface.h77 requested familyName and style. Pass null as the familyName to return
80 @param familyName May be NULL. The name of the font family.
85 static SkTypeface* CreateFromName(const char familyName[], Style style);
H A DSkFontHost.h54 (specified by a typeface in that family) or by a familyName and a
57 1) If familyFace is null, use familyName.
58 2) If familyName is null, use data (UTF-16 to cover).
62 const char familyName[],
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DFontCacheWx.cpp101 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) argument
/external/skia/src/ports/
H A DSkFontHost_freetype_mac.cpp53 const char familyName[],
52 CreateTypeface(const SkTypeface* familyFace, const char familyName[], const void* data, size_t bytelength, SkTypeface::Style style) argument
H A DSkFontHost_FONTPATH.cpp235 const char familyName[],
244 else if (familyName)
245 family = find_family_rec(familyName);
234 CreateTypeface(const SkTypeface* familyFace, const char familyName[], const void* data, size_t bytelength, SkTypeface::Style style) argument
H A DSkFontHost_fontconfig.cpp210 const char familyName[],
249 } else if (familyName) {
250 resolved_family_name = familyName;
209 CreateTypeface(const SkTypeface* familyFace, const char familyName[], const void* data, size_t bytelength, SkTypeface::Style style) argument
/external/webkit/Source/WebCore/platform/graphics/opentype/
H A DOpenTypeUtilities.cpp221 const BigEndianUShort* familyName = 0; local
289 familyName = nameString;
325 eotHeader.appendBigEndianString(familyName, familyNameLength);
330 if (fullNameLength >= familyNameLength && memcmp(familyName, fullName, familyNameLength)) {
332 overlayDst = reinterpret_cast<const char*>(familyName) - data;
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DFontCacheChromiumWin.cpp372 TraitsInFamilyProcData(const AtomicString& familyName) argument
373 : m_familyName(familyName)
592 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) argument
598 unsigned familyLength = min(familyName.length(), static_cast<unsigned>(LF_FACESIZE - 1));
599 memcpy(logFont.lfFaceName, familyName.characters(), familyLength * sizeof(UChar));
603 TraitsInFamilyProcData procData(familyName);
H A DFontCacheLinux.cpp99 void FontCache::getTraitsInFamily(const AtomicString& familyName, argument

Completed in 238 milliseconds

12