ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* GSUB init, medi, fina and .fea file
@ 2012-01-31 23:20 Pablo Rodríguez
  2012-02-01 15:15 ` Khaled Hosny
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodríguez @ 2012-01-31 23:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi there,

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

languagesystem DFLT dflt ;

feature init {
    sub uni03D0 by uni03B2 ;
    sub uni03B8 by uni03D1 ;
    sub uni03D5 by uni03C6 ;
} init ;

feature medi {
    sub uni03B2 by uni03D0 ;
    sub uni03D1 by uni03B8 ;
    sub uni03C6 by uni03D5 ;
} medi ;

feature fina {
    sub uni03B2 by uni03D0 ;
    sub uni03D1 by uni03B8 ;
    sub uni03C6 by uni03D5 ;
} fina ;

I use it with this file:

\usemodule[simplefonts]
\definefontfeature[default][default][script=latn,init=yes,medi=yes,fina=yes,featurefile={greeksubs.fea}]
\setmainfont[Theano Didot]
\starttext
βάρβαρος φιλοσοφία θεάσασθαι
\stoptext

But for some strange reason, even with this font I don't get the initial
theta (uni03D1) and middle .

If I change the font, add \agr to the text, change the script or remove
Latin for the default font feature, GSUB no longer work.

As far as I understand, the default rules should be independent from
script, language and font.

What am I missing here or doing simply wrong?

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-01 16:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-31 23:20 GSUB init, medi, fina and .fea file Pablo Rodríguez
2012-02-01 15:15 ` Khaled Hosny
2012-02-01 15:36   ` Hans Hagen
2012-02-01 16:16     ` Pablo Rodríguez

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).