From a419b18191b1b9de7ee74c6e485c735fa694f555 Mon Sep 17 00:00:00 2001 From: mjwybrow Date: Wed, 12 Mar 2008 11:47:07 +0000 Subject: [PATCH] * macosx/Resources/bin/inkscape, macosx/Resources/etc/fonts/fonts.conf: Fix fontconfig configuration on machines where Macport's fontconfig is not installed. --- packaging/macosx/Resources/bin/inkscape | 5 +---- packaging/macosx/Resources/etc/fonts/fonts.conf | 17 +++++++---------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/packaging/macosx/Resources/bin/inkscape b/packaging/macosx/Resources/bin/inkscape index 093cb3550..e661c8754 100755 --- a/packaging/macosx/Resources/bin/inkscape +++ b/packaging/macosx/Resources/bin/inkscape @@ -30,10 +30,7 @@ export PYTHONPATH="$TOP/python/site-packages/$ARCH/$PYTHON_VERS" export DYLD_LIBRARY_PATH="$TOP/lib" -# For Panther and Tiger, override the default fontconfig configuration -if [[ $VERSION -le 4 ]]; then - export FONTCONFIG_PATH="$TOP/etc/fonts" -fi +export FONTCONFIG_PATH="$TOP/etc/fonts" export PANGO_RC_FILE="$HOME/.inkscape-etc/pangorc" export GTK_IM_MODULE_FILE="$HOME/.inkscape-etc/gtk.immodules" export GDK_PIXBUF_MODULE_FILE="$HOME/.inkscape-etc/gdk-pixbuf.loaders" diff --git a/packaging/macosx/Resources/etc/fonts/fonts.conf b/packaging/macosx/Resources/etc/fonts/fonts.conf index 8394ffdd2..a44f823f7 100644 --- a/packaging/macosx/Resources/etc/fonts/fonts.conf +++ b/packaging/macosx/Resources/etc/fonts/fonts.conf @@ -23,18 +23,9 @@ - /Library/Fonts - /Network/Library/Fonts - /System/Library/Fonts - /usr/X11R6/lib/X11/fonts /usr/share/fonts - /var/root/Library/Fonts + /usr/X11R6/lib/X11/fonts /Library/Fonts /Network/Library/Fonts /System/Library/Fonts /opt/local/share/fonts ~/.fonts - ~/Library/Fonts - - - - ~/.fontconfig conf.d + + + /opt/local/var/cache/fontconfig + ~/.fontconfig + 0x206E 0x206F + 0x2800 0x3000 0x3164 0xFEFF -- 2.30.2