Last active
August 29, 2015 14:24
-
-
Save TwizzyIndy/f8aa1b73c45f5bc13e80 to your computer and use it in GitHub Desktop.
This shell script allow you to check which myanmar fonts is installed on the Android device. Push that script on /data/local/tmp and then execute it.
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
#!/system/bin/sh | |
if [ -e "/system/fonts/Padauk.ttf" ] | |
then | |
touch /data/local/tmp/padauk_exists | |
fi | |
if [ -e "/system/fonts/NotoSansMyanmar-Regular.ttf" ] | |
then | |
touch /data/local/tmp/noto_regular_exists | |
fi | |
if [ -e "/system/fonts/NotoSansMyanmar-Bold.ttf" ] | |
then | |
touch /data/local/tmp/noto_bold_exists | |
fi | |
if [ -e "/system/fonts/NotoSansMyanmarUI-Bold.ttf" ] | |
then | |
touch /data/local/tmp/notoui_bold_exists | |
fi | |
if [ -e "/system/fonts/NotoSansMyanmarUI-Regular.ttf" ] | |
then | |
touch /data/local/tmp/notoui_regular_exists | |
fi | |
if [ -e "/system/fonts/SmartZawgyi.ttf" ] | |
then | |
touch /data/local/tmp/other_zawgyi_exists | |
elif [ -e "/system/fonts/Zawgyi2008.ttf" ] | |
then | |
touch /data/local/tmp/other_zawgyi_exists | |
elif [ -e "/system/fonts/Zawgyi2015.ttf" ] | |
then | |
touch /data/local/tmp/other_zawgyi_exists | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment