Some console fonts (i.e.Lat2-VGA8.psf.gz) have bad Unicode maps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
console-setup (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: console-setup
It seems that the file Lat2-VGA8.psf.gz has a partially incorrect Unicode map:
a) The Unicodes for some box lines and capital letters are wrong; for example, a character number 80h, that has the following bitmap (8x8 matrix follows)
........
XXXXXXX.
.XX.....
.XXXX...
.XX.....
XXXXXXX.
..XX....
...XX...
has associated unicodes 2500 (BOX DRAWING LIGHT HORIZONTAL) and 2501 (BOX DRAWING HEAVY HORIZONTAL) instead of 0118 (LATIN CAPITAL LETTER E WITH OGONEK). Consequently, all the mentioned characters are not displayed correctly. Still, the majority of the map is OK (i.e. the lowercase accented characters are mapped correctly). The easiest way to reproduce this is probably to:
1) Set /etc/default/
2) Run setupcon in the console
3) Run midnight commander in the console and have a look at the boxes.
This also applies to some other fonts (I checked a handful of other Lat2* fonts).
b) I wonder if this is a bug (probably technically it is not): Actually the order of the characters in Lat2-VGA8.psf.gz (even those that are correctly mapped) is not the same as in the official ISO_8859-2 definition.
For example, the letter number a lowercase "r" with an acute (unicode 0155h) is number E0h in the ISO table, but number C8h in the Lat2-VGA8 file.
You're right, there does seem to be something wrong with the source BDF files. Apparently these were autogenerated from console fonts, and I don't really know my way around which BDF files are used for what - I'll have to talk to Anton to figure out what's going on here.