On Monday, October 5, 2020 at 2:33:40 AM UTC-5, jdaw1 wrote:
> Agree with everything you have said. But PLRM3, Appendix E.9 (“Expert Character Set”), pp788–789, lists: centoldstyle, dollaroldstyle, eightoldstyle, fiveoldstyle, fouroldstyle, nineoldstyle, oneoldstyle, sevenoldstyle, sixoldstyle, threeoldstyle, twooldstyle, zerooldstyle. So those ought to be valid glyph names.
>
> Unicode — wrongly — decided not to have separate characters for old-style numbers. Could that be the problem? Could it be that, somehow, macOS 10.13.6 doesn’t allow PostScript to access non-Unicode characters?
Can you get the available names from the CharStrings dictionary?
Sthg like
/Calibri findfont /CharStrings get { pop ==only ( )print } forall
If so then you can patch the encoding vector
/Calibri fontfont dup dup /Encoding get dup length array copy
(0) 0 get
[ /zero /one /two ... ] putinterval
put