Home
last modified time | relevance | path

Searched refs:m_platformData (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DSimpleFontDataMac.mm149 m_syntheticBoldOffset = m_platformData.m_syntheticBold ? 1.0f : 0.f;
161 if ([[m_platformData.font() familyName] isEqual:@"Times"])
169 RetainPtr<NSFont> initialFont = m_platformData.font();
171 if (m_platformData.font())
172m_platformData.setFont([[NSFontManager sharedFontManager] convertFont:m_platformData.font() toFami…
174m_platformData.setFont([NSFont fontWithName:fallbackFontFamily size:m_platformData.size()]);
180m_platformData.setFont([[NSFontManager sharedFontManager] convertFont:m_platformData.font() toFami…
195 [m_platformData.font() familyName], [initialFont.get() familyName]);
201 m_platformData.setFont([NSFont systemFontOfSize:[m_platformData.font() pointSize]]);
202 WTF_LOG_ERROR("failed to set up font, using system font %s", m_platformData.font());
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
DSimpleFontDataSkia.cpp53 if (!m_platformData.size()) { in platformInit()
63 m_platformData.setupPaint(&paint); in platformInit()
77 int pixelSize = m_platformData.size() + 0.5; in platformInit()
158 m_maxCharWidth = SkScalarRoundToInt(xRange * SkScalarRoundToInt(m_platformData.size())); in platformInit()
199 …return SimpleFontData::create(FontPlatformData(m_platformData, scaledSize), isCustomFont() ? Custo… in platformCreateScaledFontData()
224 if (!m_platformData.size()) in platformBoundsForGlyph()
230 m_platformData.setupPaint(&paint); in platformBoundsForGlyph()
239 if (!m_platformData.size()) in platformWidthForGlyph()
246 m_platformData.setupPaint(&paint); in platformWidthForGlyph()
272 m_platformData.setupPaint(&paint); in canRenderCombiningCharacterSequence()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DSimpleFontData.cpp43 , m_platformData(platformData) in SimpleFontData()
65 : m_platformData(FontPlatformData(fontSize, syntheticBold, syntheticItalic)) in SimpleFontData()
173 FontPlatformData verticalRightPlatformData(m_platformData); in verticalRightOrientationFontData()
185 …m_derivedFontData->uprightOrientation = create(m_platformData, isCustomFont() ? CustomFontData::cr… in uprightOrientationFontData()
214 …m_derivedFontData->brokenIdeograph = create(m_platformData, isCustomFont() ? CustomFontData::creat… in brokenIdeographFontData()
DSimpleFontData.h71 const FontPlatformData& platformData() const { return m_platformData; } in platformData()
152 NSFont* getNSFont() const { return m_platformData.font(); } in getNSFont()
186 FontPlatformData m_platformData; variable
271 width = m_customFontData->widthForSVGGlyph(glyph, m_platformData.size()); in widthForGlyph()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DHarfBuzzFaceCoreText.cpp129 …hb_face_t* face = hb_face_create_for_tables(harfBuzzCoreTextGetTable, m_platformData->cgFont(), 0); in createFace()
137 hb_font_set_funcs(font, harfBuzzCoreTextGetFontFuncs(), m_platformData, 0); in createFont()
138 const float size = m_platformData->m_textSize; in createFont()
DHarfBuzzFaceSkia.cpp223 … hb_face_t* face = hb_face_create_for_tables(harfBuzzSkiaGetTable, m_platformData->typeface(), 0); in createFace()
231 m_platformData->setupPaint(&hbFontData->m_paint); in createFont()
234 float size = m_platformData->size(); in createFont()
DHarfBuzzFace.h65 FontPlatformData* m_platformData; variable
DHarfBuzzFace.cpp81 : m_platformData(platformData) in HarfBuzzFace()