summaryrefslogtreecommitdiff
path: root/tools/convttf.c (follow)
Commit message (Collapse)AuthorAge
* Option to use the lighter hinting algorithm (FT_LOAD_TARGET_LIGHT).Nick Peskett2014-01-26
| | | | | | | | | | | I've found this algorithm produces clearer results when rendering some fonts at small point sizes. Change-Id: If87d82731ad324405195b25baad78fe54e92c142 Reviewed-on: http://gerrit.rockbox.org/412 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> Tested: Purling Nayuki <cyq.yzfl@gmail.com> Reviewed-by: Thomas Martitz <kugel@rockbox.org>
* Fix Win32 native convttf creating invalid output files.Dominik Riebeling2011-04-10
| | | | | | | | | When operating with binary files on Windows it is necessary to explicitly open them in binary mode to prevent unwanted effects. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29699 a1c6a512-1295-4272-9138-f99709370657
* Make convttf build with C89 compilers.Dominik Riebeling2011-04-09
| | | | | | | | | | | | | | | - Move variable declarations to the top of blocks to be compatible with C89 compilers (like MSVS). - Remove unnecessary Windows includes. - Paths on Windows usually use backslash as path delimiter so accept that as well. - Rename some variables to avoid shadowing functions (like index()). No functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29698 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#12000: confttv - try to make digits equally wide (-w to disable)Magnus Holmgren2011-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29633 a1c6a512-1295-4272-9138-f99709370657
* Anti-Aliased Fonts support.Thomas Martitz2011-03-05
This enables Rockbox to render anti-aliased fonts using an alpha blending method. The input font bitmaps are 4bit, i.e. 4x larger, but the metadata size stays the same. A tool, convttf, for converting ttf fonts directly to the Rockbox fnt format is provided. It has a useful help output, but the parameter that works best is -c1 or -c2 (2 for larger font sizes). Flyspray: FS#8961 Author: Initial work by Jonas Hurrelmann, further work by Fred Bauer, Andrew Mahone, Teruaki Kawashima and myself. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29523 a1c6a512-1295-4272-9138-f99709370657