figlet doesn't interpret JIS 0201X characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
figlet (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Binary package hint: figlet
The manpage mentions that the "banner" font supports katakana; this may be verified by using the "uskata" controlfile, which maps katakana characters into the 7-bit G0 graphical character codespace:
printf 'ABCDE' | figlet -f banner -C uskata
However, it also claims to suport mixed latin and katakana via the controlfile jis0201; looking at the control file (without knowing anything authoritative about the control file syntax), it does appear to (attempt to) map katakana characters into the 8-bit character space (same positions as with uskata, except with the high bit set, so that the 7-bit space may be reserved for ASCII latin characters: see http://
printf '\xB1\xB2\
prints nothing (it should print the same as in the first example).
Changed in figlet: | |
assignee: | nobody → micahcowan |
importance: | Undecided → Medium |
status: | Unconfirmed → In Progress |
Update: the jis0201.flc file appears to be a Unicode mapping file from the Unicode Consortium, rather than a figlet control file. Also, the mapping specified there is to half-width katakana characters (U+FF61 - U+FF9F); whereas it appears ,from the working contents of uskata.flc, and the contents of banner.flf, that the banner font expects the normal katakana character codes (U+30A1 - U+30FE).