/pangocffi

CFFI-based pango bindings for Python.

Primary LanguagePythonGNU Lesser General Public License v2.1LGPL-2.1

pangocffi

Latest PyPi Release Supported Python Versions https://travis-ci.org/leifgehrmann/pangocffi.svg?branch=master Documentation Status Code Coverage

pangocffi is a CFFI-based set of Python bindings for pango.

pangocffi on its own is not that useful, since it depends on a PangoFontMap being declared against the PangoContext. PangoFontMap instances can easily be retrieved from libraries such as PangoCairo, PangoXft, PangoFT2, and PangoWin32 (See gnome's documentation Rendering with Pango for a list of rendering engines).

See pangocairocffi for bindings that allow you to render pango objects with cairo.

The bindings are currently not fully implemented. Feel free to make a pull request to contribute!