openFrameworks
openFrameworks copied to clipboard
bug with making contours from fonts
one of my students was experimenting with this font and this code
https://www.dropbox.com/s/p02qyulbud26fqb/lato.ttf?dl=0 https://github.com/ofZach/RTP_SFPC_SUMMER20/tree/master/typeExample3
and found that the parsing looks a little weird, some screenshots when you zoom in
it seems that when you change the makeContoursForCharacter and make all the 64 to 64.0 instead it fixes things, so perhaps it's just a resolution issue?
happy to submit a PR just wanted to mention it as an issue in case anyone has ideas.
I think this is related to the fact assumes as a default parameter for simplifyAmt the value of 0.3 so maybe every loaded font is simplified?
I've checked out the code and confirm simplifyAmt = 0.0 fixes this This PR closes this issue https://github.com/openframeworks/openFrameworks/pull/7065
closed by #7065