ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: reviczky@caesar.elte.hu
To: ntg-context@ntg.nl
Subject: Re: Glyph Variants with MKIV
Date: Sun, 24 Feb 2013 01:08:38 +0100	[thread overview]
Message-ID: <20130224010838.190374pzyhppx62u@webmail.elte.hu> (raw)
In-Reply-To: <20130223204326.14705siamegwzvtq@webmail.elte.hu>

Hi,

So I've just figured it out finally from  
http://www.twardoch.com/download/typotechnica2005_zapfino.pdf, that I  
can achieve this via the ss01-ss10 font features as well as with  
calt=yes respectively.

The MWE:
\usemodule[simplefonts]
\definefontfeature[default][default][ss02=yes] % calt=yes
\setmainfont[zapfinoextraltpro]
\starttext
\input knuth
\stoptext

Adam

> Hi,
>
> How can I use glyph variants with ConTeXt/LuaTeX?
>
> Khaled posted an example with LuaLaTeX[1] and I would like to use  
> that in a ConTeXt document.
>
> Can this be achieved with simplefonts or even directly?
>
>
> Something like this:
>
> \usemodule[simplefonts]
> \setmainfont[zapfinoextraltpro]
> \starttext
> \setupsimplefonts[variant=2]
> \input knuth
> \setupsimplefonts[variant=3]
> \input knuth
> \stoptext
>
> Adam
>
>
> [1]  
> http://tex.stackexchange.com/questions/29123/can-i-get-lualatex-to-do-font-variations-on-the-zapfino-font-just-as-xelatex-doe


___________________________________________________________________________________
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:[~2013-02-24  0:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-23 19:43 reviczky
2013-02-24  0:08 ` reviczky [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=20130224010838.190374pzyhppx62u@webmail.elte.hu \
    --to=reviczky@caesar.elte.hu \
    --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).