Home
last modified time | relevance | path

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

12

/third_party/cups-filters/fontembed/
Dembed_sfnt.c89 ret->bbxmin=get_SHORT(head+36)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
90 ret->bbymin=get_SHORT(head+38)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
91 ret->bbxmax=get_SHORT(head+40)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
92 ret->bbymax=get_SHORT(head+42)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
154 ret->avgWidth=get_SHORT(os2+2)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
155 ret->ascent=get_SHORT(os2+68)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
156 ret->descent=get_SHORT(os2+70)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
158 ret->xHeight=get_SHORT(os2+86)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
159 ret->capHeight=get_SHORT(os2+88)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
187 ret->ascent=get_SHORT(hhea+4)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
[all …]
Dsfnt.h22 unsigned short unitsPerEm; member
Dtest_analyze.c218 otf->unitsPerEm,otf->indexToLocFormat); in main()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DHdmxEncoder.java42 int unitsPerEm = head.unitsPerEm(); in encode() local
50 ((64 * ppem * hmtx.advanceWidth(j) + unitsPerEm / 2) / unitsPerEm + 32) / 64; in encode()
DMtxHeadBuilder.java42 unitsPerEm(18), enumConstant
/third_party/skia/third_party/externals/freetype/src/psaux/
Dpsfont.c389 CF2_Int unitsPerEm = font->unitsPerEm; in cf2_font_setup() local
392 if ( unitsPerEm == 0 ) in cf2_font_setup()
393 unitsPerEm = 1000; in cf2_font_setup()
407 emRatio = cf2_intToFixed( 1000 ) / unitsPerEm; in cf2_font_setup()
418 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
/third_party/skia/src/core/
DSkStrikeSpec.cpp157 int unitsPerEm = typeface.getUnitsPerEm(); in MakePDFVector() local
158 if (unitsPerEm <= 0) { in MakePDFVector()
159 unitsPerEm = 1024; in MakePDFVector()
162 *size = unitsPerEm; in MakePDFVector()
164 font.setSize((SkScalar)unitsPerEm); in MakePDFVector()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DFontHeaderTable.java62 unitsPerEm(18), enumConstant
207 public int unitsPerEm() { in unitsPerEm() method in FontHeaderTable
208 return this.data.readUShort(Offset.unitsPerEm.offset); in unitsPerEm()
560 public int unitsPerEm() { in unitsPerEm() method in FontHeaderTable.Builder
561 return this.table().unitsPerEm(); in unitsPerEm()
565 this.internalWriteData().writeUShort(Offset.unitsPerEm.offset, units); in setUnitsPerEm()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-head-table.hh52 unsigned int upem = unitsPerEm; in get_upem()
144 HBUINT16 unitsPerEm; /* Valid range is from 16 to 16384. This value member
/third_party/skia/src/sfnt/
DSkOTTable_head.h74 SK_OT_USHORT unitsPerEm; member
/third_party/icu/icu4c/source/samples/layout/
Dsfnt.h159 le_uint16 unitsPerEm; member
DGDIFontInstance.cpp276 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in GDIFontInstance()
/third_party/skia/third_party/externals/icu/source/samples/layout/
Dsfnt.h159 le_uint16 unitsPerEm; member
DGDIFontInstance.cpp276 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in GDIFontInstance()
/third_party/skia/src/pdf/
DSkPDFFont.cpp540 int unitsPerEm; in emit_subset_type3() local
541 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &unitsPerEm); in emit_subset_type3()
544 SkScalar emSize = (SkScalar)unitsPerEm; in emit_subset_type3()
/third_party/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()
/third_party/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

12