How do I specify a fallback to Symbola for the playing card range?
I want to use the Unicode Character PLAYING CARD ACE OF SPADES in a ConTeXt document. Because of the way the source document is created it has to be as the actual unicode character itself, rather than a reference to a specific character in a specific font. Here's what I've tried, but it doesn't work: \definefontfallback[mainface][rm][Symbola][preset=range:playingcards,force=yes] \definefontfamily[mainface][rm][LibertinusSerif] \enabletrackers[fonts.missing] \setupbodyfont[mainface] \starttext 🂡 Testing! \stoptext The PLAYING CARD ACE OF SPADES character does not show up in the output PDF. Can anyone tell me how to do this? Thanks! -- T. Kurt Bond, tkurtbond@gmail.com, https://tkurtbond.github.io
T. Kurt Bond schrieb am 09.09.2020 um 21:40:
I want to use the Unicode Character PLAYING CARD ACE OF SPADES in a ConTeXt document. Because of the way the source document is created it has to be as the actual unicode character itself, rather than a reference to a specific character in a specific font.
Here's what I've tried, but it doesn't work:
\definefontfallback[mainface][rm][Symbola][preset=range:playingcards,force=yes]
Try \definefontfallback[mainface][rm][Symbola][range=playingcards,force=yes] The "range:..." presets are just a comma separated list of name which are passed to the range key. Wolfgang
I tried using "\definefontfallback[mainface][rm][Symbola][range=playingcards,force=yes]" and the PLAYING CARD ACE OF SPADES still didn't show up in the output. I'm using " ConTeXt ver: 2020.09.03 20:03 LMTX fmt: 2020.9.3 int: english/english", On Thu, Sep 10, 2020 at 9:05 AM Wolfgang Schuster < wolfgang.schuster.lists@gmail.com> wrote:
T. Kurt Bond schrieb am 09.09.2020 um 21:40:
I want to use the Unicode Character PLAYING CARD ACE OF SPADES in a ConTeXt document. Because of the way the source document is created it has to be as the actual unicode character itself, rather than a reference to a specific character in a specific font.
Here's what I've tried, but it doesn't work:
\definefontfallback[mainface][rm][Symbola][preset=range:playingcards,force=yes]
Try
\definefontfallback[mainface][rm][Symbola][range=playingcards,force=yes]
The "range:..." presets are just a comma separated list of name which are passed to the range key.
Wolfgang
-- T. Kurt Bond, tkurtbond@gmail.com, https://tkurtbond.github.io
T. Kurt Bond schrieb am 11.09.2020 um 16:12:
I tried using "\definefontfallback[mainface][rm][Symbola][range=playingcards,force=yes]" and the PLAYING CARD ACE OF SPADES still didn't show up in the output.
It's the wrong command, you need \definefallbackfamily when you use \definefontfontfamily. \definefallbackfamily[mainface][rm][Symbola][range=playingcards,force=yes] Wolfgang
My apologies for my confusion, and my thanks! That did it! On Fri, Sep 11, 2020 at 10:15 AM Wolfgang Schuster < wolfgang.schuster.lists@gmail.com> wrote:
T. Kurt Bond schrieb am 11.09.2020 um 16:12:
I tried using
"\definefontfallback[mainface][rm][Symbola][range=playingcards,force=yes]"
and the PLAYING CARD ACE OF SPADES still didn't show up in the output.
It's the wrong command, you need \definefallbackfamily when you use \definefontfontfamily.
\definefallbackfamily[mainface][rm][Symbola][range=playingcards,force=yes]
Wolfgang
-- T. Kurt Bond, tkurtbond@gmail.com, https://tkurtbond.github.io
participants (2)
-
T. Kurt Bond
-
Wolfgang Schuster