Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to draw extended ASCII characters #192

Open
s-trinh opened this issue Jan 5, 2022 · 2 comments
Open

How to draw extended ASCII characters #192

s-trinh opened this issue Jan 5, 2022 · 2 comments

Comments

@s-trinh
Copy link
Contributor

s-trinh commented Jan 5, 2022

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.

@ermig1979
Copy link
Owner

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.

@s-trinh
Copy link
Contributor Author

s-trinh commented Jan 6, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants