OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:unitsPerEm
(Results
1 - 18
of
18
) sorted by null
/external/freetype/src/cff/
cf2font.c
228
CF2_Int
unitsPerEm
= font->
unitsPerEm
;
231
if (
unitsPerEm
== 0 )
232
unitsPerEm
= 1000;
244
/*
unitsPerEm
instead. */
246
emRatio = cf2_intToFixed( 1000 ) /
unitsPerEm
;
257
FT_DivFix( cf2_intToFixed(
unitsPerEm
), ppem ) );
cf2font.h
71
CF2_Int
unitsPerEm
;
cf2blues.c
89
CF2_Int
unitsPerEm
= font->
unitsPerEm
;
92
if (
unitsPerEm
== 0 )
93
unitsPerEm
= 1000;
127
if ( ascender - descender ==
unitsPerEm
)
/external/chromium_org/third_party/harfbuzz-ng/src/
hb-ot-head-table.hh
49
unsigned int upem =
unitsPerEm
;
113
USHORT
unitsPerEm
; /* Valid range is from 16 to 16384. This value
/external/harfbuzz_ng/src/
hb-ot-head-table.hh
49
unsigned int upem =
unitsPerEm
;
113
USHORT
unitsPerEm
; /* Valid range is from 16 to 16384. This value
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
FontMetrics.h
45
unsigned
unitsPerEm
() const { return m_unitsPerEm; }
46
void setUnitsPerEm(unsigned
unitsPerEm
) { m_unitsPerEm =
unitsPerEm
; }
150
static inline float scaleEmToUnits(float x, unsigned
unitsPerEm
)
152
return
unitsPerEm
? x /
unitsPerEm
: x;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderTextControl.cpp
224
// This matches the
unitsPerEm
value for MS Shell Dlg and Courier New from the "head" font table.
225
float
unitsPerEm
= 2048.0f;
226
return roundf(style()->font().size() * x /
unitsPerEm
);
/external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFontFaceElement.cpp
125
unsigned SVGFontFaceElement::
unitsPerEm
() const
229
return static_cast<int>(
unitsPerEm
()) - static_cast<int>(ceilf(vertOriginY.toFloat()));
233
return static_cast<int>(ceilf(
unitsPerEm
() * 0.8f));
257
return static_cast<int>(ceilf(
unitsPerEm
() * 0.2f));
SVGFontData.cpp
74
unsigned
unitsPerEm
= svgFontFaceElement->
unitsPerEm
();
75
float scale = scaleEmToUnits(fontSize,
unitsPerEm
);
90
fontMetrics.setUnitsPerEm(
unitsPerEm
);
129
return svgGlyph.horizontalAdvanceX * scaleEmToUnits(fontSize, svgFontFaceElement->
unitsPerEm
());
/external/chromium_org/third_party/skia/src/sfnt/
SkOTTable_head.h
75
SK_OT_USHORT
unitsPerEm
;
/external/skia/src/sfnt/
SkOTTable_head.h
75
SK_OT_USHORT
unitsPerEm
;
/external/chromium_org/third_party/icu/source/test/letest/
FontObject.h
116
le_uint16
unitsPerEm
;
sfnt.h
282
le_uint16
unitsPerEm
;
/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/chromium_org/third_party/WebKit/Source/core/platform/graphics/opentype/
OpenTypeUtilities.cpp
131
BigEndianUShort
unitsPerEm
;
/external/harfbuzz_ng/src/hb-icu-le/
sfnt.h
285
le_uint16
unitsPerEm
;
Completed in 490 milliseconds