Apache OpenOffice (AOO) Bugzilla – Issue 30611
Pls. find substitution candidates for the desktop-UI font by utilizing fontconfig
Last modified: 2004-08-31 18:24:20 UTC
the curent implementation in vcl22 issue 16683 does not match to a sensible UI font (at least for the setup) if the desktop system is set to a fontconfig defined alias as e.g. "Sans". Hence ask fontconfig for a substitution/alias list for the desktop UI font and use the first one found if not an X-font. Else try the next candidate from fontconfig. If no suitable candidate is found the old font fallback list should be back in state, beginning with "Andale Sans UI".
fixed in CWS vcl22
reopen
pl->us: please verify in CWS vcl22
fixed
Verified. Note: this does not inevitably lead to the same UI font used in OO.o compared with different applications using fontconfig (as e.g. KDE or GNOME apps.) Example RH9: The "Application font" is set to "Sans" in gnome-font-properties dialog fontconfig returns "Luxi Sans" for "Sans". But the corresponding afm file declarates the encoding as FontSpecific Hence for the requested code points* the font can not deliver glyphs and the font is disregarded as UI (Application) font for OO.o; instead "Bitstream Vera" resp. "Andale Sans UI" will be used. (*Refer to http://specs.openoffice.org/ui_in_general/controls/NativeWidgetRenderingSpec.sxw)
Verified in mws src680_m52-4.8802.