Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers
Hans Hagen via ntg-context writes: > On 10/6/2022 2:42 PM, Leah Neukirchen wrote: > >> But I also found yet another printer model that doesn't print: >> the HP Color LaserJet 4700 (Model Q7492A, Firmware 20060821 46.031.1). >> Since you seem to own the only printer that works ;) would >> you be so kind and share which model you have? > > We have a HP ColorFlowMFP X585 full-width highspeed duplex inkjet > printer (a couple of years old, always prints ok). So far we never > heard of printing failures elsewhere. > >> I also wondered whether bisecting the snapshot-repo would work. >> But I only have one LMTX binary; this font handling should be all in >> lua code tho? > > It makes no sense to compare luametatex and luatex .. it's different > machinery. > > Btw, some in the thread mention issues (like bad looking heros shapes) > but in your case there is no print at all, so that is different. Isn't > there some error log in these printer? The error log didn't contain anything useful. I made two experiments now. First, I modified the MKIV PDF file to use the MKXL font stream, and changed the text primitives to use low chars. This renders fine on all PDF viewers I found (text is garbled, of course), but it still doesn't print. So now I'm fairly sure now the bug is in the font stream. foo.doctored.pdf Description: Adobe PDF document I finally found a tool to analyze CID fonts at https://github.com/janpe2/CFFDump I noticed two things: 1) the MKIX Top DICT INDEX doesn't contain /version, but the string is in the SID. Unfortunately merely adding it to topdict in tablewriters.cff doesn't fix the printing bug. But I'd still recommend doing so. 2) The Private DICT doesn't contain /StdHW /StdVW /StemSnapH /StemSnapV. Also BlueScale is 0. This should not matter for printing(?) but it explains why Adobe displays it differently! The hinting information is missing. Note that the code would copy this data but it's missing in the cffinfo already. I'll attach both CFF dumps here, perhaps someone finds other issues. font-0008.mkiv.dump Description: Binary data font-0008.mkxl.dump Description: Binary data cu, -- Leah Neukirchenhttps://leahneukirchen.org ___ 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 ___
Re: [NTG-context] alternative en TOC
Its worring now. I have to add \setuplist[subsection][alternative=d] after \setupcombinedlist[content] etc. before that line it has no effect here. \definecombinedlist[content][part,chapter,section,subsection] \setupcombinedlist[content][alternative=c,partnumber=no,placehead=yes,color=black,interaction=all] \setuplist[subsection][alternative=d] Thankyou very much. --- Horacio Suárez Editorial Antropofagia antropofagia.com.ar De: ntg-context en nombre de Henning Hraban Ramm via ntg-context Enviado: jueves, 6 de octubre de 2022 11:02 Para: Horacio Suárez via ntg-context Cc: Henning Hraban Ramm Asunto: Re: [NTG-context] alternative en TOC Am 06.10.22 um 15:24 schrieb Horacio Suárez via ntg-context: > Not working, besides "[alternative=d]" apears on top of the first pdf page. This works for me: \setuppapersize[A7,landscape] \setuplist[alternative=c] \setuplist[subsection][alternative=d] \starttext \placecontent \hairline \section{Section} \subsection{Subsection} \subsubsection{Subsubsection} \stoptext Check if your braces/brackets are right. Hraban ___ 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 ___
Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers
On 10/6/2022 2:42 PM, Leah Neukirchen wrote: But I also found yet another printer model that doesn't print: the HP Color LaserJet 4700 (Model Q7492A, Firmware 20060821 46.031.1). Since you seem to own the only printer that works ;) would you be so kind and share which model you have? We have a HP ColorFlowMFP X585 full-width highspeed duplex inkjet printer (a couple of years old, always prints ok). So far we never heard of printing failures elsewhere. I also wondered whether bisecting the snapshot-repo would work. But I only have one LMTX binary; this font handling should be all in lua code tho? It makes no sense to compare luametatex and luatex .. it's different machinery. Btw, some in the thread mention issues (like bad looking heros shapes) but in your case there is no print at all, so that is different. Isn't there some error log in these printer? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] alternative en TOC
Am 06.10.22 um 15:24 schrieb Horacio Suárez via ntg-context: Not working, besides "[alternative=d]" apears on top of the first pdf page. This works for me: \setuppapersize[A7,landscape] \setuplist[alternative=c] \setuplist[subsection][alternative=d] \starttext \placecontent \hairline \section{Section} \subsection{Subsection} \subsubsection{Subsubsection} \stoptext Check if your braces/brackets are right. Hraban ___ 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 ___
Re: [NTG-context] alternative en TOC
Not working, besides "[alternative=d]" apears on top of the first pdf page. Thankyou. --- Horacio Suárez Editorial Antropofagia antropofagia.com.ar De: ntg-context en nombre de Henning Hraban Ramm via ntg-context Enviado: jueves, 6 de octubre de 2022 09:55 Para: Horacio Suárez via ntg-context Cc: Henning Hraban Ramm Asunto: Re: [NTG-context] alternative en TOC Am 06.10.22 um 13:37 schrieb Horacio Suárez via ntg-context: > hello > > it is possible to list chapters and section as "alternative=c" and > subsections as "alternative=d" in the same TOC? Did you try \setuplist[subsection][alternative=d] ? Hraban ___ 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 ___
Re: [NTG-context] alternative en TOC
Am 06.10.22 um 13:37 schrieb Horacio Suárez via ntg-context: hello it is possible to list chapters and section as "alternative=c" and subsections as "alternative=d" in the same TOC? Did you try \setuplist[subsection][alternative=d] ? Hraban ___ 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 ___
Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers
Hans Hagen via ntg-context writes: > On 10/6/2022 12:31 PM, Ulrike Fischer via ntg-context wrote: >> Am Tue, 4 Oct 2022 18:09:28 +0200 schrieb Hans Hagen via >> ntg-context: >> Hans, is it possible that LMTX uses some technique that is “too modern” for some built-in PDF interpreter? >> >>> we basically use the old pre 1.6 embedding, same as luatex >> I saw that the new code renumbers the glyphs, so it uses 0001, 0002 >> etc instead of the mix of various slot numbers in luatex. Perhaps >> the printers don't like that. > indeed, soem control code confusion; a few days ago i suggested a test > for that and got no response yet Sorry, I didn't have access to a printer until last night. As I expected, starting the numbering from 31 doesn't help either---still blank pages. (Note that with DejaVu Sans the numbering from 1 works fine.) But I also found yet another printer model that doesn't print: the HP Color LaserJet 4700 (Model Q7492A, Firmware 20060821 46.031.1). Since you seem to own the only printer that works ;) would you be so kind and share which model you have? I also wondered whether bisecting the snapshot-repo would work. But I only have one LMTX binary; this font handling should be all in lua code tho? -- Leah Neukirchenhttps://leahneukirchen.org/ ___ 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 ___
[NTG-context] alternative en TOC
hello it is possible to list chapters and section as "alternative=c" and subsections as "alternative=d" in the same TOC? Thankyou very much in advance. --- Horacio Suárez Editorial Antropofagia antropofagia.com.ar ___ 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 ___
Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers
On 10/6/2022 12:31 PM, Ulrike Fischer via ntg-context wrote: Am Tue, 4 Oct 2022 18:09:28 +0200 schrieb Hans Hagen via ntg-context: Hans, is it possible that LMTX uses some technique that is “too modern” for some built-in PDF interpreter? we basically use the old pre 1.6 embedding, same as luatex I saw that the new code renumbers the glyphs, so it uses 0001, 0002 etc instead of the mix of various slot numbers in luatex. Perhaps the printers don't like that. indeed, soem control code confusion; a few days ago i suggested a test for that and got no response yet Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers
Am Tue, 4 Oct 2022 18:09:28 +0200 schrieb Hans Hagen via ntg-context: >> Hans, is it possible that LMTX uses some technique that is “too modern” >> for some built-in PDF interpreter? > we basically use the old pre 1.6 embedding, same as luatex I saw that the new code renumbers the glyphs, so it uses 0001, 0002 etc instead of the mix of various slot numbers in luatex. Perhaps the printers don't like that. -- Ulrike Fischer http://www.troubleshooting-tex.de/ ___ 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 ___