Home
last modified time | relevance | path

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

123

/external/webkit/Source/WebCore/css/
DCSSFontSelector.cpp289 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 …]
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.cpp28 FontFamilyValue::FontFamilyValue(const String& familyName) in FontFamilyValue() argument
30 , m_familyName(familyName) in FontFamilyValue()
/external/webkit/Source/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/Source/WebCore/platform/graphics/
DFontCache.cpp130 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 …]
DFontSelector.h41 virtual FontData* getFontData(const FontDescription&, const AtomicString& familyName) = 0;
/external/webkit/Source/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()
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/
DFontCacheQt.cpp67 …che::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& familyName) in createFontPlatformData() argument
69 return new FontPlatformData(fontDescription, familyName); in createFontPlatformData()
DFontPlatformDataQt.cpp63 …ntPlatformData(const FontDescription& description, const AtomicString& familyName, int wordSpacing… in FontPlatformData() argument
68 font.setFamily(familyName); in FontPlatformData()
/external/skia/src/utils/ios/
DSkFontHost_iOS.mm144 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/
DSimpleFontDataMac.mm99 …_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/
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/skia/legacy/src/ports/
DSkFontHost_FONTPATH.cpp235 const char familyName[], in CreateTypeface() argument
244 else if (familyName) in CreateTypeface()
245 family = find_family_rec(familyName); in CreateTypeface()
DSkFontHost_fontconfig.cpp210 const char familyName[], in CreateTypeface() argument
249 } else if (familyName) { in CreateTypeface()
250 resolved_family_name = familyName; in CreateTypeface()
DSkFontHost_mac_coretext.cpp386 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/
DSkFontHost_fontconfig.cpp116 const char familyName[], in CreateTypeface() argument
155 } else if (familyName) { in CreateTypeface()
156 resolved_family_name = familyName; in CreateTypeface()
DSkFontHost_FONTPATH.cpp235 const char familyName[], in CreateTypeface() argument
243 else if (familyName) in CreateTypeface()
244 family = find_family_rec(familyName); in CreateTypeface()
DSkFontHost_linux.cpp506 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()
DSkFontHost_win.cpp1300 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 …]
DSkFontHost_mac_coretext.cpp426 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/
DFontCacheChromiumWin.cpp372 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/
DSystemInfo.cpp113 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/
Dfont_settings_utils_mac.mm27 [[font familyName] caseInsensitiveCompare:family_name] != NSOrderedSame) {
28 std::string new_family_name = base::SysNSStringToUTF8([font familyName]);
/external/webkit/Source/WebCore/platform/graphics/pango/
DFontCachePango.cpp56 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument
/external/webkit/Source/WebCore/platform/graphics/haiku/
DFontCacheHaiku.cpp75 void FontCache::getTraitsInFamily(const AtomicString& familyName, Vector<unsigned>& traitsMasks) in getTraitsInFamily() argument

123