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


			
			
				david-pic-changes
			
			
		
David Turner 18 years ago
parent e2e18e035c
commit dbf3b43aea
  1. 6
      ChangeLog
  2. 6
      src/autofit/afloader.c

@ -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.

@ -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;
}

Loading…
Cancel
Save