Filip Sykala
Filip Sykala
I think, when is it soo simple, it will be self explained from code. It is speed up: Remove unnecessary recursive Call at Last level.
Code for allocation vertices(few lines before printScreen): ``` m = n + 2*numberOfContours; // a loose bound on how many vertices we might need vertices = (stbtt_vertex *) STBTT_malloc(m *...
FYI: On windows is situation with allocation size and accessing unallocated memory the same. But windows compiler is not soo strict.
Is there somebody, who investigate the issue? Or should I go deeper to find a correct fix (without memory leaks).
@nothings : I agree with you, that is necessary to > figure out what the correct conservative bound is @nothings are you still investigating this issue? Or is there somebody,...
You suggest change line 1771 from: https://github.com/nothings/stb/blob/af1a5bc352164740c1cc1354942b1c6b72eacb8a/stb_truetype.h#L1770-L1772 to: `start_off = !(flags & 1) && (i+1) < n;` ? I dumped vertices data from problematic letter _'C'_ inside of font _Times.ttf_...
@uroni, @richgel999 What you think about the changes? Are you willing to merge them?
It is about [projection type](https://en.wikipedia.org/wiki/3D_projection). Embossing tool use [Orthographic projection](https://en.wikipedia.org/wiki/3D_projection#Orthographic_projection) (a.k.a. parallel projection) so [cylindric](https://en.wikipedia.org/wiki/Cylindrical_equal-area_projection), [conic](https://en.wikipedia.org/wiki/Map_projection), sphere and curve projection are feature request.
Am I correct that you want Bevel for embossed text? 
Use key [enter] after each letter in text input. 