Skip to content

A small library to handle pango fonts within Pharo

License

Notifications You must be signed in to change notification settings

estebanlm/pharo-pango

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pharo-pango

A library to manage pango fonts within Pharo

Usage

This is made for macOS for the moment (adding linux and windows support should be trivial).

Prerequisites

you need to have pango installed on your system:

  • macOS: sudo port install pango
  • linux: ...
  • windows: ...

Installing

Metacello new 
	repository: 'github://estebanlm/pharo-pango/src';
	baseline: 'Pango';
	load.

WARNING: Since this is just an experiment and it uses cairo as backend, you need to modify CairoLibrary to point to the same version of cairo pango uses. In macOS, I made this:

CairoLibrary>>macModuleName
	^ '/opt/local/lib/libcairo.dylib'

Trying it

You can execute the examples:

PangoExamples example1

About

A small library to handle pango fonts within Pharo

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published