harfbuzz/contrib/python
Martin Hosken e5bed0a37f Tidy up hbtestfont and add README 2010-05-22 20:19:00 +01:00
..
lib Add fontconfig to hbtestfont 2010-05-22 19:58:00 +01:00
scripts Tidy up hbtestfont and add README 2010-05-22 20:19:00 +01:00
README Tidy up hbtestfont and add README 2010-05-22 20:19:00 +01:00
runpy Add Python wrapper from Martin Hosken 2010-05-21 10:33:23 +01:00
setup.py Add fontconfig to hbtestfont 2010-05-22 19:58:00 +01:00

README

This contains a wrapping of harfbuzz into python. The module is dependent on pyrex. To build, type:

python setup.py build

In addition there is a test application, hbtestfont. It has GTK based gui output and for this, python modules for gtk, gobject and cairo are needed. The application may be run without gui output using the --nogui option.

Applications may be executed in the build context, without needing to install any modules or libraries, using the runpy script from the contrib/python directory. Thus one might type:

./runpy script/hbtestfont -f "Charis SIL" 0048 0069 0303