Closed FMotalleb closed 4 months ago
The project update primarily involves transitioning from rusttype
to ab_glyph
for font handling, updating dependency versions, and refining image and font processing functionalities across several modules. This shift enhances the handling of fonts and scales, aligning with updated dependencies for better performance and compatibility.
Files | Changes Summary |
---|---|
Cargo.toml |
Updated image and imageproc versions; replaced rusttype with ab_glyph . |
.../ansi_to_image.rs , .../printer.rs |
Replaced rusttype::Font and Scale with ab_glyph::FontRef and custom InternalScale . |
.../font_family.rs , .../nu_plugin.rs |
Transitioned from rusttype::Font to ab_glyph::FontRef ; updated related logic and function return types. |
.../internal_scale.rs , .../mod.rs |
Introduced InternalScale struct and added internal_scale module. |
.../image_to_ansi/nu_plugin.rs |
Modified image decoding logic by using Cursor for PngDecoder . |
🐰✨ Hopping through the code, with a leap and a bound, From
rusttype
we part,ab_glyph
we've found. Updated our crates, refreshed every line, Now our fonts and images, oh how they shine! Here's to changes, made swift and fine! 🌟 🐰💻
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Updates
Refactor
Bug Fixes