Home
last modified time | relevance | path

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

/external/pdfium/third_party/freetype/src/cff/
Dcf2font.c336 CF2_Int unitsPerEm = font->unitsPerEm; in cf2_font_setup() local
339 if ( unitsPerEm == 0 ) in cf2_font_setup()
340 unitsPerEm = 1000; in cf2_font_setup()
354 emRatio = cf2_intToFixed( 1000 ) / unitsPerEm; in cf2_font_setup()
365 FT_DivFix( cf2_intToFixed( unitsPerEm ), ppem ) ); in cf2_font_setup()
Dcf2blues.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()
Dcf2ft.c57 CF2_Int unitsPerEm ) in cf2_checkTransform() argument
62 FT_ASSERT( unitsPerEm > 0 ); in cf2_checkTransform()
70 if ( unitsPerEm > 0x7FFF ) in cf2_checkTransform()
73 maxScale = FT_DivFix( CF2_MAX_SIZE, cf2_intToFixed( unitsPerEm ) ); in cf2_checkTransform()
386 font->unitsPerEm = (CF2_Int)cf2_getUnitsPerEm( decoder ); in cf2_decoder_parse_charstrings()
390 error2 = cf2_checkTransform( &transform, font->unitsPerEm ); in cf2_decoder_parse_charstrings()
Dcf2font.h76 CF2_Int unitsPerEm; member
/external/freetype/src/cff/
Dcf2font.c385 CF2_Int unitsPerEm = font->unitsPerEm; in cf2_font_setup() local
388 if ( unitsPerEm == 0 ) in cf2_font_setup()
389 unitsPerEm = 1000; in cf2_font_setup()
403 emRatio = cf2_intToFixed( 1000 ) / unitsPerEm; in cf2_font_setup()
414 FT_DivFix( cf2_intToFixed( unitsPerEm ), ppem ) ); in cf2_font_setup()
Dcf2blues.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()
Dcf2ft.c57 CF2_Int unitsPerEm ) in cf2_checkTransform() argument
62 FT_ASSERT( unitsPerEm > 0 ); in cf2_checkTransform()
70 if ( unitsPerEm > 0x7FFF ) in cf2_checkTransform()
73 maxScale = FT_DivFix( CF2_MAX_SIZE, cf2_intToFixed( unitsPerEm ) ); in cf2_checkTransform()
390 font->unitsPerEm = (CF2_Int)cf2_getUnitsPerEm( decoder ); in cf2_decoder_parse_charstrings()
394 error2 = cf2_checkTransform( &transform, font->unitsPerEm ); in cf2_decoder_parse_charstrings()
Dcf2font.h85 CF2_Int unitsPerEm; member
/external/harfbuzz_ng/src/
Dhb-ot-head-table.hh50 unsigned int upem = unitsPerEm; in get_upem()
117 USHORT 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/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