Home
last modified time | relevance | path

Searched refs:ppem (Results 1 – 25 of 32) sorted by relevance

12

/third_party/skia/third_party/externals/freetype/src/psaux/
Dpsfont.c52 CF2_Fixed ppem, in cf2_computeDarkening() argument
156 FT_MSB( (FT_UInt32)ppem ); in cf2_computeDarkening()
162 scaledStem = FT_MulFix( stemWidthPer1000, ppem ); in cf2_computeDarkening()
167 *darkenAmount = FT_DivFix( cf2_intToFixed( y1 ), ppem ); in cf2_computeDarkening()
174 FT_DivFix( cf2_intToFixed( x1 ), ppem ); in cf2_computeDarkening()
181 FT_DivFix( cf2_intToFixed( y1 ), ppem ); in cf2_computeDarkening()
191 FT_DivFix( cf2_intToFixed( x2 ), ppem ); in cf2_computeDarkening()
198 FT_DivFix( cf2_intToFixed( y2 ), ppem ); in cf2_computeDarkening()
209 FT_DivFix( cf2_intToFixed( x3 ), ppem ); in cf2_computeDarkening()
216 FT_DivFix( cf2_intToFixed( y3 ), ppem ); in cf2_computeDarkening()
[all …]
Dpsfont.h79 CF2_Fixed ppem; /* transform-dependent */ member
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttsubpix.c820 FT_UInt ppem, in sph_test_tweak() argument
834 if ( rule[i].ppem == 0 || in sph_test_tweak()
835 rule[i].ppem == ppem ) in sph_test_tweak()
851 FT_UInt ppem, in scale_test_tweak() argument
865 if ( rule[i].ppem == 0 || in scale_test_tweak()
866 rule[i].ppem == ppem ) in scale_test_tweak()
882 FT_UInt ppem, in sph_test_tweak_x_scaling() argument
886 return scale_test_tweak( face, family, ppem, style, glyph_index, in sph_test_tweak_x_scaling()
892 if ( sph_test_tweak( face, family, ppem, style, glyph_index, \
897 if ( sph_test_tweak( face, family, ppem, style, glyph_index, \
[all …]
Dttsubpix.h77 FT_UInt ppem,
86 FT_UInt ppem,
Dttinterp.h115 const FT_UInt ppem; member
125 const FT_UInt ppem; member
Dttpload.h66 FT_UInt ppem,
Dttpload.c619 FT_UInt ppem, in tt_face_get_device_metrics() argument
629 if ( face->hdmx_record_sizes[nn] == ppem ) in tt_face_get_device_metrics()
Dttobjs.c929 tt_metrics->ppem = 0; in tt_size_run_fpgm()
1424 size->ttmetrics.ppem = size_metrics->x_ppem; in tt_size_reset()
1432 size->ttmetrics.ppem = size_metrics->y_ppem; in tt_size_reset()
Dttobjs.h256 FT_UShort ppem; /* maximum ppem size */ member
Dttdriver.c387 ttsize->point_size = FT_MulDiv( ttsize->ttmetrics.ppem, in tt_size_request()
Dttgload.c1026 FT_UInt ppem = loader->size->metrics->x_ppem; in TT_Process_Simple_Glyph() local
1048 ppem, in TT_Process_Simple_Glyph()
1061 if ( x_scale_factor != 1000 && ppem > 11 ) in TT_Process_Simple_Glyph()
1071 FT_MulFix( 1280 * ppem, in TT_Process_Simple_Glyph()
Dttinterp.c1493 return exc->tt_metrics.ppem; in Current_Ppem()
1500 return FT_MulFix( exc->tt_metrics.ppem, Current_Ratio( exc ) ); in Current_Ppem_Stretched()
5313 if ( ( args[0] & 0x100 ) != 0 && exc->tt_metrics.ppem <= A ) in Ins_SCANCTRL()
5322 if ( ( args[0] & 0x800 ) != 0 && exc->tt_metrics.ppem > A ) in Ins_SCANCTRL()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-color-sbix-table.hh101 if (unlikely (!ppem)) return hb_blob_get_empty (); /* To get Null() object out of the way. */ in get_glyph_blob()
134 if (strike_ppem) *strike_ppem = ppem; in get_glyph_blob()
149 out->ppem = ppem; in subset()
184 HBUINT16 ppem; /* The PPEM size for which this strike was designed. */ member
247 unsigned int best_ppem = table->get_strike (0).ppem; in choose_strike()
251 unsigned int ppem = (table->get_strike (i)).ppem; in choose_strike() local
252 if ((requested_ppem <= ppem && ppem < best_ppem) || in choose_strike()
253 (requested_ppem > best_ppem && ppem > best_ppem)) in choose_strike()
256 best_ppem = ppem; in choose_strike()
Dmain.cc97 for (unsigned ppem = 1; ppem < upem; ++ppem) in png_dump() local
99 hb_font_set_ppem (font, ppem, ppem); in png_dump()
Dhb-ot-color-cbdt-table.hh787 unsigned int ppem = hb_max (sizeTables[i].ppemX, sizeTables[i].ppemY); in choose_strike() local
788 if ((requested_ppem <= ppem && ppem < best_ppem) || in choose_strike()
789 (requested_ppem > best_ppem && ppem > best_ppem)) in choose_strike()
792 best_ppem = ppem; in choose_strike()
Dhb-ot-layout-common.hh3398 int get_delta (unsigned int ppem, int scale) const in get_delta()
3400 if (!ppem) return 0; in get_delta()
3402 int pixels = get_delta_pixels (ppem); in get_delta()
3406 return (int) (pixels * (int64_t) scale / ppem); in get_delta()
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafloader.c596 FT_Fixed ppem, em_ratio; in af_loader_compute_darkening() local
602 ppem = FT_MAX( af_intToFixed( 4 ), in af_loader_compute_darkening()
635 FT_MSB( (FT_UInt32)ppem ); in af_loader_compute_darkening()
643 scaled_stem = FT_MulFix( stem_width_per_1000, ppem ); in af_loader_compute_darkening()
647 darken_amount = FT_DivFix( af_intToFixed( y1 ), ppem ); in af_loader_compute_darkening()
654 FT_DivFix( af_intToFixed( x1 ), ppem ); in af_loader_compute_darkening()
661 FT_DivFix( af_intToFixed( y1 ), ppem ); in af_loader_compute_darkening()
671 FT_DivFix( af_intToFixed( x2 ), ppem ); in af_loader_compute_darkening()
678 FT_DivFix( af_intToFixed( y2 ), ppem ); in af_loader_compute_darkening()
689 FT_DivFix( af_intToFixed( x3 ), ppem ); in af_loader_compute_darkening()
[all …]
Daflatin.c1222 FT_UInt ppem; in af_latin_metrics_scale_dim() local
1226 ppem = metrics->root.scaler.face->size->metrics.x_ppem; in af_latin_metrics_scale_dim()
1233 ppem <= limit && in af_latin_metrics_scale_dim()
1234 ppem >= AF_PROP_INCREASE_X_HEIGHT_MIN ) in af_latin_metrics_scale_dim()
2839 FT_UInt ppem = metrics->root.scaler.face->size->metrics.x_ppem; in af_latin_compute_stem_width() local
2842 if ( ppem < 10 ) in af_latin_compute_stem_width()
2844 else if ( ppem < 30 ) in af_latin_compute_stem_width()
2845 bdelta = ( base_delta * (FT_Pos)( 30 - ppem ) ) / 20; in af_latin_compute_stem_width()
/third_party/skia/third_party/externals/freetype/src/base/
Dftgasp.c25 FT_UInt ppem ) in FT_Get_Gasp() argument
41 while ( ppem > range->maxPPEM ) in FT_Get_Gasp()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DHdmxEncoder.java47 int ppem = hdmx.pixelSize(i); in encode() local
50 ((64 * ppem * hmtx.advanceWidth(j) + unitsPerEm / 2) / unitsPerEm + 32) / 64; in encode()
/third_party/skia/third_party/externals/freetype/include/freetype/
Dftgasp.h133 FT_UInt ppem );
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttsbit.c411 FT_UShort upem, ppem, resolution; in tt_face_load_strike_metrics() local
429 ppem = FT_GET_USHORT(); in tt_face_load_strike_metrics()
439 metrics->x_ppem = ppem; in tt_face_load_strike_metrics()
440 metrics->y_ppem = ppem; in tt_face_load_strike_metrics()
442 ppem_ = (FT_Pos)ppem; in tt_face_load_strike_metrics()
/third_party/skia/third_party/externals/harfbuzz/test/shape/data/text-rendering-tests/fonts/
DSelawik-README.md47 \ppem | Shows the pixels per em passed to the TrueType rastersize. Note that depending on how the a…
/third_party/skia/third_party/externals/freetype/docs/oldlogs/
DChangeLog.251364 [truetype] Shortcut ppem calculations for square pixels.
1386 * src/truetype/ttinterp.c (Ins_DELTAP, Ins_DELTAC): Move ppem
3521 25ppem S (98)
3522 24ppem eight (52)
3523 25.5ppem p (85)
4297 20-40ppem, fixing the appearance of many overshoots.
4471 - loading Arial.ttf glyphs at 14 ppem [1]
4483 - loading Arial.ttf advances at 14 ppem [4]
4646 [cff] Add code to Adobe's engine to handle ppem > 2000.
4680 Cf. font `Fixedsys Excelsior' v3.01 (FSEX300.ttf), glyph A, 16ppem.
[all …]
DChangeLog.21347 * src/cff/cffobjs.c (cff_face_init): Set ppem value in top
1120 dependent on ppem by scaling down for ppem < 25, then do normal
1128 small ppem values.
1894 ppem values.
1896 code to compare ppem values.
1898 ppem values.
1900 code to compare ppem values.
3121 ppem values don't change. Suggested by Graham Asher.
3453 Use FT_UInt for ppem values.
3455 ppem values.
[all …]

12