Giter Club home page Giter Club logo

Comments (3)

vormplus avatar vormplus commented on August 12, 2024

@rezaali You need a font with support for Japanese characters if you want to render them. Most fonts don't have the necessary glyphs included in the .otf file. Should work with the fonts you find over here: http://www.freejapanesefont.com/

I just tried rendering some French text with a lot of accents and special characters and it works really great. Way better than the default ofTrueTypeFont with the character encoding set to OF_ENCODING_UTF8.

from ofxtruetypefontuc.

rezaali avatar rezaali commented on August 12, 2024

@vormplus thank you so much for the pointers! Now to re-think how to integrate this + and future text renderers into ofxUI!

from ofxtruetypefontuc.

hironishihara avatar hironishihara commented on August 12, 2024

Sorry for the delay.

As @vormplus says, most fonts have only glyphs of some particular languages. If you want to render a certain character of a particular language, you need to have loaded a font which include a glyph of that character in advance.

Since many fonts have been copyrighted, we should not include those fonts in our addons. On the other hand, there are some open-source fonts, for example https://www.google.com/get/noto/. These fonts could be properly included in our addons.

In font classes of openFrameworks, there are still several fundamental issues which we should resolve. I believe that it will take a little time to resolve them.

from ofxtruetypefontuc.

Related Issues (17)

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.