Giter Club home page Giter Club logo

ofxfont's Introduction

ofxFont

An extensible typography framework featuring layout, Unicode, drawing in ofPaths, and much much more.

ofxfont's People

Contributors

bakercp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ofxfont's Issues

Text Direction?

Any chance of a text direction feature? Need to write some arabic....

Slim down ICU

Get rid of Layout and any other packages we don't need immediately.

example doesn't compile out of the box

System: Ubuntu 18.04 - of_v0.11.0_linux64gcc6_release

Not a big deal, but might be confusing for some people. When compiling the example from a fresh clone I get this:

[...]/ofxFont/example_font_manager/src/main.cpp:15:14: error: ‘int ofWindowSettings::width’ is protected within this context
     settings.width = 80;

[...]
[...]ofxFont/example_font_manager/src/main.cpp:16:14: error: ‘int ofWindowSettings::height’ is protected within this context
     settings.height = 60;

Fix would be to do in main.cpp:

//
// Copyright (c) 2009 Christopher Baker <https://christopherbaker.net>
//
// SPDX-License-Identifier:	MIT
//


#include "ofAppRunner.h"
#include "ofApp.h"


int main()
{
    ofGLWindowSettings settings;
    settings.setSize(80,60); // <------------- fix :)
    settings.setGLVersion(3, 2);
    settings.windowMode = OF_WINDOW;
    auto window = ofCreateWindow(settings);
    auto app = std::make_shared<ofApp>();

    ofRunApp(window, app);
    return ofRunMainLoop();
}

Status?

Hey,
Just curious to know what the status of this addon is. I see it hasn't been updated in over a year and some of the (commented out) methods in the example don't seem to be available anymore.
Thanks!

ofxFont issues in Ubuntu 11.04 and OF0071

I found some UniChar instead of "ofUniChar" and makes changes, but i got at the end this error:

/home/walter/openframeworks0071/openframeworks/examples/ofxFont/example-basic/../../../addons/ofxUnicode/src/ofUTF8.cpp|65|undefined reference to `ofUTF8::repair(std::basic_string<char, std::char_traits, std::allocator >, unsigned int)'|

Can you check if i'm wrong ? or i miss something?
Thanks
Walter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.