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 Mon Mar 30 15:37:16 +0000 
2009 -------
AW: Cheched MetaFile creation. In
VclProcessor2D::RenderTextSimpleOrDecoratedPortionPrimitive2D a VCL Font is
created by default using a width==height definition (as HDU suggested as better
definition). This is corrected in the method actually for WIN32 to start with
width==0 for internal use, but not for non-WIN32 systems.

Thus, non-WIN32 systems will write MetaFiles containing the width==height
non-font-scaling definition. When these are loaded on WIN32-system, we have a
usage of a Font-definition not correct for the current system.

This could be corrected by import, but not for existing offices. So it needs to
be corrected
(1) at font creation time, or
(2) at MetaFile export time.

(1) will fix the problem and use the 0==width definition for all systems, thus
also creating the correct MetaFiles, but internally use the less good definition
even for systems which support width==height

(2) will guarantee compatible MetaFiles for all existing offices (3.0, etc.). It
would need to be applied to all Font event exports where width==height in the
font definition.

Both will work, whereby (2) seems even to be more secure since the same MetaFile
definitions as previously are forced to be created, independent from the
MetaFile source. OTOH (1) works well and is closer on what the VCL-users (old
DoPaintObject implementations) did.

Mayne (1) and (2) should be done to ensure correct MetaFile creations even when
(1) should be reworked/changed again internally.

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