Home
last modified time | relevance | path

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

12

/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.h74 CF2_Fixed ppem; /* transform-dependent */ member
/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.h69 CF2_Fixed ppem; /* transform-dependent */ 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.h128 const FT_UInt ppem; member
138 const FT_UInt ppem; member
Dttpload.h67 FT_UInt ppem,
Dttpload.c579 FT_UInt ppem, in tt_face_get_device_metrics() argument
589 if ( face->hdmx_record_sizes[nn] == ppem ) in tt_face_get_device_metrics()
/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.c593 FT_UInt ppem, in tt_face_get_device_metrics() argument
603 if ( face->hdmx_record_sizes[nn] == ppem ) in tt_face_get_device_metrics()
/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/icu/icu4c/source/layout/
DDeviceTables.cpp21 le_int16 DeviceTable::getAdjustment(le_uint16 ppem) const in getAdjustment()
27 if (ppem >= start && ppem <= SWAPW(endSize) && format < FORMAT_COUNT) { in getAdjustment()
28 le_uint16 sizeIndex = ppem - start; in getAdjustment()
DDeviceTables.h28 le_int16 getAdjustment(le_uint16 ppem) const;
/external/freetype/src/autofit/
Dafloader.c561 FT_Fixed ppem, em_ratio; in af_loader_compute_darkening() local
567 ppem = FT_MAX( af_intToFixed( 4 ), in af_loader_compute_darkening()
600 FT_MSB( (FT_UInt32)ppem ); in af_loader_compute_darkening()
608 scaled_stem = FT_MulFix( stem_width_per_1000, ppem ); in af_loader_compute_darkening()
612 darken_amount = FT_DivFix( af_intToFixed( y1 ), ppem ); in af_loader_compute_darkening()
619 FT_DivFix( af_intToFixed( x1 ), ppem ); in af_loader_compute_darkening()
626 FT_DivFix( af_intToFixed( y1 ), ppem ); in af_loader_compute_darkening()
636 FT_DivFix( af_intToFixed( x2 ), ppem ); in af_loader_compute_darkening()
643 FT_DivFix( af_intToFixed( y2 ), ppem ); in af_loader_compute_darkening()
654 FT_DivFix( af_intToFixed( x3 ), ppem ); in af_loader_compute_darkening()
[all …]
/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/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/include/
Dftgasp.h121 FT_UInt ppem );
/external/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
295 ppem = FT_GET_USHORT(); in tt_face_load_strike_metrics()
305 metrics->x_ppem = ppem; in tt_face_load_strike_metrics()
306 metrics->y_ppem = ppem; in tt_face_load_strike_metrics()
308 metrics->ascender = ppem * hori->Ascender * 64 / upem; in tt_face_load_strike_metrics()
309 metrics->descender = ppem * hori->Descender * 64 / upem; in tt_face_load_strike_metrics()
310 metrics->height = ppem * ( hori->Ascender - in tt_face_load_strike_metrics()
313 metrics->max_advance = ppem * hori->advance_Width_Max * 64 / upem; in tt_face_load_strike_metrics()
/external/harfbuzz_ng/src/
Dhb-ot-layout-common-private.hh1109 inline int get_delta (unsigned int ppem, int scale) const in get_delta()
1111 if (!ppem) return 0; in get_delta()
1113 int pixels = get_delta_pixels (ppem); in get_delta()
1117 return (int) (pixels * (int64_t) scale / ppem); in get_delta()
/external/freetype/src/sfnt/
Dttsbit.c333 FT_UShort upem, ppem, resolution; in tt_face_load_strike_metrics() local
356 ppem = FT_GET_USHORT(); in tt_face_load_strike_metrics()
366 metrics->x_ppem = ppem; in tt_face_load_strike_metrics()
367 metrics->y_ppem = ppem; in tt_face_load_strike_metrics()
369 ppem_ = (FT_Pos)ppem; in tt_face_load_strike_metrics()

12