Apache OpenOffice (AOO) Bugzilla – Issue 110023
Attribute based font matching fails sometimes
Last modified: 2017-05-20 10:22:30 UTC
For requests to completely unknown fonts there is a fallback to attribute based matching. This usually results in quite reasonable matches, especially if a document has additional font details and/or the requested font name provides some clues by having substrings such as "wide", "roman", "sans", "dings", etc. A change introduced by issue 52301 http://gsl.openoffice.org/source/browse/gsl/vcl/source/gdi/outdev3.cxx?r1=1.201&r2=1.201.26.1 changed the way the available fonts were characterized and their attributes were not determined with the same reliability as before. The availability of these attributes is critical when matching them to the request and lack of reliability results in layout inconsistencies.
Setting the target milestone for this regression.
A safe fix is available. To make testing faster and easier this one-liner should be applied to an existing OOo321 CWS.
Fixed in CWS sw321bf01.
@es: please verify in CWS sw321bf01 Testing hints: issue has been observed with reloading some private bugdocs (e.g. from TL)
assigning to ES for verification.
Incomplete. Please attach a sample document and a step by step description showing the problem and how your fix solves it.
Back to owner
Created attachment 68794 [details] document to reproduce the defect
od->es: I have consulted TL as HDU is still on vacation. With the attached document the defect can be reproduced under Windows: - open the attached document in OOo - reload the document (Menu File - Reload) --> the rendering of the text after the reload differs compared to the one after the first opening.
again FIXED od->es: please verify.
Verified in CWS sw321bf01
*** Issue 94481 has been marked as a duplicate of this issue. ***