Apache OpenOffice (AOO) Bugzilla – Issue 100424
Scaling of text results in irregular divided characters
Last modified: 2009-03-30 15:08:41 UTC
(actually found in OOO310m6) Enter text in a Drawing Set Scaling of text > Characters are irregular divided ! Was OK in 3.0.1 When the text-shape is selected, and you hit F2 for editing, the spacing is OK. I'll attach a document showing the problems
Created attachment 61082 [details] Draw document with various text shapes
was OK in 3.0.1
confirmed with OOO310-m6 Linux X64
Reproducible. Reassigned.
Adding CCs.
AW: Taking a look...
SBA: My findings (I tried OOO310_m7 on WinXP, Mac OS, Solaris-Sparc and Linux): - Scaling ITSELF does not take place anymore (letteres do not change their shape) - A Regression (Was OK in 3.0.1) on Windows and Mac OS - Same as in OOo 3.0.1 (On OpenSuse 11, Fedora 4, Solaris-Sparc)
AW: Looks like a defect in the always reoccuring FontScaling story which is different for Win and the other systems. So the error should only occurr on Win, but not on Mac. At least it should be soved (and will be solvable) in the primitive renderer in drawinglayer, so i will set the issue to me. It's more in my and HDUs range (whom i set on cc). The issue itself is in master since DEV300 m30 (with primitives), FYI. There was an issue fixed near the place in question (#ii96581#) who may have made this fix to show up. This needs to be solved differently. Some questions remain: AW->SBA: Sure with the mac version having the same error? AW->HDU: Does the Mac Font-Handling have the same crude FontWidth stuff as Win? Shouldn't it be identical to Linux and Solaris?
> Does the Mac Font-Handling have the same crude FontWidth stuff as Win? > Shouldn't it be identical to Linux and Solaris? Yes, the Mac port behaves like the UNX ports in that regard.
AW->SBA: With HDUs answer, please re-check the Mac-port's behaviour. It should definitely be the same as the Unix-versions -> should work. AW: Tested a fix in PrimitiveRenderer (using the pure FontScaling now for testing FontScaling usage; one more matrix decomposition neeeded, but more safe). Also using higher precision in getVclFontFromFontAttributes. Works as expected. Started creation of aw067 for this task, based on OOO310 m7...
SBA: Set target OOo 3.1 I will have a closer on Mac tomorrow.
AW: Checked in changes to aw067. Also had a look at the Mac-version with HDU, looks different. Need to take a look if my fix will fix this, too. Adding unxamcxi.pro...
AW: Checked Mac-InstallSet, the fix also fixes Mac-problem (as expected). Install sets on the way, done.
AW: Created #i100514# as f-up to change the TextPrimitive's transformation scale factor (the font scaling) to something unified and system-independent.
AW->WG: Please verify. Check is to load the bugdoc. Please check on mac version, too.
Verified in CWS.
Tested in OOO310_m8.