[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] Upgrade to 1.22.4 breaks PDF font
From: |
Ralph Corderoy |
Subject: |
Re: [groff] Upgrade to 1.22.4 breaks PDF font |
Date: |
Wed, 20 Feb 2019 15:52:23 +0000 |
Hi,
Bertrand wrote:
> Colin wrote:
> > Richard Morse wrote:
> > > I just upgraded to groff 1.22.4, and suddenly my files are not
> > > turning into PDFs properly. The error is "can't find font NR" (and
> > > "NI").
...
> > > Looking at /usr/local/share/groff/1.22.4/font/devpdf, especially
> > > when comparing it with devps, shows that there are many fewer
> > > fonts for the PDF than for the PS device (which I don't think is
> > > supposed to happen). The "NR" and "NI" fonts were definitely there
> > > in 1.22.3.
Here on Arch Linux with groff 1.22.3-8, I've lots of fonts in devps that
are missing from devpdf, including the mentioned NR and NI.
$ comm -23 <(ls devps) <(ls devpdf) | fmt
AB ABI AI AR BMB BMBI BMI BMR freeeuro.afm freeeuro.pfa generate HNB
HNBI HNI HNR NB NBI NI NR PB PBI PI PR prologue SS symbolsl.pfa text.enc
zapfdr.pfa ZCMI ZDR
$
Here's how Arch packages groff.
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/groff
> > It's likely that this is a bug in the Homebrew formula: you can
> > confirm this by looking for "URW fonts for pdf" in the configure
> > output (it should say "yes", but I bet it says "no"). The formula
> > needs to make sure that whatever provides a010013l.pfb is installed
> > when groff is built.
An Ubuntu package search at https://packages.ubuntu.com/ says two
packages provide a010013l.pfb.
/usr/share/fonts/X11/Type1/a010013l.pfb gsfonts-x11
/usr/share/fonts/type1/gsfonts/a010013l.pfb gsfonts
It looks like they're not in a Arch package in a repository. Their
user-contributed section has these two that might provide them.
https://aur.archlinux.org/packages/gsfonts-type1/
https://aur.archlinux.org/packages/gsfonts-type1-git/
Should the groff build process error if it can't provide the same devpdf
fonts as devps due to a missing resource? That would alert packagers to
the issue.
--
Cheers, Ralph.