Skip to content
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

Return an Option from outline_glyph instead of a Path containing a null pointer #100

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

ginnyTheCat
Copy link
Collaborator

The outline_glyph and outline_glyph_with_ctm functions returned a Path containing a null pointer in case a glyph was unable to be outlined.

fz_outline_glpyh tries to avoid throwing errors, does however throw one in case allocation fails. I'm not sure if i should keep the Result for that case.

@messense messense merged commit 7d01aa4 into messense:main Jan 30, 2025
7 of 11 checks passed
@ginnyTheCat ginnyTheCat deleted the outline-glyph-null branch January 30, 2025 04:10
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.

2 participants