Searched defs:unitsPerEm (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/third_party/freetype/src/cff/
H A Dcf2font.c228 CF2_Int unitsPerEm = font->unitsPerEm; local
231 if ( unitsPerEm == 0 )
232 unitsPerEm = 1000;
244 /* unitsPerEm instead. */
246 emRatio = cf2_intToFixed( 1000 ) / unitsPerEm;
257 FT_DivFix( cf2_intToFixed( unitsPerEm ), ppem ) );
H A Dcf2font.h71 CF2_Int unitsPerEm; member in struct:CF2_FontRec_
H A Dcf2blues.c89 CF2_Int unitsPerEm = font->unitsPerEm; local
92 if ( unitsPerEm == 0 )
93 unitsPerEm = 1000;
127 if ( ascender - descender == unitsPerEm )
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-head-table.hh49 unsigned int upem = unitsPerEm;
113 USHORT unitsPerEm; /* Valid range is from 16 to 16384. This value member in struct:OT::head
/external/freetype/src/cff/
H A Dcf2font.c228 CF2_Int unitsPerEm = font->unitsPerEm; local
231 if ( unitsPerEm == 0 )
232 unitsPerEm = 1000;
244 /* unitsPerEm instead. */
246 emRatio = cf2_intToFixed( 1000 ) / unitsPerEm;
257 FT_DivFix( cf2_intToFixed( unitsPerEm ), ppem ) );
H A Dcf2font.h71 CF2_Int unitsPerEm; member in struct:CF2_FontRec_
H A Dcf2blues.c89 CF2_Int unitsPerEm = font->unitsPerEm; local
92 if ( unitsPerEm == 0 )
93 unitsPerEm = 1000;
127 if ( ascender - descender == unitsPerEm )
/external/harfbuzz_ng/src/
H A Dhb-ot-head-table.hh49 unsigned int upem = unitsPerEm;
113 USHORT unitsPerEm; /* Valid range is from 16 to 16384. This value member in struct:OT::head
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderTextControl.cpp235 // This matches the unitsPerEm value for MS Shell Dlg and Courier New from the "head" font table.
236 float unitsPerEm = 2048.0f; local
237 return roundf(style()->font().size() * x / unitsPerEm);
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFontData.cpp76 unsigned unitsPerEm = svgFontFaceElement->unitsPerEm(); local
77 float scale = scaleEmToUnits(fontSize, unitsPerEm);
92 fontMetrics.setUnitsPerEm(unitsPerEm);
131 return svgGlyph.horizontalAdvanceX * scaleEmToUnits(fontSize, svgFontFaceElement->unitsPerEm());
H A DSVGFontFaceElement.cpp123 unsigned SVGFontFaceElement::unitsPerEm() const function in class:WebCore::SVGFontFaceElement
227 return static_cast<int>(unitsPerEm()) - static_cast<int>(ceilf(vertOriginY.toFloat()));
231 return static_cast<int>(ceilf(unitsPerEm() * 0.8f));
255 return static_cast<int>(ceilf(unitsPerEm() * 0.2f));
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontMetrics.h45 unsigned unitsPerEm() const { return m_unitsPerEm; } function in class:WebCore::FontMetrics
46 void setUnitsPerEm(unsigned unitsPerEm) { m_unitsPerEm = unitsPerEm; } argument
150 inline float scaleEmToUnits(float x, unsigned unitsPerEm) argument
152 return unitsPerEm ? x / unitsPerEm : x;
/external/chromium_org/third_party/skia/src/sfnt/
H A DSkOTTable_head.h75 SK_OT_USHORT unitsPerEm; member in struct:SkOTTableHead
/external/skia/src/sfnt/
H A DSkOTTable_head.h75 SK_OT_USHORT unitsPerEm; member in struct:SkOTTableHead
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
H A DOpenTypeUtilities.cpp113 BigEndianUShort unitsPerEm; member in struct:WebCore::headTable
/external/chromium_org/third_party/icu/source/test/letest/
H A DFontObject.h116 le_uint16 unitsPerEm; member in struct:HEADTable
H A Dsfnt.h282 le_uint16 unitsPerEm; member in struct:HEADTable
/external/icu4c/samples/layout/
H A Dsfnt.h153 le_uint16 unitsPerEm; member in struct:HEADTable
/external/icu4c/test/letest/
H A DFontObject.h116 le_uint16 unitsPerEm; member in struct:HEADTable
H A Dsfnt.h282 le_uint16 unitsPerEm; member in struct:HEADTable
/external/harfbuzz_ng/src/hb-icu-le/
H A Dsfnt.h285 le_uint16 unitsPerEm; member in struct:HEADTable

Completed in 538 milliseconds