libdrawtext

annotate examples/Makefile @ 74:838d473cf6cc

- properly supported building of no-freetype version, separately installed as libdrawtext-noft.whatever - saving/loading glyphmaps now work correctly - added nofreetype program in examples, to illustrate how to use libdrawtext-noft with prebuilt glyphmaps (see tools/font2glyphmap)
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 15 Apr 2014 05:10:39 +0300
parents 17fed026b24b
children 828e29b08493
rev   line source
nuclear@4 1 fonts = fonts/linux-libertine.ttf fonts/klingon.ttf fonts/sazanami-mincho.ttf
nuclear@1 2
nuclear@1 3 .PHONY: all
nuclear@1 4 all: $(fonts)
nuclear@1 5 cd simple; $(MAKE)
nuclear@4 6 cd unicode; $(MAKE)
nuclear@1 7
nuclear@4 8 fonts/linux-libertine.ttf:
nuclear@3 9 mkdir -p fonts
nuclear@4 10 wget http://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/5.1.3-2/LinLibertineTTF_5.1.3_2011_06_21.tgz
nuclear@4 11 mkdir -p linlibertine
nuclear@4 12 cd linlibertine; tar xzvf ../LinLibertineTTF_5.1.3_2011_06_21.tgz
nuclear@4 13 rm -f LinLibertineTTF_5.1.3_2011_06_21.tgz
nuclear@4 14 cp linlibertine/LinLibertine_R.ttf $@
nuclear@15 15 rm -rf linlibertine
nuclear@4 16
nuclear@4 17 fonts/sazanami-mincho.ttf:
nuclear@4 18 mkdir -p fonts
nuclear@4 19 wget -O sazanami-20040629.tar.bz2 'http://sourceforge.jp/frs/redir.php?m=iij&f=/efont/10087/sazanami-20040629.tar.bz2'
nuclear@4 20 tar xjvf sazanami-20040629.tar.bz2
nuclear@4 21 rm -f sazanami-20040629.tar.bz2
nuclear@4 22 cp sazanami-20040629/sazanami-mincho.ttf $@
nuclear@15 23 rm -rf sazanami-20040629
nuclear@3 24
nuclear@3 25 fonts/klingon.ttf:
nuclear@3 26 mkdir -p fonts
nuclear@3 27 wget http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-00-53-45-33/tlh_2D00_pIqaD_2D00_US.zip
nuclear@3 28 unzip -o tlh_2D00_pIqaD_2D00_US.zip
nuclear@3 29 rm -f tlh_2D00_pIqaD_2D00_US.zip
nuclear@3 30 cp tlh-pIqaD-US/pIqaD.ttf $@
nuclear@15 31 rm -rf tlh-pIqaD-US