On Mon, May 17, 2010 at 3:27 PM, Andre Poenitz
<andre.poen...@mathematik.tu-chemnitz.de> wrote:
> On Mon, May 17, 2010 at 07:20:34PM +0200, Pavel Sanda wrote:
>> Jürgen Spitzmüller wrote:
>> > Since I go no more translation updates after the mailing list
>> > revival, I will try to set up Lyx 1.6.6 now. Please stand by.
>>
>> please make it clear in the announce that we encourage people to build
>> it against Qt 4.5 and not 4.6 (#6608).
>
> Can anyone remind me what the issues with Qt 4.5/4.6/4.7 are?

Font spacing: LyX/Mac when compiled with Qt/Mac-4.5 and later seems
not to know how wide each character is for some fonts, and so the
location of the cursor on screen does not always correspond to the
actual place between letters. This is not a problem for the beginnings
of words, but as the cursor moves towards the end of the word, its
location on screen sometimes gets further and further off. (It always
seems to be that the letters are displayed narrower than LyX thinks,
so that the cursor appears farther to the right than it actually is,
and then there's extra space between words.)

I said this is true with some fonts. Two examples here: Hoefler Text
Italics and Courier. The problem with Hoefler Text Italics seems to
arise from the extra swashes that font has. Thus an italic "e" will
have an extra swash to the right of the letter when it is the last
letter in a word, but not when it is in the middle of a word; the same
is true for "w", which has a swash before the letter when it is the
first letter in a word, but not otherwise. LyX seems to think an "e"
or a "w" is as wide as it is with the swash, even when the swash is
not displayed; hence the cursor tends to be further to the right than
it should be.

With Courier, I'm less sure what's going on. In ERT, when I type
"\LongLaTeXCommand{}", the cursor ends up an extra space to the right.
Hitting left-arrow brings it just to the right of the "}", but then
typing inserts text between the braces rather than to the right of
them (as the position of the cursor onscreen would indicate).

Let me know if that description isn't clear. As I said before, this is
not an issue with LyX compiled with Qt-4.4. (I currently have both 4.4
and 4.7beta1 installed; the font issue shows up with self-compiled
Qt-4.5 and with the precompiled 4.6 (all released versions) and 4.7.)

BH

Reply via email to