libdrawtext

diff examples/Makefile @ 55:59e5858de836

fixed a bug in utf-8 decoding
author John Tsiombikas <nuclear@mutantstargoat.com>
date Thu, 15 Sep 2011 23:32:39 +0300
parents daa47eeca303
children 17fed026b24b
line diff
     1.1 --- a/examples/Makefile	Thu Sep 15 13:56:54 2011 +0300
     1.2 +++ b/examples/Makefile	Thu Sep 15 23:32:39 2011 +0300
     1.3 @@ -1,10 +1,19 @@
     1.4 -fonts = fonts/FreeSerif.ttf
     1.5 +fonts = fonts/FreeSerif.ttf fonts/klingon.ttf
     1.6  
     1.7  .PHONY: all
     1.8  all: $(fonts)
     1.9  	cd simple; $(MAKE)
    1.10  
    1.11  fonts/FreeSerif.ttf:
    1.12 +	mkdir -p fonts
    1.13  	wget http://ftp.gnu.org/gnu/freefont/freefont-ttf-20100919.tar.gz
    1.14  	tar xzvf freefont-ttf-20100919.tar.gz
    1.15 -	mv freefont-20100919 fonts
    1.16 +	rm -f freefont-ttf-20100919.tar.gz
    1.17 +	cp freefont-20100919/FreeSerif.ttf $@
    1.18 +
    1.19 +fonts/klingon.ttf:
    1.20 +	mkdir -p fonts
    1.21 +	wget http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-00-53-45-33/tlh_2D00_pIqaD_2D00_US.zip
    1.22 +	unzip -o tlh_2D00_pIqaD_2D00_US.zip
    1.23 +	rm -f tlh_2D00_pIqaD_2D00_US.zip
    1.24 +	cp tlh-pIqaD-US/pIqaD.ttf $@