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

add GlyphSvg #100

Merged
merged 4 commits into from
Apr 12, 2024
Merged

add GlyphSvg #100

merged 4 commits into from
Apr 12, 2024

Conversation

asibahi
Copy link
Contributor

@asibahi asibahi commented Apr 8, 2024

This is a minimal addition of GlyphSvg to ab_glyph. The data is transferred as-is from ttfp without rendering or scaling or interpreting, as a minimally useful product.

I would rather render the SVG into a raster image somehow ti make it easier for callers but I don't want to add a dependency. (And I am not quite sure the work I did for the font I was using would apply to all fonts.)

I am rendering the SVG as needed here: https://github.com/asibahi/noor/blob/01ce89e01d8814763c1ebc1047ccad6f1c1c30fa/src/main.rs#L169 .

@alexheretic
Copy link
Owner

Thanks! This looks quite reasonable to me. Nice one for making it non-breaking. I'll find some time soon to properly review soon.

asibahi and others added 2 commits April 10, 2024 03:06
@alexheretic alexheretic merged commit 83eafaf into alexheretic:main Apr 12, 2024
2 checks passed
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