Home
last modified time | relevance | path

Searched refs:emRatio (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
Dcf2font.c49 cf2_computeDarkening( CF2_Fixed emRatio, in cf2_computeDarkening() argument
67 if ( emRatio < cf2_floatToFixed( .01 ) ) in cf2_computeDarkening()
78 stemWidthPer1000 = FT_MulFix( stemWidth + boldenAmount, emRatio ); in cf2_computeDarkening()
80 if ( emRatio > CF2_FIXED_ONE && in cf2_computeDarkening()
128 *darkenAmount = FT_DivFix( *darkenAmount, 2 * emRatio ); in cf2_computeDarkening()
228 CF2_Fixed emRatio; in cf2_font_setup() local
242 emRatio = cf2_fixedFracMul( cf2_intToFixed( 1000 ), fontMatrix->a ); in cf2_font_setup()
248 emRatio = cf2_intToFixed( 1000 ) / unitsPerEm; in cf2_font_setup()
252 font->stdVW = FT_DivFix( cf2_intToFixed( 75 ), emRatio ); in cf2_font_setup()
266 cf2_computeDarkening( emRatio, in cf2_font_setup()
[all …]
/external/chromium_org/third_party/freetype/src/cff/
Dcf2font.c49 cf2_computeDarkening( CF2_Fixed emRatio, in cf2_computeDarkening() argument
67 if ( emRatio < cf2_floatToFixed( .01 ) ) in cf2_computeDarkening()
78 stemWidthPer1000 = FT_MulFix( stemWidth + boldenAmount, emRatio ); in cf2_computeDarkening()
80 if ( emRatio > CF2_FIXED_ONE && in cf2_computeDarkening()
128 *darkenAmount = FT_DivFix( *darkenAmount, 2 * emRatio ); in cf2_computeDarkening()
226 CF2_Fixed emRatio; in cf2_font_setup() local
240 emRatio = cf2_fixedFracMul( cf2_intToFixed( 1000 ), fontMatrix->a ); in cf2_font_setup()
246 emRatio = cf2_intToFixed( 1000 ) / unitsPerEm; in cf2_font_setup()
250 font->stdVW = FT_DivFix( cf2_intToFixed( 75 ), emRatio ); in cf2_font_setup()
264 cf2_computeDarkening( emRatio, in cf2_font_setup()
[all …]
/external/freetype/src/cff/
Dcf2font.c49 cf2_computeDarkening( CF2_Fixed emRatio, in cf2_computeDarkening() argument
116 if ( emRatio < cf2_floatToFixed( .01 ) ) in cf2_computeDarkening()
137 stemWidthPer1000 = FT_MulFix( stemWidth + boldenAmount, emRatio ); in cf2_computeDarkening()
139 if ( emRatio > CF2_FIXED_ONE && in cf2_computeDarkening()
218 *darkenAmount = FT_DivFix( *darkenAmount, 2 * emRatio ); in cf2_computeDarkening()
323 CF2_Fixed emRatio; in cf2_font_setup() local
337 emRatio = cf2_fixedFracMul( cf2_intToFixed( 1000 ), fontMatrix->a ); in cf2_font_setup()
343 emRatio = cf2_intToFixed( 1000 ) / unitsPerEm; in cf2_font_setup()
347 font->stdVW = FT_DivFix( cf2_intToFixed( 75 ), emRatio ); in cf2_font_setup()
361 cf2_computeDarkening( emRatio, in cf2_font_setup()
[all …]