HomeSort by relevance Sort by last modified time
    Searched defs:unitsPerEm (Results 1 - 11 of 11) sorted by null

  /external/webkit/Source/WebCore/platform/graphics/win/
SimpleFontDataCGWin.cpp 50 static inline float scaleEmToUnits(float x, unsigned unitsPerEm) { return unitsPerEm ? x / static_cast<float>(unitsPerEm) : x; }
66 unsigned unitsPerEm = CGFontGetUnitsPerEm(font);
68 float fAscent = scaleEmToUnits(iAscent, unitsPerEm) * pointSize;
69 float fDescent = -scaleEmToUnits(iDescent, unitsPerEm) * pointSize;
70 float fLineGap = scaleEmToUnits(iLineGap, unitsPerEm) * pointSize;
107 m_fontMetrics.setXHeight(scaleEmToUnits(CGRectGetMaxY(xBox), unitsPerEm) * pointSize);
110 m_fontMetrics.setXHeight(scaleEmToUnits(iXHeight, unitsPerEm) * pointSize);
113 m_fontMetrics.setUnitsPerEm(unitsPerEm);
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
FontMetrics.h 41 unsigned unitsPerEm() const { return m_unitsPerEm; }
42 void setUnitsPerEm(unsigned unitsPerEm) { m_unitsPerEm = unitsPerEm; }
SimpleFontData.cpp 78 unsigned unitsPerEm = svgFontFaceElement->unitsPerEm();
81 if (unitsPerEm)
82 scale /= unitsPerEm;
97 m_fontMetrics.setUnitsPerEm(unitsPerEm);
  /external/webkit/Source/WebCore/svg/
SVGFontFaceElement.cpp 124 unsigned SVGFontFaceElement::unitsPerEm() const
228 return static_cast<int>(unitsPerEm()) - static_cast<int>(ceilf(vertOriginY.toFloat()));
232 return static_cast<int>(ceilf(unitsPerEm() * 0.8f));
256 return static_cast<int>(ceilf(unitsPerEm() * 0.2f));
  /external/icu4c/samples/layout/
sfnt.h 153 le_uint16 unitsPerEm;
  /external/icu4c/test/letest/
FontObject.h 116 le_uint16 unitsPerEm;
sfnt.h 282 le_uint16 unitsPerEm;
  /external/webkit/Source/WebCore/rendering/
RenderTextControl.cpp 560 // This matches the unitsPerEm value for MS Shell Dlg and Courier New from the "head" font table.
561 float unitsPerEm = 2048.0f;
562 return roundf(style()->font().size() * x / unitsPerEm);
  /external/webkit/Source/WebCore/platform/graphics/opentype/
OpenTypeUtilities.cpp 133 BigEndianUShort unitsPerEm;
  /external/skia/src/ports/
SkFontHost_FreeType.cpp 689 uint16_t unitsPerEm = 0;
692 unitsPerEm = rec->fFace->units_per_EM;
696 return (uint32_t)unitsPerEm;
    [all...]
SkFontHost_mac_coretext.cpp 262 int unitsPerEm = CGFontGetUnitsPerEm(cgFont);
263 return SkScalarInvert(SkIntToScalar(unitsPerEm));
    [all...]

Completed in 227 milliseconds