Home
last modified time | relevance | path

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

12

/external/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 …]
Dpsfont.h79 CF2_Fixed ppem; /* transform-dependent */ member
/external/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,
Dttinterp.h116 const FT_UInt ppem; member
126 const FT_UInt ppem; member
Dttpload.h67 FT_UInt ppem,
Dttpload.c630 FT_UInt ppem, in tt_face_get_device_metrics() argument
640 if ( face->hdmx_record_sizes[nn] == ppem ) in tt_face_get_device_metrics()
Dttobjs.c876 tt_metrics->ppem = 0; in tt_size_run_fpgm()
1356 size->ttmetrics.ppem = size_metrics->x_ppem; in tt_size_reset()
1364 size->ttmetrics.ppem = size_metrics->y_ppem; in tt_size_reset()
Dttobjs.h257 FT_UShort ppem; /* maximum ppem size */ member
Dttdriver.c379 ttsize->point_size = FT_MulDiv( ttsize->ttmetrics.ppem, in tt_size_request()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_h_d_m_x.py45 ppem = byteord(data[0])
48 self.hdmx[ppem] = widths
61 for ppem, widths in items:
62 data = data + bytechr(ppem) + bytechr(max(widths.values()))
75 for ppem in ppems:
76 widths = self.hdmx[ppem]
88 for ppem in ppems:
89 widths = self.hdmx[ppem]
107 for ppem in ppems:
108 hdmx[ppem] = {}
DsbixStrike.py27 def __init__(self, rawdata=None, ppem=0, resolution=72): argument
29 self.ppem = ppem
101 xmlWriter.simpletag("ppem", value=self.ppem)
D_s_b_i_x.py62 if current_strike.ppem in self.strikes:
65 self.strikes[current_strike.ppem] = current_strike
109 self.strikes[current_strike.ppem] = current_strike
/external/harfbuzz_ng/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 = 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()
Dhb-ot-layout-common.hh2032 int get_delta (unsigned int ppem, int scale) const in get_delta()
2034 if (!ppem) return 0; in get_delta()
2036 int pixels = get_delta_pixels (ppem); in get_delta()
2040 return (int) (pixels * (int64_t) scale / ppem); in get_delta()
/external/freetype/src/autofit/
Dafloader.c600 FT_Fixed ppem, em_ratio; in af_loader_compute_darkening() local
606 ppem = FT_MAX( af_intToFixed( 4 ), in af_loader_compute_darkening()
639 FT_MSB( (FT_UInt32)ppem ); in af_loader_compute_darkening()
647 scaled_stem = FT_MulFix( stem_width_per_1000, ppem ); in af_loader_compute_darkening()
651 darken_amount = FT_DivFix( af_intToFixed( y1 ), ppem ); in af_loader_compute_darkening()
658 FT_DivFix( af_intToFixed( x1 ), ppem ); in af_loader_compute_darkening()
665 FT_DivFix( af_intToFixed( y1 ), ppem ); in af_loader_compute_darkening()
675 FT_DivFix( af_intToFixed( x2 ), ppem ); in af_loader_compute_darkening()
682 FT_DivFix( af_intToFixed( y2 ), ppem ); in af_loader_compute_darkening()
693 FT_DivFix( af_intToFixed( x3 ), ppem ); in af_loader_compute_darkening()
[all …]
Daflatin.c1193 FT_UInt ppem; in af_latin_metrics_scale_dim() local
1197 ppem = metrics->root.scaler.face->size->metrics.x_ppem; in af_latin_metrics_scale_dim()
1204 ppem <= limit && in af_latin_metrics_scale_dim()
1205 ppem >= AF_PROP_INCREASE_X_HEIGHT_MIN ) in af_latin_metrics_scale_dim()
2795 FT_UInt ppem = metrics->root.scaler.face->size->metrics.x_ppem; in af_latin_compute_stem_width() local
2798 if ( ppem < 10 ) in af_latin_compute_stem_width()
2800 else if ( ppem < 30 ) in af_latin_compute_stem_width()
2801 bdelta = ( base_delta * (FT_Pos)( 30 - ppem ) ) / 20; in af_latin_compute_stem_width()
Daflatin2.c578 FT_UInt ppem; in af_latin2_metrics_scale_dim() local
582 ppem = metrics->root.scaler.face->size->metrics.x_ppem; in af_latin2_metrics_scale_dim()
589 ppem <= limit && in af_latin2_metrics_scale_dim()
590 ppem >= AF_PROP_INCREASE_X_HEIGHT_MIN ) in af_latin2_metrics_scale_dim()
/external/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.h134 FT_UInt ppem );
/external/google-fonts/arvo/
DFONTLOG.txt23 sizes (regular cuts start now from 9ppem)
/external/freetype/src/sfnt/
Dttsbit.c408 FT_UShort upem, ppem, resolution; in tt_face_load_strike_metrics() local
426 ppem = FT_GET_USHORT(); in tt_face_load_strike_metrics()
436 metrics->x_ppem = ppem; in tt_face_load_strike_metrics()
437 metrics->y_ppem = ppem; in tt_face_load_strike_metrics()
439 ppem_ = (FT_Pos)ppem; in tt_face_load_strike_metrics()
/external/fonttools/Lib/fontTools/ufoLib/
Dvalidators.py128 ppem = rangeRecord["rangeMaxPPEM"]
130 ppemValidity = genericNonNegativeIntValidator(ppem)
136 ppemOrder.append(ppem)

12