OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:unitsPerEm
(Results
1 - 25
of
27
) sorted by null
1
2
/external/chromium_org/third_party/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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
cf2font.c
230
CF2_Int
unitsPerEm
= font->
unitsPerEm
;
233
if (
unitsPerEm
== 0 )
234
unitsPerEm
= 1000;
246
/*
unitsPerEm
instead. */
248
emRatio = cf2_intToFixed( 1000 ) /
unitsPerEm
;
259
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/freetype/src/cff/
cf2font.h
71
CF2_Int
unitsPerEm
;
cf2font.c
325
CF2_Int
unitsPerEm
= font->
unitsPerEm
;
328
if (
unitsPerEm
== 0 )
329
unitsPerEm
= 1000;
341
/*
unitsPerEm
instead. */
343
emRatio = cf2_intToFixed( 1000 ) /
unitsPerEm
;
354
FT_DivFix( cf2_intToFixed(
unitsPerEm
), ppem ) );
/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/svg/
SVGFontFaceElement.cpp
121
unsigned SVGFontFaceElement::
unitsPerEm
() const
225
return static_cast<int>(
unitsPerEm
()) - static_cast<int>(ceilf(vertOriginY.toFloat()));
229
return static_cast<int>(ceilf(
unitsPerEm
() * 0.8f));
253
return static_cast<int>(ceilf(
unitsPerEm
() * 0.2f));
SVGFontData.cpp
80
unsigned
unitsPerEm
= svgFontFaceElement->
unitsPerEm
();
81
float scale = scaleEmToUnits(fontSize,
unitsPerEm
);
96
fontMetrics.setUnitsPerEm(
unitsPerEm
);
140
return m_horizontalAdvanceX * scaleEmToUnits(fontSize, svgFontFaceElement->
unitsPerEm
());
147
return svgGlyph.horizontalAdvanceX * scaleEmToUnits(fontSize, svgFontFaceElement->
unitsPerEm
());
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderTextControl.cpp
239
// This matches the
unitsPerEm
value for MS Shell Dlg and Courier New from the "head" font table.
240
float
unitsPerEm
= 2048.0f;
241
return roundf(style()->font().fontDescription().computedSize() * x /
unitsPerEm
);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontMetrics.h
47
unsigned
unitsPerEm
() const { return m_unitsPerEm; }
48
void setUnitsPerEm(unsigned
unitsPerEm
) { m_unitsPerEm =
unitsPerEm
; }
162
inline float scaleEmToUnits(float x, unsigned
unitsPerEm
)
164
return
unitsPerEm
? x /
unitsPerEm
: x;
/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/WebKit/Source/platform/fonts/opentype/
OpenTypeUtilities.cpp
113
BigEndianUShort
unitsPerEm
;
/external/chromium_org/third_party/icu/source/samples/layout/
sfnt.h
153
le_uint16
unitsPerEm
;
/external/chromium_org/third_party/icu/source/test/letest/
FontObject.h
116
le_uint16
unitsPerEm
;
sfnt.h
282
le_uint16
unitsPerEm
;
/external/chromium_org/third_party/icu/source/test/perf/leperf/
FontObject.h
116
le_uint16
unitsPerEm
;
sfnt.h
282
le_uint16
unitsPerEm
;
/external/icu/icu4c/source/samples/layout/
sfnt.h
153
le_uint16
unitsPerEm
;
/external/icu/icu4c/source/test/letest/
FontObject.h
116
le_uint16
unitsPerEm
;
/external/icu/icu4c/source/test/perf/leperf/
FontObject.h
116
le_uint16
unitsPerEm
;
Completed in 795 milliseconds
1
2