Last active
August 29, 2015 14:25
-
-
Save keima/423d168f018d5c25cbce to your computer and use it in GitHub Desktop.
Mac版Inkscapeで日本語にするとクラッシュするのを治す
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- inkscape-original 2015-07-23 17:20:22.000000000 +0900 | |
+++ inkscape 2015-07-23 17:19:02.000000000 +0900 | |
@@ -149,6 +149,12 @@ | |
else | |
[ $_DEBUG ] && echo "Setting LANG from /usr/share/locale/locale.alias" 1>&2 | |
export LANG="$tmpLANG.UTF-8" | |
+ | |
+ # PATCH: if $tmpLANG is "sjis", Inkscape is suddenly death! | |
+ if [ "$tmpLANG" == "sjis" ] | |
+ then | |
+ export LANG="ja_JP.UTF-8" | |
+ fi | |
fi | |
fi | |
[ $_DEBUG ] && echo "Setting Language: $LANG" 1>&2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使い方
あるいは手作業でコードを書き足すか
戻し方