To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112193
                 Issue #|112193
                 Summary|Aqua: avoid vertically-flipped graphics contexts
               Component|gsl
                 Version|OOo 3.2
                Platform|Macintosh
                     URL|
              OS/Version|Mac OS X
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|hdu





------- Additional comments from [email protected] Mon Jun  7 14:27:08 +0000 
2010 -------
The VCL coordinate system is vertically flipped compared to the Quartz 
coordinate system. There are 
two possible approaches to handle this:
1. use a y-flipped height-shifted CTM for the graphics context to allow using 
VCL coordinates directly
2. flip y-coordinates manually before operating on a unity-CTM graphics context

OOo's  aqua-port choose method 1 and both approaches should work the same. 
Unfortunately it shows 
that OSX implements some improvements only for unity-CTM graphics contexts. 
Moving the baseline 
of text to pixel boundaries is probably the most important thing that is 
missing in y-flipped contexts, 
which cannot be emulated by moving the text coordinates. This results in 
grayish text baselines for y-
flipped contexts whereas a unity-CTM graphics context gets higher contrast 
baselines.

Unless Quartz/ATSUI/CoreText provide the chance to get the same look also for 
flipped-CTM graphics 
contexts we should consider to re-implement the VCL->Quartz glue code with 
approach 2 mentioned 
above.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to