Apache OpenOffice (AOO) Bugzilla – Issue 62039
Don't use X fonts by default
Last modified: 2010-06-18 14:50:19 UTC
The default of using/non-using X fonts should be changed - as discussed in issue 35641... We currently use the following in ooo-build: --- vcl/unx/source/gdi/salgdi3.cxx 2006-02-14 11:44:42.000000000 +0100 +++ vcl/unx/source/gdi/salgdi3.cxx 2006-02-14 12:01:55.155856532 +0100 @@ -1264,7 +1264,7 @@ bool X11SalGraphics::AddTempDevFont( Imp void X11SalGraphics::GetDevFontList( ImplDevFontList *pList ) { static const char* pEnableX11FontStr = getenv( "SAL_ENABLE_NATIVE_XFONTS" ); - if( !pEnableX11FontStr || (pEnableX11FontStr[0] != '0') ) + if( pEnableX11FontStr && (pEnableX11FontStr[0] == '1') ) { // announce X11 fonts XlfdStorage* pX11FontList = GetDisplay()->GetXlfdList();
pl->hdu: i think that's on plan for 3.0 anyway ?
Yep. The default will be changed for target OOo3.
Is the issue 57426 (greek fonts not showing properly in several menus) related to this issue?
simos - easy to check: just 'export SAL_ENABLE_NATIVE_XFONTS=0' before you run OO.o - if that fixes it: then yes :-)
Hi Herbert, you might want to reconsider the target.
@ST: I know. I just feel very uncomfortable to switch off functionality in a minor version, if this functionality worked just fine in the corresponding major version. Please set a target and reassign the issue back to me.
2.1 may be a bit short notice. Would 2.2 work for you?
will do
Done in CWS vcl69. Good bye native X11 fonts!
@ES: please verify in CWS vcl69 X11 fonts are no longer used by default. Regressions are not probable, but please watch out.
Keywords 4 me: xfontsel pspfontcache
Ok in m199