Hello,

Here is a small patch to ensure some math-specific characters are treated
in latin9 as well as in latin1.

It solves one of the problems I have with this encoding.
But there are many others. The most important appears when I select iso8859-15
as the screen font encoding.

Instead of displaying accented letters, LyX displays the letter with 
the character which replaced the accent placed above.
For example, the acute accent in latin1 has been replaced by a capital Z
with an inverted circumflex, and it is that weird character which appears
above the "e" in "é".
The same with the umlaut and the cedilla.
So I am stuck with iso8859-1 screen fonts.

Adrien
-- 
? latin9math.diff
Index: src/paragraph_pimpl.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/paragraph_pimpl.C,v
retrieving revision 1.14
diff -r1.14 paragraph_pimpl.C
326c326,327
<                       if (bparams.inputenc == "latin1" ||
---
>                       if ((bparams.inputenc == "latin1" ||
>                            bparams.inputenc == "latin9") ||
328,329c329,332
<                            font.language()->encoding()->LatexName()
<                            == "latin1")) {
---
>                            (font.language()->encoding()->LatexName()
>                             == "latin1" ||
>                             font.language()->encoding()->LatexName()
>                             == "latin9"))) {

Reply via email to