Mac font Calibri has glyphs for old-style numbers. Mac Font Book
claims that they are glyphs 954 to 963, it not being obvious what
those numbers mean. Best efforts with glyph names resembling
/oneoldstyle, …, /threeoldstyle, …, produce the notdef block. :-(
Please, how can these non-Unicode glyphs be accessed from PostScript?
On Monday, October 5, 2020 at 2:33:40 AM UTC-5, jdaw1 wrote:threeoldstyle, twooldstyle, zerooldstyle. So those ought to be valid glyph names.
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,
/Encoding exchUnicode — 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
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?
On 10/04/2020 01:14 PM, jdaw1 wrote:block. :-(
Mac font Calibri has glyphs for old-style numbers. Mac Font Book claims that they are glyphs 954 to 963, it not being obvious what those numbers mean. Best efforts with glyph names resembling /oneoldstyle, …, /threeoldstyle, …, produce the notdef
Please, how can these non-Unicode glyphs be accessed from PostScript?
What software are you using?
Calibri is a Microsoft proprietary font from Microsoft Office and
apparently a lot of people replace it with Carlito from Google which is freely licensed.
PostScript uses a font encoding vector to map glyphs to a byte value
with a range of 0 to 255 decimal (or 0 to 377 octal) so I don't
understand what 954 to 963 means.
Jeff Coffield
www.digitalsynergyinc.com
Mac font Calibri has glyphs for old-style numbers. Mac Font Book claims that they are glyphs 954 to 963, it not being obvious what those numbers mean. Best efforts with glyph names resembling /oneoldstyle, …, /threeoldstyle, …, produce the notdefblock. :-(
Please, how can these non-Unicode glyphs be accessed from PostScript?
With further rummaging, I still cannot find a glyph name. Sigh.
With further rummaging, I still cannot find a glyph name. Sigh.
65645 0x1006d U+???? "three.oldstyle"And thirty-five have four.oldstyle:
There's apparently an enormous amount I don't know about fonts.Not just you: I know very little.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 286 |
Nodes: | 16 (2 / 14) |
Uptime: | 88:25:02 |
Calls: | 6,496 |
Calls today: | 7 |
Files: | 12,100 |
Messages: | 5,277,326 |