freetype-gl icon indicating copy to clipboard operation
freetype-gl copied to clipboard

Add the `ftgl_` to the C API.

Open cirosantilli opened this issue 9 years ago • 1 comments

C++ has the namespace ftgl so it's fine, but C does not have a prefix like ftgl_, so functions will occupy the global namespace, and maybe collide with other libraries.

We could solve that with macros.

That would help with: https://github.com/rougier/freetype-gl/issues/115

cirosantilli avatar May 01 '16 19:05 cirosantilli

The API is currently broken and inconsistent in naming, exposing of data and steps required to create and render text/glyphs. Adding a prefix doesn't solve any of this and is probably wasted effort given the idea of merging freetype-gl, glyph and msdfgen in the future as mentioned in #111.

adrianbroher avatar May 02 '16 11:05 adrianbroher