Home
last modified time | relevance | path

Searched refs:unitsPerEm (Results 1 – 20 of 20) sorted by relevance

/external/freetype/src/psaux/
Dpsfont.c390 CF2_Int unitsPerEm = font->unitsPerEm; in cf2_font_setup() local
393 if ( unitsPerEm == 0 ) in cf2_font_setup()
394 unitsPerEm = 1000; in cf2_font_setup()
408 emRatio = cf2_intToFixed( 1000 ) / unitsPerEm; in cf2_font_setup()
419 FT_DivFix( cf2_intToFixed( unitsPerEm ), ppem ) ); in cf2_font_setup()
Dpsblues.c90 CF2_Int unitsPerEm = font->unitsPerEm; in cf2_blues_init()
93 if ( unitsPerEm == 0 ) in cf2_blues_init()
94 unitsPerEm = 1000; in cf2_blues_init()
129 if ( ascender - descender == unitsPerEm ) in cf2_blues_init()
Dpsft.c66 CF2_Int unitsPerEm ) in cf2_checkTransform() argument
71 FT_ASSERT( unitsPerEm > 0 ); in cf2_checkTransform()
79 if ( unitsPerEm > 0x7FFF ) in cf2_checkTransform()
82 maxScale = FT_DivFix( CF2_MAX_SIZE, cf2_intToFixed( unitsPerEm ) ); in cf2_checkTransform()
426 font->unitsPerEm = (CF2_Int)cf2_getUnitsPerEm( decoder ); in cf2_decoder_parse_charstrings()
430 error2 = cf2_checkTransform( &transform, font->unitsPerEm ); in cf2_decoder_parse_charstrings()
Dpsfont.h87 CF2_Int unitsPerEm; member
/external/harfbuzz_ng/src/
Dhb-ot-head-table.hh50 unsigned int upem = unitsPerEm; in get_upem()
117 UINT16 unitsPerEm; /* Valid range is from 16 to 16384. This value member
/external/skia/src/pdf/
DSkPDFFont.cpp33 int unitsPerEm = face->getUnitsPerEm(); in MakeVectorCache() local
34 if (unitsPerEm <= 0) { in MakeVectorCache()
35 unitsPerEm = 1024; in MakeVectorCache()
38 *size = unitsPerEm; in MakeVectorCache()
40 tmpPaint.setTextSize((SkScalar)unitsPerEm); in MakeVectorCache()
632 int unitsPerEm; in add_type3_font_info() local
633 SkAutoGlyphCache cache = SkPDFFont::MakeVectorCache(typeface, &unitsPerEm); in add_type3_font_info()
634 SkScalar emSize = (SkScalar)unitsPerEm; in add_type3_font_info()
/external/skqp/src/pdf/
DSkPDFFont.cpp33 int unitsPerEm = face->getUnitsPerEm(); in MakeVectorCache() local
34 if (unitsPerEm <= 0) { in MakeVectorCache()
35 unitsPerEm = 1024; in MakeVectorCache()
38 *size = unitsPerEm; in MakeVectorCache()
40 tmpPaint.setTextSize((SkScalar)unitsPerEm); in MakeVectorCache()
632 int unitsPerEm; in add_type3_font_info() local
633 SkAutoGlyphCache cache = SkPDFFont::MakeVectorCache(typeface, &unitsPerEm); in add_type3_font_info()
634 SkScalar emSize = (SkScalar)unitsPerEm; in add_type3_font_info()
/external/skqp/src/sfnt/
DSkOTTable_head.h74 SK_OT_USHORT unitsPerEm; member
/external/skia/src/sfnt/
DSkOTTable_head.h74 SK_OT_USHORT unitsPerEm; member
/external/icu/icu4c/source/samples/layout/
Dsfnt.h159 le_uint16 unitsPerEm; member
DGDIFontInstance.cpp276 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in GDIFontInstance()
/external/icu/icu4c/source/test/perf/leperf/
DFontObject.h122 le_uint16 unitsPerEm; member
DFontObject.cpp210 return SWAPW(headTable->unitsPerEm); in getUnitsPerEM()
Dsfnt.h288 le_uint16 unitsPerEm; member
DPortableFontInstance.cpp144 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in PortableFontInstance()
/external/icu/icu4c/source/test/letest/
DFontObject.h118 le_uint16 unitsPerEm; member
DFontObject.cpp206 return SWAPW(headTable->unitsPerEm); in getUnitsPerEM()
Dsfnt.h284 le_uint16 unitsPerEm; member
DPortableFontInstance.cpp141 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in PortableFontInstance()
/external/fonttools/Lib/fontTools/ttLib/
DmacUtils.py161 scale = 4096 / self.ttFont['head'].unitsPerEm