ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Font features not always working
Date: Tue, 6 May 2008 14:17:48 +0200	[thread overview]
Message-ID: <115224fb0805060517x75da9852n93a8683ed5911ac1@mail.gmail.com> (raw)
In-Reply-To: <a09128560804300100v4860e066n354336e533e9df26@mail.gmail.com>

On Wed, Apr 30, 2008 at 10:00 AM, Lutz Haseloff
<lutz.haseloff@googlemail.com> wrote:
> Hi Wolfgang,
>
> it seems that some fonts need script=latn in \definefontfeature.
> (i copied and pasted from font-ini.tex)
>
> So your file works here:
>
> --------------------------
> % engine=luatex
>
> \definefontfeature
>  [default]
>  [script=latn,liga=yes,kern=yes,tlig=yes,trep=yes]
>
> \definefontfeature
>  [smallcaps]
>  [script=latn,liga=yes,kern=yes,tlig=yes,trep=yes,smcp=yes]
>
> \definefontfeature
>  [oldstyle]
>  [script=latn,liga=yes,kern=yes,tlig=yes,trep=yes,onum=yes]

I looked into font-ini from my old installation and all fontfeatures
where defined with the latin script, would be interesting to know
why this has changed and if there is a reason for this.

> \definefont[pan][file:texgyrepagella-regular*default]
> \definefont[pas][file:texgyrepagella-regular*smallcaps]
> \definefont[pao][file:texgyrepagella-regular*oldstyle]
>
> \definefont[can][file:CAMBRIA*default]
> \definefont[cas][file:CAMBRIA*smallcaps]
> \definefont[cao][file:CAMBRIA*oldstyle]
>
> \definefont[con][file:CORBEL*default]
> \definefont[cos][file:CORBEL*smallcaps]
> \definefont[coo][file:CORBEL*oldstyle]
>
> \starttext
>
> \pan ANB anc 123 VA Ta
>
> \pas ANB anc 123 VA Ta
>
> \pao ANB anc 123 VA Ta
>
> \can ANB anc 123 VA Ta
>
> \cas ANB anc 123 VA Ta
>
> \cao ANB anc 123 VA Ta
>
> \con ANB anc 123 VA Ta
>
> \cos ANB anc 123 VA Ta
>
> \coo ANB anc 123 VA Ta
> \blank
>
> \starttabulate
> \NC ConTeXt         \EQ \contextversion        \NC\NR
> \NC LuaTeX Revision \EQ \number\luatexversion  \NC\NR
> \NC LuaTeX Revision \EQ \number\luatexrevision \NC\NR
> \stoptabulate
>
> \stoptext

The example works now as expected.

Thank you very much Lutz, for the solution.

Greetings
Wolfgang
___________________________________________________________________________________
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:[~2008-05-06 12:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29 12:45 Wolfgang Schuster
2008-04-29 13:25 ` Taco Hoekwater
2008-04-29 13:32   ` Wolfgang Schuster
2008-04-30  6:40   ` Wolfgang Schuster
2008-04-30  8:00     ` Lutz Haseloff
2008-04-30  8:08       ` Wolfgang Schuster
2008-05-06 12:17       ` Wolfgang Schuster [this message]

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=115224fb0805060517x75da9852n93a8683ed5911ac1@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).