Resolves: fdo#51693 use fontconfig font/glyph substitution in headless mode

Change-Id: Ie974be8ae6e9257d92ae4f96b53cb4810efef6d8
This commit is contained in:
Caolán McNamara 2012-07-03 17:01:15 +01:00
parent 64ca013084
commit 871111155e

View file

@ -38,6 +38,7 @@
#include <impfont.hxx>
#include <rtl/instance.hxx>
#include "generic/geninst.h"
#include "generic/genpspgraphics.h"
#include "generic/glyphcache.hxx"
#include "headless/svpgdi.hxx"
@ -354,6 +355,11 @@ void SvpSalGraphics::GetDevFontList( ImplDevFontList* pDevFontList )
// announce glyphcache fonts
rGC.AnnounceFonts( pDevFontList );
// register platform specific font substitutions if available
SalGenericInstance::RegisterFontSubstitutors( pDevFontList );
ImplGetSVData()->maGDIData.mbNativeFontConfig = true;
}
// ---------------------------------------------------------------------------