Created attachment 121708 [details]
mkfontscale fails to produce iso8859-7 entries for commonly used fonts that support greek (like ms core fonts, dejavu, gnu freefont and probably others).
Produced fonts.scale contains all other codepages that are supported by font,
including suneu-greek, but not iso8859-7.
This bug is caused by bug in libfontenc that contains errors in it's unicode mapping for the iso8859-7 (greek) encoding:
1. iso code 0xff is wrongly mapped to 0x3cf, must be unmapped
2. 0xa1 is wrongly mapped to 0x2bd, must be mapped to 0x2018
3. 0xa2 is wrongly mapped to 0x2bc, must be mapped to 0x2019
The first one is (along with 0xD2) is unassigned in the codepage.
Mappings 0xa1->0x2bd, 0xa2->0x2bd were correct for version 0.1 of
the mapping spec, nut version 1.0 (Unicode 3.0) updated them
to 0x2018 and 0x2019 accordingly.
Please see ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-7.TXT
Code to reproduce problem with fontenc library is attached
mkfontscale(1) requires all the iso8859-7 characters to be supported
by font, so fonts that do not contain these wrong mapping are skipped
while producing fonts.scale
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/lib/libfontenc/issues/1.
Thanks for the report & test case. Proposed fix:
Test results with proposed fix:
FontEncRecode(0xff,map)=0x0, must be 0x0
FontEncRecode(0xa1,map)=0x2018, must be 0x2018
FontEncRecode(0xa2,map)=0x2019, must be 0x2019