ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Khaled Hosny <khaledhosny@eglug.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: MkIV italic correction?
Date: Mon, 1 Jun 2009 18:15:07 +0300	[thread overview]
Message-ID: <20090601151507.GA30709@khaled-laptop> (raw)
In-Reply-To: <bfeb3bf10905262134u34174690m3d01d0cfd5d5127c@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1647 bytes --]

On Wed, May 27, 2009 at 01:34:57PM +0900, Dohyun Kim wrote:
> 2009/5/22 Taco Hoekwater <taco@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.

Regards,
 Khaled


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2009-06-01 15:15 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-20  6:25 Corsair
2009-05-20  7:21 ` Yue Wang
2009-05-20  7:37   ` Corsair
2009-05-21  9:55 ` Hans Hagen
2009-05-21 11:55   ` Corsair
2009-05-21 11:59     ` Taco Hoekwater
2009-05-21 13:36       ` Corsair
2009-05-22  9:15         ` Taco Hoekwater
2009-05-21 13:20   ` Khaled Hosny
2009-05-22  9:25     ` Taco Hoekwater
2009-05-22 10:48       ` Hans Hagen
2009-05-22 11:23         ` Taco Hoekwater
2009-05-22 12:44           ` French typography is back Robert-André Mauchin
2009-05-22 15:51             ` Arthur Reutenauer
2009-05-22 16:38               ` Robert-André Mauchin
2009-05-22 22:58                 ` Arthur Reutenauer
2009-05-22 16:40               ` luigi scarso
2009-05-22 17:06                 ` Hans Hagen
2009-05-27  4:34           ` MkIV italic correction? Dohyun Kim
2009-05-27  8:11             ` Hans Hagen
2009-06-01 15:15             ` Khaled Hosny [this message]
2009-06-01 20:19               ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090601151507.GA30709@khaled-laptop \
    --to=khaledhosny@eglug.org \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).