Page 1 of 1

Bug in graphics.library, diskfont.library or charset mappings

Posted: Tue Apr 07, 2020 1:31 pm
by softwarefailure
Yesterday I discovered some strange behaviour in MUI and reported about it here: http://muidev.de/ticket/434 However, as it turned out, the bug is not in MUI but in OS4 because everything application shows the behaviour on OS4.

Basically, it's this: When using ISO 8859-1 charset, the character 0xa6 (¦) isn't drawn correctly. It is drawn as an "Š" character (that isn't even in ISO 8859-1!). Here's what it looks like on OS4:

Image

And this is what it should look like:

Image

!!! Note that this is not a font problem. It happens even when using the very same bitmap font on OS3 and OS4. On OS3 (and MorphOS) it's correct, on OS4 it isn't !!!

Here's the test text file:
https://easyupload.io/qfaigv

Re: Bug in graphics.library, diskfont.library or charset mappings

Posted: Tue Apr 07, 2020 7:01 pm
by nbache
Try reading the first few paragraphs of this page:

https://en.wikipedia.org/wiki/ISO/IEC_8859-15

Then check your Locale settings; I'd be pretty sure you have chosen ISO-8859-15 (Latin 9) as your system charset under OS4.

Best regards,

Niels

P.S. The easy way to check (without downloading files) is to issue this in a Shell:

rx "say copies(x2c('A6'), 50)"

Re: Bug in graphics.library, diskfont.library or charset mappings

Posted: Wed Apr 08, 2020 4:12 pm
by softwarefailure
Right, that was it, thanks!