Re: [NTG-context] GSUB init, medi, fina and .fea file

2012-02-01 Thread Khaled Hosny
On Wed, Feb 01, 2012 at 12:20:29AM +0100, Pablo Rodríguez wrote:
 Hi there,
 
 I have the following OpenType feature archive (intended to use diferent
 forms for initial and medial/final beta, theta and phi):

Quoting my answer from a different list:

  If you are using init/fina features, it will only work with
  Arabic/Syriac and similar scripts where it is needed for basic
  shaping, most OpenType engines (including the one Hans wrote for
  LuaTeX) don't support them for other scripts. However, you can use
  contextual substitution to implement the word boundary logic into your
  OpenType code, but that is a bit tricky.

But since this is an often requested feature, and given that Adobe apps
support these features for Latin script, I think it is worth supporting
them in ConTeXt as well, it should be bit simpler than the Arabic logic
already supported.

Regards,
 Khaled
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] GSUB init, medi, fina and .fea file

2012-02-01 Thread Hans Hagen

On 1-2-2012 16:15, Khaled Hosny wrote:

On Wed, Feb 01, 2012 at 12:20:29AM +0100, Pablo Rodríguez wrote:

Hi there,

I have the following OpenType feature archive (intended to use diferent
forms for initial and medial/final beta, theta and phi):


Quoting my answer from a different list:

   If you are using init/fina features, it will only work with
   Arabic/Syriac and similar scripts where it is needed for basic
   shaping, most OpenType engines (including the one Hans wrote for
   LuaTeX) don't support them for other scripts. However, you can use
   contextual substitution to implement the word boundary logic into your
   OpenType code, but that is a bit tricky.

But since this is an often requested feature, and given that Adobe apps
support these features for Latin script, I think it is worth supporting
them in ConTeXt as well, it should be bit simpler than the Arabic logic
already supported.


Just wondering ... zapfino probably has these features so they should 
work, although indeed the logic might be different. So, in order to 
proceed we need some test font.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] GSUB init, medi, fina and .fea file

2012-02-01 Thread Pablo Rodríguez
On 02/01/2012 04:36 PM, Hans Hagen wrote:
 On 1-2-2012 16:15, Khaled Hosny wrote:
 On Wed, Feb 01, 2012 at 12:20:29AM +0100, Pablo Rodríguez wrote:
 Hi there,

 I have the following OpenType feature archive (intended to use diferent
 forms for initial and medial/final beta, theta and phi):
 [...]
 But since this is an often requested feature, and given that Adobe apps
 support these features for Latin script, I think it is worth supporting
 them in ConTeXt as well, it should be bit simpler than the Arabic logic
 already supported.
 
 Just wondering ... zapfino probably has these features so they should 
 work, although indeed the logic might be different. So, in order to 
 proceed we need some test font.

Thanks for the replies, Khaled and Hans.

I thought that using an external .fea file would work with any font that
has the used glyphs, wouldn't it?

Thanks for your help,


Pablo
-- 
http://www.oudeis.tk
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___