ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Pablo Rodríguez" <oinos@web.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: GSUB init, medi, fina and .fea file
Date: Wed, 01 Feb 2012 00:20:29 +0100	[thread overview]
Message-ID: <4F28773D.7080406@web.de> (raw)

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
___________________________________________________________________________________

             reply	other threads:[~2012-01-31 23:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-31 23:20 Pablo Rodríguez [this message]
2012-02-01 15:15 ` Khaled Hosny
2012-02-01 15:36   ` Hans Hagen
2012-02-01 16:16     ` Pablo Rodríguez

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=4F28773D.7080406@web.de \
    --to=oinos@web.de \
    --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).