Hi Deri,

At 2022-10-07T13:23:06+0100, Deri wrote:
> On Friday, 7 October 2022 10:35:55 BST G. Branden Robinson wrote:
> > One thing I don't understand is why "(gs)" (which, IIRC, means,
> > "whatever Ghostscript's font search path reported in 'gs -h' is)
> > comes right after the URW fonts directory when searching for Adobe
> > or generic fonts but all the way at the end of the search path for
> > fonts using the 'U' (URW) foundry.
> > 
> > Deri may well have explained this to me before and I have forgotten.
> > If the distinct placement is deliberate, we should add an
> > explanatory comment.
[...]
> So, there may be two sources of URW fonts, the ones which may be
> supplied with ghostscript (remember some versions supply them in %rom%
> which means they are not available to external programs), and as
> separate package generated from URW sources.

...right.  That %rom% thing squirmed completely out of my brain despite
having followed your discussion with Ingo about it only months ago.

> There is no guarantee that the fonts from different sources are the
> same, although the same glyphs will have identical widths. If using
> grops and ghostscript to produce pdfs, you will be using the
> ghostscript supplied fonts, so if you are using gropdf font TR it
> makes sense to use the same font which grops/ghostscript would use.

Reasonable.

> When using U-TR (since you are specifically requesting the URW fonts
> are used) it makes sense to use the URW fonts first. If one of the
> sources is not available the fallback is to use the one which is
> available, in which case the download file would have the same paths
> for both foundries, default and U.

Also reasonable.

> Even if there is only one source for the URW fonts, the difference
> between the default and U foundries is that afmtodit has been run on
> the files found so the U- fonts will contain more glyphs than the
> default fonts copied from the grops directory.

afmtodit has been run on the Adobe fonts too, just...a really long time
ago.  I have looked into fixing Savannah #63018 "the right way"; this
means getting that font/devps/generate stuff to actually work again.

https://savannah.gnu.org/bugs/index.php?63018

I'm attaching the core of the fix, but for it to produce a useful ZD
font description file is going to require un-bitrotting some other
stuff, and building some more powerful machinery to figure out file name
mappings for PostScript fonts to groff font names.  Something font
designers seem to love to do is to change their font file names every
two weeks...

> I hope this explains why it makes sense to reverse the order for the
> two foundries. I'll leave the appropriate comment to you.

Thank you!  I'll ponder over it.  Nothing makes me learn something like
being given the responsibility to explain it.  :P

Regards,
Branden
diff --git a/font/devps/generate/dingbats.map b/font/devps/generate/dingbats.map
index c5459ce78..8d603effb 100644
--- a/font/devps/generate/dingbats.map
+++ b/font/devps/generate/dingbats.map
@@ -1,5 +1,206 @@
 #
-# Predefined groff symbols for the dingbats font.
+# Map Adobe glyph names to groff special character identifiers.
 #
-a19 OK
+a1 u2701
+a2 u2702
+a3 u2704
+a4 u260E
+a5 u2706
+a6 u271D
+a7 u271E
+a8 u271F
+a9 u2720
+a10 u2721
+a11 u261B
 a12 rh
+a12 u261E
+a13 u270C
+a14 u270D
+a15 u270E
+a16 u270F
+a17 u2711
+a18 u2712
+a19 OK
+a19 u2713
+a20 u2714
+a21 u2715
+a22 u2716
+a23 u2717
+a24 u2718
+a25 u2719
+a26 u271A
+a27 u271B
+a28 u271C
+a29 u2722
+a30 u2723
+a31 u2724
+a32 u2725
+a33 u2726
+a34 u2727
+a35 u2605
+a36 u2729
+a37 u272A
+a38 u272B
+a39 u272C
+a40 u272D
+a41 u272E
+a42 u272F
+a43 u2730
+a44 u2731
+a45 u2732
+a46 u2733
+a47 u2734
+a48 u2735
+a49 u2736
+a50 u2737
+a51 u2738
+a52 u2739
+a53 u273A
+a54 u273B
+a55 u273C
+a56 u273D
+a57 u273E
+a58 u273F
+a59 u2740
+a60 u2741
+a61 u2742
+a62 u2743
+a63 u2744
+a64 u2745
+a65 u2746
+a66 u2747
+a67 u2748
+a68 u2749
+a69 u274A
+a70 u274B
+a71 u25CF
+a72 u274D
+a73 u25A0
+a74 u274F
+a75 u2751
+a76 u25B2
+a77 u25BC
+a78 u25C6
+a79 u2756
+a81 u25D7
+a82 u2758
+a83 u2759
+a84 u275A
+a85 u276F
+a86 u2771
+a87 u2772
+a88 u2773
+a89 u2768
+a90 u2769
+a91 u276C
+a92 u276D
+a93 u276A
+a94 u276B
+a95 u2774
+a96 u2775
+a97 u275B
+a98 u275C
+a99 u275D
+a100 u275E
+a101 u2761
+a102 u2762
+a103 u2763
+a104 u2764
+a105 u2710
+a106 u2765
+a107 u2766
+a108 u2767
+a109 u2660
+a110 u2665
+a111 u2666
+a112 u2663
+a117 u2709
+a118 u2708
+a119 u2707
+a120 u2460
+a121 u2461
+a122 u2462
+a123 u2463
+a124 u2464
+a125 u2465
+a126 u2466
+a127 u2467
+a128 u2468
+a129 u2469
+a130 u2776
+a131 u2777
+a132 u2778
+a133 u2779
+a134 u277A
+a135 u277B
+a136 u277C
+a137 u277D
+a138 u277E
+a139 u277F
+a140 u2780
+a141 u2781
+a142 u2782
+a143 u2783
+a144 u2784
+a145 u2785
+a146 u2786
+a147 u2787
+a148 u2788
+a149 u2789
+a150 u278A
+a151 u278B
+a152 u278C
+a153 u278D
+a154 u278E
+a155 u278F
+a156 u2790
+a157 u2791
+a158 u2792
+a159 u2793
+a160 u2794
+a161 u2192
+a162 u27A3
+a163 u2194
+a164 u2195
+a165 u2799
+a166 u279B
+a167 u279C
+a168 u279D
+a169 u279E
+a170 u279F
+a171 u27A0
+a172 u27A1
+a173 u27A2
+a174 u27A4
+a175 u27A5
+a176 u27A6
+a177 u27A7
+a178 u27A8
+a179 u27A9
+a180 u27AB
+a181 u27AD
+a182 u27AF
+a183 u27B2
+a184 u27B3
+a185 u27B5
+a186 u27B8
+a187 u27BA
+a188 u27BB
+a189 u27BC
+a190 u27BD
+a191 u27BE
+a192 u279A
+a193 u27AA
+a194 u27B6
+a195 u27B9
+a196 u2798
+a197 u27B4
+a198 u27B7
+a199 u27AC
+a200 u27AE
+a201 u27B1
+a202 u2703
+a203 u2750
+a204 u2752
+a205 u276E
+a206 u2770

Attachment: signature.asc
Description: PGP signature

Reply via email to