mpv/TOOLS/subfont-c/Makefile

25 lines
496 B
Makefile
Raw Normal View History

#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