From ed9ae2c714aa8e6843b81da19a13bc5917acf69c Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sun, 30 Jul 2017 19:48:54 +0200 Subject: 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) --- CMakeScripts/InstallMSYS2.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeScripts') 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^/var/cache/fontconfig^") # the '^' are needed to escape angle brackets on Windows command shell set(cachedir_appdata "\\t^LOCAL_APPDATA_FONTCONFIG_CACHE^") -- cgit v1.2.3