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

12

/external/freetype/src/cff/
H A Dcf2font.c53 CF2_Fixed ppem,
107 /* In the code, below, dividing by ppem and */
157 FT_MSB( (FT_UInt32)ppem );
163 scaledStem = FT_MulFix( stemWidthPer1000, ppem );
168 *darkenAmount = FT_DivFix( cf2_intToFixed( y1 ), ppem );
175 FT_DivFix( cf2_intToFixed( x1 ), ppem );
182 FT_DivFix( cf2_intToFixed( y1 ), ppem );
192 FT_DivFix( cf2_intToFixed( x2 ), ppem );
199 FT_DivFix( cf2_intToFixed( y2 ), ppem );
210 FT_DivFix( cf2_intToFixed( x3 ), ppem );
52 cf2_computeDarkening( CF2_Fixed emRatio, CF2_Fixed ppem, CF2_Fixed stemWidth, CF2_Fixed* darkenAmount, CF2_Fixed boldenAmount, FT_Bool stemDarkened, FT_Int* darkenParams ) argument
254 CF2_Fixed ppem; local
[all...]
H A Dcf2font.h74 CF2_Fixed ppem; /* transform-dependent */ member in struct:CF2_FontRec_
/external/pdfium/third_party/freetype/src/cff/
H A Dcf2font.c53 CF2_Fixed ppem,
107 /* In the code, below, dividing by ppem and */
157 FT_MSB( (FT_UInt32)ppem );
163 scaledStem = FT_MulFix( stemWidthPer1000, ppem );
168 *darkenAmount = FT_DivFix( cf2_intToFixed( y1 ), ppem );
175 FT_DivFix( cf2_intToFixed( x1 ), ppem );
182 FT_DivFix( cf2_intToFixed( y1 ), ppem );
192 FT_DivFix( cf2_intToFixed( x2 ), ppem );
199 FT_DivFix( cf2_intToFixed( y2 ), ppem );
210 FT_DivFix( cf2_intToFixed( x3 ), ppem );
52 cf2_computeDarkening( CF2_Fixed emRatio, CF2_Fixed ppem, CF2_Fixed stemWidth, CF2_Fixed* darkenAmount, CF2_Fixed boldenAmount, FT_Bool stemDarkened, FT_Int* darkenParams ) argument
254 CF2_Fixed ppem; local
[all...]
H A Dcf2font.h69 CF2_Fixed ppem; /* transform-dependent */ member in struct:CF2_FontRec_
/external/freetype/src/base/
H A Dftgasp.c26 FT_UInt ppem )
42 while ( ppem > range->maxPPEM )
/external/pdfium/third_party/freetype/src/base/
H A Dftgasp.c26 FT_UInt ppem )
42 while ( ppem > range->maxPPEM )
/external/freetype/include/
H A Dftgasp.h65 * Grid-fitting and hinting should be performed at the specified ppem.
70 * Anti-aliased rendering should be performed at the specified ppem.
110 * ppem :: The vertical character pixel size.
121 FT_UInt ppem );
/external/icu/icu4c/source/layout/
H A DDeviceTables.cpp21 le_int16 DeviceTable::getAdjustment(le_uint16 ppem) const
27 if (ppem >= start && ppem <= SWAPW(endSize) && format < FORMAT_COUNT) {
28 le_uint16 sizeIndex = ppem - start;
H A DDeviceTables.h28 le_int16 getAdjustment(le_uint16 ppem) const;
/external/pdfium/third_party/freetype/include/
H A Dftgasp.h65 * Grid-fitting and hinting should be performed at the specified ppem.
70 * Anti-aliased rendering should be performed at the specified ppem.
110 * ppem :: The vertical character pixel size.
121 FT_UInt ppem );
/external/fonttools/Lib/fontTools/ttLib/tables/
H A 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]
61 writer.write(format % (("ppem",) + tuple(ppems)))
66 for ppem in ppems:
67 widths = self.hdmx[ppem]
82 assert topRow[0] == "ppem
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A 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]
61 writer.write(format % (("ppem",) + tuple(ppems)))
66 for ppem in ppems:
67 widths = self.hdmx[ppem]
82 assert topRow[0] == "ppem
[all...]
/external/freetype/src/truetype/
H A Dttsubpix.c820 FT_UInt ppem,
834 if ( rule[i].ppem == 0 ||
835 rule[i].ppem == ppem )
851 FT_UInt ppem,
865 if ( rule[i].ppem == 0 ||
866 rule[i].ppem == ppem )
882 FT_UInt ppem,
886 return scale_test_tweak( face, family, ppem, styl
849 scale_test_tweak( TT_Face face, const FT_String* family, FT_UInt ppem, const FT_String* style, FT_UInt glyph_index, const SPH_ScaleRule* rule, FT_UInt num_rules ) argument
908 FT_UInt ppem = loader->size->metrics.x_ppem; local
[all...]
H A Dttsubpix.h78 FT_UInt ppem,
87 FT_UInt ppem,
H A Dttpload.h67 FT_UInt ppem,
H A Dttinterp.h70 /* getting current ppem. Take care of non-square pixels if necessary */
116 const FT_UInt ppem; member in struct:SPH_TweakRule_
126 const FT_UInt ppem; member in struct:SPH_ScaleRule_
244 TT_Cur_Ppem_Func func_cur_ppem; /* get current proj. ppem value */
H A Dttobjs.h225 /* - All CVT values are scaled to the maximum ppem size. */
233 /* We choose ppem = x_ppem = 14 as the CVT scaling size. All cvt */
237 /* y_ratio = y_ppem/ppem (< 1.0) */
256 /* The current ppem is simply */
257 /* ratio * ppem */
272 FT_UShort ppem; /* maximum ppem size */ member in struct:TT_Size_Metrics_
H A Dttpload.c579 FT_UInt ppem,
589 if ( face->hdmx_record_sizes[nn] == ppem )
578 tt_face_get_device_metrics( TT_Face face, FT_UInt ppem, FT_UInt gindex ) argument
/external/pdfium/third_party/freetype/src/truetype/
H A Dttsubpix.c820 FT_UInt ppem,
834 if ( rule[i].ppem == 0 ||
835 rule[i].ppem == ppem )
851 FT_UInt ppem,
865 if ( rule[i].ppem == 0 ||
866 rule[i].ppem == ppem )
882 FT_UInt ppem,
886 return scale_test_tweak( face, family, ppem, styl
849 scale_test_tweak( TT_Face face, const FT_String* family, FT_UInt ppem, const FT_String* style, FT_UInt glyph_index, const SPH_ScaleRule* rule, FT_UInt num_rules ) argument
908 int ppem = loader->size->metrics.x_ppem; local
[all...]
H A Dttsubpix.h78 FT_UInt ppem,
87 FT_UInt ppem,
H A Dttpload.h67 FT_UInt ppem,
H A Dttinterp.h84 /* getting current ppem. Take care of non-square pixels if necessary */
128 const FT_UInt ppem; member in struct:SPH_TweakRule_
138 const FT_UInt ppem; member in struct:SPH_ScaleRule_
256 TT_Cur_Ppem_Func func_cur_ppem; /* get current proj. ppem value */
H A Dttobjs.h225 /* - All CVT values are scaled to the maximum ppem size. */
233 /* We choose ppem = x_ppem = 14 as the CVT scaling size. All cvt */
237 /* y_ratio = y_ppem/ppem (< 1.0) */
256 /* The current ppem is simply */
257 /* ratio * ppem */
272 FT_UShort ppem; /* maximum ppem size */ member in struct:TT_Size_Metrics_
H A Dttpload.c579 FT_UInt ppem,
589 if ( face->hdmx_record_sizes[nn] == ppem )
578 tt_face_get_device_metrics( TT_Face face, FT_UInt ppem, FT_UInt gindex ) argument
/external/pdfium/third_party/freetype/src/sfnt/
H A Dttsbit.c273 FT_UShort ppem, resolution; local
295 ppem = FT_GET_USHORT();
305 metrics->x_ppem = ppem;
306 metrics->y_ppem = ppem;
308 metrics->ascender = ppem * hori->Ascender * 64 / upem;
309 metrics->descender = ppem * hori->Descender * 64 / upem;
310 metrics->height = ppem * ( hori->Ascender -
313 metrics->max_advance = ppem * hori->advance_Width_Max * 64 / upem;

Completed in 391 milliseconds

12