Searched defs:ppem (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/third_party/ots/src/
H A Dhead.h15 uint16_t ppem; member in struct:ots::OpenTypeHEAD
/external/chromium_org/third_party/freetype/src/cff/
H A Dcf2font.c50 CF2_Fixed ppem,
88 scaledStem = FT_MulFix( stemWidthPer1000, ppem );
90 if ( ppem > CF2_FIXED_ONE &&
111 *darkenAmount = FT_DivFix( cf2_intToFixed( 400 ), ppem );
114 *darkenAmount = FT_DivFix( cf2_intToFixed( 525 ), ppem ) -
119 *darkenAmount = FT_DivFix( cf2_intToFixed( 275 ), ppem );
122 *darkenAmount = FT_DivFix( cf2_intToFixed( 963 ), ppem ) -
152 CF2_Fixed ppem; local
162 /* if ppem has changed, we need to recompute some cached data */
163 /* note: because of CID font matrix concatenation, ppem an
49 cf2_computeDarkening( CF2_Fixed emRatio, CF2_Fixed ppem, CF2_Fixed stemWidth, CF2_Fixed* darkenAmount, CF2_Fixed boldenAmount, FT_Bool stemDarkened ) argument
[all...]
H A Dcf2font.h69 CF2_Fixed ppem; /* transform-dependent */ member in struct:CF2_FontRec_
/external/freetype/src/cff/
H A Dcf2font.c50 CF2_Fixed ppem,
88 scaledStem = FT_MulFix( stemWidthPer1000, ppem );
90 if ( ppem > CF2_FIXED_ONE &&
111 *darkenAmount = FT_DivFix( cf2_intToFixed( 400 ), ppem );
114 *darkenAmount = FT_DivFix( cf2_intToFixed( 525 ), ppem ) -
119 *darkenAmount = FT_DivFix( cf2_intToFixed( 275 ), ppem );
122 *darkenAmount = FT_DivFix( cf2_intToFixed( 963 ), ppem ) -
152 CF2_Fixed ppem; local
162 /* if ppem has changed, we need to recompute some cached data */
163 /* note: because of CID font matrix concatenation, ppem an
49 cf2_computeDarkening( CF2_Fixed emRatio, CF2_Fixed ppem, CF2_Fixed stemWidth, CF2_Fixed* darkenAmount, CF2_Fixed boldenAmount, FT_Bool stemDarkened ) argument
[all...]
H A Dcf2font.h69 CF2_Fixed ppem; /* transform-dependent */ member in struct:CF2_FontRec_
/external/chromium_org/third_party/freetype/src/truetype/
H A Dttpload.c577 FT_UInt ppem,
587 if ( face->hdmx_record_sizes[nn] == ppem )
576 tt_face_get_device_metrics( TT_Face face, FT_UInt ppem, FT_UInt gindex ) argument
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 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 Dttgload.c92 /* apparently does: It uses the ppem value as the advance height, and */
927 FT_Int ppem = loader->size->metrics.x_ppem; local
949 ppem,
962 if ( x_scale_factor != 1000 && ppem > 11 )
964 FT_MulFix( 1280 * ppem,
H A Dttinterp.h124 const FT_UInt ppem; member in struct:SPH_TweakRule_
134 const FT_UInt ppem; member in struct:SPH_ScaleRule_
233 FT_Int cur_ppem; /* ppem along the current proj vector */
/external/freetype/src/truetype/
H A Dttpload.c577 FT_UInt ppem,
587 if ( face->hdmx_record_sizes[nn] == ppem )
576 tt_face_get_device_metrics( TT_Face face, FT_UInt ppem, FT_UInt gindex ) argument
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 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 Dttgload.c92 /* apparently does: It uses the ppem value as the advance height, and */
927 FT_Int ppem = loader->size->metrics.x_ppem; local
949 ppem,
962 if ( x_scale_factor != 1000 && ppem > 11 )
964 FT_MulFix( 1280 * ppem,
H A Dttinterp.h124 const FT_UInt ppem; member in struct:SPH_TweakRule_
134 const FT_UInt ppem; member in struct:SPH_ScaleRule_
233 FT_Int cur_ppem; /* ppem along the current proj vector */
/external/chromium_org/third_party/freetype/src/autofit/
H A Daflatin.c625 FT_UInt ppem; local
629 ppem = metrics->root.scaler.face->size->metrics.x_ppem;
636 ppem <= limit &&
637 ppem >= AF_PROP_INCREASE_X_HEIGHT_MIN )
H A Daflatin2.c569 FT_UInt ppem; local
573 ppem = metrics->root.scaler.face->size->metrics.x_ppem;
580 ppem <= limit &&
581 ppem >= AF_PROP_INCREASE_X_HEIGHT_MIN )
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-layout-common-private.hh1107 inline int get_delta (unsigned int ppem, int scale) const argument
1109 if (!ppem) return 0;
1111 int pixels = get_delta_pixels (ppem);
1115 return (int) (pixels * (int64_t) scale / ppem);
1155 USHORT startSize; /* Smallest size to correct--in ppem */
1156 USHORT endSize; /* Largest size to correct--in ppem */
/external/freetype/src/autofit/
H A Daflatin.c625 FT_UInt ppem; local
629 ppem = metrics->root.scaler.face->size->metrics.x_ppem;
636 ppem <= limit &&
637 ppem >= AF_PROP_INCREASE_X_HEIGHT_MIN )
H A Daflatin2.c569 FT_UInt ppem; local
573 ppem = metrics->root.scaler.face->size->metrics.x_ppem;
580 ppem <= limit &&
581 ppem >= AF_PROP_INCREASE_X_HEIGHT_MIN )
/external/harfbuzz_ng/src/
H A Dhb-ot-layout-common-private.hh1078 inline int get_delta (unsigned int ppem, int scale) const argument
1080 if (!ppem) return 0;
1082 int pixels = get_delta_pixels (ppem);
1086 return pixels * (int64_t) scale / ppem;
1126 USHORT startSize; /* Smallest size to correct--in ppem */
1127 USHORT endSize; /* Largest size to correct--in ppem */

Completed in 336 milliseconds