summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-07-30 17:48:54 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-07-30 17:48:54 +0000
commited9ae2c714aa8e6843b81da19a13bc5917acf69c (patch)
treee2f4a1daba9145f182f32e09c34f43019c410db1 /CMakeScripts
parentlayers dialog: Gtk < 3.16 fallback (diff)
downloadinkscape-ed9ae2c714aa8e6843b81da19a13bc5917acf69c.tar.gz
inkscape-ed9ae2c714aa8e6843b81da19a13bc5917acf69c.zip
MSYS2: disable use of bitmap fonts in fontconfig
Bitmap fonts are currently unusable by Inkscape but still show up in the font list (https://bugs.launchpad.net/inkscape/+bug/714859) Even worse: If a bitmap font is present Inkscape won't be able to use it but also substitution rules for this font family won't work causing Pango to fall back to "Sans" instead of a proper replacement (e.g. https://bugs.launchpad.net/inkscape/+bug/1429793)
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/InstallMSYS2.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeScripts/InstallMSYS2.cmake b/CMakeScripts/InstallMSYS2.cmake
index d4d42ea37..0a39882ed 100644
--- a/CMakeScripts/InstallMSYS2.cmake
+++ b/CMakeScripts/InstallMSYS2.cmake
@@ -164,6 +164,8 @@ if(WIN32)
install(DIRECTORY ${MINGW_PATH}/etc/fonts
DESTINATION etc
PATTERN "fonts.conf" EXCLUDE)
+ install(FILES ${MINGW_PATH}/share/fontconfig/conf.avail/70-no-bitmaps.conf
+ DESTINATION etc/fonts/conf.d)
# adjust fonts.conf to store font cache in AppData
set(cachedir_default "\\t^<cachedir^>/var/cache/fontconfig^</cachedir^>") # the '^' are needed to escape angle brackets on Windows command shell
set(cachedir_appdata "\\t^<cachedir^>LOCAL_APPDATA_FONTCONFIG_CACHE^</cachedir^>")