Khaled Hosny wrote:
On Wed, May 27, 2009 at 01:34:57PM +0900, Dohyun Kim wrote:
2009/5/22 Taco Hoekwater <t...@elvenkind.com>:

Hans Hagen wrote:
Taco Hoekwater wrote:
Khaled Hosny wrote:
Not very helpful in this situation, but FontForge has a non-standard
italic correction (ITLC) table[1], may be TeX related OpenTyp font
projects like Latin Modern and Gyre fonts can use it?
That would perhaps not be a bad idea. If that table is there then
luatex will automatically use it (it is a subtable of 'TeX ', which
also contains height and depth information, and font dimensions).
so, that data would end up in a regular feature/lookup? of is it an
entry in the glyph?
They are automatically merged into the glyph, as

       glyph.italic_correction
       glyph.tex_height
       glyph.tex_depth

Hi,

Considering current state that we don't know any fonts that has ITLC table,
it would be better than nothing to implement italic correction as follows.

Per FontForge's documentation, it can generate italic correction values,
may be LuaTeX could make use of such feature and provide a way to
generate italic correction values for fonts missing it, may be the tex
height and depth too, if it isn't doing so already? Since FontForge has
access to actual glyph shapes, it might be generating better guesses.

I can generate sample fonts with FontForge for testing, if needed.

as such an italic correction is not part of the font design but a guess it makes sense to keep it 'under lua control' so i implemented a itls=yes feature (base mode and node mode; is in beta)

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to