ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jan Tosovsky" <j.tosovsky@email.cz>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Advanced ligatures
Date: Tue, 29 Apr 2014 16:21:38 +0200	[thread overview]
Message-ID: <37040.2811015539$1398781320@news.gmane.org> (raw)

Dear All,

is there any way to switch the hlig or dlig features on? The corresponding
glyphs are present in the font, but somehow ignored...

\definefontfamily[palation][rm][Palatino Linotype]
\definefontfeature[f:historical_ligatures][hlig=yes]
\definefontfeature[f:discretionary_ligatures][dlig=yes]

% custom shortcuts
\define[1]\hlig{\feature[+][f:historical_ligatures]#1}
\define[1]\dlig{\feature[+][f:discretionary_ligatures]#1}

\starttext
\setupbodyfont[palatino]
ff fi fl\par
{\hlig {ct sp st}}\par
{\dlig {Qu}}\par
\stoptext

Thanks, Jan

Context 2014.04.17. 
LuaTeX 0.79.1

___________________________________________________________________________________
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:[~2014-04-29 14:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-29 14:21 Jan Tosovsky [this message]
     [not found] <535fb597.857f0e0a.25cc.fffffe1cSMTPIN_ADDED_BROKEN@mx.google.com>
2014-04-29 14:50 ` Wolfgang Schuster
2014-04-29 21:14   ` Jan Tosovsky

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='37040.2811015539$1398781320@news.gmane.org' \
    --to=j.tosovsky@email.cz \
    --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).