| <<<Back 1 day (to 2022/03/25) | Fwd 1 day (to 2022/03/27) >>> | 20220326 |
artifexirc-bot | <ToxicFrog> Is it possible to use unicode strings with show/charpath? The repl seems fine with utf-8 text but as soon as I try to actually draw it I get garbage out. | 03:50.39 |
| <KenSharp> You can, with considerable effort, re-encode a CIDFont or type 0 font so that Unicode character codes will select the appropriate glyph, but it's up to you to create such a thing. There are no standard encodings for that. I have no idea what you mean by 'the repl'. | 08:20.34 |
| <KenSharp> There is a recent discussion in comp.lang.postscript on Usenet where David Newall presents a method to use UTF-8 encoded character codes in PostScript. | 08:21.26 |
| <KenSharp> See the threads "Composite fonts for Unicode strings" and "Documentation for utf8decode and ushow" | 08:22.10 |
| <KenSharp> The short answer, though, is no you can't use Unicode with PostScript | 08:23.38 |
| <ToxicFrog> "the repl" as in the interactive postscript shell that I get when I run `gs`. | 13:59.21 |
| <ToxicFrog> Alright, thanks for the info. | 13:59.25 |
| <<<Back 1 day (to 2022/03/25) | Forward 1 day (to 2022/03/27)>>> | |