Hi Sophie,
Could you help me to understand what is the fallback when a font type is used in
a document that doesn't exist on the Windows profile on which the document is
edited.
If the requested font is not available then the configuration file
VCL.xcu is checked. If it suggests a font which is related to the
original font then this is used. If there is no entry there then
attribute based matching is used.
Example: "Chicago" falls back to "Arial"
I understand that the font and it's family is described in the content.xml and
styles.xml under the form of :
<style:font-face style:name="MyFont" svg:font-family="'MyFont'"
style:font-family-generic="swiss" style:font-pitch="variable" />.
There is of course no entry for "MyFont" in VCL.xcu, so the only other
known fact about this font is used: "Swiss" -> "SansSerif" -> "Arial".
I thought that the substitution will be done using style:font-family-generic,
which in that case should be something like Arial, but it's not always the case.
On some Windows profiles it seems that the substitution is ok, on other Windows
profiles the document is unreadable, so I'm not able to reproduce what does not
work.
I speak about Windows profiles, because on the same work station, the result
depends of the profile loaded.
Maybe you were impacted by
http://www.openoffice.org/issues/show_bug.cgi?id=110023
A five year old regression which was recently found and it has been
promptly fixed for OOo321.
--
Herbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]