X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=makefont.py;h=e0b587938a5b80a85187a5e21c75a5c6f364df6e;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hp=1651ace694eab7f2923b539db489f30e467434c5;hpb=aceaa08be594ac708efcd0b68e5d08547cbcbbe1;p=libs%2Fgl.git diff --git a/makefont.py b/makefont.py index 1651ace6..e0b58793 100755 --- a/makefont.py +++ b/makefont.py @@ -1,7 +1,5 @@ #!/usr/bin/python -# $Id$ - def convert_def(fn): src=file(fn) @@ -31,6 +29,7 @@ def make_font(fn, size): raise Exception("Could not execute ttf2png") result="texture\n{\n" + result+="wrap CLAMP_TO_EDGE;\n" result+=maketex.make_tex("makefont-tmp.png") result+="};\n" result+=convert_def("makefont-tmp.def")