Update of bug #65098 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.24.0
Summary: [PATCH] [gropdf] support `SS` font => [PATCH]
[devpdf,gropdf] support `SS` font
_______________________________________________________
Follow-up Comment #21:
commit 74501979860cda474908f534ab67bf33a6bedb87
Author: Deri James <[email protected]>
Date: Fri Jun 20 10:29:22 2025 +0000
[devpdf,gropdf]: Support `SS` slanted-symbol font.
Replace pseudo-slanted characters with a real font, improving typography
of, e.g., slanted lowercase Greek letters as used in eqn(1).
* font/devpdf/DESC.in: Mount new font `SS` prior to `S`.
* font/devpdf/SS: New file describes new slanted-symbol font. The
metrics are hand-tweaked. We can't run afmtodit on the symbolsl.afm
file in grops because it produces incorrect metrics--the width/height
values do not take into account the rescaling of the glyph sizes by
.89.
* font/devpdf/StandardSymSL.pfb: New PostScript font supplies slanted
versions of glyphs in the standard Symbol font.
* font/devpdf/devpdf.am (GROFF_FONT_FILES): Update macro definition to
scan the build directory for file names matching font descriptions,
excluding both symbol fonts. Relocate definition to be closer to use.
(devpdffont_DATA): Add new files "SS", "StandardSymSL.pfb", and
"download.in".
(font/devpdf/SS): New target is generated by copying from source tree
to build tree if they differ. As a side effect, also copy
"StandardSymSL.pfb".
(font/devpdf/util/BuildFoundries): Copy "download.in" file from source
tree to build tree with new name "download".
(font/devpdf/download): Set write permission on the target to work
around GNU Automake "distcheck" feature that makes make(1)-generated
files read-only; however we want "BuildFoundries" to rewrite the file
in place.
(mostlyclean_devpdf_extra): Clean the new files "SS" and
"StandardSymSL.pfb", as well as "S" since the new regex used to
populate the `GROFF_FONT_FILES` now overlooks it.
(install_devpdf, uninstall_devpdf): Explicitly handle "S" font
description file since the new regex used to populate the
`GROFF_FONT_FILES` now overlooks it.
* src/devices/gropdf/gropdf.pl: Support multiple specifications of `-F`
option, populating new list `fdlist`. Use the runtime path separator
to populate scalar `fd` if `fdlist` is not a singleton.
* tmac/pdf.tmac: Drop all 28 calls of `pdf:SS` macro for 24 lowercase
Greek letters and 4 variant forms; the slanted-symbol font now
supplies these.
Fixes <https://savannah.gnu.org/bugs/?65098>.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65098>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
