freedayman / freetype-gl

Automatically exported from code.google.com/p/freetype-gl
Other
0 stars 0 forks source link

Add parameters to makefont executable. #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The current implementation of the makefont executable could be a good base for 
own internal toolchains, that rely on freetype-gl. However a lot of interesting 
variables in makefont are hard coded. Those are:

* the font name
* the font size
* the output header file name
* the variable name used inside the font header.

The attached patch implements command line parameters for those variables.
Other potential interesting variables are the texture atlas resolution, the 
used license header and the glyph range but I didn't needed those yet and some 
maybe can be calculated.

Currently the setup requires to set the font file name, the font size and the 
header file name. The font variable defaults to "font".

Original issue reported on code.google.com by adrian.b...@googlemail.com on 27 Jul 2013 at 9:56

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, I did attach an outdated patch.

Original comment by adrian.b...@googlemail.com on 27 Jul 2013 at 10:47

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks you for the patch.
Could you consider report the issue make a pull request on github since it is 
now the official repository ?

Original comment by Nicolas.Rougier@gmail.com on 4 Oct 2013 at 1:15