pharo-graphics / Alexandrie

FFI bindings and a 2D canvas for Pharo based on Cairo, Freetype and Harfbuzz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alexandrie

License Tests Test ffi-minimal baseline group

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:

These pages can be browsed via Pharo IDE -> World Menu -> Help -> Documentation Browser -> Alexandrie/doc (after loading the project).

Install

The project can be loaded as usual via Metacello, using the BaselineOfAlexandrie specification. To copy/paste a loading script, see the wiki page.

Branches & Contributions

We describe our contribution workflow & branch name convention in this wiki page.

License

This code is licensed under the MIT license.

About

FFI bindings and a 2D canvas for Pharo based on Cairo, Freetype and Harfbuzz

License:MIT License


Languages

Language:Smalltalk 100.0%