plotters-rs / plotters

A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely 🦀 📈🚀
https://plotters-rs.github.io/home/
MIT License
3.89k stars 281 forks source link

Update ttf-parser requirement from 0.20.0 to 0.23.0 #608

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Updates the requirements on ttf-parser to permit the latest version.

Changelog

Sourced from ttf-parser's changelog.

[0.23.0] - 2024-07-02

Changed

  • Use core_maths instead of libm. Should simplify the build process. Thanks to LaurenzV.

Removed

  • no-std-float build flag. Should be handled automatically now.

[0.22.0] - 2024-06-29

Added

  • Face::glyph_phantom_points
  • hvar::Table::right_side_bearing_offset. Thanks to LaurenzV.
  • vvar::Table::advance_offset. Thanks to LaurenzV.
  • vvar::Table::top_side_bearing_offset. Thanks to LaurenzV.
  • vvar::Table::bottom_side_bearing_offset. Thanks to LaurenzV.
  • vvar::Table::vertical_origin_offset. Thanks to LaurenzV.
  • colr::Table::clip_box. Thanks to LaurenzV.

Changed

  • no_std build of ttf-parser requires --features=no-std-float now. This is because we need trigonometry functions to flatten transforms in COLR. Thanks to LaurenzV.
  • colr::Painter no longer has push_translate, push_scale, push_rotate and push_skew. Only push_transform left. Thanks to LaurenzV.
  • Split hvar::Table into hvar::Table and vvar::Table. Previously, we treated both HVAR and VVAR tables as identical, but VVAR actually has additional fields. Thanks to LaurenzV.
  • Rename hvar::Table::side_bearing_offset into hvar::Table::left_side_bearing_offset. Thanks to LaurenzV.

Fixed

  • Face::glyph_hor_advance and Face::glyph_ver_advance include gvar's phantom points when HVAR/VVAR tables are missing. Affects only variable fonts.
  • (CFF) Allow MoveTo with width commands in nested subroutines.
  • opentype_layout::LookupFlags::mark_attachment_type parsing.
  • (CFF) Allow empty charsets in cff::parse_charset. Thanks to LaurenzV.
  • (gvar) Empty sub-glyphs/components is no longer an error. Thanks to LaurenzV.
  • (GSUB/GPOS) Allow NULL offsets in ChainedContextLookup Format2 subtables. Thanks to LaurenzV.
  • Face::glyph_y_origin properly handles variable fonts now. Thanks to LaurenzV.
  • (kerx) Fix AnchorPoints parsing. Thanks to LaurenzV.

Removed

  • push_translate, push_scale, push_rotate and push_skew from colr::Painter.

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 4 months ago

Superseded by #609.