[mpeg-OTspec] Interaction between kern table and GPOS table
Levantovsky, Vladimir
vladimir.levantovsky at monotypeimaging.com
Mon Jan 18 01:30:34 CET 2010
Dear all,
Please review the proposal from Sairus and Behdad, and voice your opinions. Based on the concerns expressed by users and our prior discussions on these threads - I believe it would be useful to include clarifications and/or recommendation on the usage of kern table and GPOS-based kerning, interactions between them, and recommended preferred solutions / best practices. I would like to ask you to consider adding these clarifications in the current round of spec corrections (making it part of the corrigendum document we are going to put together by the end of this week (Japan time, +1 day).
If we reach a consensus on the suggested wording, I will add it to the draft corrigendum. According to the ISO process, once the draft is finalized it will be under three months approval ballot. We will have a chance to review the suggested language and comment on it – modifying the text (or even striking some parts of it) if necessary through the ballot comments. I strongly suggest to consider adding clarifications related to kerning in the current draft – it would be easy to modify it via the ballot process. Not saying anything now is also an option, but it’s easier to change the language of the existing published draft rather than add a completely new text later.
Thank you and best regards,
Vladimir
From: mpeg-OTspec at yahoogroups.com [mailto:mpeg-OTspec at yahoogroups.com] On Behalf Of Sairus Patel
Sent: Tuesday, January 12, 2010 9:46 PM
To: Behdad Esfahbod
Cc: mpeg-OTspec at yahoogroups.com; multiple recipients of OpenType - sent by
Subject: RE: [mpeg-OTspec] Interaction between kern table and GPOS table
Hello Behdad,
> Doesn't this belong to the OpenType list though?
I was hesitant to send it to both lists: I thought/hoped there would be sufficient overlap by now, and didn't want to clog folks' Inboxes with duplicates. But I'm happy to cc the OT list on this thread now, and perhaps in the future err on the side of clogging Inboxes rather than leaving some folks out of the discussion.
> I'm leaning towards not applying 'kern' if the font has any 'GPOS' table though.
Reasons not to do as you suggest:
1. We've seen fonts with "stub" or empty GPOS tables, I believe produced by VOLT. If we do not apply the kern table in this case, no kerning would occur in OT layout.
2. MS had revised Arial and Times New Roman in Vista to add a GPOS table with only non-kern features in it; the kern table remained. If we do not apply the kern table in this case, no kerning would occur in OT layout.
Best,
Sairus
-----Original Message-----
From: Behdad Esfahbod [mailto:behdad.esfahbod at gmail.com<mailto:behdad.esfahbod%40gmail.com>] On Behalf Of Behdad Esfahbod
Sent: Tuesday, January 12, 2010 3:49 PM
To: Sairus Patel
Cc: mpeg-OTspec at yahoogroups.com<mailto:mpeg-OTspec%40yahoogroups.com>
Subject: Re: [mpeg-OTspec] Interaction between kern table and GPOS table
Hi Sairus,
Thanks for bringing this up. Doesn't this belong to the OpenType list though?
I'm leaning towards not applying 'kern' if the font has any 'GPOS' table though.
That said, from a technical point of view, it's also worth noting that GPOS is
applied on the logical glyph string while 'kern' is applied on the visual
string (ie. after reversing for RTL runs).
behdad
On 01/12/2010 06:31 PM, Sairus Patel wrote:
>
>
> Reason:
>
> Sometimes a font can have both a kern table and a GPOS table, and the
> GPOS may or may not have a kern feature for some scripts and language
> systems. How is an OFF layout engine to decide which source of kern
> data, if any, to apply? This proposal specifies this. Question: It is
> proposed to be in the Recommendations section; is there a better place
> in the specification for something like this?
>
> Proposal:
>
> ADD the following paragraphs to the end of the 'kern' Table sub-section
> in the Recommendations section:
>
> When a kern table and GPOS table are both present in a font, and an OFF
> layout engine is requested to apply kerning to a run of text of a
> particular script and language system: (a) If the number of kern feature
> lookups in the resolved language system in the GPOS table is zero, then
> the kern table must be applied, followed by any remaining GPOS features
> requested. (b) If the number of kern feature lookups in the resolved
> language system in the GPOS table is non-zero, then all GPOS lookups,
> including the kern lookups, must be applied in the usual way and the
> kern table data ignored.
>
> If a kern table but no GPOS table is present in the font, then an OFF
> layout engine must apply the kern table to the text, regardless of the
> resolved language system of the text.
>
> If compatibility with legacy environments is not a concern, vendors are
> encouraged to use the GPOS table, and not the kern table, for kerning.
>
> Sairus
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.aau.at/pipermail/mpeg-otspec/attachments/20100117/147da8ce/attachment.html>
More information about the mpeg-otspec
mailing list