drawStringAsShapes() different looking to original


#1

Hi, I just figured out some font’s character can look different when drawing with drawStringAsShapes()
I used sansation.ttf font and as you can see, the ‘x’ character looks different.
There’s an empty area in the cross section when drawing ‘x’ with drawStringAsShapes()

Is this natural behavior or could this be a bug?
If drawStringAsShapes() is drawing as ofMesh, then could this be related to poly winding order?
I’m curious if the issue can be easily fixed.


#2

no this is a bug, it probably just needs a change in the winding mode if the paths produced by oftruetypefont. can you open an issue in github?


#3

I just did. Thanks Arturo!

https://github.com/openframeworks/openFrameworks/issues/5468