/external/webkit/WebCore/platform/wx/wxcode/gtk/ |
D | fontprops.cpp | 42 m_ascent(0), m_descent(0), m_lineGap(0), m_lineSpacing(0), m_xHeight(0) in wxFontProperties() 52 m_ascent = static_cast<int>(font_extents.ascent); in wxFontProperties() 58 m_lineGap = m_lineSpacing - m_ascent - m_descent; in wxFontProperties() 78 m_ascent = PANGO_PIXELS(pango_font_metrics_get_ascent(metrics)); in wxFontProperties() 88 m_lineGap = (m_ascent + m_descent) / 4; // FIXME: How can we calculate this via Pango? in wxFontProperties() 89 m_lineSpacing = m_ascent + m_descent; in wxFontProperties()
|
/external/webkit/WebCore/platform/graphics/chromium/ |
D | SimpleFontDataLinux.cpp | 81 m_ascent = vdmxAscent; in platformInit() 85 m_ascent = SkScalarRound(-metrics.fAscent); in platformInit() 86 m_descent = SkScalarRound(height) - m_ascent; in platformInit() 93 m_xHeight = static_cast<float>(m_ascent) * 0.56; in platformInit() 97 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
|
D | SimpleFontDataChromiumWin.cpp | 73 m_ascent = textMetric.tmAscent; in platformInit() 76 m_xHeight = m_ascent * 0.56f; // Best guess for xHeight for non-Truetype fonts. in platformInit() 88 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
|
D | UniscribeHelper.h | 147 m_ascent = ascent; in setAscent() 384 int m_ascent; variable
|
D | UniscribeHelper.cpp | 117 , m_ascent(0) in UniscribeHelper() 404 origin.fY = y + m_ascent - shaping.m_ascentOffset; in draw() 547 int ascent = m_ascent; in shape() 681 shaping.m_ascentOffset = m_ascent ? ascent - m_ascent : 0; in shape()
|
/external/webkit/WebCore/platform/graphics/gtk/ |
D | SimpleFontDataGtk.cpp | 53 m_ascent = static_cast<int>(font_extents.ascent); in platformInit() 61 if (m_lineSpacing < m_ascent + m_descent) in platformInit() 62 m_lineSpacing = m_ascent + m_descent; in platformInit() 67 m_lineGap = m_lineSpacing - m_ascent - m_descent; in platformInit()
|
D | SimpleFontDataPango.cpp | 52 m_ascent = static_cast<int>(font_extents.ascent); in platformInit() 60 if (m_lineSpacing < m_ascent + m_descent) in platformInit() 61 m_lineSpacing = m_ascent + m_descent; in platformInit() 66 m_lineGap = m_lineSpacing - m_ascent - m_descent; in platformInit()
|
/external/webkit/WebCore/platform/wx/wxcode/win/ |
D | fontprops.cpp | 42 m_ascent(0), m_descent(0), m_lineGap(0), m_lineSpacing(0), m_xHeight(0) in wxFontProperties() 53 m_ascent = lroundf(tm.tmAscent); in wxFontProperties() 55 m_xHeight = m_ascent * 0.56f; // Best guess for xHeight for non-Truetype fonts. in wxFontProperties() 57 m_lineSpacing = m_lineGap + m_ascent + m_descent; in wxFontProperties()
|
/external/webkit/WebCore/platform/graphics/ |
D | SimpleFontData.cpp | 71 m_ascent = static_cast<int>(svgFontFaceElement->ascent() * scale); in SimpleFontData() 75 m_lineSpacing = m_ascent + m_descent + m_lineGap; in SimpleFontData() 89 …m_maxCharWidth = letterWGlyphs.isEmpty() ? m_ascent : static_cast<float>(letterWGlyphs.first().hor… in SimpleFontData() 125 m_maxCharWidth = max<float>(m_avgCharWidth, m_ascent); in initCharWidths()
|
D | SimpleFontData.h | 68 int ascent() const { return m_ascent; } in ascent() 168 int m_ascent; variable
|
/external/webkit/WebCore/platform/graphics/win/ |
D | SimpleFontDataCairoWin.cpp | 66 m_ascent = lroundf(textMetrics.tmAscent * metricsMultiplier); in platformInit() 68 m_xHeight = m_ascent * 0.56f; // Best guess for xHeight for non-Truetype fonts. in platformInit() 70 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
|
D | SimpleFontDataWin.cpp | 73 m_ascent = textMetrics.tmAscent; in initGDIFont() 76 m_lineSpacing = m_ascent + m_descent + m_lineGap; in initGDIFont() 79 m_xHeight = m_ascent * 0.56f; // Best guess for xHeight if no x glyph is present. in initGDIFont()
|
D | SimpleFontDataCGWin.cpp | 96 m_ascent = lroundf(fAscent); in platformInit() 99 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
|
/external/webkit/WebCore/platform/graphics/wince/ |
D | SimpleFontDataWince.cpp | 54 m_ascent = (tm.tmAscent * m_platformData.size() + 36) / 72; in platformInit() 57 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit() 58 m_xHeight = m_ascent * 0.56f; in platformInit()
|
/external/webkit/WebCore/platform/wx/wxcode/ |
D | fontprops.h | 36 float GetAscent() { return m_ascent; } in GetAscent() 43 float m_ascent;
|
/external/webkit/WebCore/platform/wx/wxcode/mac/carbon/ |
D | fontprops.cpp | 43 m_ascent(0), m_descent(0), m_lineGap(0), m_lineSpacing(0), m_xHeight(0) in wxFontProperties() 76 m_ascent = lroundf(fAscent); in wxFontProperties() 82 m_lineSpacing = m_ascent + m_descent + m_lineGap; in wxFontProperties()
|
/external/webkit/WebCore/platform/graphics/qt/ |
D | SimpleFontDataQt.cpp | 45 m_ascent = fm.ascent(); in platformInit()
|
/external/webkit/WebCore/platform/graphics/wx/ |
D | SimpleFontDataWx.cpp | 51 m_ascent = props.GetAscent(); in platformInit()
|
/external/webkit/WebCore/platform/graphics/android/ |
D | FontDataAndroid.cpp | 60 m_ascent = a; in platformInit()
|
/external/webkit/WebCore/platform/graphics/mac/ |
D | SimpleFontDataMac.mm | 250 m_ascent = lroundf(fAscent); 253 m_lineSpacing = m_ascent + m_descent + m_lineGap;
|
/external/webkit/WebCore/ |
D | ChangeLog-2009-06-16 | 15283 maxCharWidth = width of a 'W' for roman fonts, fallback on m_ascent 15285 maxCharWidth = max of avgCharWidth and m_ascent 18644 maxCharWidth = width of a 'W' for roman fonts, fallback on m_ascent 18646 maxCharWidth = max of avgCharWidth and m_ascent
|