diff options
| author | Arrigo Marchiori <ardovm@yahoo.it> | 2024-02-15 21:37:13 +0000 |
|---|---|---|
| committer | Don Lewis <truckman@FreeBSD.org> | 2024-02-17 02:32:15 +0000 |
| commit | 82deef105366106b11341cbd8df32372993d0c92 (patch) | |
| tree | c7b3301bf2ce8c5d4fac8fde7e2c58f2365a3ecd | |
| parent | c38ee9307d3cf74cf303ebba780182eae2dab281 (diff) | |
| -rw-r--r-- | editors/openoffice-4/files/patch-vcl_unx_generic_fontmanager_fontconfig.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/openoffice-4/files/patch-vcl_unx_generic_fontmanager_fontconfig.cxx b/editors/openoffice-4/files/patch-vcl_unx_generic_fontmanager_fontconfig.cxx new file mode 100644 index 000000000000..8806abdb1e3b --- /dev/null +++ b/editors/openoffice-4/files/patch-vcl_unx_generic_fontmanager_fontconfig.cxx @@ -0,0 +1,10 @@ +--- vcl/unx/generic/fontmanager/fontconfig.cxx.orig 2020-10-06 14:16:35 UTC ++++ vcl/unx/generic/fontmanager/fontconfig.cxx +@@ -456,6 +456,7 @@ void FontCfgWrapper::addFontSet( FcSetName eSetName ) + if( m_nFcVersion > 20400 ) // #i115204# avoid trouble with old FC versions + { + FcPattern* pTestPattern = FcPatternDuplicate( pOrigPattern ); ++ FcDefaultSubstitute( pTestPattern ); + FcPatternAddBool( pTestPattern, FC_OUTLINE, FcTrue ); + // TODO: ignore all attributes that are not interesting for finding dupes + // e.g. by using pattern->ImplFontAttr->pattern conversion |
