https://github.com/leifgehrmann/pangocffi
CFFI-based pango bindings for Python.
https://github.com/leifgehrmann/pangocffi
binding cffi pango python
Last synced: 20 days ago
JSON representation
CFFI-based pango bindings for Python.
- Host: GitHub
- URL: https://github.com/leifgehrmann/pangocffi
- Owner: leifgehrmann
- License: lgpl-2.1
- Created: 2019-02-18T22:16:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-26T19:29:15.000Z (11 months ago)
- Last Synced: 2025-08-22T20:37:05.368Z (2 months ago)
- Topics: binding, cffi, pango, python
- Language: Python
- Homepage: https://pangocffi.readthedocs.io
- Size: 281 KB
- Stars: 12
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# pangocffi
[](https://pypi.python.org/pypi/pangocffi)
[](https://pypi.python.org/pypi/pangocffi)
[](https://github.com/leifgehrmann/pangocffi/actions)
[](https://pangocffi.readthedocs.io/en/latest/?badge=latest)
[](https://codecov.io/gh/leifgehrmann/pangocffi)
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.
[pangocairocffi]: https://github.com/leifgehrmann/pangocairocffi
['Rendering with Pango']: https://developer.gnome.org/pango/stable/rendering.html
The bindings are currently not fully implemented. Feel free to make a pull
request to contribute!
[CFFI]: https://cffi.readthedocs.org/
[pango]: https://pango.org/
## Installation and usage
See ['Overview'] for information on how to install the necessary libraries.
See ['Python API Reference'] for additional information on all the objects.
['Overview']: https://pangocffi.readthedocs.io/en/latest/overview.html
['Python API Reference']: https://pangocffi.readthedocs.io/en/latest/modules.html
## Contributing
If you would like to contribute to this project, either by leaving feedback or
submitting a pull request, please read '[CONTRIBUTING.md]'.
[CONTRIBUTING.md]: CONTRIBUTING.md