On Thursday 05 January 2006 20:19, Frank Meies wrote:
> Hi Rajeev,
>
> Rajeev J Sebastian wrote:
> >>>Actually, the problem it seems is not the text size itself. Rather it is
> >>>cursor movement across the spaces between words. The cursor either
> >>>overshoots or "under"shoots, and this causes the overlap. Looking at the
> >>>cursor movement, it seems the text size (for a piece of text) is
> >>> computed correctly and cursor uses it properly, but the wrong size of
> >>> the spaces between words are added to it, which causes the wrong cursor
> >>> placement.
> >>
> >>is the paragraph alignment set to left or justified?
> >
> > Good point ... the error seems to show itself only when it is justified.
> >
> > So, as per the document, the portion in question is the SwBlankPortion ?
>
> no, there is no special portion for the space. Justified alignment is
> not handled during text formatting, the portion structure is the same in
> left alignment/justified alignment. The spaces between the characters
> are calculated during painting and cursor travelling, have a look at
> sw/source/core/txtnode/fntcache.cxx.
>
> So we have a problem with the justified alignment for Malayalam. I guess
> the justified alignment for Malayalam should be the same like for Thai
> (the remaining space in each line should be distributed on each
> character cluster on the line). Please try the following: Grep for each
> occurence in LANGUAGE_THAI in sw/source/core and change the code to be
> also executed if the language is set to LANGUAGE_MALAYALAM. Does this
> help? Btw: What font do you use?

LANGUAGE_THAI does improve the appearance of the text a bit (some space seems 
to be added between clusters ... or is it just my perception ?) However, it 
doesn't seem to affect the cursor issue at all.

Regards,
Rajeev J Sebastian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to