From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108757 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Re: ZapfDingbats Unicode differences MKIV vs LMTX Date: Sat, 19 Sep 2020 06:18:31 +0200 Message-ID: References: <8278fd82-340d-00cb-ca51-a0a692f493ac@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9046521491046720266==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21794"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 19 06:19:22 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJULK-0005Zx-R0 for gctc-ntg-context-518@m.gmane-mx.org; Sat, 19 Sep 2020 06:19:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7579F1A8E83; Sat, 19 Sep 2020 06:18:51 +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 PbZItcT6F1uV; Sat, 19 Sep 2020 06:18:50 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 82FC71A8F7D; Sat, 19 Sep 2020 06:18:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 30BC81A8F14 for ; Sat, 19 Sep 2020 06:18:49 +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 Gri7sgsF2MU4 for ; Sat, 19 Sep 2020 06:18:48 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.48; helo=mail-lf1-f48.google.com; envelope-from=christoph.reller@gmail.com; receiver= Original-Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 8992C1A8E83 for ; Sat, 19 Sep 2020 06:18:48 +0200 (CEST) Original-Received: by mail-lf1-f48.google.com with SMTP id m5so8260246lfp.7 for ; Fri, 18 Sep 2020 21:18:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9uibymdLAVo1YKsXu6urI9MdxuCqvx+TjgUZCm4UxWk=; b=KKsvFPbBKnqD5nuIE7Ok3C+sJRWndigaPffn0mv5ScPD+Nu+phB1sbzjZlRXYHLril S0AZbzRihORpZBT31xbPH9b80yoC+fzQcnNlyQjQ4FAoL/hQD9aGCZAUr9E0CtaurjVu yuDn/q6KdVy4P8D5fXCzWegWaw4J+Kxqttei9eLEVsGSAGHP9Zkp/tNVuSS5yAVV0V08 wD4XEQzolqsVQvawi6KWWRzxz5qeg7GR7rMUTYUQ80qhb/Sa3jKLz+k3kDUY7JPdqLzM nmu6tVVRQGE0N5i6TQLFs6bPCZChGfGsGn05TYM95u9g4nNLcaYxrD1E/gzv1Ing1egc J9qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9uibymdLAVo1YKsXu6urI9MdxuCqvx+TjgUZCm4UxWk=; b=ppFor/1Qc1O7fZB8kqY7LlRGr/L82AX6yeML2D9KsiE20CF7f4e2LpW7u2MZ8RTIK2 TJ9kYniv8F3nIB6n/gqsrXN+lgX5FIYL8vp3OA57Mgs12vYE0cLMfMssOqiTUdaROdDP KVKDPZPMxdzbISLWa3UESYuSmJZ/+4gKEltB4PGAQJTxLK6Lr3YiUVM/U1CHYVfAO06e Ku0AxBUt8HIuEp3HhRys5lqZRYbiOft6hvPU4bXW1cUEuX4hX/+5fy1FeX8e39lBisgL Fs05EmhfuAwNvDgmQrOvDKIHM3XknDMzarYVu/d51Mr4N7FnuHmnaeo2TQIW9xG18KPZ YnKQ== X-Gm-Message-State: AOAM532xspFQzVdta0LJpTLXS+f3l9TCZrBraaspgYjLNPe0zMyXknEP 10VfqhyyTw4et7JdPGv6KR+WHYJN0dkNMhJdDPQ= X-Google-Smtp-Source: ABdhPJzEZ38WsV4dbWmk4GOaQ1M4xMezC3ug7n5/5jVc7I+HBey+awkXrZY3JY4OyOT1Au0daPDI8tZo8/JM+qnvemI= X-Received: by 2002:a19:2291:: with SMTP id i139mr11485126lfi.387.1600489127528; Fri, 18 Sep 2020 21:18:47 -0700 (PDT) In-Reply-To: <8278fd82-340d-00cb-ca51-a0a692f493ac@xs4all.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:108757 Archived-At: --===============9046521491046720266== Content-Type: multipart/alternative; boundary="000000000000e9ce6305afa2e976" --000000000000e9ce6305afa2e976 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Sep 18, 2020 at 4:17 PM Hans Hagen wrote: > On 9/18/2020 11:23 AM, Christoph Reller wrote: > > Dear List, > > > > I have the following MWE: > > > > \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=3Ddingbats= ] > > \usemodule [fnt-10] > > \starttext > > (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char =EF=80= =B3 > > (U+0F033) in font 'ZapfDingbats-4' with id 8: missing > > (2) \getglyphdirect{ZapfDingbats}{983059} % LMTX log: char =F3=B0= =80=93 > > (U+F0013) in font 'ZapfDingbats-4' with id 8: missing > > \ShowCompleteFont{name:ZapfDingbats}{14pt}{1} > > \stoptext > > > Dingbats are old school t1 without proper names so we can't use > unicodes. However, there is a goodie that should do that so that in > principle it should work with unicodes but there is some interference > going on (i'll look at that) > > For nwo access by 'name' or 'index' (these are kind of stable for such > an old font): > > n:a34 : \getglyph{ZapfDingbats}{\tochar{n:a34}} \par > n:a35 : \getglyph{ZapfDingbats}{\tochar{n:a35}} \par > i:48 : \getglyph{ZapfDingbats}{\tochar{i:48}} \par > i:49 : \getglyph{ZapfDingbats}{\tochar{i:49}} \par > n:a104 : \getglyph{ZapfDingbats}{\tochar{n:a104}} \par > n:a105 : \getglyph{ZapfDingbats}{\tochar{n:a105}} \par > > Thank you Hans! Access by glyph index with \tochar{i:19} works well for both MKIV and LMTX. Access by name with \tochar{n:a39} does not work in LMTX with log message: char =E2=9C=93 (U+02713) in font 'ZapfDingbats-4' with id 8: missi= ng. Also \ShowCompleteFont does not report any glyph names in LMTX. Cheers, Christoph --000000000000e9ce6305afa2e976 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Sep 18, 2020 at 4:17 PM Hans Hage= n <j.hagen@xs4all.nl> wrote:=
On 9/18/2020 11:23 AM, Christoph Reller wrote:
> Dear List,
>
> I have the following MWE:
>
> \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=3Ddingbat= s]
> \usemodule [fnt-10]
> \starttext
> (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char =EF=80= =B3
> (U+0F033) in font 'ZapfDingbats-4' with id 8: missing
> (2) \getglyphdirect{ZapfDingbats}{983059} =C2=A0 =C2=A0 % LMTX log: ch= ar =F3=B0=80=93
> (U+F0013) in font 'ZapfDingbats-4' with id 8: missing
> \ShowCompleteFont{name:ZapfDingbats}{14pt}{1}
> \stoptext
>
Dingbats are old school t1 without proper names so we can't us= e
unicodes. However, there is a goodie that should do that so that in
principle it should work with unicodes but there is some interference
going on (i'll look at that)

For nwo access by 'name' or 'index' (these are kind of stab= le for such
an old font):

=C2=A0 =C2=A0 =C2=A0 n:a34=C2=A0 : \getglyph{ZapfDingbats}{\tochar{n:a34}}= =C2=A0 \par
=C2=A0 =C2=A0 =C2=A0 n:a35=C2=A0 : \getglyph{ZapfDingbats}{\tochar{n:a35}}= =C2=A0 \par
=C2=A0 =C2=A0 =C2=A0 i:48=C2=A0 =C2=A0: \getglyph{ZapfDingbats}{\tochar{i:4= 8}}=C2=A0 =C2=A0\par
=C2=A0 =C2=A0 =C2=A0 i:49=C2=A0 =C2=A0: \getglyph{ZapfDingbats}{\tochar{i:4= 9}}=C2=A0 =C2=A0\par
=C2=A0 =C2=A0 =C2=A0 n:a104 : \getglyph{ZapfDingbats}{\tochar{n:a104}} \par=
=C2=A0 =C2=A0 =C2=A0 n:a105 : \getglyph{ZapfDingbats}{\tochar{n:a105}} \par=

Thank you Hans!
=C2=A0
Access= by glyph index with \tochar{i:19} works well for both MKIV and LMTX. Acces= s by name with \tochar{n:a39} does not work in LMTX with log message:=C2=A0= char =E2=9C=93 (U+02713) in font 'ZapfDingbats-4' with id 8: missin= g. Also \ShowCompleteFont does not report any glyph names in LMTX.

Cheers,
Christoph
--000000000000e9ce6305afa2e976-- --===============9046521491046720266== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============9046521491046720266==--