To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107834
                 Issue #|107834
                 Summary|sw: at various zoom values the pseudu-bold/italic disa
                        |ppears in writer
               Component|Word processor
                 Version|DEV300m67
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|fme
             Reported by|cmc





------- Additional comments from [email protected] Tue Dec 22 13:57:13 +0000 
2009 -------
In sw/source/core/txtnode/fntcache.cxx writer fetches the Metrics of the
physical font, and under some circumstances, e.g. in the heuristic of...

if ( (nSWidth <= nPWidth) ||   (nSWidth * 32 <= nOWidth ) )
{
    // No adjustment, we take the same font for the output 
    // device like for the reference device
    pOut->SetFont( *pPrtFont );
    ...
}
else
{
    // The metrics give a better result. So we build 
    // a new font for the output device based on the 
    // metrics used at the reference device
    pScrFont = new Font( aMet ); // mit Abgleich
    ...
}

the font used is taken *directly* from the physical metrics of the underlying 
font.

Now the problem is that some fonts e.g. AR PL UMing CN etc don't have
bold/italic versions so vcl is faking these properties with freetypes
emboldening feature or something else. So the physical metrics do *not* contain
the bold/italic settings, so building a font directly on the font metrics looses
this information. The outcome is that at some zoom levels bold/italic is lost.
e.g. the attached example

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