From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16595 invoked from network); 25 Apr 2023 20:40:08 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 25 Apr 2023 20:40:08 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D7C0E1C291F; Tue, 25 Apr 2023 22:39:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 2Rwb91hmGkbn; Tue, 25 Apr 2023 22:39:57 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E5D67C92; Tue, 25 Apr 2023 22:39:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7B80BC92 for ; Tue, 25 Apr 2023 22:39:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 FEnkLNgruQwi for ; Tue, 25 Apr 2023 22:39:53 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=69.60.111.174; helo=mailmanlian.computerisms.ca; envelope-from=lynx@polarcom.com; receiver= Received: from mailmanlian.computerisms.ca (mailmanlian.computerisms.ca [69.60.111.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 6AA97817 for ; Tue, 25 Apr 2023 22:39:50 +0200 (CEST) Received: (qmail 27454 invoked from network); 25 Apr 2023 16:40:59 -0400 Received: by simscan 1.4.0 ppid: 27449, pid: 27452, t: 0.0438s scanners: attach: 1.4.0 Received: from unknown (HELO rc.computerisms.ca) (127.0.0.1) by mailmanlian.computerisms.ca with SMTP; 25 Apr 2023 16:40:59 -0400 MIME-Version: 1.0 Date: Tue, 25 Apr 2023 13:40:58 -0700 To: mailing list for ConTeXt users In-Reply-To: <040cd41b17790095d1157a5c05fb160b@polarcom.com> References: <0595E374-CFB8-4AD6-8463-4B112D4D860F@gmx.net> <040cd41b17790095d1157a5c05fb160b@polarcom.com> Message-ID: <2462344ab9193bd3d61889dc43678297@polarcom.com> X-Sender: lynx@polarcom.com User-Agent: Roundcube Webmail/1.2.1 Subject: Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.38 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: lynx--- via ntg-context Reply-To: mailing list for ConTeXt users Cc: lynx@polarcom.com Content-Type: multipart/mixed; boundary="===============6587531576673051000==" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" --===============6587531576673051000== Content-Type: multipart/alternative; boundary="=_8c5c5ed9efe49fdf119e4d0a740cb885" --=_8c5c5ed9efe49fdf119e4d0a740cb885 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Werner: This is the one that I think will help the most (taken from the Fonts out of Context manual, pp 147 - 148 "If you want to use Lucida, all you have to do when you have bought the fonts, is to put the OpenType files in a place where they can be found, for instance: tex/texmf-fonts/fonts/data/lucida Of course you need to run MTXRUN --GENERATE afterwards so that the files can be found. On 2023-04-25 12:34, lynx--- via ntg-context wrote: > Hello, Werner: > Have you tried some diagnostic tests, such as trying to get the PDF output via DVIPS? I suspect that you are, in fact, more knowledgeable and experience with ConTeXt than I am, but for what it is worth you may want to look at: > > * \setupoutput[dvips,acrobat] (SEE: _Context-The Manual_ (Hans Hagen; English, page 24)) > * \showbodyfont[Options] (SEE: _Not-so-short Intro to ConTeXt (_J. Ataz-Lopez;English, page 114)) > * $ MTXRUN (mtxrun is the _ConTeXt TDS Runner Tool_) command from a terminal window it has has a large number of options for finding the fonts installed, and for querying their characteristics (SEE: _Fonts out of ConTeXt _(Hans Hagen, pg 52 and ff)) > > Em > > On 2023-04-25 08:50, Werner Schmidt via ntg-context wrote: > Hi conTeXt folks, > > may I ask again. How could I debug the font typesetting of PDF files with conTeXt? > > Any help is highly appreciated. > > Best Werner > > On April 21, 2023 1:29:18 PM UTC, Werner Schmidt via ntg-context wrote: Hi all, > > I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version 2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font files are loaded correctly (see log below), the generated PDF is unreadable (see attached image). > > Notes: > - Only serif font (keplerstd-light.otf) is not working. It's not embedded in the generated PDF. > - italics and bold fonts are embedded and are rendered well > - Can't provide font files because Kepler is a commercial typeface > > Do you have any ideas how to debug this issue? > > Thanks Werner > > log file: > mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, frutigernextpro-bold.otf, frutigernextpro-regular.otf, iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, lmroman10-regular.otf > mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 instances, 18 shared in backend, 3 common vectors, 15 common hashes, load time 0.449 seconds > Example: > > This text can't be read in PDF.par > {it However, italics are working.}par > {bold Also Bold and bfem BoldItalics!}par > input{zapf} ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --=_8c5c5ed9efe49fdf119e4d0a740cb885 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Werner:
This is the one that I think will help the most (taken from t= he Fonts out of Context manual, pp 147 - 148

"If you want to use Lucida, all you have to do when you have b= ought the fonts, is to put
the OpenType files in a place where they can be found, for= instance:

tex/texmf-fonts/fonts/data/lucida


Of course you n= eed to run mtxrun --generate afterwards so that the files can be found.




On 2023-04-25 12:34, lynx--- via ntg-context wrote:

Hello, Werner:
Have you tried some diagnostic tests, such as trying t= o get the PDF output via DVIPS? I suspect that you are, in fact, more knowl= edgeable and experience with ConTeXt than I am, but for what it is worth yo= u may want to look at:

  • \setupoutput[dvips,acrobat] (see: Context-The = Manual (Hans Hagen; English, page 24))
  • \showbodyfont[Options] (see: Not-so-short Intro to= ConTeXt (J. Ataz-Lopez;English, page 114))
  • $ mtxrun=C2=A0 (mtxrun=C2=A0 is the ConTeXt TDS Ru= nner Tool) command from a terminal window it has has a large number of= options for finding the fonts installed, and for querying their characteri= stics (see: Fonts out of ConTeXt (Hans Hagen, pg = 52 and ff))

Em


On 2023-04-25 08:50, Werner Schmidt via ntg-context wrote:

Hi conTeXt folks,

may I ask again. How could I debug the font type= setting of PDF files with conTeXt?

Any help is highly appreciated= =2E

Best Werner

On April 21, 2023 1:29:18 PM UTC, Werner Sc= hmidt via ntg-context <ntg-context= @ntg.nl> wrote:
Hi all,

I'd like to use the commercial Adobe Kepler typefac= e (Kepler Std - version 2.020) in conTeXt (v2023-04-15) as text (serif) fon= t. Although the font files are loaded correctly (see log below), the genera= ted PDF is unreadable (see attached image).

Notes:
- Only serif= font (keplerstd-light.otf) is not working. It's not embedded in the genera= ted PDF.
- italics and bold fonts are embedded and are rendered well - Can't provide font files because Kepler is a commercial typeface
Do you have any ideas how to debug this issue?

Thanks Werner
<= br> log file:
mkiv lua stats > loaded fonts: 10 files: fontawesome6f= reesolid900.otf, frutigernextpro-bold.otf, frutigernextpro-regular.otf, ios= evka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, kep= lerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, lmroman10= -regular.otf
mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm= 1.000, 30 instances, 18 shared in backend, 3 common vectors, 15 common has= hes, load time 0.449 seconds
Example:

This text can't be read i= n PDF.par
{it However, italics are working.}par
{bold Also Bold and= bfem BoldItalics!}par
input{zapf}
___________________________________________________________________________= ________
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
we= bpage =C2=A0: https://www.pragma-ade= =2Enl / http://context.aanhet.net=
archive =C2=A0: https://bitbucket.org/phg/context-mirror/commits/
wiki = =C2=A0=C2=A0=C2=A0=C2=A0: https://con= textgarden.net
____________________________________________________= _______________________________



__________________________________________________= _________________________________
If your question is of interest to ot= hers as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinf= o/ntg-context
webpage =C2=A0: https://www.pragma-ade.nl / http= ://context.aanhet.net
archive =C2=A0: https://bitbucket.org/phg/context-mirro= r/commits/
wiki =C2=A0=C2=A0=C2=A0=C2=A0: https://contextgarden.net
____________________________= _______________________________________________________


--=_8c5c5ed9efe49fdf119e4d0a740cb885-- --===============6587531576673051000== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============6587531576673051000==--