libdrawtext

diff examples/Makefile @ 4:17fed026b24b

done with the unicode sample
author John Tsiombikas <nuclear@mutantstargoat.com>
date Fri, 16 Sep 2011 08:31:06 +0300
parents fe0c54e574ae
children 462bcb69de15
line diff
     1.1 --- a/examples/Makefile	Thu Sep 15 23:32:39 2011 +0300
     1.2 +++ b/examples/Makefile	Fri Sep 16 08:31:06 2011 +0300
     1.3 @@ -1,15 +1,24 @@
     1.4 -fonts = fonts/FreeSerif.ttf fonts/klingon.ttf
     1.5 +fonts = fonts/linux-libertine.ttf fonts/klingon.ttf fonts/sazanami-mincho.ttf
     1.6  
     1.7  .PHONY: all
     1.8  all: $(fonts)
     1.9  	cd simple; $(MAKE)
    1.10 +	cd unicode; $(MAKE)
    1.11  
    1.12 -fonts/FreeSerif.ttf:
    1.13 +fonts/linux-libertine.ttf:
    1.14  	mkdir -p fonts
    1.15 -	wget http://ftp.gnu.org/gnu/freefont/freefont-ttf-20100919.tar.gz
    1.16 -	tar xzvf freefont-ttf-20100919.tar.gz
    1.17 -	rm -f freefont-ttf-20100919.tar.gz
    1.18 -	cp freefont-20100919/FreeSerif.ttf $@
    1.19 +	wget http://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/5.1.3-2/LinLibertineTTF_5.1.3_2011_06_21.tgz
    1.20 +	mkdir -p linlibertine
    1.21 +	cd linlibertine; tar xzvf ../LinLibertineTTF_5.1.3_2011_06_21.tgz
    1.22 +	rm -f LinLibertineTTF_5.1.3_2011_06_21.tgz
    1.23 +	cp linlibertine/LinLibertine_R.ttf $@
    1.24 +
    1.25 +fonts/sazanami-mincho.ttf:
    1.26 +	mkdir -p fonts
    1.27 +	wget -O sazanami-20040629.tar.bz2 'http://sourceforge.jp/frs/redir.php?m=iij&f=/efont/10087/sazanami-20040629.tar.bz2'
    1.28 +	tar xjvf sazanami-20040629.tar.bz2
    1.29 +	rm -f sazanami-20040629.tar.bz2
    1.30 +	cp sazanami-20040629/sazanami-mincho.ttf $@
    1.31  
    1.32  fonts/klingon.ttf:
    1.33  	mkdir -p fonts