You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Add a lang option (passed through to the Canvas context) to handle subtle variations between Simplified Chinese, Traditional Chinese, and Japanese CJK rendering. #58
Temporarily remove OffscreenCanvas usage due to the current Chrome version (v93) having performance issues with it (not respecting willReadFrequently context option).