#3 On OSX, Pixmap glyphs fail with GL_LINE


In 2.1.2 and 2.1.3rc5 in Mac OSX 10.4 and 10.5, if I have the GL_FRONT polygonmode set to GL_LINE when I draw pixmap text, the text does not appear properly, only something sort of like bounding boxes for the glyph.

I can work around this by

glPolygonMode(GL_FRONT, GL_FILL);

before trying to draw anything.

I don't see this problem in Windows or in RHE Linux.

I don't have a simple demo code for this; it came out of a big project (the rgl package for R). I have attached a PDF containing a couple of screen grabs, the first without the fix above, and the second with it.

If you have a simple wrapper for demo test code I'd be happy to try it out.


  • Duncan Murdoch

    Duncan Murdoch - 2008-07-18

    screen shots before and after workaround

  • Sam Hocevar

    Sam Hocevar - 2010-05-23
    • assigned_to: nobody --> sammy
  • Sam Hocevar

    Sam Hocevar - 2010-05-23

    It makes sense to set this attribute on every platform, in case the caller program has a problematic context.

    Thanks for reporting this. Fix is in trunk.

  • Sam Hocevar

    Sam Hocevar - 2010-05-23
    • status: open --> closed-fixed

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks