To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=104784


User hdu changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|'pl'                      |'hdu,pl'
--------------------------------------------------------------------------------
             Assigned to|hdu                       |pl
--------------------------------------------------------------------------------
                  Status|REOPENED                  |NEW
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Thu Feb 25 08:57:36 +0000 
2010 -------
I have analyzed this now. The problem happens on platforms where we use the 
system-provided layout 
services for text justification. When a font is only e.g. two pixels high then 
both USP, ATSUI and 
CoreText start to ignore text justification requests, especially when they 
would have to stretch the line 
by >20%.

Even if a line would not need to be stretched by >20% if everything was scaled 
down linearly it happens 
because of the way it is implemented in the ppp-preview. Font sizes get rounded 
to integer 
coordinates in pixel space, so e.g. when the zoom scales down the font height 
from 3->2 pixels then 
the relation of "requested justified line width" to "native line width at that 
font height" suddenly jumps 
by more than 30% and the problem is triggered.

For preview the layout fidelity is much more important than readability anyway, 
so I suggest to render 
to a virtualdevice with e.g. four times more resolution than the preview pane, 
render onto it and then 
scale it down by four. Not only the text preview would benefit from it, but 
also graphics objects where 
e.g. lines seem to grow with their zoom level because the current ppp-preview 
approach keeps them at 
a line width of one pixel.

@pl: I suggest to use the scale-down approach for the preview so that it looks 
better from a layout-
fidelity aspect. It will also get rid of the problem with text lines and other 
issues rounding artifacts or 
non-linear scaling of geometric objects.
While I am it: @af: the slide previews have the same problems and solution

---------------------------------------------------------------------
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