ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Combo fonts in MKIV
@ 2016-11-15  8:47 Henri Menke
  2016-11-15 13:34 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Henri Menke @ 2016-11-15  8:47 UTC (permalink / raw)
  To: ntg-context

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.

Cheers, Henri
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Combo fonts in MKIV
  2016-11-15  8:47 Combo fonts in MKIV Henri Menke
@ 2016-11-15 13:34 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2016-11-15 13:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 643 bytes --]

> Henri Menke <mailto:henrimenke@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

[-- Attachment #1.2: Type: text/html, Size: 1750 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-15 13:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-15  8:47 Combo fonts in MKIV Henri Menke
2016-11-15 13:34 ` Wolfgang Schuster

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).