On Tuesday, 3 March 2026 16:16:43 GMT onf wrote:
> I believe neatroff currently doesn't support fonts without glyph names
> at all, but I have yet to see a single font that lack them, so I could
> not test this. Your comment regarding SourceCodePro seems incorrect;
> I have SourceCodePro Regular locally and opening it in FontForge shows
> that non-standard variants have assigned glyph names such as dollar.a,
> uni0431.srb, etc. Indeed, neatroff seems to handle it just fine.
> 
> Cheers,
> onf

Hi onf,

I suspect what you are seeing in fontforge is the calculation of what to 
postscript name would be - using a Unicode to AGL mapping and appending gsub 
feature names as appropriate - or you have an earlier version which included a 
post table in the font. The version I have shows:-

[derij@pip build (master)]$ ttfdump -t post /usr/share/texmf-dist/fonts/
opentype/adobe/sourcecodepro/SourceCodePro-Regular.otf
True Type Font File Dumper: v 0.5.5
Copyright 1996-1998 [email protected]
Dumping File:/usr/share/texmf-dist/fonts/opentype/adobe/sourcecodepro/
SourceCodePro-Regular.otf


Offset Table
------------
         sfnt version: 'OTTO'
         number of tables: 15
   0. 'BASE' - checksum = 0x651e5dbd, offset = 0x0001cde0, len =        70
   1. 'CFF ' - checksum = 0x971dcdd3, offset = 0x00004fa0, len =     97853
   2. 'DSIG' - checksum = 0xf8aa7dd8, offset = 0x00021fb4, len =      6368
   3. 'GDEF' - checksum = 0xd90ddbf1, offset = 0x0001ce28, len =       650
   4. 'GPOS' - checksum = 0x123ec06c, offset = 0x0001d0b4, len =      5668
   5. 'GSUB' - checksum = 0x0aca4dd5, offset = 0x0001e6d8, len =      7482
   6. 'OS/2' - checksum = 0x95dcd7f2, offset = 0x00000160, len =        96
   7. 'SVG ' - checksum = 0x7518dd98, offset = 0x00020414, len =      3899
   8. 'cmap' - checksum = 0x7c8578c3, offset = 0x000019e0, len =     13726
   9. 'head' - checksum = 0x086ddd88, offset = 0x000000fc, len =        54
  10. 'hhea' - checksum = 0x06330088, offset = 0x00000134, len =        36
  11. 'hmtx' - checksum = 0x0ce50f8b, offset = 0x00021350, len =      3172
  12. 'maxp' - checksum = 0x06315000, offset = 0x00000158, len =         6
  13. 'name' - checksum = 0x2868a16e, offset = 0x000001c0, len =      6176
  14. 'post' - checksum = 0xffb80033, offset = 0x00004f80, len =        32

'post' Table - PostScript
-------------------------
         'post' format:          3.0
         italicAngle:            0.0
         underlinePosition:      -75
         underlineThichness:     50
         isFixedPitch:           1d
         minMemType42:           0d
         maxMemType42:           0d
         minMemType1:            0d
         maxMemType1:            0d

So does not include any postscript names.  When fontforge converts to an  afm 
it adds the calculated name, but it does not come from a post table.

Cheers

Deri

    • ... G. Branden Robinson
  • ... onf
    • ... Deri via discussion of the GNU roff typesetting system and related software
      • ... onf
        • ... G. Branden Robinson
          • ... Damian McGuckin
            • ... G. Branden Robinson
        • ... Deri via discussion of the GNU roff typesetting system and related software
          • ... onf
            • ... onf
            • ... Deri via discussion of the GNU roff typesetting system and related software
    • ... Damian McGuckin
  • ... onf
  • ... onf
  • ... onf
    • ... Deri via discussion of the GNU roff typesetting system and related software
      • ... onf
        • ... Deri via discussion of the GNU roff typesetting system and related software

Reply via email to