Kaydet (Commit) 87111115 authored tarafından Caolán McNamara's avatar Caolán McNamara

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

Change-Id: Ie974be8ae6e9257d92ae4f96b53cb4810efef6d8
üst 64ca0130
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include <impfont.hxx> #include <impfont.hxx>
#include <rtl/instance.hxx> #include <rtl/instance.hxx>
#include "generic/geninst.h"
#include "generic/genpspgraphics.h" #include "generic/genpspgraphics.h"
#include "generic/glyphcache.hxx" #include "generic/glyphcache.hxx"
#include "headless/svpgdi.hxx" #include "headless/svpgdi.hxx"
...@@ -354,6 +355,11 @@ void SvpSalGraphics::GetDevFontList( ImplDevFontList* pDevFontList ) ...@@ -354,6 +355,11 @@ void SvpSalGraphics::GetDevFontList( ImplDevFontList* pDevFontList )
// announce glyphcache fonts // announce glyphcache fonts
rGC.AnnounceFonts( pDevFontList ); rGC.AnnounceFonts( pDevFontList );
// register platform specific font substitutions if available
SalGenericInstance::RegisterFontSubstitutors( pDevFontList );
ImplGetSVData()->maGDIData.mbNativeFontConfig = true;
} }
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment