[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#235046: uxterm: fails to display characters



> These are probably bugs in the manpages: They use '-' where '\-'
> should be used.

It's a little more complicated than that.

Both Unicode and roff distinguish between the hyphen (- in roff,
U+002D) and the minus sign (\- in roff, U+2010).

If used with the right font, XTerm will display both.  However, if
used with a Latin-1 font in Unicode mode, XTerm will only display the
minus sign correctly, and will fail to display a hyphen.

So it is actually a bug in XTerm, which doesn't do glyph substitution.
Unfortunately, glyph substitution *cannot* be done with core fonts (an
X protocol weakness).

So it is actually a bug in the X protocol.  The only workaround is to
make sure that you use uxterm with a font that contains the hyphen
sign at position 0x2010.

Branden, since this bug is unfixable, you might as well close it.

                                        Juliusz



Reply to: