ctrld-font
ctrld-font copied to clipboard
Line drawing characters are incorrect
The line-drawing characters in this font are mixed up from the standard ASCII special character definition. I used the standard bdftopcf
method (read: ran make
) of generating the fonts from the current source.
In the attached screenshot below, on the top is -ctrld-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*
, the one in the middle is the default rxvt font, and the bottom font is -*-terminus-medium-r-normal-*-12-*-*-*-*-*-*-*
. Notice the discrepancies between characters 152 and 177 (notably 166 which is upside down in ctrld).
Currently ctrld
font contains no line drawing glyph. But this doesn't explain this weird behavior. Could you post the full script? If it's just octal value of charactor code, then I believe 141
should be 'a'
.
Could you post the full script?
If it's just octal value of charactor code, the I believe 141 should be 'a'.
It is, but the terminal is in "special characters" mode:
printf '\e)0' # set G1's translation table to Special Graphics
printf '\x0e' # Switch to G1
cat << EOF
lqqqqqqqqqqqqqqqqqqqqqqqqqk
x ENJOY SOME LINE DRAWING x
mqqqqqqqqqqqqqqqqqqqqqqqqqj
EOF
printf '\x0f' # Switch to G0