Font Rendering without bitmap textures for localization

Started by
24 comments, last by Krohm 8 years, 11 months ago

I wrote this: https://sourceforge.net/projects/ttftriangulator/ which might be of help. Its a library that converts font glyphs into actual mesh data for rendering.

Do you happen to have an example.cpp to go along with this? I saw your details from another thread but it would be great to have a small test app to try this with.

Advertisement

Using DirectWrite the simplest way to draw text would be the DrawText function described here:

https://msdn.microsoft.com/en-us/library/windows/desktop/dd371919(v=vs.85).aspx

Are there examples of using FreeType to generate a bitmap? I have been digging through documentation and looking for examples, but I don't see use cases of how others use it

Are there examples of using FreeType to generate a bitmap? I have been digging through documentation and looking for examples, but I don't see use cases of how others use it

https://github.com/rougier/freetype-gl stuffs freetype-rendered glyphs into an OpenGL texture atlas.

Omae Wa Mou Shindeiru

Are there any examples using DirectX? After spending the last few hours figure out CMake, trying to find glew32.dll, then having to find glut32.dll, those samples fail to run

Resources I used for my bitmap-free font system:

Windows Uniscribe. Let it choose & place the glyphs for you.

The triangle library. Let it mesh the glyphs for you. The above mentioned ttftriangulator might be more viable as I had to add quite some code to deal with curves.

Resolution Independant Curve Rendering Using Programmable Graphics Hardware.

In my experience, distance fields don't have enough precision to support the (admittedly extreme) cases I had to deal with. I am pretty sure building the distance field will take more time than triangle takes to mesh.

Be warned: minification is a real pain. Unless you do proper aliasing, bitmap fonts using freetype will most likely be higher quality (at least as long as you keep reading them orthogonally).

Previously "Krohm"

This topic is closed to new replies.

Advertisement