jit.gl.text2d differences between max 6 and 7


    Feb 22 2015 | 1:40 pm
    I've got a patch that passes html from a dict to a text2d object for rendering and I'm getting very different results in 7. I'd kind of like to use 7 because text2d got justify alignment added but I'm getting these weird gaps (like extra empty lines) in the text that don't occur in 6. Any ideas on how to fix this?

    • Feb 23 2015 | 8:17 pm
      it looks like the max 7 version is correctly interpreting the new line characters in the text and adding a blank line . you could filter those out if you don't want them.
    • Feb 23 2015 | 8:40 pm
      I tried doing that by filtering characters under 32 (I assumed ASCII) are the newlines escaped somehow? Is this going to require regexp magic?