Home
last modified time | relevance | path

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

12

/external/pdfium/third_party/freetype/src/cff/
Dcf2font.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 …]
Dcf2font.h74 CF2_Fixed ppem; /* transform-dependent */ member
/external/freetype/src/cff/
Dcf2font.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 …]
Dcf2font.h77 CF2_Fixed ppem; /* transform-dependent */ member
/external/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.h78 FT_UInt ppem,
87 FT_UInt ppem,
Dttinterp.h116 const FT_UInt ppem; member
126 const FT_UInt ppem; member
Dttpload.h67 FT_UInt ppem,
Dttpload.c620 FT_UInt ppem, in tt_face_get_device_metrics() argument
630 if ( face->hdmx_record_sizes[nn] == ppem ) in tt_face_get_device_metrics()
Dttobjs.h257 FT_UShort ppem; /* maximum ppem size */ member
/external/pdfium/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.h78 FT_UInt ppem,
87 FT_UInt ppem,
Dttinterp.h116 const FT_UInt ppem; member
126 const FT_UInt ppem; member
Dttpload.h67 FT_UInt ppem,
Dttpload.c587 FT_UInt ppem, in tt_face_get_device_metrics() argument
597 if ( face->hdmx_record_sizes[nn] == ppem ) in tt_face_get_device_metrics()
Dttobjs.h261 FT_UShort ppem; /* maximum ppem size */ member
/external/fonttools/Lib/fontTools/ttLib/tables/
D_h_d_m_x.py21 ppem = byteord(data[0])
26 self.hdmx[ppem] = widths
39 for ppem, widths in items:
40 data = data + bytechr(ppem) + bytechr(max(widths.values()))
53 for ppem in ppems:
54 widths = self.hdmx[ppem]
66 for ppem in ppems:
67 widths = self.hdmx[ppem]
85 for ppem in ppems:
86 hdmx[ppem] = {}
/external/freetype/src/autofit/
Dafloader.c556 FT_Fixed ppem, em_ratio; in af_loader_compute_darkening() local
562 ppem = FT_MAX( af_intToFixed( 4 ), in af_loader_compute_darkening()
595 FT_MSB( (FT_UInt32)ppem ); in af_loader_compute_darkening()
603 scaled_stem = FT_MulFix( stem_width_per_1000, ppem ); in af_loader_compute_darkening()
607 darken_amount = FT_DivFix( af_intToFixed( y1 ), ppem ); in af_loader_compute_darkening()
614 FT_DivFix( af_intToFixed( x1 ), ppem ); in af_loader_compute_darkening()
621 FT_DivFix( af_intToFixed( y1 ), ppem ); in af_loader_compute_darkening()
631 FT_DivFix( af_intToFixed( x2 ), ppem ); in af_loader_compute_darkening()
638 FT_DivFix( af_intToFixed( y2 ), ppem ); in af_loader_compute_darkening()
649 FT_DivFix( af_intToFixed( x3 ), ppem ); in af_loader_compute_darkening()
[all …]
Daflatin.c1169 FT_UInt ppem; in af_latin_metrics_scale_dim() local
1173 ppem = metrics->root.scaler.face->size->metrics.x_ppem; in af_latin_metrics_scale_dim()
1180 ppem <= limit && in af_latin_metrics_scale_dim()
1181 ppem >= AF_PROP_INCREASE_X_HEIGHT_MIN ) in af_latin_metrics_scale_dim()
2771 FT_UInt ppem = metrics->root.scaler.face->size->metrics.x_ppem; in af_latin_compute_stem_width() local
2774 if ( ppem < 10 ) in af_latin_compute_stem_width()
2776 else if ( ppem < 30 ) in af_latin_compute_stem_width()
2777 bdelta = ( base_delta * (FT_Pos)( 30 - ppem ) ) / 20; in af_latin_compute_stem_width()
/external/freetype/src/base/
Dftgasp.c26 FT_UInt ppem ) in FT_Get_Gasp() argument
42 while ( ppem > range->maxPPEM ) in FT_Get_Gasp()
/external/pdfium/third_party/freetype/src/base/
Dftgasp.c26 FT_UInt ppem ) in FT_Get_Gasp() argument
42 while ( ppem > range->maxPPEM ) in FT_Get_Gasp()
/external/freetype/include/freetype/
Dftgasp.h129 FT_UInt ppem );
/external/pdfium/third_party/freetype/include/freetype/
Dftgasp.h121 FT_UInt ppem );
/external/pdfium/third_party/freetype/src/sfnt/
Dttsbit.c273 FT_UShort ppem, resolution; in tt_face_load_strike_metrics() local
296 ppem = FT_GET_USHORT(); in tt_face_load_strike_metrics()
306 metrics->x_ppem = ppem; in tt_face_load_strike_metrics()
307 metrics->y_ppem = ppem; in tt_face_load_strike_metrics()
309 ppem_ = (FT_Pos)ppem; in tt_face_load_strike_metrics()
/external/freetype/src/sfnt/
Dttsbit.c404 FT_UShort upem, ppem, resolution; in tt_face_load_strike_metrics() local
422 ppem = FT_GET_USHORT(); in tt_face_load_strike_metrics()
432 metrics->x_ppem = ppem; in tt_face_load_strike_metrics()
433 metrics->y_ppem = ppem; in tt_face_load_strike_metrics()
435 ppem_ = (FT_Pos)ppem; in tt_face_load_strike_metrics()

12