1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-04 14:12:10 +00:00
mpv/TOOLS/subfont-c/Makefile
arpi 8e06bb0f13 mplayer font-generator using FreeType 2.x by Artur Zaprzala <zybi@fanthom.irc.pl>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1471 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-09 17:28:06 +00:00

25 lines
496 B
Makefile

#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