HomeSort by relevance Sort by last modified time
    Searched full:fontplatformdata (Results 1 - 25 of 51) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontPlatformData.cpp 22 #include "platform/fonts/FontPlatformData.h"
38 FontPlatformData::FontPlatformData(WTF::HashTableDeletedValueType)
67 FontPlatformData::FontPlatformData()
96 FontPlatformData::FontPlatformData(float size, bool syntheticBold, bool syntheticItalic, FontOrientation orientation, FontWidthVariant widthVariant)
125 FontPlatformData::FontPlatformData(const FontPlatformData& source
    [all...]
FontDataCache.h 35 #include "platform/fonts/FontPlatformData.h"
44 static unsigned hash(const FontPlatformData& platformData)
49 static bool equal(const FontPlatformData& a, const FontPlatformData& b)
57 struct FontDataCacheKeyTraits : WTF::GenericHashTraits<FontPlatformData> {
60 static const FontPlatformData& emptyValue()
62 DEFINE_STATIC_LOCAL(FontPlatformData, key, (0.f, false, false));
65 static void constructDeletedValue(FontPlatformData& slot, bool)
67 new (NotNull, &slot) FontPlatformData(WTF::HashTableDeletedValue);
69 static bool isDeletedValue(const FontPlatformData& value
    [all...]
FontPlatformData.h 68 class PLATFORM_EXPORT FontPlatformData {
75 FontPlatformData(WTF::HashTableDeletedValueType);
76 FontPlatformData();
77 FontPlatformData(const FontPlatformData&);
78 FontPlatformData(float size, bool syntheticBold, bool syntheticItalic, FontOrientation = Horizontal, FontWidthVariant = RegularWidth);
80 FontPlatformData(NSFont*, float size, bool syntheticBold = false, bool syntheticItalic = false,
82 FontPlatformData(CGFontRef, float size, bool syntheticBold, bool syntheticOblique, FontOrientation, FontWidthVariant);
84 FontPlatformData(PassRefPtr<SkTypeface>, const char* name, float textSize, bool syntheticBold, bool syntheticItalic, FontOrientation = Horizontal, bool subpixelTextPosition = defaultUseSubpixelPositioning());
85 FontPlatformData(const FontPlatformData& src, float textSize)
    [all...]
FontCustomPlatformData.h 53 class FontPlatformData;
62 FontPlatformData fontPlatformData(float size, bool bold, bool italic, FontOrientation = Horizontal, FontWidthVariant = RegularWidth);
FontCache.cpp 42 #include "platform/fonts/FontPlatformData.h"
64 typedef HashMap<FontCacheKey, OwnPtr<FontPlatformData>, FontCacheKeyHash, FontCacheKeyTraits> FontPlatformDataCache;
81 FontPlatformData* FontCache::getFontPlatformData(const FontDescription& fontDescription,
90 FontPlatformData* result = 0;
111 gFontPlatformDataCache->set(key, adoptPtr(new FontPlatformData(*result))); // Cache the result under the old name.
126 PassRefPtr<OpenTypeVerticalData> FontCache::getVerticalData(const FontFileKey& key, const FontPlatformData& platformData)
145 if (FontPlatformData* platformData = getFontPlatformData(fontDescription, FontFaceCreationParams(adjustFamilyNameToAvoidUnsupportedFonts(family)), checkingAlternateName))
151 PassRefPtr<SimpleFontData> FontCache::fontDataFromFontPlatformData(const FontPlatformData* platformData, ShouldRetain shouldRetain)
FontCache.h 62 class FontPlatformData;
117 PassRefPtr<OpenTypeVerticalData> getVerticalData(const FontFileKey&, const FontPlatformData&);
149 FontPlatformData* getFontPlatformData(const FontDescription&, const FontFaceCreationParams&, bool checkingAlternateName = false);
152 FontPlatformData* createFontPlatformData(const FontDescription&, const FontFaceCreationParams&, float fontSize);
157 PassRefPtr<SimpleFontData> fontDataFromFontPlatformData(const FontPlatformData*, ShouldRetain = Retain);
FontDataCache.cpp 48 PassRefPtr<SimpleFontData> FontDataCache::get(const FontPlatformData* platformData, ShouldRetain shouldRetain)
78 bool FontDataCache::contains(const FontPlatformData* fontPlatformData) const
80 return m_cache.contains(*fontPlatformData);
SimpleFontData.h 32 #include "platform/fonts/FontPlatformData.h"
56 static PassRefPtr<SimpleFontData> create(const FontPlatformData& platformData, PassRefPtr<CustomFontData> customData = nullptr, bool isTextOrientationFallback = false)
71 const FontPlatformData& platformData() const { return m_platformData; }
167 SimpleFontData(const FontPlatformData&, PassRefPtr<CustomFontData> customData, bool isTextOrientationFallback = false);
186 FontPlatformData m_platformData;
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
FontCacheSkia.cpp 76 FontPlatformData* substitutePlatformData = getFontPlatformData(substituteDescription, creationParams);
78 FontPlatformData platformData = FontPlatformData(*substitutePlatformData);
126 FontPlatformData* substitutePlatformData = getFontPlatformData(description, creationParams);
129 FontPlatformData platformData = FontPlatformData(*substitutePlatformData);
140 const FontPlatformData* fontPlatformData = getFontPlatformData(description, fallbackCreationParams);
143 if (!fontPlatformData) {
145 fontPlatformData = getFontPlatformData(description, sansCreationParams)
    [all...]
FontPlatformDataSkia.cpp 32 #include "platform/fonts/FontPlatformData.h"
41 unsigned FontPlatformData::hash() const
56 bool FontPlatformData::fontContainsCharacter(UChar32 character)
70 PassRefPtr<OpenTypeVerticalData> FontPlatformData::verticalData() const
75 PassRefPtr<SharedBuffer> FontPlatformData::openTypeTable(uint32_t table) const
FontCustomPlatformDataSkia.cpp 39 #include "platform/fonts/FontPlatformData.h"
56 FontPlatformData FontCustomPlatformData::fontPlatformData(float size, bool bold, bool italic, FontOrientation orientation, FontWidthVariant)
83 return FontPlatformData(typeface.release(), "", size, syntheticBold, syntheticItalic, orientation);
87 return FontPlatformData(m_typeface.get(), "", size, bold && !m_typeface->isBold(), italic && !m_typeface->isItalic(), orientation);
  /external/chromium_org/third_party/WebKit/Source/web/linux/
WebFontRendering.cpp 35 #include "platform/fonts/FontPlatformData.h"
38 using blink::FontPlatformData;
45 FontPlatformData::setHinting(hinting);
51 FontPlatformData::setAutoHint(useAutoHint);
57 FontPlatformData::setUseBitmaps(useBitmaps);
63 FontPlatformData::setAntiAlias(useAntiAlias);
69 FontPlatformData::setSubpixelRendering(useSubpixelRendering);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
HarfBuzzFace.h 43 class FontPlatformData;
50 static PassRefPtr<HarfBuzzFace> create(FontPlatformData* platformData, uint64_t uniqueID)
61 HarfBuzzFace(FontPlatformData*, uint64_t);
65 FontPlatformData* m_platformData;
HarfBuzzFaceCoreText.cpp 34 #include "platform/fonts/FontPlatformData.h"
50 CTFontRef ctFont = reinterpret_cast<FontPlatformData*>(fontData)->ctFont();
63 CTFontRef ctFont = reinterpret_cast<FontPlatformData*>(fontData)->ctFont();
76 CTFontRef ctFont = reinterpret_cast<FontPlatformData*>(fontData)->ctFont();
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
OpenTypeVerticalData.h 39 class FontPlatformData;
45 static PassRefPtr<OpenTypeVerticalData> create(const FontPlatformData& platformData)
60 explicit OpenTypeVerticalData(const FontPlatformData&);
62 void loadMetrics(const FontPlatformData&);
63 void loadVerticalGlyphSubstitutions(const FontPlatformData&);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/
FontPlatformDataCocoa.mm 25 #import "platform/fonts/FontPlatformData.h"
36 unsigned FontPlatformData::hash() const
46 FontPlatformData::FontPlatformData(NSFont *nsFont, float size, bool syntheticBold, bool syntheticItalic, FontOrientation orientation, FontWidthVariant widthVariant)
80 void FontPlatformData::platformDataInit(const FontPlatformData& f)
92 const FontPlatformData& FontPlatformData::platformDataAssign(const FontPlatformData& f)
112 void FontPlatformData::setFont(NSFont *font
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/linux/
FontPlatformDataLinux.cpp 37 #include "platform/fonts/FontPlatformData.h"
50 void FontPlatformData::setHinting(SkPaint::Hinting hinting)
55 void FontPlatformData::setAutoHint(bool useAutoHint)
60 void FontPlatformData::setUseBitmaps(bool useBitmaps)
65 void FontPlatformData::setAntiAlias(bool useAntiAlias)
70 void FontPlatformData::setSubpixelRendering(bool useSubpixelRendering)
75 void FontPlatformData::setupPaint(SkPaint* paint, GraphicsContext* context)
103 void FontPlatformData::querySystemForRenderStyle(bool useSkiaSubpixelPositioning)
143 bool FontPlatformData::defaultUseSubpixelPositioning()
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
FontCustomPlatformDataMac.cpp 25 #include "platform/fonts/FontPlatformData.h"
45 FontPlatformData FontCustomPlatformData::fontPlatformData(float size, bool bold, bool italic, FontOrientation orientation, FontWidthVariant widthVariant)
47 return FontPlatformData(m_cgFont.get(), size, bold, italic, orientation, widthVariant);
FontCacheMac.mm 38 #import "platform/fonts/FontPlatformData.h"
119 const FontPlatformData& platformData = fontDataToSubstitute->platformData();
179 FontPlatformData alternateFont(substituteFont, platformData.size(),
205 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const FontFaceCreationParams& creationParams, float fontSize)
225 // FontPlatformData::font() can be null for the case of Chromium out-of-process font loading.
227 OwnPtr<FontPlatformData> platformData = adoptPtr(new FontPlatformData(platformFont, size, syntheticBold, syntheticItalic, fontDescription.orientation(), fontDescription.widthVariant()));
MemoryActivatedFont.mm 23 // This file provides additional functionality to the Mac FontPlatformData class
34 #import "platform/fonts/FontPlatformData.h"
66 // It's important to remember that existing FontPlatformData objects are already
183 void FontPlatformData::loadFont(NSFont* nsFont, float fontSize, NSFont*& outNSFont, CGFontRef& cgFont)
201 // If we still can't load the font, set |outNSFont| to null so that FontPlatformData won't be used.
  /external/chromium_org/third_party/WebKit/Source/core/css/
BinaryDataFontFaceSource.cpp 32 m_customPlatformData->fontPlatformData(fontDescription.effectiveFontSize(),
  /external/chromium_org/third_party/WebKit/Source/core/fetch/
FontResource.h 40 class FontPlatformData;
69 FontPlatformData platformDataFromCustomData(float size, bool bold, bool italic, FontOrientation = Horizontal, FontWidthVariant = RegularWidth);
FontResource.cpp 35 #include "platform/fonts/FontPlatformData.h"
154 FontPlatformData FontResource::platformDataFromCustomData(float size, bool bold, bool italic, FontOrientation orientation, FontWidthVariant widthVariant)
158 return FontPlatformData(size, bold, italic);
161 return m_fontData->fontPlatformData(size, bold, italic, orientation, widthVariant);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
FontPlatformDataWin.cpp 33 #include "platform/fonts/FontPlatformData.h"
47 void FontPlatformData::setupPaint(SkPaint* paint, GraphicsContext* context) const
158 void FontPlatformData::querySystemForRenderStyle(bool)
163 bool FontPlatformData::defaultUseSubpixelPositioning()
FontCacheSkiaWin.cpp 40 #include "platform/fonts/FontPlatformData.h"
99 FontPlatformData* data = 0;
170 const FontPlatformData& platformData = originalFontData->platformData();
296 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const FontFaceCreationParams& creationParams, float fontSize)
333 FontPlatformData* result = new FontPlatformData(tf,

Completed in 313 milliseconds

1 2 3