...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(-)
 create mode 100644 font/devpdf/generate/Makefile
 create mode 100644 font/devpdf/symbolsl.afm.in

diff --git a/ChangeLog b/ChangeLog
index becabd7f0..26fa824f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2025-07-09  G. Branden Robinson <g.branden.robin...@gmail.com>
+
+       [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 <g.branden.robin...@gmail.com>
 
        [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 
6cf638c20bf9f3b569c98a73150359c31097cdd2..3abb1b976631f05d4337433baa94d9e7e62ce0a9
 100644
GIT binary patch
delta 309
zcmeyFx3fT_fpH2O1B0q!K(MZ3N`6wRTYg@NuA!cRl|pb%VqQsVif(XaZc={EM0HJG
zRDl>v^YGLZ1+UT^1qDk519K~5V=H4L1tS9^Q!Z6i=c3falKdho1$R9Kr=rBXl+-+h
zp!}rFyyE=4iHB_ro%0JSi!#$QN~{zVf>O&ei-AU^<rgWW7v-m=DI`@YxTF?kDtIO4
zrWWgf&7AmGmes(}(7=4MJYx&0QzoxxJZTwYU}!{?L7ECcr={fQ<y0!9q^5DHPCRd@
MN|eUUZA_m{0Qp~L5C8xG

delta 164
zcmdm4@H0=nf$<6}1B0q!K(MZ3N`6wRTYg@NuA!cRl|pbyVqQvOQA%)SZm`cp4NV>t
zew?MATT!NhS81Mtk-37Av6ZQjm64Hxk%5sZm#V6BQEFmIevy@eODafFVs2{j#B(;2
rZ5gFmjSP$pEGEY?wxF0d`5og)K1~Inwv_z5oJxh1)U?fR%%4pF@ZU9?

-- 
2.30.2

Attachment: signature.asc
Description: PGP signature

_______________________________________________
groff-commit mailing list
groff-commit@gnu.org
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to