Home
last modified time | relevance | path

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

123

/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
Dcf2font.c50 CF2_Fixed ppem, in cf2_computeDarkening() argument
88 scaledStem = FT_MulFix( stemWidthPer1000, ppem ); in cf2_computeDarkening()
90 if ( ppem > CF2_FIXED_ONE && in cf2_computeDarkening()
111 *darkenAmount = FT_DivFix( cf2_intToFixed( 400 ), ppem ); in cf2_computeDarkening()
114 *darkenAmount = FT_DivFix( cf2_intToFixed( 525 ), ppem ) - in cf2_computeDarkening()
119 *darkenAmount = FT_DivFix( cf2_intToFixed( 275 ), ppem ); in cf2_computeDarkening()
122 *darkenAmount = FT_DivFix( cf2_intToFixed( 963 ), ppem ) - in cf2_computeDarkening()
152 CF2_Fixed ppem; in cf2_font_setup() local
166 ppem = cf2_getPpemY( decoder ); in cf2_font_setup()
167 if ( font->ppem != ppem ) in cf2_font_setup()
[all …]
/external/chromium_org/third_party/freetype/src/cff/
Dcf2font.c50 CF2_Fixed ppem, in cf2_computeDarkening() argument
88 scaledStem = FT_MulFix( stemWidthPer1000, ppem ); in cf2_computeDarkening()
90 if ( ppem > CF2_FIXED_ONE && in cf2_computeDarkening()
111 *darkenAmount = FT_DivFix( cf2_intToFixed( 400 ), ppem ); in cf2_computeDarkening()
114 *darkenAmount = FT_DivFix( cf2_intToFixed( 525 ), ppem ) - in cf2_computeDarkening()
119 *darkenAmount = FT_DivFix( cf2_intToFixed( 275 ), ppem ); in cf2_computeDarkening()
122 *darkenAmount = FT_DivFix( cf2_intToFixed( 963 ), ppem ) - in cf2_computeDarkening()
152 CF2_Fixed ppem; in cf2_font_setup() local
165 ppem = cf2_getPpemY( decoder ); in cf2_font_setup()
166 if ( font->ppem != ppem ) in cf2_font_setup()
[all …]
/external/freetype/src/cff/
Dcf2font.c50 CF2_Fixed ppem, in cf2_computeDarkening() argument
147 scaledStem = FT_MulFix( stemWidthPer1000, ppem ); in cf2_computeDarkening()
149 if ( ppem > CF2_FIXED_ONE && in cf2_computeDarkening()
157 *darkenAmount = FT_DivFix( cf2_intToFixed( y1 ), ppem ); in cf2_computeDarkening()
164 FT_DivFix( cf2_intToFixed( x1 ), ppem ); in cf2_computeDarkening()
171 FT_DivFix( cf2_intToFixed( y1 ), ppem ); in cf2_computeDarkening()
181 FT_DivFix( cf2_intToFixed( x2 ), ppem ); in cf2_computeDarkening()
188 FT_DivFix( cf2_intToFixed( y2 ), ppem ); in cf2_computeDarkening()
199 FT_DivFix( cf2_intToFixed( x3 ), ppem ); in cf2_computeDarkening()
206 FT_DivFix( cf2_intToFixed( y3 ), ppem ); in cf2_computeDarkening()
[all …]
/external/chromium_org/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.h124 const FT_UInt ppem; member
134 const FT_UInt ppem; 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.h124 const FT_UInt ppem; member
134 const FT_UInt ppem; member
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/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.h124 const FT_UInt ppem; member
134 const FT_UInt ppem; 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/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/chromium_org/third_party/ots/src/
Dhead.cc46 if (!table.ReadU16(&file->head->ppem)) { in ots_head_parse()
51 if (file->head->ppem < 16 || in ots_head_parse()
52 file->head->ppem > 16384) { in ots_head_parse()
60 if ((file->head->ppem - 1) & file->head->ppem) { in ots_head_parse()
127 !out->WriteU16(file->head->ppem) || in ots_head_serialise()
Dhead.h15 uint16_t ppem; member
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/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/chromium_org/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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
Dftgasp.h121 FT_UInt ppem );
/external/pdfium/core/include/thirdparties/freetype/freetype/
Dftgasp.h121 FT_UInt ppem );
/external/chromium_org/third_party/freetype/include/freetype/
Dftgasp.h121 FT_UInt ppem );
/external/freetype/include/
Dftgasp.h121 FT_UInt ppem );
/external/freetype/src/sfnt/
Dttsbit.c260 FT_UShort ppem, resolution; in tt_face_load_strike_metrics() local
282 ppem = FT_GET_USHORT(); in tt_face_load_strike_metrics()
292 metrics->x_ppem = ppem; in tt_face_load_strike_metrics()
293 metrics->y_ppem = ppem; in tt_face_load_strike_metrics()
295 metrics->ascender = ppem * hori->Ascender * 64 / upem; in tt_face_load_strike_metrics()
296 metrics->descender = ppem * hori->Descender * 64 / upem; in tt_face_load_strike_metrics()
297 metrics->height = ppem * ( hori->Ascender - in tt_face_load_strike_metrics()
300 metrics->max_advance = ppem * hori->advance_Width_Max * 64 / upem; in tt_face_load_strike_metrics()

123