-
Notifications
You must be signed in to change notification settings - Fork 36
[feat] add freetype bindings #45
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
base: main
Are you sure you want to change the base?
Conversation
i'm not really sure about errors binding - i would better prefer something like a constant map where key is CInt code and value is a string descripion or maybe a macro with a huge switch case inside? |
75b86d0
to
ccb593d
Compare
Is the error code always the same as the ordinal? |
not really, you can definitely see that some part is skipped here |
If so it won't work to have distinct Error = int;
const Error OK = 0;
const Error CANNOT_OPEN_RESOURCE = 0x01;
const Error UNKNOWN_FILE_FORMAT = 0x01; |
6ecb04e
to
b1f58e7
Compare
i've done it this way |
103987e
to
b932f42
Compare
Is this solid now? |
b932f42
to
a1ee3ca
Compare
thats not full port of freetype library, but this is pretty much usable now |
I am very sorry I haven't gotten around to this until now. Could you update it to work with C3 0.7.1 and I'll approve it ASAP |
freetype bindings