ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: font fallbacks
Date: Mon, 1 Aug 2022 19:42:51 +0200	[thread overview]
Message-ID: <ac6897b6-e873-7232-e7a3-6e0c7dae3d22@fiee.net> (raw)
In-Reply-To: <a6dbd798-6a72-fd59-2832-9839f1aef489@fiee.net>

Nobody?
I couldn’t find an example of more than one fallback, so I guess that’s 
not supported?

Hraban

Am 30.07.22 um 15:51 schrieb Henning Hraban Ramm via ntg-context:
> Hi,
> I thought I could use more than one fallback font, but as soon as I list 
> fallbacks, they stop working.
> 
> In my example, I’d like to take all missing glyphs from Segoe UI 
> Symbols, and what’s still missing (emojis) from EmojiOneColor, 
> preferably without specifying the exact range.
> 
> Additionally, I want to replace the tilde ~ of LM Modern:
> 
> """
> \definefontfallback[seguiFB]
>    [file:seguisym.ttf]
>    [0x00000-0xFFFFF]
>    [check=yes,force=no]
> 
> \definefontfallback[emoneFB]
>    [name:EmojiOneColor]
>    [0x00000-0xFFFFF]
>    [check=yes,force=no]
> 
> % replace tilde in LM
> \definefontfallback[tildeFB]
>    [file:seguisym.ttf]
>    [0x0007E-0x0007E]
>    [force=yes]
> 
> 
> \starttypescript [start]
>    \definetypeface [start] [rm] [serif] [cambria] 
> [default][fallbacks={seguiFB,emoneFB}]
>    \definetypeface [start] [ss] [sans]  [modern] 
> [default][fallbacks={seguiFB,emoneFB}]
>    \definetypeface [start] [tt] [mono]  [modern] 
> [default][fallbacks={seguiFB,tildeFB,emoneFB}]
>    \definetypeface [start] [mm] [math]  [modern] 
> [default][fallbacks={seguiFB,emoneFB}]
> \stoptypescript
> 
> 
> \setupbodyfont[start,rm,12pt]
> 
> \starttext
> 
> \Omega\ (Omega) and \aleph\ (Aleph)
> 
> \startbuffer[example]
> start missing characters: lmmono10-regular.otf
>     7  U+00327  ̧  COMBINING CEDILLA
>     7  U+00335  ̵  COMBINING SHORT STROKE OVERLAY
>    14  U+003B7  η  GREEK SMALL LETTER ETA
>     7  U+021A9  ↩  LEFTWARDS ARROW WITH HOOK
>   350  U+02500  ─  BOX DRAWINGS LIGHT HORIZONTAL
>    98  U+02502  │  BOX DRAWINGS LIGHT VERTICAL
>    42  U+02514  └  BOX DRAWINGS LIGHT UP AND RIGHT
>   133  U+0251C  ├  BOX DRAWINGS LIGHT VERTICAL AND RIGHT
>   154  U+02772  ❲  LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT
>   154  U+02773  ❳  LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT
>    14  U+0278A  ➊  DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT ONE
> stop missing characters
> start missing characters: cambria.ttc
>     9  U+0278A  ➊  DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT ONE
>     9  U+0FFFD  �  REPLACEMENT CHARACTER
> stop missing characters
> start missing characters: cambriai.ttf
>   266  U+0276C  ❬  MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT
>   266  U+0276D  ❭  MEDIUM RIGHT-POINTING ANGLE BRACKET ORNAMENT
> stop missing characters
> \stopbuffer
> 
> \typebuffer[example]
> 
> \startlines
> \getbuffer[example]
> 
> {\ss\getbuffer[example]}
> \stoplines
> 
> \tex{abra}\arg{...}
> \type{kadabra} \type{~~~}
> 
> \stoptext
> """
> 
> What’s wrong?
> 
> Hraban
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry 
> to the Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2022-08-01 17:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-30 13:51 Henning Hraban Ramm via ntg-context
2022-08-01 17:42 ` Henning Hraban Ramm via ntg-context [this message]
2022-08-01 18:43   ` Denis Maier via ntg-context
2022-08-01 19:00     ` Henning Hraban Ramm via ntg-context
  -- strict thread matches above, loose matches on Subject: below --
2017-04-02 15:23 Hieroglyphic font query Alan Bowen
2017-04-02 16:45 ` Pablo Rodriguez
2017-04-02 18:19   ` Alan Bowen
2017-04-02 18:35     ` Wolfgang Schuster
2017-04-02 19:51       ` Alan Bowen
2017-04-03 13:04         ` Font Fallbacks Mathias Schickel
2008-08-29 11:16 Font fallbacks Wolfgang Schuster
2008-08-29 15:44 ` Hans Hagen

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=ac6897b6-e873-7232-e7a3-6e0c7dae3d22@fiee.net \
    --to=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /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).