Pregunta

I want to render shapes and text with different properties (pen width, color, etc.) in a platform independent C++ application. I do not want to rely on platform specifics (like OpenGL or font libraries) and found that the Anti-Grain-Geometry library (http://www.antigrain.com/) seems to be fine.

Rendering of plain English characters looks simple using the freefont which ships with the library. But how does rendering of non-English (e.g. "ä", "ü", "?", etc.) and non-Latin characters (e.g. Chinese or Russian) work?

Regards,

¿Fue útil?

Solución

Integration of the Freetype library is easy and works fine with foreign characters (at least those which I tested).

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top