Issue 100424 - Scaling of text results in irregular divided characters
Summary: Scaling of text results in irregular divided characters
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: formatting (show other issues)
Version: OOO310m5
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: OOo 3.1
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords: regression
Depends on:
Blocks: 95768
  Show dependency tree
 
Reported: 2009-03-20 20:27 UTC by cno
Modified: 2009-03-30 15:08 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Draw document with various text shapes (67.96 KB, application/vnd.oasis.opendocument.graphics)
2009-03-20 20:29 UTC, cno
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description cno 2009-03-20 20:27:36 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
Comment 1 cno 2009-03-20 20:29:15 UTC
Created attachment 61082 [details]
Draw document with various text shapes
Comment 2 cno 2009-03-20 20:29:39 UTC
was OK in 3.0.1
Comment 3 cno 2009-03-23 11:14:09 UTC
confirmed with OOO310-m6 Linux X64
Comment 4 wolframgarten 2009-03-23 11:38:30 UTC
Reproducible. Reassigned.
Comment 5 stefan.baltzer 2009-03-23 12:25:25 UTC
Adding CCs.
Comment 6 Armin Le Grand 2009-03-23 12:39:54 UTC
AW: Taking a look...
Comment 7 stefan.baltzer 2009-03-23 13:19:31 UTC
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)
Comment 8 Armin Le Grand 2009-03-23 15:30:04 UTC
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?
Comment 9 hdu@apache.org 2009-03-23 16:28:28 UTC
> 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.
Comment 10 Armin Le Grand 2009-03-23 18:15:29 UTC
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...
Comment 11 stefan.baltzer 2009-03-23 18:56:37 UTC
SBA: Set target OOo 3.1
I will have a closer on Mac tomorrow. 
Comment 12 Armin Le Grand 2009-03-24 11:54:38 UTC
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...
Comment 13 Armin Le Grand 2009-03-24 13:19:58 UTC
AW: Checked Mac-InstallSet, the fix also fixes Mac-problem (as expected).
Install sets on the way, done.
Comment 14 Armin Le Grand 2009-03-24 13:30:08 UTC
AW: Created #i100514# as f-up to change the TextPrimitive's transformation scale
factor (the font scaling) to something unified and system-independent.
Comment 15 Armin Le Grand 2009-03-24 14:53:26 UTC
AW->WG: Please verify. Check is to load the bugdoc. Please check on mac version,
too.
Comment 16 wolframgarten 2009-03-25 14:38:14 UTC
Verified in CWS.
Comment 17 wolframgarten 2009-03-30 15:08:41 UTC
Tested in OOO310_m8.