/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | SimpleFontDataWinCE.cpp | 46 if (!m_platformData.isValid()) in platformInit() 49 const TEXTMETRIC& tm = m_platformData.metrics(); in platformInit() 50 m_isSystemFont = m_platformData.isSystemFont(); in platformInit() 52 float ascent = (tm.tmAscent * m_platformData.size() + 36) / 72.0f; in platformInit() 53 float descent = (tm.tmDescent * m_platformData.size() + 36) / 72.0f; in platformInit() 54 float lineGap = (tm.tmExternalLeading * m_platformData.size() + 36) / 72.0f; in platformInit() 72 …FontPlatformData* result = fontCache()->getCachedFontPlatformData(fontDesc, m_platformData.family(… in scaledFontData() 100 if (m_platformData.isDisabled()) in containsCharacters() 116 DWORD fontCodePages = m_platformData.codePages(); in containsCharacters() 139 if (!m_platformData.isValid()) in determinePitch() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/freetype/ |
D | SimpleFontDataFreeType.cpp | 52 cairo_scaled_font_extents(m_platformData.scaledFont(), &font_extents); in platformInit() 69 cairo_scaled_font_text_extents(m_platformData.scaledFont(), "x", &text_extents); in platformInit() 72 cairo_scaled_font_text_extents(m_platformData.scaledFont(), " ", &text_extents); in platformInit() 75 m_syntheticBoldOffset = m_platformData.syntheticBold() ? 1.0f : 0.f; in platformInit() 91 …return new SimpleFontData(FontPlatformData(cairo_scaled_font_get_font_face(m_platformData.scaledFo… in scaledFontData() 92 …scaleFactor * fontDescription.computedSize(), m_platformData.syntheticBold(), m_platformData.synth… in scaledFontData() 119 FT_Face face = cairo_ft_scaled_font_lock_face(m_platformData.scaledFont()); in containsCharacters() 126 cairo_ft_scaled_font_unlock_face(m_platformData.scaledFont()); in containsCharacters() 131 cairo_ft_scaled_font_unlock_face(m_platformData.scaledFont()); in containsCharacters() 138 m_treatAsFixedPitch = m_platformData.isFixedPitch(); in determinePitch() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
D | SimpleFontDataCGWin.cpp | 54 m_syntheticBoldOffset = m_platformData.syntheticBold() ? 1.0f : 0.f; in platformInit() 59 if (m_platformData.useGDI()) in platformInit() 62 CGFontRef font = m_platformData.cgFont(); in platformInit() 67 float pointSize = m_platformData.size(); in platformInit() 74 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in platformInit() 119 if (!m_platformData.useGDI()) { in platformCharWidthInit() 127 if (m_platformData.useGDI()) in platformBoundsForGlyph() 131 CGFontGetGlyphBBoxes(m_platformData.cgFont(), &glyph, 1, &box); in platformBoundsForGlyph() 132 float pointSize = m_platformData.size(); in platformBoundsForGlyph() 143 if (m_platformData.useGDI()) in platformWidthForGlyph() [all …]
|
D | SimpleFontDataWin.cpp | 67 if (!m_platformData.size()) { in initGDIFont() 75 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); in initGDIFont() 113 float scaledSize = scaleFactor * m_platformData.size(); in scaledFontData() 115 FontPlatformData scaledFont(m_platformData); in scaledFontData() 121 GetObject(m_platformData.hfont(), sizeof(LOGFONT), &winfont); in scaledFontData() 122 winfont.lfHeight = -lroundf(scaledSize * (m_platformData.useGDI() ? 1 : 32)); in scaledFontData() 124 …FontPlatformData(hfont, scaledSize, m_platformData.syntheticBold(), m_platformData.syntheticObliqu… in scaledFontData() 166 langFontLink->GetFontCodePages(dc, m_platformData.hfont(), &fontCodePages); in containsCharacters() 193 SelectObject(dc, m_platformData.hfont()); in determinePitch() 209 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); in boundsForGDIGlyph() [all …]
|
D | SimpleFontDataCairoWin.cpp | 50 m_syntheticBoldOffset = m_platformData.syntheticBold() ? 1.0f : 0.f; in platformInit() 52 if (m_platformData.useGDI()) in platformInit() 58 cairo_scaled_font_t* scaledFont = m_platformData.scaledFont(); in platformInit() 59 …metricsMultiplier = cairo_win32_scaled_font_get_metrics_factor(scaledFont) * m_platformData.size(); in platformInit() 104 if (m_platformData.useGDI()) in platformBoundsForGlyph() 112 if (m_platformData.useGDI()) in platformWidthForGlyph() 118 cairo_scaled_font_t* scaledFont = m_platformData.scaledFont(); in platformWidthForGlyph() 129 …metricsMultiplier = cairo_win32_scaled_font_get_metrics_factor(scaledFont) * m_platformData.size(); in platformWidthForGlyph()
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
D | SimpleFontDataWx.cpp | 53 wxFont *font = m_platformData.font(); in platformInit() 125 return wxFontContainsCharacters(m_platformData.hfont(), characters, length); in containsCharacters() 127 return wxFontContainsCharacters(m_platformData.nsFont(), characters, length); in containsCharacters() 134 if (m_platformData.font() && m_platformData.font()->Ok()) in determinePitch() 135 m_treatAsFixedPitch = m_platformData.font()->IsFixedWidth(); in determinePitch() 151 float pointSize = m_platformData.size(); in platformWidthForGlyph() 154 NSFont* nsfont = (NSFont*)m_platformData.nsFont(); in platformWidthForGlyph() 155 if (!wkGetGlyphTransformedAdvances(m_platformData.cgFont(), nsfont, &m, &glyph, &advance)) { in platformWidthForGlyph() 163 GetTextExtent(*m_platformData.font(), (wxChar)glyph, &width, NULL); in platformWidthForGlyph() 188 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); in widthForGDIGlyph()
|
/external/webkit/Source/WebCore/platform/graphics/pango/ |
D | SimpleFontDataPango.cpp | 51 cairo_scaled_font_extents(m_platformData.m_scaledFont, &font_extents); in platformInit() 67 cairo_scaled_font_text_extents(m_platformData.m_scaledFont, "x", &text_extents); in platformInit() 70 cairo_scaled_font_text_extents(m_platformData.m_scaledFont, " ", &text_extents); in platformInit() 73 m_syntheticBoldOffset = m_platformData.syntheticBold() ? 1.0f : 0.f; in platformInit() 119 …PangoCoverage* coverage = pango_font_get_coverage(m_platformData.m_font, pango_language_get_defaul… in containsCharacters() 140 m_treatAsFixedPitch = m_platformData.isFixedPitch(); in determinePitch() 150 ASSERT(m_platformData.m_scaledFont); in platformWidthForGlyph() 154 cairo_scaled_font_glyph_extents(m_platformData.m_scaledFont, &cglyph, 1, &extents); in platformWidthForGlyph() 157 …if (cairo_scaled_font_status(m_platformData.m_scaledFont) == CAIRO_STATUS_SUCCESS && extents.x_adv… in platformWidthForGlyph()
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
D | SimpleFontDataQt.cpp | 33 m_treatAsFixedPitch = m_platformData.font().fixedPitch(); in determinePitch() 43 if (!m_platformData.size()) { in platformInit() 50 QFontMetricsF fm(m_platformData.font()); in platformInit() 79 if (!m_platformData.size()) in platformGlyphInit() 89 if (!m_platformData.size()) in platformCharWidthInit() 91 QFontMetrics fm(m_platformData.font()); in platformCharWidthInit()
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
D | SimpleFontDataChromiumWin.cpp | 56 if (!m_platformData.size()) { in platformInit() 64 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in platformInit() 68 if (PlatformBridge::ensureFontLoaded(m_platformData.hfont())) { in platformInit() 118 GetObject(m_platformData.hfont(), sizeof(LOGFONT), &winFont); in scaledFontData() 156 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in determinePitch() 162 if (PlatformBridge::ensureFontLoaded(m_platformData.hfont())) { in determinePitch() 184 if (!m_platformData.size()) in platformWidthForGlyph() 188 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in platformWidthForGlyph() 193 if (PlatformBridge::ensureFontLoaded(m_platformData.hfont())) { in platformWidthForGlyph()
|
D | SimpleFontDataLinux.cpp | 57 if (!m_platformData.size()) { in platformInit() 67 m_platformData.setupPaint(&paint); in platformInit() 69 const SkFontID fontID = m_platformData.uniqueID(); in platformInit() 72 int pixelSize = m_platformData.size() + 0.5; in platformInit() 130 m_maxCharWidth = SkScalarRound(xRange * SkScalarRound(m_platformData.size())); in platformInit() 161 return new SimpleFontData(FontPlatformData(m_platformData, scaledSize), isCustomFont(), false); in scaledFontData() 190 m_platformData.setupPaint(&paint); in containsCharacters() 222 if (!m_platformData.size()) in platformWidthForGlyph() 229 m_platformData.setupPaint(&paint); in platformWidthForGlyph()
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
D | SimpleFontDataMac.mm | 157 m_syntheticBoldOffset = m_platformData.m_syntheticBold ? 1.0f : 0.f; 169 if ([[m_platformData.font() familyName] isEqual:@"Times"]) 177 RetainPtr<NSFont> initialFont = m_platformData.font(); 179 if (m_platformData.font()) 180 …m_platformData.setFont([[NSFontManager sharedFontManager] convertFont:m_platformData.font() toFami… 182 … m_platformData.setFont([NSFont fontWithName:fallbackFontFamily size:m_platformData.size()]); 192 …m_platformData.setFont([[NSFontManager sharedFontManager] convertFont:m_platformData.font() toFami… 207 [m_platformData.font() familyName], [initialFont.get() familyName], filePath); 213 m_platformData.setFont([NSFont systemFontOfSize:[m_platformData.font() pointSize]]); 214 LOG_ERROR("failed to set up font, using system font %s", m_platformData.font()); [all …]
|
D | SimpleFontDataATSUI.mm | 52 …ATSUFontID fontID = m_platformData.ctFont() ? CTFontGetPlatformFont(m_platformData.ctFont(), 0) : … 54 LOG_ERROR("unable to get ATSUFontID for %@", m_platformData.font());
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
D | FontDataAndroid.cpp | 49 m_platformData.setupPaint(&paint); in platformInit() 69 const SkFontID fontID = m_platformData.uniqueID(); in platformInit() 93 …m_derivedFontData->smallCaps = new SimpleFontData(FontPlatformData(m_platformData, fontDescription… in smallCapsFontData() 103 …m_derivedFontData->emphasisMark = new SimpleFontData(FontPlatformData(m_platformData, fontDescript… in emphasisMarkFontData() 112 m_platformData.setupPaint(&paint); in containsCharacters() 119 m_treatAsFixedPitch = m_platformData.isFixedPitch(); in determinePitch() 133 m_platformData.setupPaint(&paint); in platformWidthForGlyph()
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
D | SimpleFontDataHaiku.cpp | 45 const BFont* font = m_platformData.font(); in platformInit() 105 m_treatAsFixedPitch = m_platformData.font() && m_platformData.font()->IsFixed(); in determinePitch() 111 if (!m_platformData.font()) in platformMetricsForGlyph() 117 m_platformData.font()->GetEscapements(encoded.data(), 1, escapements); in platformMetricsForGlyph() 118 metrics.horizontalAdvance = escapements[0] * m_platformData.font()->Size(); in platformMetricsForGlyph()
|
/external/webkit/Source/WebCore/platform/graphics/ |
D | SimpleFontData.h | 80 const FontPlatformData& platformData() const { return m_platformData; } in platformData() 149 NSFont* getNSFont() const { return m_platformData.font(); } in getNSFont() 151 NSFont* getNSFont() const { return m_platformData.nsFont(); } in getNSFont() 169 QFont getQtFont() const { return m_platformData.font(); } in getQtFont() 183 wxFont* getWxFont() const { return m_platformData.font(); } in getWxFont() 210 FontPlatformData m_platformData; variable
|
D | SimpleFontData.cpp | 53 , m_platformData(platformData) in SimpleFontData() 68 : m_platformData(FontPlatformData(size, syntheticBold, syntheticItalic)) in SimpleFontData() 212 FontPlatformData verticalRightPlatformData(m_platformData); in verticalRightOrientationFontData() 224 …m_derivedFontData->uprightOrientation = new SimpleFontData(m_platformData, isCustomFont(), false, … in uprightOrientationFontData() 233 … m_derivedFontData->brokenIdeograph = new SimpleFontData(m_platformData, isCustomFont(), false); in brokenIdeographFontData()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2006-05-10 | 14087 (WebCore::FontData:::m_platformData):
|
D | ChangeLog | 28378 (WebCore::DragData::asColor): Replaced references to m_platformData with m_pasteboard.
|
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
|