Enabling pango + cairo in openFrameworks for Windows / Mac / Linux(?)
Forks
Forks pushed to more recently than diederickh/ofxPango itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.
README
ofxPango
The ofxPango addon enables advanced text rendering in openFrameworks. It uses the Pango text rendering engine (www.pango.org). Pango has some nice features as:- justified text
- simple markup language
- dynamic font loading (from your system directory)
Installation Windows (Code::Blocks)
- Add the ofxPango\src to your project
- Project > Build Options > Search directories tab
- Project > Build Options > Linker Settings
- Copy the dll files from: ofxPango\src\libs\win\ and ofxPango\src\libs\static\ to your bin directory.
Installation Mac (XCode)
- Add the ofxPango\src to your project
- Project > Build Options > Search directories tab
# Errors / faq.
- Undefined symbols errors.
Undefined symbols: "_fopen$UNIX2003", referenced from: _some_function in somefile.o Make sure you compile against the 10.6 SDK!
ofxAddons