Hi Rajeev,

Rajeev J Sebastian wrote:
Hello Frank Meies,

On Thursday 09 March 2006 15:18, Frank Meies wrote:
If you have attribute changes, you have different text portions and the
string will be painted not as one string, but according to the portion
layout. As we already know, the portion layout is fine (see the cursor
travelling), therefore I'm not surprised about this effect. I'll already
informed HDU about this issue, we is the expert for all this vcl related
stuff.

It may be stupid to ask ... but if it was a vcl module error, then shouldn't the same error also appear in sd and impress ? In those applications, the version 2 and version 3 renders properly and the text is properly justified.

No, this is a good question. HDU is currently investigating the problem and we think it might be related to the way Writer manipulates the output dx array for justified alignment. The positions in the dx array corresponding to the blanks have to be expanded for justified alignment by a value nSpaceAdd (see SwFontObj::DrawText()). Writer does this by adding half of nSpaceAdd to the space character position and the other half of nSpaceAdd to the next position in the dx array. This is done because the mid dot ("show non-printing characters") should be in the middle of the gap. Unfortunately this might confuse vcl. Sd, calc, and impress use the svx EditEngine which might do something different for justification, I currently don't know.

Regards,

Frank

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

Reply via email to