Skip to content

Conversation

@valadaptive
Copy link
Contributor

@valadaptive valadaptive commented Mar 6, 2025

Necessary for getting the proper glyph extents in rustybuzz, and matches HarfBuzz.

We can't solve this solely in rustybuzz by just checking if the COLR table is v0 and behaving differently if so, because we can have COLRv0 glyphs in a COLRv1 table.

Necessary for getting the proper glyph extents, and matches HarfBuzz.
valadaptive added a commit to valadaptive/rustybuzz that referenced this pull request Mar 6, 2025
They are *currently* not calculated correctly, but that's a ttf-parser
issue (harfbuzz/ttf-parser#185)
@LaurenzV
Copy link
Collaborator

LaurenzV commented Mar 7, 2025

Hmm... It's been a while since I implemented that, from what I remember COLRv0 doesn't really have a concept of clips, but I might be wrong. With that said, it shouldn't break any existing code and since harfbuzz has it, I'm fine with adding that.

Someone else will have to merge though, since I don't have the permissions.

valadaptive added a commit to valadaptive/rustybuzz that referenced this pull request Mar 7, 2025
They are *currently* not calculated correctly, but that's a ttf-parser
issue (harfbuzz/ttf-parser#185)
@LaurenzV LaurenzV merged commit 37f1b0a into harfbuzz:main Mar 8, 2025
2 checks passed
valadaptive added a commit to valadaptive/rustybuzz that referenced this pull request Mar 8, 2025
They are *currently* not calculated correctly, but that's a ttf-parser
issue (harfbuzz/ttf-parser#185)
valadaptive added a commit to valadaptive/rustybuzz that referenced this pull request Mar 8, 2025
They are *currently* not calculated correctly, but that's a ttf-parser
issue (harfbuzz/ttf-parser#185)
@alerque
Copy link
Member

alerque commented Mar 10, 2025

Do we want a patch release cut so this is covered or should we hold off a bit until rustybuzz is ready for a release that needs it?

@LaurenzV
Copy link
Collaborator

I don’t think there is a rush, it’s an edge case.

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

Successfully merging this pull request may close these issues.

3 participants