gbranden pushed a commit to branch master
in repository groff.
commit f803c5c810a1e3e9142b9d4ffda87e6ec3f8b5c2
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Jul 9 07:34:55 2025 -0500
[devpdf]: Add generate/Makefile script.
...for regenerating slanted symbol font.
* font/devpdf/generate/Makefile: New file (re)creates AFM and PFB files
for slanted symbol font from SFD source. We emplace the files with
".in" suffixes so that they'll work with the groff build process in
both in-tree and out-of-tree scenarios.
* font/devpdf/generate/symbolsl.sfd: Update metadata to credit Deri with
modifications.
* font/devpdf/symbolsl.pfb.in: Refresh using foregoing Makefile.
* font/devpdf/symbolsl.afm.in: New file, generated by foregoing
Makefile.
---
ChangeLog | 13 ++++++++++
font/devpdf/generate/Makefile | 48 +++++++++++++++++++++++++++++++++++
font/devpdf/generate/symbolsl.sfd | 7 +++---
font/devpdf/symbolsl.afm.in | 51 ++++++++++++++++++++++++++++++++++++++
font/devpdf/symbolsl.pfb.in | Bin 14201 -> 14393 bytes
5 files changed, 116 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index becabd7f0..26fa824f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2025-07-09 G. Branden Robinson <[email protected]>
+
+ [devpdf]: Add Makefile script for regenerating slanted symbol
+ font.
+
+ * font/devpdf/generate/Makefile: New file (re)creates AFM and
+ PFB files for slanted symbol font from SFD source. We emplace
+ the files with ".in" suffixes so that they'll work with the
+ groff build process in both in-tree and out-of-tree scenarios.
+ * font/devpdf/generate/symbolsl.sfd: Update metadata to credit
+ Deri with modifications.
+ * font/devpdf/symbolsl.afm.in: New file.
+
2025-07-09 G. Branden Robinson <[email protected]>
[devpdf]: Rename slanted symbol font. It's not a standard PDF
diff --git a/font/devpdf/generate/Makefile b/font/devpdf/generate/Makefile
new file mode 100644
index 000000000..9d62b7612
--- /dev/null
+++ b/font/devpdf/generate/Makefile
@@ -0,0 +1,48 @@
+# Copyright (C) 2025 G. Branden Robinson
+#
+# This file is part of groff.
+#
+# groff is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# groff is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# This file is set up so you can do
+# make -f generate/Makefile
+# in the parent directory of this directory.
+
+# Write font descriptions to this directory.
+outdir=$(srcdir)/..
+
+srcdir=generate
+
+SFD=$(srcdir)/symbolsl.sfd
+AFM=$(outdir)/symbolsl.afm
+PFB=$(outdir)/symbolsl.pfb
+
+all: $(AFM) $(PFB)
+
+$(AFM) $(PFB): $(SFD)
+ fontforge --lang=ff -c 'Open("$(SFD)");Generate("$(PFB)")' \
+ && mv $(AFM) $(AFM).in \
+ && mv $(PFB) $(PFB).in \
+
+clean:
+ cd $(outdir) \
+ && $(RM) symbolsl.afm $(PFB).in
+
+.PHONY: all clean
+
+# Local Variables:
+# mode: makefile
+# fill-column: 72
+# End:
+# vim: set textwidth=72:
diff --git a/font/devpdf/generate/symbolsl.sfd
b/font/devpdf/generate/symbolsl.sfd
index 781eeac76..1e925413b 100644
--- a/font/devpdf/generate/symbolsl.sfd
+++ b/font/devpdf/generate/symbolsl.sfd
@@ -1,9 +1,9 @@
SplineFontDB: 3.2
-FontName: StandardSymSL
+FontName: Slanted-Symbol
FullName: Standard Symbols SL
FamilyName: Standard Symbols SL
Weight: Italic
-Copyright: Copyright URW Software, Copyright 1997 by URW
+Copyright: Copyright URW Software, Copyright 1997 by URW\nRevised for groff by
Deri James, 2025
Version: 001.005_%{version}-%{release}
ItalicAngle: 0
UnderlinePosition: -229
@@ -18,7 +18,7 @@ OS2Version: 0
OS2_WeightWidthSlopeOnly: 0
OS2_UseTypoMetrics: 0
CreationTime: 1750862636
-ModificationTime: 1751064706
+ModificationTime: 1752064397
OS2TypoAscent: 0
OS2TypoAOffset: 1
OS2TypoDescent: 0
@@ -33,6 +33,7 @@ HheadAOffset: 1
HheadDescent: 0
HheadDOffset: 1
OS2Vendor: 'PfEd'
+MarkAttachClasses: 1
DEI: 91125
Encoding: Custom
UnicodeInterp: none
diff --git a/font/devpdf/symbolsl.afm.in b/font/devpdf/symbolsl.afm.in
new file mode 100644
index 000000000..99a9a4855
--- /dev/null
+++ b/font/devpdf/symbolsl.afm.in
@@ -0,0 +1,51 @@
+StartFontMetrics 2.0
+Comment Generated by FontForge 20201107
+Comment Creation Date: Wed Jul 9 07:33:32 2025
+FontName Slanted-Symbol
+FullName Standard Symbols SL
+FamilyName Standard Symbols SL
+Weight Italic
+Notice (Copyright URW Software, Copyright 1997 by URW)
+Comment Revised for groff by Deri James, 2025
+ItalicAngle 0
+IsFixedPitch false
+UnderlinePosition -229
+UnderlineThickness 46
+Version 001.005_%{version}-%{release}
+EncodingScheme FontSpecific
+FontBBox -43 -199 708 689
+XHeight 458
+Ascender 608
+Descender -192
+StartCharMetrics 29
+C 32 ; WX 250 ; N space ; B 0 0 0 0 ;
+C 74 ; WX 631 ; N theta1 ; B 50 5 588 628 ;
+C 86 ; WX 439 ; N sigma1 ; B 31 -194 437 461 ;
+C 97 ; WX 631 ; N alpha ; B 46 2 607 470 ;
+C 98 ; WX 549 ; N beta ; B -18 -188 543 668 ;
+C 99 ; WX 549 ; N chi ; B -28 -183 571 460 ;
+C 100 ; WX 494 ; N delta ; B 54 3 527 674 ;
+C 101 ; WX 439 ; N epsilon ; B 39 1 450 469 ;
+C 102 ; WX 521 ; N phi ; B 67 -188 506 620 ;
+C 103 ; WX 411 ; N gamma ; B 74 -199 544 453 ;
+C 104 ; WX 603 ; N eta ; B 87 -194 545 461 ;
+C 105 ; WX 329 ; N iota ; B 79 -1 277 467 ;
+C 106 ; WX 603 ; N phi1 ; B 69 -197 579 458 ;
+C 107 ; WX 549 ; N kappa ; B 79 -1 581 456 ;
+C 108 ; WX 549 ; N lambda ; B -3 -10 502 661 ;
+C 109 ; WX 576 ; N mu ; B -27 -184 515 455 ;
+C 110 ; WX 521 ; N nu ; B 75 1 507 469 ;
+C 111 ; WX 549 ; N omicron ; B 48 1 489 469 ;
+C 112 ; WX 549 ; N pi ; B 24 0 553 457 ;
+C 113 ; WX 521 ; N theta ; B 73 0 511 623 ;
+C 114 ; WX 549 ; N rho ; B -43 -187 479 466 ;
+C 115 ; WX 603 ; N sigma ; B 48 1 614 458 ;
+C 116 ; WX 439 ; N tau ; B 49 1 459 458 ;
+C 117 ; WX 576 ; N upsilon ; B 64 0 517 468 ;
+C 118 ; WX 713 ; N omega1 ; B 35 2 708 532 ;
+C 119 ; WX 686 ; N omega ; B 45 0 641 468 ;
+C 120 ; WX 493 ; N xi ; B 26 -191 455 689 ;
+C 121 ; WX 686 ; N psi ; B 85 -195 703 460 ;
+C 122 ; WX 494 ; N zeta ; B 59 -190 523 680 ;
+EndCharMetrics
+EndFontMetrics
diff --git a/font/devpdf/symbolsl.pfb.in b/font/devpdf/symbolsl.pfb.in
index 6cf638c20..3abb1b976 100644
Binary files a/font/devpdf/symbolsl.pfb.in and b/font/devpdf/symbolsl.pfb.in
differ
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit