Skip to content
Enabling pango + cairo in openFrameworks for Windows / Mac / Linux(?)
C Other
  1. C 98.5%
  2. Other 1.5%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
examples
src
install.xml
readme.txt

readme.txt

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
		..\..\..\addons_diederick\ofxPango\libs\pango\include\
		..\..\..\addons_diederick\ofxPango\libs\glib\include\
		..\..\..\addons_diederick\ofxPango\libs\cairo\include\cairo\
		..\..\..\addons_diederick\ofxPango\src\
		
- Project > Build Options > Linker Settings
		..\..\..\addons_diederick\ofxPango\libs\pango\lib\win\libpangocairo-1.0-0.dll
		..\..\..\addons_diederick\ofxPango\libs\pango\lib\win\libpango-1.0-0.dll
		..\..\..\addons_diederick\ofxPango\libs\cairo\lib\win\libcairo-2.dll
		..\..\..\addons_diederick\ofxPango\src\libs\win\libgobject-2.0-0.dll
		
- 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
	../../../addons_diederick/ofxPango/libs/pango/include/
	../../../addons_diederick/ofxPango/libs/glib/include/
	../../../addons_diederick/ofxPango/libs/cairo/include/cairo/
	../../../addons_diederick/ofxPango/src/

	
# Errors / faq.
================
- 	Undefined  symbols errors.
	When you get an error like:

	Undefined symbols:
	  "_fopen$UNIX2003", referenced from:
		  _some_function in somefile.o
	
	Make sure you compile against the 10.6 SDK!



You can’t perform that action at this time.