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





------- Additional comments from a...@openoffice.org Fri Mar 20 12:40:38 +0000 
2009 -------
>@iha,aw.sj: For unstretched fonts such as in the attached document the solution
>would be quite easy though: just request the "default-font-width" for 
>unstretched fonts during the metafile export!

I see no way to easily do this. MetaFiles are recorded by using multiple calls
to OutputDevice. At least it needs to be done in VCL then.

>The "regression" probably comes
>from the fact, that the new drawing layer is much more accurate and so 
>even factors of 100.0001% get the "stretched font treatment", which has the 
>problem with random-numbers of the legacy metafiles outlined above.

No, for MetaFile replay, the primitives are not used, but still the VCL MetaFile
Play command. Primitives are currently not involved in MetaFile replay.

>If the above suggestion (request default-width for is done then most of the 
>problem is solved. The remainder of this issue would to extend the old 
>metafile format to use font-stretch-factors instead of the insane 
>multiplication product. Since the drawinglayer rework aims to replace the
>legacy metafiles by a much better approach based on drawing primitives (which
>on my advice avoid the random width number to calculate stretch factors) this
>remaining task to extend the legacy metafile will become redundant soon.

The primitive solution will in one of the next steps no longer use VCLs Play()
command for MetaFiles, but interpret the MetaFile and change it to primitives,
but this also requires the correct information in the MetaFiles themselves.
Also, for OLE, only for own OLEs (Chart) it would be possible to change geometry
transfer to primitives, so we will keep the MetaFile for OLEs for a long time.
Thus i see no way around fixing this in the current MetaFile first. It will not
be redundant, but necessary even for the future.

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