public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Deri <deri@chuzzlewit.myzen.co.uk>
Cc: "G. Branden Robinson" <branden@debian.org>, linux-man@vger.kernel.org
Subject: Re: Problems building the unifont PFA and DIT files for the PDF book
Date: Sun, 21 Apr 2024 22:08:14 +0200	[thread overview]
Message-ID: <ZiVyLv5LF2uGf1gT@debian> (raw)
In-Reply-To: <2272286.muIFQpQJ8V@pip>

[-- Attachment #1: Type: text/plain, Size: 2096 bytes --]

Hi Deri,

On Sun, Apr 21, 2024 at 08:58:03PM +0100, Deri wrote:
> This is one of Branden's changes to groff. Previously a missing spacewidth parameter was 
> ignored and groff would calculate a value. As far as I know noone has ever complained 
> about the typography groff produced when using a font with no spacewidth parameter, it 
> is now an error, but it does not stop it computing a value and continuing. For pdf and ps, 
> using the default DESC files for the devices, the computed value is 333.
> 
> However, UnifontM is a bit mapped mono font where all western glyphs have a width of 
> 500, so it would make sense edit that value into the UnifontM file by hand. For other 
> language glyphs the fixed width is 1000 but they don't normally need a space character 
> between glyphs, but you can adjust with .ss if necessary.
> 
> I would advise to use:-
> 
> .special TINOR UnifontM S

Yep, I used that order, following the patch you sent me a few weeks ago.

BTW, why do you call it TINOR and not TinosR?  Also, why UnifontM and
not UnifontR?  What's that M mean?

> Since this is the order you would like the fonts searched, typographically TINOR is much 
> better than UnifontM because the glyphs are drawn not bit mapped, so if a glyph exists in 
> both prefer to use TINOR.

Yep.

> If you want to produce man pages in CJK languages, it would be much better to install a 
> proper CJK font rather than rely on UnifontM, I suggested to use it to fill the gaps in the 
> iso-8859 pages. Now you want complete pages in other languages for shadow, you 
> should consider installing an appropriate font. I have attached two pdfs, one using 
> UnifontM and the other a proper CJK font. If you use your pdf viewers zoom control you 
> will soon see the difference in quality.

Yeah, I was looking for a font that's in a common Debian package.  I
found some, but they were in very obscure packages that I prefer not to
depend on.  I'll keep searching.

Have a lovely night!
Alex

> Cheers 
> 
> Deri

-- 
<https://www.alejandro-colomar.es/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2024-04-21 20:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-20 12:26 Problems building the unifont PFA and DIT files for the PDF book Alejandro Colomar
2024-04-20 15:52 ` G. Branden Robinson
2024-04-20 20:11   ` Brian Inglis
2024-04-20 22:32     ` Alejandro Colomar
2024-04-20 22:20   ` Alejandro Colomar
     [not found] ` <2272286.muIFQpQJ8V@pip>
2024-04-21 20:08   ` Alejandro Colomar [this message]

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=ZiVyLv5LF2uGf1gT@debian \
    --to=alx@kernel.org \
    --cc=branden@debian.org \
    --cc=deri@chuzzlewit.myzen.co.uk \
    --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