/third_party/cups-filters/fontembed/ |
D | embed_sfnt.c | 89 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 …]
|
D | sfnt.h | 22 unsigned short unitsPerEm; member
|
D | test_analyze.c | 218 otf->unitsPerEm,otf->indexToLocFormat); in main()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
D | HdmxEncoder.java | 42 int unitsPerEm = head.unitsPerEm(); in encode() local 50 ((64 * ppem * hmtx.advanceWidth(j) + unitsPerEm / 2) / unitsPerEm + 32) / 64; in encode()
|
D | MtxHeadBuilder.java | 42 unitsPerEm(18), enumConstant
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
D | psfont.c | 389 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()
|
D | psblues.c | 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()
|
D | psft.c | 66 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()
|
D | psfont.h | 87 CF2_Int unitsPerEm; member
|
/third_party/skia/src/core/ |
D | SkStrikeSpec.cpp | 157 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/ |
D | FontHeaderTable.java | 62 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/ |
D | hb-ot-head-table.hh | 52 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/ |
D | SkOTTable_head.h | 74 SK_OT_USHORT unitsPerEm; member
|
/third_party/icu/icu4c/source/samples/layout/ |
D | sfnt.h | 159 le_uint16 unitsPerEm; member
|
D | GDIFontInstance.cpp | 276 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in GDIFontInstance()
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
D | sfnt.h | 159 le_uint16 unitsPerEm; member
|
D | GDIFontInstance.cpp | 276 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in GDIFontInstance()
|
/third_party/skia/src/pdf/ |
D | SkPDFFont.cpp | 540 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/ |
D | FontObject.h | 122 le_uint16 unitsPerEm; member
|
D | FontObject.cpp | 210 return SWAPW(headTable->unitsPerEm); in getUnitsPerEM()
|
D | sfnt.h | 288 le_uint16 unitsPerEm; member
|
D | PortableFontInstance.cpp | 144 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in PortableFontInstance()
|
/third_party/icu/icu4c/source/test/letest/ |
D | FontObject.h | 118 le_uint16 unitsPerEm; member
|
D | FontObject.cpp | 206 return SWAPW(headTable->unitsPerEm); in getUnitsPerEM()
|
D | sfnt.h | 284 le_uint16 unitsPerEm; member
|