diff --git a/build/linux/appimage/3_dist-gimp-goappimage.sh b/build/linux/appimage/3_dist-gimp-goappimage.sh index 2275bbd9ed..8ffe5fe266 100644 --- a/build/linux/appimage/3_dist-gimp-goappimage.sh +++ b/build/linux/appimage/3_dist-gimp-goappimage.sh @@ -296,6 +296,9 @@ sed -i '/kudo/d' $USR_DIR/share/metainfo/$APP_ID.appdata.xml sed -i "s/date=\"TODO\"/date=\"`date --iso-8601`\"/" $USR_DIR/share/metainfo/$APP_ID.appdata.xml ### mypaint brushes bund_usr "$UNIX_PREFIX" "share/mypaint-data/1.0" +### Needed for 'th' word breaking in Text tool etc +bund_usr "$UNIX_PREFIX" "share/libthai" +conf_app LIBTHAI_DICTDIR "share/libthai" ### Needed for full CJK and Cyrillic support in file-pdf bund_usr "$UNIX_PREFIX" "share/poppler" ### file-wmf support (not portable, depends on how the distro deals with PS fonts) diff --git a/build/linux/appimage/AppRun b/build/linux/appimage/AppRun index d04e1221c7..2d5b6c2aee 100644 --- a/build/linux/appimage/AppRun +++ b/build/linux/appimage/AppRun @@ -33,6 +33,7 @@ export GIMP3_LOCALEDIR="$HERE"/GIMP3_LOCALEDIR_WILD export GIMP3_SYSCONFDIR="$HERE"/GIMP3_SYSCONFDIR_WILD ## Other paths (feature-related) +export LIBTHAI_DICTDIR="$HERE"/LIBTHAI_DICTDIR_WILD export GI_TYPELIB_PATH="$HERE"/GI_TYPELIB_PATH_WILD:"$GI_TYPELIB_PATH" export PYTHONHOME="$HERE"/usr export PYTHONDONTWRITEBYTECODE=1