forked from minhngoc25a/freetype2
* src/autohint/ahhint.c: disabled the advance width "correction" which
seemed to provide more trouble than benefits..
This commit is contained in:
parent
7946aa6f7b
commit
21493df9bd
|
@ -5,6 +5,8 @@
|
||||||
problem that occured due to the latest auto-hinter changes
|
problem that occured due to the latest auto-hinter changes
|
||||||
|
|
||||||
|
|
||||||
|
* src/autohint/ahhint.c: disabled the advance width "correction" which
|
||||||
|
seemed to provide more trouble than benefits..
|
||||||
|
|
||||||
2003-02-13 Graham Asher <graham.asher@btinternet.com>
|
2003-02-13 Graham Asher <graham.asher@btinternet.com>
|
||||||
|
|
||||||
|
|
|
@ -1428,9 +1428,11 @@
|
||||||
hinter->pp1.x = ( ( new_lsb - old_lsb ) + 32 ) & -64;
|
hinter->pp1.x = ( ( new_lsb - old_lsb ) + 32 ) & -64;
|
||||||
hinter->pp2.x = ( ( edge2->pos + old_rsb ) + 32 ) & -64;
|
hinter->pp2.x = ( ( edge2->pos + old_rsb ) + 32 ) & -64;
|
||||||
|
|
||||||
|
#if 0
|
||||||
/* try to fix certain bad advance computations */
|
/* try to fix certain bad advance computations */
|
||||||
if ( hinter->pp2.x + hinter->pp1.x == edge2->pos && old_rsb > 4 )
|
if ( hinter->pp2.x + hinter->pp1.x == edge2->pos && old_rsb > 4 )
|
||||||
hinter->pp2.x += 64;
|
hinter->pp2.x += 64;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* good, we simply add the glyph to our loader's base */
|
/* good, we simply add the glyph to our loader's base */
|
||||||
|
|
Loading…
Reference in New Issue