Resolves: fdo#51693 use fontconfig font/glyph substitution in headless mode
Change-Id: Ie974be8ae6e9257d92ae4f96b53cb4810efef6d8
This commit is contained in:
parent
64ca013084
commit
871111155e
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue