From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108780 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: Mon, 21 Sep 2020 14:55:02 +0200 Message-ID: References: <8278fd82-340d-00cb-ca51-a0a692f493ac@xs4all.nl> <08cb7911-5c43-82a9-9119-131f20d76272@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8427800094087582011==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21229"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 21 14:55:46 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 1kKLM9-0005Ps-2A for gctc-ntg-context-518@m.gmane-mx.org; Mon, 21 Sep 2020 14:55:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5DE2E18637E; Mon, 21 Sep 2020 14:55:23 +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 9M6tu_7hmYdr; Mon, 21 Sep 2020 14:55:21 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2268A186376; Mon, 21 Sep 2020 14:55:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 490C3186376 for ; Mon, 21 Sep 2020 14:55:20 +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 XiLKKNBq3Y50 for ; Mon, 21 Sep 2020 14:55:19 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.44; helo=mail-lf1-f44.google.com; envelope-from=christoph.reller@gmail.com; receiver= Original-Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 A61DF185D4F for ; Mon, 21 Sep 2020 14:55:19 +0200 (CEST) Original-Received: by mail-lf1-f44.google.com with SMTP id z17so13836107lfi.12 for ; Mon, 21 Sep 2020 05:55:19 -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=DUPuweR2/YOXQhkPeJZ/mrL4iK8i2i2h2x5VWTXVqKo=; b=KZgR7kVhtc3V1j1UHPRGSuAw05MWddrV0V1+thE7yz/SQ3cJTbChnmCZ3SxgJo4l6C Rt9kKEmQgrE1yRFhlAdHT0jtSCN8ziVQR0cdf4zzz2cizCxhfKJVL3mse0WqJiRfmP/1 0uUDY673g3brP3ZzxYZ6i2ZnTAuOSdG2ylEtrzwBbj6co9mW0N7QdrfzXJMGoTegpPaT WrETrccbEPItMXWzYrvyAwMygYT1h4oyMQCxdZFDgZENDWYSTwyuwEBnbeF2+91ZLFn5 kW1LPf/4EBI9Mo0+Gz3tjitZUnUnoZ+lGym0oPNR/emvb4+3IVoGxc1YfQlKQkW1V7Ky 00zA== 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=DUPuweR2/YOXQhkPeJZ/mrL4iK8i2i2h2x5VWTXVqKo=; b=W9HcQU8YE+Ae+q1CqXZhcuyY17pMq2BlZiyyb61K7i5Pmjp+B/HpIucmeeqlFNrPk2 auH5NjPy1l7hRpo/6OZZ377LXWcrt0PVX5pMVpyEBlg7UiyKwVpsK6K1O/Oa6zX8+f2o RxXpEK/DhWNlVvbJuZbdjTTCn/tDuRn5+LR1q2CsUQo7gH2ycnHlYfBQ2PA5+C3VMzCd LD7oRTtScvQdr6PZ/xaXYRLyFT+fIPioh4eaJOcIiWGxwh6JKp5NJCDIYhXR5QtFcTy6 uIANCS8eS0qobQSqxiyZ3a+Bqy8yE31bqcyuzJPFtYONS26L6KIV4R+UokmajZ+noOaL osZw== X-Gm-Message-State: AOAM5327wb4SG97s/NjkwzUoLogDOTwSUVVD9s6qhIMo20GQODztJvyO p17eno+nrcFuu7QwMOc84mMZ+1iMT2UaYwVzUYA= X-Google-Smtp-Source: ABdhPJzLZZpj9VZQlN4Hz05lcRtf2lRoIfAUiRmm6blPobDnRk7Hdj3EPF+EgOrtcvsykZGQTslFsWCECwyDTzvLk0U= X-Received: by 2002:ac2:48a2:: with SMTP id u2mr15228092lfg.359.1600692919000; Mon, 21 Sep 2020 05:55:19 -0700 (PDT) In-Reply-To: <08cb7911-5c43-82a9-9119-131f20d76272@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:108780 Archived-At: --===============8427800094087582011== Content-Type: multipart/alternative; boundary="000000000000d4e1fd05afd25c81" --000000000000d4e1fd05afd25c81 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Sep 19, 2020 at 12:04 PM Hans Hagen wrote: > On 9/19/2020 6:18 AM, Christoph Reller wrote: > > On Fri, Sep 18, 2020 at 4:17 PM Hans Hagen > > wrote: > > > > On 9/18/2020 11:23 AM, Christoph Reller wrote: > > > \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 interferen= ce > > 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: m= issing. > > Also \ShowCompleteFont does not report any glyph names in LMTX. > should be a bit better in yesterdays upload (i also changed the file > name alias so that in pinciple unicode should work too) Dear Hans, Thank you for working on this. I have tried version 2020.09.20: Unicode input works for the "Private Use Area" Unicodes reported in \ShowCompleteFont. Such Unicodes are, however, not desirable. Moreover, in MKIV, a Unicode U+2713 (Check Mark) in the input did produce the ZapfDingbats check, e.g. as follows: \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=3Ddingbats] \definefont[zapfdingbats][ZapfDingbats] \starttext {\zapfdingbats =E2=9C=93} \definedfont[name:ZapfDingbats]=E2=9C=93 \stoptext I still get no check mark in the output PDF and a log message "char =E2=9C= =93 (U+02713) in font 'ZapfDingbats-4' with id 8: missing". Am I using the font wrongly? (This has not a high priority for me, because I have the unified access by glyph index.) Christoph --000000000000d4e1fd05afd25c81 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Sep 19, 2020 at 12:04 PM Hans Hag= en <j.hagen@xs4al= l.nl> wrote:
On 9/19/2020 6:18 AM, Christoph Reller wro= te:
> On Fri, Sep 18, 2020 at 4:17 PM Hans Hagen <j.hagen@xs4all.nl
> <mailto:j.ha= gen@xs4all.nl>> wrote:
>
>=C2=A0 =C2=A0 =C2=A0On 9/18/2020 11:23 AM, Christoph Reller wrote:
&= gt;=C2=A0 =C2=A0 =C2=A0\definefontsynonym[ZapfDingbats][file:ZapfDingbats][= features=3Ddingbats]
>=C2=A0 =C2=A0 =C2=A0 > \usemodule [fnt-10]
>=C2=A0 =C2=A0 =C2=A0 > \starttext
>=C2=A0 =C2=A0 =C2=A0 > (1) \getglyphdirect{ZapfDingbats}{61491}\crlf= % MKIV log: char =EF=80=B3
>=C2=A0 =C2=A0 =C2=A0 > (U+0F033) in font 'ZapfDingbats-4' wi= th id 8: missing
>=C2=A0 =C2=A0 =C2=A0 > (2) \getglyphdirect{ZapfDingbats}{983059} =C2= =A0 =C2=A0 % LMTX log: char =F3=B0=80=93
>=C2=A0 =C2=A0 =C2=A0 > (U+F0013) in font 'ZapfDingbats-4' wi= th id 8: missing
>=C2=A0 =C2=A0 =C2=A0 > \ShowCompleteFont{name:ZapfDingbats}{14pt}{1}=
>=C2=A0 =C2=A0 =C2=A0 > \stoptext
>=C2=A0 =C2=A0 =C2=A0 >
>=C2=A0 =C2=A0 =C2=A0Dingbats are old school t1 without proper names so = we can't use
>=C2=A0 =C2=A0 =C2=A0unicodes. However, there is a goodie that should do= that so that in
>=C2=A0 =C2=A0 =C2=A0principle it should work with unicodes but there is= some interference
>=C2=A0 =C2=A0 =C2=A0going on (i'll look at that)
>
>=C2=A0 =C2=A0 =C2=A0For nwo access by 'name' or 'index'= (these are kind of stable for such
>=C2=A0 =C2=A0 =C2=A0an old font):
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 n:a34=C2=A0 : \getglyph{ZapfD= ingbats}{\tochar{n:a34}}=C2=A0 \par
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 n:a35=C2=A0 : \getglyph{ZapfD= ingbats}{\tochar{n:a35}}=C2=A0 \par
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 i:48=C2=A0 =C2=A0: \getglyph{= ZapfDingbats}{\tochar{i:48}}=C2=A0 =C2=A0\par
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 i:49=C2=A0 =C2=A0: \getglyph{= ZapfDingbats}{\tochar{i:49}}=C2=A0 =C2=A0\par
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 n:a104 : \getglyph{ZapfDingba= ts}{\tochar{n:a104}} \par
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 n:a105 : \getglyph{ZapfDingba= ts}{\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 lo= g
> message:=C2=A0char =E2=9C=93 (U+02713) in font 'ZapfDingbats-4'= ; with id 8: missing.
> Also \ShowCompleteFont does not report any glyph names in LMTX.
should be a bit better in yesterdays upload (i also changed the file
name alias so that in pinciple unicode should work too)
= =C2=A0
=C2=A0Dear Hans,

Thank you for wo= rking on this. I have tried version 2020.09.20: Unicode input works for the= "Private Use Area" Unicodes reported in \ShowCompleteFont. Such = Unicodes are, however, not desirable. Moreover, in MKIV, a Unicode U+2713 (= Check Mark) in the input did produce the ZapfDingbats check, e.g. as follow= s:

\definefontsynonym[ZapfDingbats][file:ZapfDingb= ats][features=3Ddingbats]
\definefont[zapfdingbats][ZapfDingbats]
\st= arttext
{\zapfdingbats =E2=9C=93}
\definedfont[name:ZapfDingbats]=E2= =9C=93
\stoptext

I still get no check mark = in the output PDF and a log message "char =E2=9C=93 (U+02713) in font = 'ZapfDingbats-4' with id 8: missing". Am I using the font wron= gly?
(This has not a high priority for me, because I have the uni= fied access by glyph index.)

Christoph
<= br>
--000000000000d4e1fd05afd25c81-- --===============8427800094087582011== 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== --===============8427800094087582011==--