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

More refactorings #11

Closed
wants to merge 3 commits into from
Closed

More refactorings #11

wants to merge 3 commits into from

Conversation

nyurik
Copy link
Collaborator

@nyurik nyurik commented Jul 3, 2023

This code requires stadiamaps/sdf_glyph_renderer#7

  • Move all code out of lib.rs
  • Remove freetype-rs dependency - use (unpublished) one from sdf_glyph_renderer
  • get rid of all panics (unwraps)
  • add proper thiserror-based errors
  • cleanup exports to be on the same top level
  • combine_glyphs should not double-check hashset for values
  • combine_glyphs doesn't need to have two extra iterations to compute min/max
  • combine_glyphs should return None per docs on empty

* Remove `freetype-rs` dependency - use (unpublished) one from sdf_glyph_renderer
* get rid of all panics (unwraps)
* add proper thiserror-based errors
* cleanup exports to be on the same top level
* combine_glyphs should not double-check hashset for values
* combine_glyphs doesn't need to have two extra iterations to compute min/max
* combine_glyphs should return None per docs on empty
@nyurik
Copy link
Collaborator Author

nyurik commented Jul 9, 2023

closing this in favor of #13

@nyurik nyurik closed this Jul 9, 2023
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.

1 participant