Searched refs:unitsPerEm (Results 1 – 20 of 20) sorted by relevance
390 CF2_Int unitsPerEm = font->unitsPerEm; in cf2_font_setup() local393 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()
90 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()
66 CF2_Int unitsPerEm ) in cf2_checkTransform() argument71 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()
87 CF2_Int unitsPerEm; member
50 unsigned int upem = unitsPerEm; in get_upem()117 UINT16 unitsPerEm; /* Valid range is from 16 to 16384. This value member
33 int unitsPerEm = face->getUnitsPerEm(); in MakeVectorCache() local34 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() local633 SkAutoGlyphCache cache = SkPDFFont::MakeVectorCache(typeface, &unitsPerEm); in add_type3_font_info()634 SkScalar emSize = (SkScalar)unitsPerEm; in add_type3_font_info()
74 SK_OT_USHORT unitsPerEm; member
159 le_uint16 unitsPerEm; member
276 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in GDIFontInstance()
122 le_uint16 unitsPerEm; member
210 return SWAPW(headTable->unitsPerEm); in getUnitsPerEM()
288 le_uint16 unitsPerEm; member
144 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in PortableFontInstance()
118 le_uint16 unitsPerEm; member
206 return SWAPW(headTable->unitsPerEm); in getUnitsPerEM()
284 le_uint16 unitsPerEm; member
141 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in PortableFontInstance()
161 scale = 4096 / self.ttFont['head'].unitsPerEm