Activity for FTGL

  • Anonymous modified a comment on ticket #26

    I had the same problem. The crash was due to two places where you can get a NULL pointer: Glyph(charCode) and charMap->GlyphListIndex(charCode) returns 0 on errors, so using its result if 0 is not a good idea... My fix was in FTGlyphContainer.cpp, my patch is @@ -80,13 +80,21 @@ { unsigned int index = charMap->GlyphListIndex(charCode); + // NOTE GlyphListIndex() returns 0 if not found. + // glyphs[0] is NULL, thus we save the test for those rare cases. return (index < glyphs.size()) ? glyphs[index]...

  • Anonymous modified a comment on ticket #26

    I had the same problem. The crash was due to two places where you can get a NULL pointer: Glyph(charCode) and charMap->GlyphListIndex(charCode) returns 0 on errors, so using its result if 0 is not a good idea... My fix was in FTGlyphContainer.cpp, my patch is @@ -80,13 +80,21 @@ { unsigned int index = charMap->GlyphListIndex(charCode); + // NOTE GlyphListIndex() returns 0 if not found. + // glyphs[0] is NULL, thus we save the test for those rare cases. return (index < glyphs.size()) ? glyphs[index]...

  • Anonymous modified a comment on ticket #26

    I had the same problem. The crash was due to two places where you can get a NULL pointer: Glyph(charCode) and charMap->GlyphListIndex(charCode) returns 0 on errors, so using its result if 0 is not a good idea... My fix was in FTGlyphContainer.cpp, my patch is @@ -80,13 +80,21 @@ { unsigned int index = charMap->GlyphListIndex(charCode); + // NOTE GlyphListIndex() returns 0 if not found. + // glyphs[0] is NULL, thus we save the test for those rare cases. return (index < glyphs.size()) ? glyphs[index]...

  • Anonymous modified a comment on ticket #26

    I had the same problem. The crash was due to two places where you can get a NULL pointer: Glyph(charCode) and charMap->GlyphListIndex(charCode) returns 0 on errors, so using its result if 0 is not a good idea... My fix was in FTGlyphContainer.cpp, my patch is @@ -80,13 +80,21 @@ { unsigned int index = charMap->GlyphListIndex(charCode); + // NOTE GlyphListIndex() returns 0 if not found. + // glyphs[0] is NULL, thus we save the test for those rare cases. return (index < glyphs.size()) ? glyphs[index]...

  • Daniel Macks Daniel Macks posted a comment on ticket #41

    I think the actual bug is that ftgl.pc publishes -I${includedir}/FTGL in addition...

  • Anonymous modified a comment on ticket #26

    I had the same problem. The crash was due to two places where you can get a NULL...

  • jack jack created ticket #46

    ftgl fails to configure: opengl lib not found

  • MichaelM MichaelM modified a comment on ticket #41

    Here's a patch that renames FTGL/FTGlyph.h to FTGLGlyph.h, which fixes the name clash...

  • MichaelM MichaelM posted a comment on ticket #41

    Here's a patch that renames FTGL/FTGlyph.h to FTGLGlyph.h, which fixes the name clash...

  • Lambert Antoine Lambert Antoine created ticket #45

    FTGL segfaults when rendering an unicode string containing characters located outside the Basic Multilingual Plane

  • Peter Mawhorter Peter Mawhorter created ticket #44

    ftglRenderFont with texture font doesn't unbind texture

  • quuux quuux posted a comment on ticket #43

    Here's a patch with a proposed fix for all the errors I've hit. From a discussion...

  • quuux quuux created ticket #43

    Underlinking issue on GNU/Linux

  • IOhannes m zmölnig IOhannes m zmölnig created ticket #42

    crashes with buggy fonts

  • Mojca Miklavec Mojca Miklavec created ticket #41

    #include <ftglyph.h> finds FTGlyph.h from FTGL rather than from FT on case insensitive systems

1
MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.