diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-07 20:39:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-08 09:57:20 +0100 |
commit | 26049777aed944c57d51f6baa132c742edaa4ac3 (patch) | |
tree | 992fa0f289e3ff98c822563f220d1fd0b91d9448 /vcl/unx | |
parent | 272a96da03522a82db4185e7858d05375f3ea95e (diff) |
ofz speed up fuzzers a tad
Change-Id: I4ed35408e3640d2b141218599cd895c09da1e2b0
Reviewed-on: https://gerrit.libreoffice.org/44427
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/gdi/cairotextrender.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx b/vcl/unx/generic/gdi/cairotextrender.cxx index d868ff701049..b7cc4207dff1 100644 --- a/vcl/unx/generic/gdi/cairotextrender.cxx +++ b/vcl/unx/generic/gdi/cairotextrender.cxx @@ -20,6 +20,7 @@ #include <unx/cairotextrender.hxx> #include <basegfx/polygon/b2dpolypolygon.hxx> +#include <unotools/configmgr.hxx> #include <vcl/settings.hxx> #include <vcl/sysdata.hxx> #include <vcl/svapp.hxx> @@ -392,7 +393,8 @@ void CairoTextRender::GetDevFontList( PhysicalFontCollection* pFontCollection ) rGC.AnnounceFonts( pFontCollection ); // register platform specific font substitutions if available - SalGenericInstance::RegisterFontSubstitutors( pFontCollection ); + if (!utl::ConfigManager::IsAvoidConfig()) + SalGenericInstance::RegisterFontSubstitutors( pFontCollection ); } void FontConfigFontOptions::cairo_font_options_substitute(FcPattern* pPattern) |