libdrawtext
view examples/Makefile @ 50:4452a6143d12
install / uninstall targets for font2glyphmap
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 30 Oct 2015 06:26:15 +0200 |
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