/external/webkit/WebCore/platform/graphics/wince/ |
D | SimpleFontDataWince.cpp | 48 if (!m_platformData.isValid()) in platformInit() 51 const TEXTMETRIC& tm = m_platformData.metrics(); in platformInit() 52 m_isSystemFont = m_platformData.isSystemFont(); in platformInit() 54 m_ascent = (tm.tmAscent * m_platformData.size() + 36) / 72; in platformInit() 55 m_descent = (tm.tmDescent * m_platformData.size() + 36) / 72; in platformInit() 56 m_lineGap = (tm.tmExternalLeading * m_platformData.size() + 36) / 72; in platformInit() 74 …FontPlatformData* result = fontCache()->getCachedFontPlatformData(fontDesc, m_platformData.family(… in smallCapsFontData() 85 if (m_platformData.isDisabled()) in containsCharacters() 101 DWORD fontCodePages = m_platformData.codePages(); in containsCharacters() 124 if (!m_platformData.isValid()) in determinePitch() [all …]
|
/external/webkit/WebCore/platform/graphics/gtk/ |
D | SimpleFontDataGtk.cpp | 52 cairo_scaled_font_extents(m_platformData.m_scaledFont, &font_extents); in platformInit() 63 cairo_scaled_font_text_extents(m_platformData.m_scaledFont, "x", &text_extents); in platformInit() 65 cairo_scaled_font_text_extents(m_platformData.m_scaledFont, " ", &text_extents); in platformInit() 68 m_syntheticBoldOffset = m_platformData.syntheticBold() ? 1.0f : 0.f; in platformInit() 97 FT_Face face = cairo_ft_scaled_font_lock_face(m_platformData.m_scaledFont); in containsCharacters() 104 cairo_ft_scaled_font_unlock_face(m_platformData.m_scaledFont); in containsCharacters() 109 cairo_ft_scaled_font_unlock_face(m_platformData.m_scaledFont); in containsCharacters() 116 m_treatAsFixedPitch = m_platformData.isFixedPitch(); in determinePitch() 121 ASSERT(m_platformData.m_scaledFont); in platformWidthForGlyph() 125 cairo_scaled_font_glyph_extents(m_platformData.m_scaledFont, &cglyph, 1, &extents); in platformWidthForGlyph() [all …]
|
D | SimpleFontDataPango.cpp | 51 cairo_scaled_font_extents(m_platformData.m_scaledFont, &font_extents); in platformInit() 62 cairo_scaled_font_text_extents(m_platformData.m_scaledFont, "x", &text_extents); in platformInit() 64 cairo_scaled_font_text_extents(m_platformData.m_scaledFont, " ", &text_extents); in platformInit() 67 m_syntheticBoldOffset = m_platformData.syntheticBold() ? 1.0f : 0.f; in platformInit() 98 …PangoCoverage* coverage = pango_font_get_coverage(m_platformData.m_font, pango_language_get_defaul… in containsCharacters() 119 m_treatAsFixedPitch = m_platformData.isFixedPitch(); in determinePitch() 124 ASSERT(m_platformData.m_scaledFont); in platformWidthForGlyph() 128 cairo_scaled_font_glyph_extents(m_platformData.m_scaledFont, &cglyph, 1, &extents); in platformWidthForGlyph() 131 …if (cairo_scaled_font_status(m_platformData.m_scaledFont) == CAIRO_STATUS_SUCCESS && extents.x_adv… in platformWidthForGlyph() 139 m_platformData.setFont(cr); in setFont()
|
/external/webkit/WebCore/platform/graphics/win/ |
D | SimpleFontDataWin.cpp | 69 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); in initGDIFont() 108 float smallCapsHeight = cSmallCapsFontSizeMultiplier * m_platformData.size(); in smallCapsFontData() 110 FontPlatformData smallCapsFontData(m_platformData); in smallCapsFontData() 115 GetObject(m_platformData.hfont(), sizeof(LOGFONT), &winfont); in smallCapsFontData() 116 winfont.lfHeight = -lroundf(smallCapsHeight * (m_platformData.useGDI() ? 1 : 32)); in smallCapsFontData() 118 …latformData(hfont, smallCapsHeight, m_platformData.syntheticBold(), m_platformData.syntheticObliqu… in smallCapsFontData() 143 langFontLink->GetFontCodePages(dc, m_platformData.hfont(), &fontCodePages); in containsCharacters() 170 SelectObject(dc, m_platformData.hfont()); in determinePitch() 186 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); in widthForGDIGlyph() 204 SelectObject(dc, m_platformData.hfont()); in scriptFontProperties()
|
D | SimpleFontDataCGWin.cpp | 55 m_syntheticBoldOffset = m_platformData.syntheticBold() ? 1.0f : 0.f; in platformInit() 60 if (m_platformData.useGDI()) in platformInit() 63 CGFontRef font = m_platformData.cgFont(); in platformInit() 68 float pointSize = m_platformData.size(); in platformInit() 75 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in platformInit() 122 if (!m_platformData.useGDI()) { in platformCharWidthInit() 131 if (m_platformData.useGDI()) in platformWidthForGlyph() 134 CGFontRef font = m_platformData.cgFont(); in platformWidthForGlyph() 135 float pointSize = m_platformData.size(); in platformWidthForGlyph()
|
D | SimpleFontDataCairoWin.cpp | 51 m_syntheticBoldOffset = m_platformData.syntheticBold() ? 1.0f : 0.f; in platformInit() 53 if (m_platformData.useGDI()) in platformInit() 59 cairo_scaled_font_t* scaledFont = m_platformData.scaledFont(); in platformInit() 60 …metricsMultiplier = cairo_win32_scaled_font_get_metrics_factor(scaledFont) * m_platformData.size(); in platformInit() 101 if (m_platformData.useGDI()) in platformWidthForGlyph() 107 cairo_scaled_font_t* scaledFont = m_platformData.scaledFont(); in platformWidthForGlyph() 118 …metricsMultiplier = cairo_win32_scaled_font_get_metrics_factor(scaledFont) * m_platformData.size(); in platformWidthForGlyph() 125 m_platformData.setFont(cr); in setFont()
|
/external/webkit/WebCore/platform/graphics/mac/ |
D | SimpleFontDataMac.mm | 156 m_syntheticBoldOffset = m_platformData.m_syntheticBold ? 1.0f : 0.f; 168 if ([[m_platformData.font() familyName] isEqual:@"Times"]) 176 RetainPtr<NSFont> initialFont = m_platformData.font(); 178 if (m_platformData.font()) 179 …m_platformData.setFont([[NSFontManager sharedFontManager] convertFont:m_platformData.font() toFami… 181 … m_platformData.setFont([NSFont fontWithName:fallbackFontFamily size:m_platformData.size()]); 191 …m_platformData.setFont([[NSFontManager sharedFontManager] convertFont:m_platformData.font() toFami… 206 [m_platformData.font() familyName], [initialFont.get() familyName], filePath); 212 m_platformData.setFont([NSFont systemFontOfSize:[m_platformData.font() pointSize]]); 213 LOG_ERROR("failed to set up font, using system font %s", m_platformData.font()); [all …]
|
/external/webkit/WebCore/platform/graphics/chromium/ |
D | SimpleFontDataChromiumWin.cpp | 57 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in platformInit() 61 if (ChromiumBridge::ensureFontLoaded(m_platformData.hfont())) { in platformInit() 110 GetObject(m_platformData.hfont(), sizeof(LOGFONT), &winFont); in smallCapsFontData() 133 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in determinePitch() 139 if (ChromiumBridge::ensureFontLoaded(m_platformData.hfont())) { in determinePitch() 157 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in platformWidthForGlyph() 162 if (ChromiumBridge::ensureFontLoaded(m_platformData.hfont())) { in platformWidthForGlyph()
|
D | SimpleFontDataLinux.cpp | 59 m_platformData.setupPaint(&paint); in platformInit() 61 const SkFontID fontID = m_platformData.uniqueID(); in platformInit() 64 int pixelSize = m_platformData.size() + 0.5; in platformInit() 104 m_maxCharWidth = SkScalarRound(xRange * SkScalarRound(m_platformData.size())); in platformInit() 138 m_smallCapsFontData = new SimpleFontData(FontPlatformData(m_platformData, smallCapsSize)); in smallCapsFontData() 150 m_platformData.setupPaint(&paint); in containsCharacters() 181 m_platformData.setupPaint(&paint); in platformWidthForGlyph()
|
/external/webkit/WebCore/platform/graphics/wx/ |
D | SimpleFontDataWx.cpp | 48 wxFont *font = m_platformData.font(); in platformInit() 91 if (m_platformData.font() && m_platformData.font()->Ok()) in determinePitch() 92 m_treatAsFixedPitch = m_platformData.font()->IsFixedWidth(); in determinePitch() 101 GetTextExtent(*m_platformData.font(), (wxChar)glyph, &width, NULL); in platformWidthForGlyph()
|
/external/webkit/WebCore/platform/graphics/android/ |
D | FontDataAndroid.cpp | 51 m_platformData.setupPaint(&paint); in platformInit() 82 …m_smallCapsFontData = new SimpleFontData(FontPlatformData(m_platformData, fontDescription.computed… in smallCapsFontData() 94 m_platformData.setupPaint(&paint); in containsCharacters() 124 m_platformData.setupPaint(&paint); in platformWidthForGlyph()
|
/external/webkit/WebCore/platform/graphics/ |
D | SimpleFontData.h | 64 const FontPlatformData& platformData() const { return m_platformData; } in platformData() 113 NSFont* getNSFont() const { return m_platformData.font(); } in getNSFont() 132 QFont getQtFont() const { return m_platformData.font(); } in getQtFont() 149 wxFont* getWxFont() const { return m_platformData.font(); } in getWxFont() 177 FontPlatformData m_platformData; variable
|
D | SimpleFontData.cpp | 52 , m_platformData(f) in SimpleFontData()
|
/external/webkit/WebCore/platform/graphics/qt/ |
D | SimpleFontDataQt.cpp | 33 m_treatAsFixedPitch = m_platformData.font().fixedPitch(); in determinePitch() 43 QFontMetrics fm(m_platformData.font()); in platformInit() 64 QFontMetrics fm(m_platformData.font()); in platformCharWidthInit()
|
/external/webkit/WebCore/ |
D | ChangeLog-2006-05-10 | 14087 (WebCore::FontData:::m_platformData):
|
D | ChangeLog-2008-08-10 | 78199 Push SVGResourceFilter platform specific data down into m_platformData
|
D | ChangeLog-2009-06-16 | 2601 - rename SimpleFontData's m_font member to m_platformData
|