[Pkg-lyx-devel] Bug#274100: [lyx-qt] Please apply workaround to enable math symbol display in russian locale
Nikita V. Youshchenko
"Nikita V. Youshchenko" <yoush@cs.msu.su>, 274100@bugs.debian.org
Thu, 30 Sep 2004 08:29:06 +0400
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> [Nikita V. Youshchenko]
>
> > As stated in /usr/share/doc/latex-xft-fonts/README, Qt can't use
> > those fonts when running in russian locale (and also some other
> > locales) because of a bug that trolltech refuses to fix.
>
> "Some other locales" - do you have any details? Do any of you know
> whether the affected locales are ru_RU.* (unlikely), or *.KOI8-R, or
> *.KOI8-*, or something different? What about ru_RU.UTF-8?
The problem with math symbol display does affect ru_RU.KOI8-R and=20
ru_RU.UTF-8 locales (and in both cases, may be workarounded by setting=20
LC_TIME=3DC).
I can't speak for other locales. Some more analysis of Qt source may give=20
the answer, but unfortunately I don't have time for that.
> An app-level workaround sounds like a good idea, but it may as well
> cover *all* the cases, rather than just ru_RU.KOI8-R.
A possible solution for debian package is to provide lyx-qt-workaround=20
script that imple,emts workaround (LC_TIME=3DC exec /usr/bin/lyx-qt "$@"),=
=20
as one more alternative providing /usr/bin/lyx. Which one (lyx-qt or=20
lyx-qt-workaround) will be set by default, may be asked in a=20
medium-priority debconf question (defaulting to workaround enabled, unless=
=20
some unwanted side-effect is found).
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBW4u4v3x5OskTLdsRAup2AKCpXTijLDaafOqMQngwmLEpi/PoyACfXMPt
xWp3gMR5cmKfMBGg8ZOMxtA=3D
=3DXTWx
=2D----END PGP SIGNATURE-----