summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fbb0701)
raw | patch | inline | side by side (parent: fbb0701)
author | mjwybrow <mjwybrow@users.sourceforge.net> | |
Wed, 12 Mar 2008 11:47:07 +0000 (11:47 +0000) | ||
committer | mjwybrow <mjwybrow@users.sourceforge.net> | |
Wed, 12 Mar 2008 11:47:07 +0000 (11:47 +0000) |
Fix fontconfig configuration on machines where Macport's fontconfig is
not installed.
not installed.
packaging/macosx/Resources/bin/inkscape | patch | blob | history | |
packaging/macosx/Resources/etc/fonts/fonts.conf | patch | blob | history |
index 093cb3550e77f4ff6283d113ce051a3fac49f189..e661c875463b78fbc6f6cd19e2eb17c20decc8c5 100755 (executable)
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 8394ffdd2c8e189bb13bed2a889c30a42dbac1e3..a44f823f74171ab16d88cb47a7cc9dd760c4886c 100644 (file)
<!-- Font directory list -->
- <dir>/Library/Fonts</dir>
- <dir>/Network/Library/Fonts</dir>
- <dir>/System/Library/Fonts</dir>
- <dir>/usr/X11R6/lib/X11/fonts</dir>
<dir>/usr/share/fonts</dir>
- <dir>/var/root/Library/Fonts</dir>
+ <dir>/usr/X11R6/lib/X11/fonts</dir> <dir>/Library/Fonts</dir> <dir>/Network/Library/Fonts</dir> <dir>/System/Library/Fonts</dir> <dir>/opt/local/share/fonts</dir>
<dir>~/.fonts</dir>
- <dir>~/Library/Fonts</dir>
-
-<!-- Font cache directory list -->
-
- <cachedir>~/.fontconfig</cachedir>
<!--
Accept deprecated 'mono' alias, replacing it with 'monospace'
-->
<include ignore_missing="yes">conf.d</include>
+<!-- Font cache directory list -->
+
+ <cachedir>/opt/local/var/cache/fontconfig</cachedir>
+ <cachedir>~/.fontconfig</cachedir>
+
<config>
<!--
These are the default Unicode chars that are expected to be blank
<int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING -->
<int>0x206E</int> <!-- NATIONAL DIGIT SHAPES -->
<int>0x206F</int> <!-- NOMINAL DIGIT SHAPES -->
+ <int>0x2800</int> <!-- BRAILLE PATTERN BLANK -->
<int>0x3000</int> <!-- IDEOGRAPHIC SPACE -->
<int>0x3164</int> <!-- HANGUL FILLER -->
<int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE -->