Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small bug in the example project: #1

Open
ofTheo opened this issue Nov 10, 2010 · 0 comments
Open

small bug in the example project: #1

ofTheo opened this issue Nov 10, 2010 · 0 comments

Comments

@ofTheo
Copy link

ofTheo commented Nov 10, 2010

ofxPCPangoFontDescription* fd = new ofxPCPangoFontDescription();
fd->createFromString("Arial Unicode MS 11");
layout->setFontDescription(fd);

needs to be:

ofxPCPangoFontDescription* fd = new ofxPCPangoFontDescription();
fd->createFromString("Arial Unicode MS 11");
layout->setFontDescription(*fd);

as setFontDescription doesn't take a pointer but the object itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant