From: Deri <deri@chuzzlewit.myzen.co.uk>
To: Alejandro Colomar <alx@kernel.org>
Cc: "G. Branden Robinson" <g.branden.robinson@gmail.com>,
linux-man@vger.kernel.org
Subject: Re: Linux man-pages PDF book
Date: Thu, 18 Apr 2024 01:26:28 +0100 [thread overview]
Message-ID: <9708362.ozD36m3ToO@pip> (raw)
In-Reply-To: <ZiA1iq1NSqWWADrT@debian>
On Wednesday, 17 April 2024 21:48:04 BST Alejandro Colomar wrote:
> Hi Deri,
>
> On Wed, Apr 17, 2024 at 09:01:01PM +0100, Deri wrote:
> > On Wednesday, 17 April 2024 11:33:58 BST Alejandro Colomar wrote:
> > > No, but they contain binary. Here's an example:
> > >
> > > gropdf:zic.8: warning: Don't understand 'dup 0 11 -| �����B4fD�" |'
> >
> > Aah, this comes from the new font subsetting code in gropdf. I have not
> > seen a font quite like this before, most fonts used with groff have been
> > converted from a .ttf/.otf by running it through fontforge.If you are
> > interested in the gory details look at the git log for the fix just
> > committed to the groff git.
> Thanks! However, I can still see that warning. I've installed groff
> from git HEAD:
>
> $ git describe
> 1.23.0-1149-g5589bcd18
> $ git log -1 | head
> commit 5589bcd18776c6d236c53226a0ee30506180e6b6
> Author: Deri James <deri@chuzzlewit.myzen.co.uk>
> Date: Wed Apr 17 19:25:03 2024 +0100
>
> Improve font parsing.
>
> The usual (for fontforge converted ttf fonts) is to use the RD, ND
> and NP operators within charstring definitions, however these are
> just named in the private subrs dictionary so could be assigned
> any name.
>
>
> And here's the warning in the man-pages' contrib branch:
>
> $ make clean
> RM -rf .tmp
> $ groff --version | head -n1
> GNU groff version 1.23.0.1149-5589
> $ make build-pdf-book -j24 >/dev/null 2>&1
> $ rm .tmp/man-pages-6.7-63-ga4f3afd28.pdf
> $ make build-pdf-book
> GROPDF .tmp/man-pages-6.7-63-ga4f3afd28.pdf
> troff:fanotify_init.2:322: warning [page 192, 4.2i]: cannot adjust
line
> troff:membarrier.2:272: warning [page 475, 3.0i]: cannot adjust line
> statx.2:240: warning: table wider than line length minus indentation
> troff:syscall.2:171: warning: cannot select font 'CW'
> troff:syscall.2:301: warning: cannot select font 'CW'
> ...
> gropdf:zic.8: warning: Don't understand 'dup 0 11 -| �����B4fD�" |'
>
>
> Have a lovely night!
> Alex
Hi Alex,
While testing I used a document just using the debian TinosR font, no problem.
Issue occurs when both types of font are used in one document. I have now
pushed the fix to groff. Please try again.
Cheers
Deri
next prev parent reply other threads:[~2024-04-18 0:26 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-14 11:37 Linux man-pages PDF book Alejandro Colomar
2024-04-14 11:41 ` Alejandro Colomar
2024-04-14 12:01 ` G. Branden Robinson
2024-04-14 12:25 ` Alejandro Colomar
[not found] ` <3935722.768hzMJKAL@pip>
2024-04-16 1:02 ` Alejandro Colomar
2024-04-16 2:08 ` G. Branden Robinson
2024-04-16 2:42 ` Alejandro Colomar
[not found] ` <44896690.SEQk1G1hEZ@pip>
[not found] ` <20240416165157.ml3ntjoozh3mpyzo@illithid>
2024-04-16 20:15 ` Alejandro Colomar
2024-04-16 20:57 ` Alejandro Colomar
2024-04-16 23:17 ` Deri
2024-04-17 9:54 ` Alejandro Colomar
2024-04-17 9:56 ` Alejandro Colomar
2024-04-17 10:28 ` Deri
2024-04-17 10:33 ` Alejandro Colomar
2024-04-17 20:01 ` Deri
2024-04-17 20:48 ` Alejandro Colomar
2024-04-18 0:26 ` Deri [this message]
2024-04-18 1:09 ` Alejandro Colomar
2024-04-18 14:45 ` Deri
2024-04-18 0:44 ` Alejandro Colomar
2024-04-18 1:08 ` Alejandro Colomar
2024-04-14 11:57 ` G. Branden Robinson
2024-04-14 12:32 ` Alejandro Colomar
2024-04-14 12:42 ` Alejandro Colomar
2024-04-14 13:00 ` G. Branden Robinson
2024-04-14 12:56 ` G. Branden Robinson
2024-04-14 15:58 ` Alejandro Colomar
2024-04-14 19:55 ` Alejandro Colomar
2024-04-14 20:25 ` G. Branden Robinson
2024-04-14 21:06 ` Alejandro Colomar
2024-04-14 14:50 ` Alejandro Colomar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9708362.ozD36m3ToO@pip \
--to=deri@chuzzlewit.myzen.co.uk \
--cc=alx@kernel.org \
--cc=g.branden.robinson@gmail.com \
--cc=linux-man@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox