From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97747 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: Hieroglyphic font query Date: Sun, 2 Apr 2017 15:51:12 -0400 Message-ID: References: <58E14489.4030801@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6429353848907165388==" X-Trace: blaine.gmane.org 1491162705 20334 195.159.176.226 (2 Apr 2017 19:51:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Apr 2017 19:51:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 02 21:51:41 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1culXD-0004PV-U7 for gctc-ntg-context-518@m.gmane.org; Sun, 02 Apr 2017 21:51:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 65E4B8488F; Sun, 2 Apr 2017 21:51:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fCe6R8Ygguwa; Sun, 2 Apr 2017 21:51:26 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id B215484909; Sun, 2 Apr 2017 21:51:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CCDC4847CC for ; Sun, 2 Apr 2017 21:51:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xuc84CyYDpXc for ; Sun, 2 Apr 2017 21:51:25 +0200 (CEST) Original-Received: from mail-vk0-f47.google.com (mail-vk0-f47.google.com [209.85.213.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B2E0284716 for ; Sun, 2 Apr 2017 21:51:14 +0200 (CEST) Original-Received: by mail-vk0-f47.google.com with SMTP id z204so119197621vkd.1 for ; Sun, 02 Apr 2017 12:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ok2qBIKOWxjbTEA3uVbu9UsdHZdaCoPeuF2KA3XJ8vo=; b=rbao0apBZJ0sAoHbbMxsrT09vs3mzQjJkBbAG1DxZLvvrOnYg8LnwPdK/gE6x9k3CS RuhdIVOGswCsUtrA9CKJWcf4hsM4UoXcuTBYFi0hunE6qSakIYU6teE4yngSbzhW59Lv uA9jeiCI7pSOVaQev5ro447QYazjUZlOOgzexC36KjZOcD6Psfk1T8GH3E1vivc6LLEO a5ma4gsn9EU67QbGQKZ4fax3djoqzKkIk3h5c/Wb6jfsnWSnYcBdNgmjjVuuKmz93FYX DsUUAZ/0zRJDioKQo2eXKFgMr6MEgxw3o3QIFY4/NEChsnFeiScvaOH60ND6hB1YbCrc 9UtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ok2qBIKOWxjbTEA3uVbu9UsdHZdaCoPeuF2KA3XJ8vo=; b=TtT8VlSh9K7nnzPVuW35MgnMZmDFT8IjYuISE8TVOXF4kv8mezMn6ws24piFy8lx66 G/34Jnoq1mJzxGJrOfXJ5+ZbKMkECiMIiYOW7dCq6SLzwvii3OfQyzeKM77MXgq2RiCP J6b4FySg568DoR1ZFtcTc8r4LuU/PYHFkvKObxw8HPUbYFyWKQudtcxU8oZC+GwdIdwg pQTZeSPr6dIKdwmcO716VK5Lcfifm0P6WMjMp0OGLDgwIKzikTrcqTmmtKuk1PEnEpv1 kEL876vFLG4SHV7VLzd2102Aw+GJmC3COpdml2lTgqNKUhYLM7xQC0iFligdC4SizMnT vFYA== X-Gm-Message-State: AFeK/H3gJFXwakevVJ2nk+9TGn+rdXrdP/Ai59CbqK6pTt0Y7Mu/4f/LETGOzlYxfk87O4yuzG52QeOZMLJU3A== X-Received: by 10.31.83.194 with SMTP id h185mr6230943vkb.147.1491162673254; Sun, 02 Apr 2017 12:51:13 -0700 (PDT) Original-Received: by 10.31.163.199 with HTTP; Sun, 2 Apr 2017 12:51:12 -0700 (PDT) In-Reply-To: <58E14489.4030801@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:97747 Archived-At: --===============6429353848907165388== Content-Type: multipart/alternative; boundary=001a114e5eb27118c3054c345d48 --001a114e5eb27118c3054c345d48 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks, Wolfgang. That works very nicely! I ended up setting the glyphs at 8pt (to fit the text) and adjusted my list of bodyfont sizes accordingly. A great tip/reminder! Alan On Sun, Apr 2, 2017 at 2:35 PM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote: > > Alan Bowen > 2. April 2017 um 20:19 via Postbox > > Hi, Pablo=E2=80=94thanks for the suggestions. I was not able to get them = to work. > Here is my test file. > > \definefallbackfamily[mainface][sans][NewGardiner][range=3D131FC,132F9] > %\definefallbackfamily[mainface][sans][NewGardiner- > Medium][range=3D131FC,132F9] > > \definefontfamily[mainface][serif][Brill] > > \setupbodyfont[mainface,18pt] > > > \starttext > > Hello world! 1234 > > =CE=B1=CE=B2=CE=B3 > > { > =F0=93=87=BC=F0=93=8B=B9 > } > > and that is all. > > \stoptext > > There is a problem when you change the font size to a value which isn=E2= =80=99t > 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=3Ddefault] > > \definefontfamily[newgardiner][rm][NewGardiner] > > \starttext > > {\definedfont[file:newgardinersmp at 14.4pt]=F0=93=87=BC=F0=93=8B=B9} > > \switchtobodyfont[newgardiner,14.4pt]=F0=93=87=BC=F0=93=8B=B9 > > \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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ > --001a114e5eb27118c3054c345d48 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks, Wolfgang. That works very nicely!=C2=A0

<= /div>
I ended up setting the glyphs at 8pt (to fit the text) and adjusted my= list of bodyfont sizes accordingly. A great tip/reminder!

=
= Alan

O= n Sun, Apr 2, 2017 at 2:35 PM, Wolfgang Schuster <schuster.wolfg= ang@gmail.com> wrote:

2.=20 April 2017 um 20:19 via= =20 Postbox
Hi,=20 Pablo=E2=80=94thanks for the suggestions. I was not able to get them to wor= k.=C2=A0
Here is my test file.

\definefallbackfamily[mainface][sans][NewGar= diner][range=3D131FC,132F9]
%\define= fallbackfamily[mainface][sans][NewGardiner-Medium][range=3D131FC,= 132F9]

\definefontfamily[mainface][serif][Brill] =

\= setupbodyfont[mainface,18pt]


\starttex= t

= Hello world! 1234

=CE=B1=CE=B2=CE=B3

{
=F0=93= =87=BC=F0=93=8B=B9
}

and that is all.
=

\stopte= xt
There is a problem when you change the font size to a value which isn=E2=80= =99t=20 pre defined
(e.g. 14pt causes problems while 14.4pt works) and you have to add=20 \definebodyfont[...]
(e.g. \definebodyfont[14pt]) to your document.

%\starttypescript[sans][newgardiner]
%=C2=A0=C2=A0=C2=A0 \setups[font:fallback:sans]
%=C2=A0=C2=A0=C2=A0 \definefontsynonym[Sans][file:newgardinersmp]
%\stoptypescript
%
%\definetypeface[newgardiner][ss][sans][newgardiner][default][fea= tures=3Ddefault]

\definefontfamily[newgardiner][rm][NewGardiner]

\starttext

{\definedfont[file:= newgardinersmp at 14.4pt]=F0=93=87=BC=F0=93=8B=B9}

\switchtobodyfont[newgardiner,14.4pt]=F0=93=87=BC=F0=93=8B=B9

\stoptext

Wolfgang

_____________________________________________________________= ______________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context=
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--001a114e5eb27118c3054c345d48-- --===============6429353848907165388== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============6429353848907165388==--