Home
last modified time | relevance | path

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

12

/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/fonttools/Lib/fontTools/
DfontBuilder.py131 unitsPerEm = 1000,
309 def __init__(self, unitsPerEm=None, font=None, isTTF=True): argument
324 assert unitsPerEm is not None
325 self.setupHead(unitsPerEm=unitsPerEm, created=now, modified=now)
328 assert unitsPerEm is None
510 scale = 1 / self.font["head"].unitsPerEm
559 scale = 1 / self.font["head"].unitsPerEm
/external/harfbuzz_ng/src/
Dhb-ot-head-table.hh52 unsigned int upem = unitsPerEm; in get_upem()
130 HBUINT16 unitsPerEm; /* Valid range is from 16 to 16384. This value member
/external/skqp/src/pdf/
DSkPDFFont.cpp38 int unitsPerEm = face->getUnitsPerEm(); in MakeVectorCache() local
39 if (unitsPerEm <= 0) { in MakeVectorCache()
40 unitsPerEm = 1024; in MakeVectorCache()
43 *size = unitsPerEm; in MakeVectorCache()
45 font.setSize((SkScalar)unitsPerEm); in MakeVectorCache()
646 int unitsPerEm; in emit_subset_type3() local
647 auto cache = SkPDFFont::MakeVectorCache(typeface, &unitsPerEm); in emit_subset_type3()
649 SkScalar emSize = (SkScalar)unitsPerEm; in emit_subset_type3()
/external/skia/src/pdf/
DSkPDFFont.cpp39 int unitsPerEm = face->getUnitsPerEm(); in MakeVectorCache() local
40 if (unitsPerEm <= 0) { in MakeVectorCache()
41 unitsPerEm = 1024; in MakeVectorCache()
44 *size = unitsPerEm; in MakeVectorCache()
46 font.setSize((SkScalar)unitsPerEm); in MakeVectorCache()
642 int unitsPerEm; in emit_subset_type3() local
643 auto cache = SkPDFFont::MakeVectorCache(typeface, &unitsPerEm); in emit_subset_type3()
645 SkScalar emSize = (SkScalar)unitsPerEm; in emit_subset_type3()
/external/fonttools/Tests/fontBuilder/
DfontBuilder_test.py40 def _setupFontBuilder(isTTF, unitsPerEm=1024): argument
41 fb = FontBuilder(unitsPerEm, isTTF=isTTF)
/external/fonttools/Lib/fontTools/pens/
DstatisticsPen.py98 _test(font.getGlyphSet(), font['head'].unitsPerEm, glyphs)
/external/skia/src/sfnt/
DSkOTTable_head.h74 SK_OT_USHORT unitsPerEm; member
/external/skqp/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/varLib/
D__init__.py227 verticalAdvanceWidth = font["head"].unitsPerEm
/external/u-boot/drivers/video/
Dstb_truetype.h1548 int unitsPerEm = ttUSHORT(info->data + info->head + 18); in stbtt_ScaleForMappingEmToPixels() local
1549 return pixels / unitsPerEm; in stbtt_ScaleForMappingEmToPixels()
/external/fonttools/Tests/ufoLib/
DUFO2_test.py855 infoObject.unitsPerEm = "abc"

12