-
Notifications
You must be signed in to change notification settings - Fork 83
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
Degree sign doesn't get rendered #64
Comments
Could be same as when using micro symbol (mu) µ which is not 8-bit encoding. May work if you set localisation - just a suggestion: #include <locale.h> // For use with multi-byte parsing routines (extended char sets other than 7-bit ascii) otherwise |
Hm. I already set an specify locale so special chars get rendered correctly. I'll see if I can get it working. But that's a great point to start. |
That's odd. Are you using the C library or Go wrapper? I have a specific app that uses the degree symbol, twh (https://github.com/ajstarks/openvg/blob/master/go-client/twh/twh.go) |
I'm using the C library in a C++ project. Examples: |
Turns out that the degree sign is not part of the Dejavusans font. If you are interested, I already compiled some weather symbols into c++. |
Degree is in indeed in the default font. This program:
|
Whenever I try to render text containing the degree sign (
°
), everything after it isn't rendered anymore. What could be the cause of that?The text was updated successfully, but these errors were encountered: