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
[CFF] ByteStr issues... #1496
Comments
I can try reimplementing on top of |
Thanks. I just added |
It’s nice to see
|
Should be fixed now. Another nice but possibly very confusing property of |
Shall I rename ALL non-table structs likewise, such as |
Sounds good. I'm curious to see what other utilities you need there.
Would be nice, but I'm never strict about such big changes. Do it if you don't mind. There's no pull requests against the CFF code, so feel free to make huge changes while we can. :) |
Is this fixed? @blueshade7 |
Yes as a part of PR #1507 |
This was brought to my attention thanks to ubsan on my local build:
That points to this piece of code:
which suggests that
ByteStr
is a font struct. However, the implementation is NOT. It has a pointer, constructors, etc. I don't understand how you canstart_embed
that. That's just plain wrong.The convention is that
CamelCase
are font structs, whereas the rest arehb_name_spaced_t
.The ByteStr looks awfully like
hb_bytes_t
. I'm not sure what it's used for. Can you please explain your needs, so we can figure out what's the best design?The text was updated successfully, but these errors were encountered: