ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Fontfallbacks using typescripts
       [not found] <fdde1450-6d80-4925-9368-940bc2a2bf6a@Spark>
@ 2020-04-04 10:51 ` Tim Steenvoorden
  0 siblings, 0 replies; only message in thread
From: Tim Steenvoorden @ 2020-04-04 10:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi all,

I’d like to use Lucida (Type1) as my main font for text and math, but fallback on arrows from Pagella. Especially, I’d like to use the `\downzigzagarrow` which is not defined by Lucida.

Although direct lookup of the zigzag symbol in Pagella works, below typescripts do not seem to work. Can somebody give me a hint?

Cheers,
Tim

\startproduct test

\definefontfallback[pagellaarrows][texgyrepagella-math][arrows][check=yes,force=yes]
\definefontfallback[pagellaarrows][texgyrepagella-math][0x021AF][check=yes,force=yes]

\starttypescript[math][main]
\loadfontgoodies[lucida-typeone-math]
\definefontsynonym[MathRoman][lucidamath@lucida-math][fallbacks=pagellaarrows]
\stoptypescript

\starttypescript [main]
\definetypeface [main] [rm] [serif] [lucida] [default] [features=default]
\definetypeface [main] [ss] [sans] [lucida] [default] [features=default]
\definetypeface [main] [tt] [mono] [lucida] [default] [features=none]
\definetypeface [main] [hw] [handwriting] [lucida] [default] [features=default]
\definetypeface [main] [cg] [calligraphy] [lucida] [default] [features=default]
\definetypeface [main] [mm] [math] [main] [default]%[fallbacks=pagellaarrows]
\stoptypescript

\setupbodyfont[main,9pt]

$\downzigzagarrow,↯,\downarrow$

{\switchtobodyfont[pagella,10pt]↯}

\stopproduct


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

[-- Attachment #2: Type: text/plain, Size: 493 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] only message in thread

only message in thread, other threads:[~2020-04-04 10:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <fdde1450-6d80-4925-9368-940bc2a2bf6a@Spark>
2020-04-04 10:51 ` Fontfallbacks using typescripts Tim Steenvoorden

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