Skip to content

v2.1.0 — faster, fixed x alignment, OffscreenCanvas#62

Merged
mourner merged 7 commits into
mainfrom
mourner/optimizations
Apr 8, 2026
Merged

v2.1.0 — faster, fixed x alignment, OffscreenCanvas#62
mourner merged 7 commits into
mainfrom
mourner/optimizations

Conversation

@mourner
Copy link
Copy Markdown
Member

@mourner mourner commented Apr 8, 2026

See individual commits.

Copy link
Copy Markdown

@stepankuzmin stepankuzmin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@mourner mourner merged commit e9144ae into main Apr 8, 2026
6 checks passed
@mourner mourner deleted the mourner/optimizations branch April 8, 2026 08:56
@mourner mourner temporarily deployed to github-pages April 8, 2026 08:56 — with GitHub Pages Inactive
@HarelM
Copy link
Copy Markdown
Contributor

HarelM commented Apr 23, 2026

I have a bug that I think is related to this fix.
This is how it looks before the fix (2.0.7 version):
image

This is after the fix (2.10.0 version):
image

I think that in both cases it needs an extra pixel for the j, doesn't it?

This is using noto sans font, can be found here:
https://github.com/IsraelHikingMap/Site/tree/main/IsraelHiking.Web/src/fonts

In maplibre-gl-js we've added the ability to remove glyphs completely and use browser fonts, which in term make heavy use of tinySDF.
So this library might finally get the attention it deserves :-)

Let me know if you prefer that I open an issue to track this.

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.

3 participants