[NTG-context] special case to disable italic correction

Pablo Rodriguez oinos at gmx.es
Tue Jan 28 18:51:02 CET 2014


On 01/28/2014 03:14 PM, Hans Hagen wrote:
> On 1/26/2014 8:24 PM, Pablo Rodriguez wrote:
>> [...]
>> If I get it right, the italic correction should be avoided before points
>> and commas (these are all the exceptions I can imagine for this case).
>> The explanation is simple: the space is already at the base line, since
>> at the glyph base, the inclination of the italic or slanted glyph makes
>> the right side-bearing larger at the baseline. The issue with italic
>> correction is mainly with ascenders or at the cap height, but I think it
>> isn’t at the base line (or the descenders). Because of that I think it
>> is important to disable italic correction before points and commas.
>> [...]
> Hard coded char checking is talking all punctuation is tricky, so i now 
> use a threshold instead (enabled by default).
> [,,,]
> Will be in next beta.

Many thanks for your implementation, Hans.

It works fine now.

Many thanks again for your work,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list