libdrawtext

view examples/Makefile @ 3:fe0c54e574ae

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 source
1 fonts = fonts/FreeSerif.ttf fonts/klingon.ttf
3 .PHONY: all
4 all: $(fonts)
5 cd simple; $(MAKE)
7 fonts/FreeSerif.ttf:
8 mkdir -p fonts
9 wget http://ftp.gnu.org/gnu/freefont/freefont-ttf-20100919.tar.gz
10 tar xzvf freefont-ttf-20100919.tar.gz
11 rm -f freefont-ttf-20100919.tar.gz
12 cp freefont-20100919/FreeSerif.ttf $@
14 fonts/klingon.ttf:
15 mkdir -p fonts
16 wget http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-00-53-45-33/tlh_2D00_pIqaD_2D00_US.zip
17 unzip -o tlh_2D00_pIqaD_2D00_US.zip
18 rm -f tlh_2D00_pIqaD_2D00_US.zip
19 cp tlh-pIqaD-US/pIqaD.ttf $@