Home
last modified time | relevance | path

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

1234

/third_party/flutter/skia/third_party/externals/freetype/src/psaux/
Dpsfont.c53 CF2_Fixed ppem, in cf2_computeDarkening() argument
157 FT_MSB( (FT_UInt32)ppem ); in cf2_computeDarkening()
163 scaledStem = FT_MulFix( stemWidthPer1000, ppem ); in cf2_computeDarkening()
168 *darkenAmount = FT_DivFix( cf2_intToFixed( y1 ), ppem ); in cf2_computeDarkening()
175 FT_DivFix( cf2_intToFixed( x1 ), ppem ); in cf2_computeDarkening()
182 FT_DivFix( cf2_intToFixed( y1 ), ppem ); in cf2_computeDarkening()
192 FT_DivFix( cf2_intToFixed( x2 ), ppem ); in cf2_computeDarkening()
199 FT_DivFix( cf2_intToFixed( y2 ), ppem ); in cf2_computeDarkening()
210 FT_DivFix( cf2_intToFixed( x3 ), ppem ); in cf2_computeDarkening()
217 FT_DivFix( cf2_intToFixed( y3 ), ppem ); in cf2_computeDarkening()
[all …]
/third_party/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 …]
/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 …]
/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,
/third_party/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,
Dttpload.c636 FT_UInt ppem, in tt_face_get_device_metrics() argument
649 if ( face->hdmx_records[mid][0] > ppem ) in tt_face_get_device_metrics()
651 else if ( face->hdmx_records[mid][0] < ppem ) in tt_face_get_device_metrics()
/third_party/flutter/skia/third_party/externals/freetype/src/truetype/
Dttsubpix.c821 FT_UInt ppem, in sph_test_tweak() argument
835 if ( rule[i].ppem == 0 || in sph_test_tweak()
836 rule[i].ppem == ppem ) in sph_test_tweak()
852 FT_UInt ppem, in scale_test_tweak() argument
866 if ( rule[i].ppem == 0 || in scale_test_tweak()
867 rule[i].ppem == ppem ) in scale_test_tweak()
883 FT_UInt ppem, in sph_test_tweak_x_scaling() argument
887 return scale_test_tweak( face, family, ppem, style, glyph_index, in sph_test_tweak_x_scaling()
893 if ( sph_test_tweak( face, family, ppem, style, glyph_index, \
898 if ( sph_test_tweak( face, family, ppem, style, glyph_index, \
[all …]
Dttsubpix.h78 FT_UInt ppem,
87 FT_UInt ppem,
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-color-sbix-table.hh80 if (unlikely (!ppem)) return hb_blob_get_empty (); /* To get Null() object out of the way. */ in get_glyph_blob()
113 if (strike_ppem) *strike_ppem = ppem; in get_glyph_blob()
120 HBUINT16 ppem; /* The PPEM size for which this strike was designed. */ member
183 unsigned int best_ppem = table->get_strike (0).ppem; in choose_strike()
187 unsigned int ppem = (table->get_strike (i)).ppem; in choose_strike() local
188 if ((requested_ppem <= ppem && ppem < best_ppem) || in choose_strike()
189 (requested_ppem > best_ppem && ppem > best_ppem)) in choose_strike()
192 best_ppem = ppem; in choose_strike()
Dtest-ot-color.cc93 for (unsigned int ppem = 1; ppem < upem; ppem++) in png_dump() local
95 hb_font_set_ppem (font, ppem, ppem); in png_dump()
Dhb-ot-color-cbdt-table.hh360 unsigned int ppem = hb_max (sizeTables[i].ppemX, sizeTables[i].ppemY); in choose_strike() local
361 if ((requested_ppem <= ppem && ppem < best_ppem) || in choose_strike()
362 (requested_ppem > best_ppem && ppem > best_ppem)) in choose_strike()
365 best_ppem = ppem; in choose_strike()
/third_party/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.cc96 for (unsigned ppem = 1; ppem < upem; ++ppem) in png_dump() local
98 hb_font_set_ppem (font, ppem, ppem); in png_dump()
/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()
/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 …]
/third_party/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 …]
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/
Dafloader.c605 FT_Fixed ppem, em_ratio; in af_loader_compute_darkening() local
611 ppem = FT_MAX( af_intToFixed( 4 ), in af_loader_compute_darkening()
644 FT_MSB( (FT_UInt32)ppem ); in af_loader_compute_darkening()
652 scaled_stem = FT_MulFix( stem_width_per_1000, ppem ); in af_loader_compute_darkening()
656 darken_amount = FT_DivFix( af_intToFixed( y1 ), ppem ); in af_loader_compute_darkening()
663 FT_DivFix( af_intToFixed( x1 ), ppem ); in af_loader_compute_darkening()
670 FT_DivFix( af_intToFixed( y1 ), ppem ); in af_loader_compute_darkening()
680 FT_DivFix( af_intToFixed( x2 ), ppem ); in af_loader_compute_darkening()
687 FT_DivFix( af_intToFixed( y2 ), ppem ); in af_loader_compute_darkening()
698 FT_DivFix( af_intToFixed( x3 ), ppem ); in af_loader_compute_darkening()
[all …]
/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/freetype/src/base/
Dftgasp.c25 FT_UInt ppem ) in FT_Get_Gasp() argument
41 while ( ppem > range->maxPPEM ) in FT_Get_Gasp()
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftgasp.c26 FT_UInt ppem ) in FT_Get_Gasp() argument
42 while ( ppem > range->maxPPEM ) in FT_Get_Gasp()
/third_party/flutter/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/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()

1234