Skip to content

chore(deps): bump @mapbox/tiny-sdf from 2.0.6 to 2.2.0#10340

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/mapbox/tiny-sdf-2.2.0
Open

chore(deps): bump @mapbox/tiny-sdf from 2.0.6 to 2.2.0#10340
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/mapbox/tiny-sdf-2.2.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 25, 2026

Bumps @mapbox/tiny-sdf from 2.0.6 to 2.2.0.

Release notes

Sourced from @​mapbox/tiny-sdf's releases.

v2.2.0

  • Fixed hard cutoffs at glyph edges where ink touches the bounding box (common in dense scripts like CJK). The inner distance transform now correctly sees outside-ink pixels in the surrounding buffer region (#63).
  • Fixed glyph placement within the SDF texture for fonts where actualBoundingBoxLeft is non-zero. Glyphs are now correctly centered without phantom padding, producing slightly smaller textures. Downstream consumers that position quads via glyphLeft (e.g. mapbox-gl-js) render identically (#65).

v2.1.0

  • Apply gamma correction to anti-aliased pixels. This makes the SDF-rendered text very slightly thicker and matches how browsers render the same text/font with HTML closer (by @​xavierjs #61)
  • Improve performance by ~10%.
  • Fix glyph x alignment to use actual bounding box metrics, matching height behavior. #34
  • Reintroduce using OffscreenCanvas by default where available, making TinySDF work in worker contexts. #35
  • Better code comments to clarify logic. #10

⚠️ This release very slightly alters how text is rendered, which might require updating test expectations for downstream users.

v2.0.7

Add a lang option (passed through to the Canvas context) to handle subtle variations between Simplified Chinese, Traditional Chinese, and Japanese CJK rendering. #58

Commits
Maintainer changes

This version was pushed to npm by mbx-npm-01-production, a new releaser for @​mapbox/tiny-sdf since your current version.


Dependabot compatibility score

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 show <dependency name> 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)

Bumps [@mapbox/tiny-sdf](https://github.com/mapbox/tiny-sdf) from 2.0.6 to 2.2.0.
- [Release notes](https://github.com/mapbox/tiny-sdf/releases)
- [Commits](mapbox/tiny-sdf@v2.0.6...v2.2.0)

---
updated-dependencies:
- dependency-name: "@mapbox/tiny-sdf"
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 25, 2026
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 83.366%. remained the same — dependabot/npm_and_yarn/mapbox/tiny-sdf-2.2.0 into master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant