aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-28 11:23:09 +0100
committerEugene Sandulenko2017-01-28 11:24:02 +0100
commite33fba2d149860252a8ec39ffdc178d022494740 (patch)
tree0b6d16b2543290648197fdaac27fe95ddef6ff11
parent7cc2e00eca7f7d64659918f483021cd57e7b0976 (diff)
downloadscummvm-rg350-e33fba2d149860252a8ec39ffdc178d022494740.tar.gz
scummvm-rg350-e33fba2d149860252a8ec39ffdc178d022494740.tar.bz2
scummvm-rg350-e33fba2d149860252a8ec39ffdc178d022494740.zip
DEVTOOLS: Update create_classicmacfonts.sh to the latest changes in fonts
-rwxr-xr-xdevtools/create_classicmacfonts.sh39
1 files changed, 3 insertions, 36 deletions
diff --git a/devtools/create_classicmacfonts.sh b/devtools/create_classicmacfonts.sh
index 517f3f5638..73ceca33a5 100755
--- a/devtools/create_classicmacfonts.sh
+++ b/devtools/create_classicmacfonts.sh
@@ -39,6 +39,7 @@ echo_n "Mounting System 7.0.1 image..."
macbinary decode System_7.0.1.smi.bin
hdiutil convert -quiet System\ 7.0.1.smi -format UDRO -o sys7.dmg
+rm System_7.0.1.smi.bin
hdiutil attach -quiet sys7.dmg
if test ! -f /Volumes/7.0.1\ \(1440k.images\)/Fonts.image; then
@@ -73,47 +74,13 @@ echo ...Done
hdiutil detach -quiet `hdiutil info|grep "/Volumes/Fonts"|cut -f 1`
-if test ! -f fondu_src-060102.tgz; then
- echo_n "Getting fondu_src-060102.tgz..."
- curl -s http://fondu.sourceforge.net/fondu_src-060102.tgz -o fondu_src-060102.tgz
- tar xf fondu_src-060102.tgz
-fi
-
-if test ! -d fondu-060102; then
- echo "Failed to download fondu_src-060102.tgz"
- exit
-fi
-
-echo done
-
-if test ! -x fondu-060102/fondu; then
- echo_n "Compiling fondu..."
- cd fondu-060102
- ./configure >configure.log 2>&1 && make 2>&1 >make.log
- cd ..
-fi
-
-if test ! -x fondu-060102/fondu; then
- echo "Failed to build fondu. See configure.log and make.log"
- exit
-else
- rm -f configure.log make.log
-fi
-
-echo done
-
-echo_n "Converting fonts..."
-fondu-060102/fondu -force *.bin
-echo done
-
-zip -9 classicmacfonts *.bdf
+zip -9 classicmacfonts *.bin
mv classicmacfonts.zip classicmacfonts.dat
echo_n "Cleaning up..."
-rm *.bdf
-rm *.ttf
rm *.bin
rm *.dmg
+rm *.smi
echo done
ls -l classicmacfonts.dat