ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Hieroglyphic font query
@ 2017-04-02 15:23 Alan Bowen
  2017-04-02 15:32 ` kaddour kardio
  2017-04-02 16:45 ` Pablo Rodriguez
  0 siblings, 2 replies; 14+ messages in thread
From: Alan Bowen @ 2017-04-02 15:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

I have the hieroglyphic font, New Gardiner Medium, in .otf and .ttf
formats. It is installed in my OSFONTDIR and is accessible using other
applications.

But

\switchtobodyfont[newgardiner,14pt]𓇼𓋹

does not work (with either the .ttf or the .otf format).

I have checked: “NewGardiner” is the Postscript Name, the Full name, and
the Family Name.

So what have I missed?

Alan

[-- Attachment #1.2: Type: text/html, Size: 1559 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] 14+ messages in thread
* font fallbacks
@ 2022-07-30 13:51 Henning Hraban Ramm via ntg-context
  2022-08-01 17:42 ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 14+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-07-30 13:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Font fallbacks
@ 2008-08-29 11:16 Wolfgang Schuster
  2008-08-29 15:44 ` Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Wolfgang Schuster @ 2008-08-29 11:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

the \definefontfallback commands use only the last setting in a comma
seperated list.

In this example only characters from 0x0071 to 0x0081 are set in bolditalic.

\definefontfallback [whatever] [BoldItalic] [0x0041-0x0051,0x0071-0x0081]

\definefontsynonym[SerifPlus][Serif][fallbacks=whatever]

\definefont[MySerif][SerifPlus]

\starttext

\MySerif

\dostepwiserecurse{65}{255}{1}
    {\char\recurselevel\hskip10pt plus 5pt\relax}

\stoptext

Wolfgang
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2022-08-01 19:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-02 15:23 Hieroglyphic font query Alan Bowen
2017-04-02 15:32 ` kaddour kardio
2017-04-02 15:39   ` 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
  -- strict thread matches above, loose matches on Subject: below --
2022-07-30 13:51 font fallbacks Henning Hraban Ramm via ntg-context
2022-08-01 17:42 ` Henning Hraban Ramm via ntg-context
2022-08-01 18:43   ` Denis Maier via ntg-context
2022-08-01 19:00     ` Henning Hraban Ramm via ntg-context
2008-08-29 11:16 Font fallbacks Wolfgang Schuster
2008-08-29 15:44 ` Hans Hagen

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