diff --git a/glyph/CHANGELOG.md b/glyph/CHANGELOG.md index 4ca8baf..f12aab7 100644 --- a/glyph/CHANGELOG.md +++ b/glyph/CHANGELOG.md @@ -1,3 +1,6 @@ +# Unreleased (0.2.25) +* Add `Font::glyph_svg_image` for accessing glyph svg data. + # 0.2.24 * Add `Font::font_data` for accessing underlying raw font data. diff --git a/glyph/src/font.rs b/glyph/src/font.rs index a626944..5f489fd 100644 --- a/glyph/src/font.rs +++ b/glyph/src/font.rs @@ -178,10 +178,10 @@ pub trait Font { /// To get the largest image use `u16::MAX`. fn glyph_raster_image2(&self, id: GlyphId, pixel_size: u16) -> Option; - /// Returns raw SVG data of a range of glyphs which insludes this one. + /// Returns raw SVG data of a range of glyphs which includes this one. /// /// Some fonts define their images as SVG rather than a raster format. SVG data here is raw and - /// should be rendered and/or decompressed by the caller, and scaled appropraitely. The SVG file + /// should be rendered and/or decompressed by the caller, and scaled appropriately. The SVG file /// might include a series of glyphs as nodes. fn glyph_svg_image(&self, id: GlyphId) -> Option { _ = id;