|
|
Am 06.07.2021 um 21:58 schrieb Bald Eagle:
> So, if anyone has any information on what I ought to be doing, that would be
> great :)
Did I ever mention that handling of character encoding in POV-Ray v3.7
is seriously borked?
And the decision was made to retain this borkedness in v3.8, for the
sake of backward compatibility.
And you shouldn't be using v3.8.0-10008988 or later, as most of the
changes they have brought will _not_ make it into v3.8.0 proper.
Particularly not any changes regarding character encoding.
Oh, and in case you're trying this with the "ANSI_GDT" font, version
1.0, from 1998: That one also seems to be borked, and is not helping.
As for the character codes given on that web page:
- The Alt+X codes _should_ directly translate to `\uXXXX` codes.
Provided the borkedness of POV-Ray's TrueType handling doesn't get in
the way, and `charset` is set to `utf8` or `sys`.
- Alt-codes starting with "0" _should_ directly translate to `chr(n)`.
Again provided the borkedness of POV-Ray's TrueType handling doesn't get
in the way.
- For other Alt-codes there is _some_ mapping, but it is far from
trivial, and is related to old DOS-era character codes. And again, it is
subject to borkedness and possibly `charset`.
- Some of those codes may only be valid for that particular font.
Post a reply to this message
|
|