This repository includes:
- Pharo FFI bindings to Cairo, FreeType and Harfbuzz.
- A font manager that can scan filesystem for fonts files, and provide a simple selection API (extracted from Pharo's FT2 bindings)
- A 2D canvas (unstable) for drawing figures and text providing an abstraction layer on top of Cairo. It was born as an alternative for rendering Bloc elements, but it is independent from Bloc.
For more details, please refer to our documentation:
- User Guide
- FFI Code Convention
- Regression Testing
- External C dependencies
- Why writing new Cairo bindings?
These pages can be browsed via Pharo IDE -> World Menu -> Help -> Documentation Browser -> Alexandrie/doc (after loading the project).
The project can be loaded as usual via Metacello, using the BaselineOfAlexandrie
specification. To copy/paste a loading script, see the wiki page.
We describe our contribution workflow & branch name convention in this wiki page.
This code is licensed under the MIT license.