Simd
Simd copied to clipboard
How to draw extended ASCII characters
Hi,
The Font class is very useful to us for debugging purposes.
Could you give a procedure or some advices about how to extend it in order to support the extended ASCII
characters?
Typically to be able to draw the French accents.
Thanks.
Hi! I looked source codes of Font class, and function GenerateFont which generates data for font rendering. Unfortunately these algorithms are not extendable to the rest symbols besides ASCII table. This Font class was specialy designed for debug purposes only, so this restricted functionaly can be overcome only by using of external library for font drawing.
Thanks for the answer.
I have found stb_truetype.h for a potential replacement. Feel free to propose if you know another solution.
You can keep this issue open for potential contribution or close it if you want.