From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Hieroglyphic font query
Date: Sun, 02 Apr 2017 20:35:53 +0200 [thread overview]
Message-ID: <58E14489.4030801@gmail.com> (raw)
In-Reply-To: <CAFMOkGV71DRuQXL8DiCqUF5GBxV2K_pttjmTo0kttM7_x1CxFQ@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1240 bytes --]
> Alan Bowen <mailto:bowenalan03@gmail.com>
> 2. April 2017 um 20:19via Postbox
> <https://www.postbox-inc.com/?utm_source=email&utm_medium=sumlink&utm_campaign=reach>
> Hi, Pablo—thanks for the suggestions. I was not able to get them to work.
> Here is my test file.
>
> \definefallbackfamily[mainface][sans][NewGardiner][range=131FC,132F9]
> %\definefallbackfamily[mainface][sans][NewGardiner-Medium][range=131FC,132F9]
>
> \definefontfamily[mainface][serif][Brill]
>
> \setupbodyfont[mainface,18pt]
>
>
> \starttext
>
> Hello world! 1234
>
> αβγ
>
> {
> 𓇼𓋹
> }
>
> and that is all.
>
> \stoptext
There is a problem when you change the font size to a value which isn’t
pre defined
(e.g. 14pt causes problems while 14.4pt works) and you have to add
\definebodyfont[...]
(e.g. \definebodyfont[14pt]) to your document.
%\starttypescript[sans][newgardiner]
% \setups[font:fallback:sans]
% \definefontsynonym[Sans][file:newgardinersmp]
%\stoptypescript
%
%\definetypeface[newgardiner][ss][sans][newgardiner][default][features=default]
\definefontfamily[newgardiner][rm][NewGardiner]
\starttext
{\definedfont[file:newgardinersmp at 14.4pt]𓇼𓋹}
\switchtobodyfont[newgardiner,14.4pt]𓇼𓋹
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 3761 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
___________________________________________________________________________________
next prev parent reply other threads:[~2017-04-02 18:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-02 15:23 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 [this message]
2017-04-02 19:51 ` Alan Bowen
2017-04-03 13:04 ` Font Fallbacks Mathias Schickel
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=58E14489.4030801@gmail.com \
--to=schuster.wolfgang@gmail.com \
--cc=ntg-context@ntg.nl \
/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).