Searched refs:m_platformData (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
D | SimpleFontDataWin.cpp | 51 if (!m_platformData.size()) { in platformInit() 59 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in platformInit() 63 if (FontPlatformData::ensureFontLoaded(m_platformData.hfont())) { in platformInit() 114 GetObject(m_platformData.hfont(), sizeof(LOGFONT), &winFont); in platformCreateScaledFontData() 118 …return SimpleFontData::create(FontPlatformData(hfont, scaledSize, m_platformData.orientation()), i… in platformCreateScaledFontData() 137 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); in platformBoundsForGlyph() 142 if (FontPlatformData::ensureFontLoaded(m_platformData.hfont())) { in platformBoundsForGlyph() 159 if (!m_platformData.size()) in platformWidthForGlyph() 163 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in platformWidthForGlyph() 168 if (FontPlatformData::ensureFontLoaded(m_platformData.hfont())) { in platformWidthForGlyph()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
D | SimpleFontDataMac.mm | 142 m_syntheticBoldOffset = m_platformData.m_syntheticBold ? 1.0f : 0.f; 154 if ([[m_platformData.font() familyName] isEqual:@"Times"]) 162 RetainPtr<NSFont> initialFont = m_platformData.font(); 164 if (m_platformData.font()) 165 …m_platformData.setFont([[NSFontManager sharedFontManager] convertFont:m_platformData.font() toFami… 167 … m_platformData.setFont([NSFont fontWithName:fallbackFontFamily size:m_platformData.size()]); 173 …m_platformData.setFont([[NSFontManager sharedFontManager] convertFont:m_platformData.font() toFami… 188 [m_platformData.font() familyName], [initialFont.get() familyName]); 194 m_platformData.setFont([NSFont systemFontOfSize:[m_platformData.font() pointSize]]); 195 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/ |
D | SimpleFontDataSkia.cpp | 55 if (!m_platformData.size()) { in platformInit() 65 m_platformData.setupPaint(&paint); in platformInit() 71 int pixelSize = m_platformData.size() + 0.5; in platformInit() 143 m_maxCharWidth = SkScalarRound(xRange * SkScalarRound(m_platformData.size())); in platformInit() 184 …return SimpleFontData::create(FontPlatformData(m_platformData, scaledSize), isCustomFont() ? Custo… in platformCreateScaledFontData() 193 m_platformData.setupPaint(&paint); in containsCharacters() 241 if (!m_platformData.size()) in platformBoundsForGlyph() 247 m_platformData.setupPaint(&paint); in platformBoundsForGlyph() 256 if (!m_platformData.size()) in platformWidthForGlyph() 263 m_platformData.setupPaint(&paint); in platformWidthForGlyph() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
D | SimpleFontData.cpp | 45 , m_platformData(platformData) in SimpleFontData() 67 : m_platformData(FontPlatformData(fontSize, syntheticBold, syntheticItalic)) in SimpleFontData() 177 FontPlatformData verticalRightPlatformData(m_platformData); in verticalRightOrientationFontData() 189 …m_derivedFontData->uprightOrientation = create(m_platformData, isCustomFont() ? CustomFontData::cr… in uprightOrientationFontData() 218 …m_derivedFontData->brokenIdeograph = create(m_platformData, isCustomFont() ? CustomFontData::creat… in brokenIdeographFontData()
|
D | SimpleFontData.h | 75 const FontPlatformData& platformData() const { return m_platformData; } in platformData() 161 NSFont* getNSFont() const { return m_platformData.font(); } in getNSFont() 198 FontPlatformData m_platformData; variable 286 width = m_customFontData->widthForSVGGlyph(glyph, m_platformData.size()); in widthForGlyph()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
D | HarfBuzzFaceCoreText.cpp | 127 …hb_face_t* face = hb_face_create_for_tables(harfBuzzCoreTextGetTable, m_platformData->cgFont(), 0); in createFace() 135 hb_font_set_funcs(font, harfBuzzCoreTextGetFontFuncs(), m_platformData, 0); in createFont() 136 const float size = m_platformData->m_size; in createFont()
|
D | HarfBuzzFaceSkia.cpp | 173 … hb_face_t* face = hb_face_create_for_tables(harfBuzzSkiaGetTable, m_platformData->typeface(), 0); in createFace() 181 m_platformData->setupPaint(&hbFontData->m_paint); in createFont() 184 float size = m_platformData->size(); in createFont()
|
D | HarfBuzzFace.h | 65 FontPlatformData* m_platformData; variable
|
D | HarfBuzzFace.cpp | 81 : m_platformData(platformData) in HarfBuzzFace()
|