pebble/tools/font
2025-01-27 11:38:16 -08:00
..
__init__.py Import of the watch repository from Pebble 2025-01-27 11:38:16 -08:00
dump_font.py Import of the watch repository from Pebble 2025-01-27 11:38:16 -08:00
emit_codepoints.py Import of the watch repository from Pebble 2025-01-27 11:38:16 -08:00
fontgen.py Import of the watch repository from Pebble 2025-01-27 11:38:16 -08:00
README.md Import of the watch repository from Pebble 2025-01-27 11:38:16 -08:00

Pebble Font Renderer Script

These Python scripts take TrueType font files, renders a set of glyps and outputs them into .h files in the appropriate structure for consumption by Pebble's text rendering routines.

Requirements:

  • freetype library
  • freetype-py binding

http://code.google.com/p/freetype-py/

Mac OS X and freetype-py: the freetype binding works with the Freetype library that ships with Mac OS X (/usr/X11/lib/libfreetype.dylib), but you need to patch setup.py using this diff file:

https://gist.github.com/3345193