legacy codepages entries not generated for raster fonts
Submitted by Yury
Assigned to Xorg Project Team
Description
I've noticed recently that mkfontscale version 1.1.1 (1.1.2, too) is not generating legacy codepages entries for raster fonts, when -a switch is used. No amount of 'fuzziness allowed' helps (-f switch).
Looking into the source reveals that 1) reencodeLegacy
variable is likely used incorrectly -- semantically opposite of what would be expected after reading the manpage, and 2) failed
variable is used in too strict a manner, not allowing for ANY fuzziness at all. Anyway, that was my opinion after looking.
I've made the straightforward changes in the source, and now it seems the problems are gone (patch attached).