Bo Peng wrote:
LyX doesn't seem to have a setting for this - I guess the font is
selected
by qt. Run "qtconfig" or "qtconfig-qt4" (whichever you actually have),
then select a font containing chinese characters. Make sure by
pasting chinese into the "sample text" field in qtconfig.
This is it! I run qtconfig-qt4, and choose a Chinese font. Or I can
choose an English font, and add Chinese font as substibution (work for
Bitstream Vera Sans, Courier, but not for Sans Serif, strange).
Is other qt4 apps able to show chinese menus on your system?
I am not sure which one uses qt4... but all other applications display
Chinese well.
I will add the comment to the bug report. However, can lyx do anything
about it?
In theory, LyX could do a startup check of the font to see that it
contains all
characters for the translation being loaded.
But warning about missing characters might not work if the
(translated) warning text can't be displayed due to missing characters
. . .
Unless LyX is one of the first qt4 apps to support chinese, then I'll expect
the users who care about chinese menus already set the UI font
to one that have chinese characters. And any distribution that
support selecting "chinese" as default language during install should
manage this. (If not - complain to them!)
Still, it might make sense to update the release notes with something
like this:
Users who use a non-ascii language, and especially a non-latin language,
should run qtconfig/qtconfig-qt4 and select a font that actually
contains the glyphs their language needs. Otherwise, the LyX menus
and dialogs might come up with missing parts or completely blank.
This has been seen with chinese in particular.
Helge Hafting