Mercurial > mplayer.hg
diff TOOLS/subfont-c/Makefile @ 1470:2c7b0478db0c
mplayer font-generator using FreeType 2.x by Artur Zaprzala <zybi@fanthom.irc.pl>
author | arpi |
---|---|
date | Thu, 09 Aug 2001 17:28:06 +0000 |
parents | |
children | e5e6c26c1aa1 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TOOLS/subfont-c/Makefile Thu Aug 09 17:28:06 2001 +0000 @@ -0,0 +1,24 @@ +#font="/mnt/win/windows/fonts/arial.ttf" +#font="/mnt/win/windows/fonts/comic.ttf" +#font="/mnt/win/windows/fonts/verdanai.ttf" +font="/mnt/win/windows/fonts/verdana.ttf" + +#encoding=windows-1250 +encoding=iso-8859-2 + +fontsize=20 + + +LDLIBS=-lm $(shell freetype-config --libs) +CFLAGS=-O3 $(shell freetype-config --cflags) + + +subfont: subfont.o + +run: subfont + ./subfont $(encoding) $(fontsize) $(font) + cat font.desc.tail >> font.desc + cp font.desc *.raw ~/.mplayer/font/ + +clean: + rm -f subfont subfont.o