Re: [ft-devel] a hidden gem: the autohint warper code

2011-03-01 Thread Werner LEMBERG
If the bottom line of the warped glyph is shifted away from a bluezone, then the whole glyph should be shifted back a whole 1 pixel back toward the bluezone after being warped. This won't work. If you shift one pixel back, all other optimized zones, would be at the wrong position.

Re: [ft-devel] a hidden gem: the autohint warper code

2011-03-01 Thread Miles Bader
Werner LEMBERG w...@gnu.org writes: What is improvable, however, is the algorithm to decide which stems are `main features', and which features (e.g. serifs) must be handled specially. In particular, handling of diagonal stems might be improved. BTW, that's what sort of worried me about the

Re: [ft-devel] a hidden gem: the autohint warper code

2011-03-01 Thread JustFillBug
On 2011-03-01, Werner LEMBERG w...@gnu.org wrote: If the bottom line of the warped glyph is shifted away from a bluezone, then the whole glyph should be shifted back a whole 1?pixel back toward the bluezone after being warped. This won't work. If you shift one pixel back, all other

Re: [ft-devel] a hidden gem: the autohint warper code

2011-03-01 Thread JustFillBug
On 2011-03-01, Miles Bader mi...@gnu.org wrote: Werner LEMBERG w...@gnu.org writes: What is improvable, however, is the algorithm to decide which stems are `main features', and which features (e.g. serifs) must be handled specially. In particular, handling of diagonal stems might be

Re: [ft-devel] a hidden gem: the autohint warper code

2011-03-01 Thread Werner LEMBERG
Currently it's a compile-time option, cf. AF_CONFIG_OPTION_USE_WARPER. Oops! Forgot to commit and push. Now it's really in the git repository. Below you can find two links to images (from David Turner, who is testing and evaluating the warping stuff again). Please compare.

Re: [ft-devel] a hidden gem: the autohint warper code

2011-03-01 Thread Behdad Esfahbod
On 03/01/11 22:24, Werner LEMBERG wrote: Interestingly, David thinks that the autohinter warping produces much worse results, while I consider exactly the opposite... I agree with David :). I guess warping may produce superior results if combined with correct lsb/rsb adjustment. But

Re: [ft-devel] a hidden gem: the autohint warper code

2011-03-01 Thread Werner LEMBERG
[Umpf. Large emails are rejected by nongnu.org without giving any reasons. I would have expected that they get queued and I have to approve them as the list administrator of freetype-devel.] Interestingly, David thinks that the autohinter warping produces much worse results, while I

Re: [ft-devel] a hidden gem: the autohint warper code

2011-03-01 Thread Miles Bader
Werner LEMBERG w...@gnu.org writes: Below you can find two links to images (from David Turner, who is testing and evaluating the warping stuff again). Please compare. http://img848.imageshack.us/img848/9311/wikigitwarpoff.png http://img852.imageshack.us/img852/3342/wikigitwarpon.png

Re: [ft-devel] a hidden gem: the autohint warper code

2011-03-01 Thread Werner LEMBERG
From: Miles Bader mi...@gnu.org Subject: Re: [ft-devel] a hidden gem: the autohint warper code Date: Wed, 02 Mar 2011 16:01:28 +0900 Werner LEMBERG w...@gnu.org writes: Below you can find two links to images (from David Turner, who is testing and evaluating the warping stuff again). Please

Re: [ft-devel] a hidden gem: the autohint warper code

2011-03-01 Thread Werner LEMBERG
*I have noticed however that inter-character spacing can still *affected under LIGHT hinting, is that a bug? Good question. I don't know yet, but I'm studying the code right now and I probably can answer this soon. I've just played a bit with ftdiff: Activating the light hinter (by