To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=111392
                 Issue #|111392
                 Summary|Glyphs within a cluster (cell) are rendered on top of 
                        |each other when drawn along an arc with FontWork
               Component|Drawing
                 Version|DEV300m73
                Platform|Unknown
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|ui
             Assigned to|graphicsneedsconfirm
             Reported by|kstribley





------- Additional comments from kstrib...@openoffice.org Wed May  5 10:22:28 
+0000 2010 -------
Text on a curve containing multiple spacing glyphs in a cell cluster has all the
glyphs within a cell drawn on top of each other. This is fine if the glyphs have
the same x-offset, but not if they are spacing marks.

The attached file shows an example using 2 different Myanmar fonts. One uses
Graphite for rendering, the other OpenType and both exhibit the same bug
indicating it is not a problem with the rendering engine. The text consists of 8
code points in 4 cells of 2 glyphs each.

Fonts are available from:

http://scripts.sil.org/Padauk
http://www.myanmarnlp.net.mm/

Further analysis suggests that it is due to an incorrectly scaled DXArray which
is rounded to have zero values as passed in from
drawinglayer/source/processor2d/vclprocessor2d.cxx 
VclProcessor2D::RenderTextSimpleOrDecoratedPortionPrimitive2D(). Indeed, the bug
goes away if the DX array is disabled. 

However, I think the real bug is in 
svx/source/svdraw/svdotextpathdecomposition.cxx 
where the dx array needs to have the cumulative offset from preceding clusters
subtracted and then be scaled by the font size and scale factor. Example patch
to follow.

I'm not sure where else svdotextpathdecomposition is called from - I hope this
fix won't upset other areas of the code.

---------------------------------------------------------------------
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: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to