libdrawtext

view examples/Makefile @ 82:21c96f4c2801

added the nofreetype example to the examples makefile
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 15 Apr 2014 05:52:01 +0300
parents 462bcb69de15
children
line source
1 fonts = fonts/linux-libertine.ttf fonts/klingon.ttf fonts/sazanami-mincho.ttf
3 .PHONY: all
4 all: $(fonts)
5 $(MAKE) -C simple
6 $(MAKE) -C unicode
7 $(MAKE) -C nofreetype
9 fonts/linux-libertine.ttf:
10 mkdir -p fonts
11 wget http://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/5.1.3-2/LinLibertineTTF_5.1.3_2011_06_21.tgz
12 mkdir -p linlibertine
13 cd linlibertine; tar xzvf ../LinLibertineTTF_5.1.3_2011_06_21.tgz
14 rm -f LinLibertineTTF_5.1.3_2011_06_21.tgz
15 cp linlibertine/LinLibertine_R.ttf $@
16 rm -rf linlibertine
18 fonts/sazanami-mincho.ttf:
19 mkdir -p fonts
20 wget -O sazanami-20040629.tar.bz2 'http://sourceforge.jp/frs/redir.php?m=iij&f=/efont/10087/sazanami-20040629.tar.bz2'
21 tar xjvf sazanami-20040629.tar.bz2
22 rm -f sazanami-20040629.tar.bz2
23 cp sazanami-20040629/sazanami-mincho.ttf $@
24 rm -rf sazanami-20040629
26 fonts/klingon.ttf:
27 mkdir -p fonts
28 wget http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-00-53-45-33/tlh_2D00_pIqaD_2D00_US.zip
29 unzip -o tlh_2D00_pIqaD_2D00_US.zip
30 rm -f tlh_2D00_pIqaD_2D00_US.zip
31 cp tlh-pIqaD-US/pIqaD.ttf $@
32 rm -rf tlh-pIqaD-US