* src/autofit/afloader.c (af_loader_load_g): small adjustment

to the spacing of auto-fitter glyphs. This only impacts rare
        cases (e.g. Arial Bold at rather small character sizes)
This commit is contained in:
David Turner 2006-12-07 21:18:09 +00:00
parent e2e18e035c
commit dbf3b43aea
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-12-07 David Turner <david@freetype.org>
* src/autofit/afloader.c (af_loader_load_g): small adjustment
to the spacing of auto-fitter glyphs. This only impacts rare
cases (e.g. Arial Bold at rather small character sizes)
2006-12-03 Werner Lemberg <wl@gnu.org>
* src/sfnt/rules.mk (SFNT_DRV_SRC): Add ttsbit0.c.

View File

@ -206,6 +206,12 @@
loader->pp1.x = FT_PIX_ROUND( pp1x_uh );
loader->pp2.x = FT_PIX_ROUND( pp2x_uh );
if ( loader->pp1.x >= new_lsb )
loader->pp1.x -= 64;
if ( loader->pp2.x <= pp2x_uh )
loader->pp2.x += 64;
slot->lsb_delta = loader->pp1.x - pp1x_uh;
slot->rsb_delta = loader->pp2.x - pp2x_uh;
}