[NTG-context] Combo fonts in MKIV

Wolfgang Schuster schuster.wolfgang at gmail.com
Tue Nov 15 14:34:43 CET 2016


> Henri Menke <mailto:henrimenke at gmail.com>
> 15. November 2016 um 09:47
> Dear list,
>
> On http://tex.stackexchange.com/a/314401/10995 I saw that LuaTeX has 
> support for combo fonts where one can select different fonts and 
> features for selected glyph ranges. Is there an interface in MKIV for 
> that? I couldn’t find anything in fonts-mkiv.pdf.
You can use the fallback mechanism:

\definefallbackfamily [mixedfont] [rm] [TeX Gyre Pagella] 
[tf=style:italic,range=0x61-0x7A,force=yes]
\definefontfamily     [mixedfont] [rm] [TeX Gyre Pagella]

\setupbodyfont[mixedfont]

\starttext
Some Text with Capital XYabcXY
\stoptext

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20161115/66cf40e1/attachment.html>


More information about the ntg-context mailing list