Hi,

Dimitar Zhekov wrote:

>> ----- Forwarded message from Jonathan Nieder <jrnie...@gmail.com> -----
>>  1) Is there an existing font covering Japanese characters that goes
>>     nicely with terminus?  Is fontconfig be set up to use it?  Will
>>     xterm notice?
>
> Don't know. The Japanese users should know best, but I can't read their
> forums. :)

Makes sense.  From https://bbs.archlinux.org/viewtopic.php?id=109638
I see that xterm’s VT100 widget has some hacks to support this.

 boldFont -
        Specifies the name of the bold font to use instead of overstriking.

        This font must be the same height and width as the normal font;
        otherwise it is ignored.

 wideFont -
        Specifies the font to be used for displaying wide (double-width)
        text.  By default, xterm will attempt to use a font twice as
        wide as the font used to draw normal text.  If no double-width
        font is found, it will improvise by stretching the normal font.

 wideBoldFont -
        Specifies the font to be used for displaying bold, wide text.

(and one can experiment with -fb, -fw, and -fwb).

Using "xterm -fw '-*-fixed-*-*-*-*-24-*-*-*-*-*-*-*'" or
"xterm -fw kanji24" gets the kanji to appear but not the hiragana (the
hiragana appears as blank space).

Using "xterm -fw '-*-fixed-*-*-*-ja-*-*-*-*-*-*-*-*-*'" shows both the
kanji and the hiragana but they are not very tall, and an xterm bug
cuts off the bottom half of normal text next to them.

So I’m halfway there.

>>  2) If so, can we make the package to install easily discoverable
>>     somehow?
>
> Under Debian - yes, with the Recommends and Suggests package tags.

A hint in README.Debian might help in the short term.  Something like
this:

        “Unlike Fixed, the Terminus font does not have a double-width
         counterpart for Chinese, Japanese, Korean, and Vietnamese
         characters.  If you know of a font with these characters that
         goes well with Terminus, please file a bug against the
         xfonts-terminus package with advice for using them together.

         Until then, when using Terminus in xterm to view text in such
         character sets, you might want to experiment with xterm's
         *VT100.wideFont resource and -fw command line option; for
         example:

                xterm -fn terminus-24 -fw kanji24

         See xterm(1) for details.”

>>  3) Either way, what is needed to add a character set to terminus
>>     itself?  Is there documentation on this somewhere?  Can I help
>>     when a character is missing?
>
> If you have the characters, send me a .bdf file, or a patch against a
> terminus .bdf file, and I'll include them. However:

Thanks for these explanations.  I think it wouldn’t make much sense to
take characters from another font en masse without adjusting them to
fit better with terminus, but for the long term I’m very happy to hear
it’s possible.

Regards,
Jonathan



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to