-
Notifications
You must be signed in to change notification settings - Fork 607
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
Add hb_buffer_create_similar()
#1555
Comments
I needed this (and #1480) for some Kashida related testing thing, so. |
Yes. Let's sort out the API first though. Should it create a new buffer? Or do we want a, essentially, assign version? I don't have a strong opinion. |
The usecase in utils needs to copy just a range of the buffer. That's done using |
I like something like Java's |
Clone wouldn't address the need in util. |
What is also not address by |
And that's #1843 |
Getting ideas from cairo: |
One problem with it: since, unfortunately,
|
@khaledhosny wdyt? We already changed |
Now that hb_buffer_append() overlays properties, we can do this. Part of #1555
Now that hb_buffer_append() overlays segment_properties we can do this. Part of #1555
hb_buffer_reset() was NOT resetting cluster_level. Ouch! Fix that. Part of #1555
Now that hb_buffer_append() overlays properties, we can do this. Part of harfbuzz#1555
Now that hb_buffer_append() overlays segment_properties we can do this. Part of harfbuzz#1555
hb_buffer_reset() was NOT resetting cluster_level. Ouch! Fix that. Part of harfbuzz#1555
Makes sense. |
Right now one can create new buffer and append existing buffer to it, but in utils I also have this piece:
The text was updated successfully, but these errors were encountered: