Skip to content

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

License

Notifications You must be signed in to change notification settings

pharo-graphics/Alexandrie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.