denilsonsa / fontpreviewer

"fontpreviewer" is a nice little tool that generates PNG thumbnails of TTF fonts, and also generates a HTML file with all generated thumbnails. This program was originally written on 2007-08-08 and then completely forgotten for almost 4 years.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"fontpreviewer" is a nice little tool that generates PNG thumbnails of TTF
fonts, and also generates a HTML file with all generated thumbnails.

It receives a list of TTF files as parameters, and write a PNG image for
each file at the same directory. It requires write-permission to the
directory with the fonts.


Requirements:
- Python
  - Version 2.6 or 2.7 (maybe other versions too)
- SDL and SDL_ttf
  - Tested with libsdl-1.2.13 and sdl-ttf-2.0.10
- pygame compiled with font support (SDL_ttf)
  - Tested with pygame-1.9.1

Optional requirements (but recommended):
 - FontTools (http://fonttools.sourceforge.net/)
   - Tested with fonttools-2.3
 - TTFQuery (http://ttfquery.sourceforge.net/)
   - Tested with ttfquery-1.0.4

About

"fontpreviewer" is a nice little tool that generates PNG thumbnails of TTF fonts, and also generates a HTML file with all generated thumbnails. This program was originally written on 2007-08-08 and then completely forgotten for almost 4 years.


Languages

Language:Python 100.0%