Jason Johnston

Results 208 comments of Jason Johnston

How are you trying to use it in a worker? Rendering to an OffscreenCanvas? Gimme some context.

Makes sense. If I recall, I originally tried using an `OffscreenCanvas` instead of (or optionally to) the `document.createElement('canvas')` but there was some issue with that where the SDFs rendered into...

Well it sounds like you've at least got it closer to working than I had. Maybe open a PR with your changes so I can take a look? I'd be...

🤩🤩🤩 Amazing! I look forward to reviewing this soon!

Aploogies for the delay on this, I haven't forgotten about it but haven't found time to dig in yet. Soon, I hope. 🙂

Apologies again for the delay! > One consideration about this update is the length property — is that something we could expect to support for all other properties added in...

Thanks Tom for the helpful analysis! I believe there are two issues at play: 1) Bidi.js is not properly handling surrogate code points; it's operating on JS string character indices...

Thank you for scoping it down, much appreciated. 🙂 I'm looking at the new .d.ts and not sure that it's correct -- are you able to use it? It looks...

Nice roadmap! Looking forward to watching your progress. I'll encourage you to steal as much as you can from troika-three-text (I'm its author) which has done on-the-fly SDF generation since...

That's a great idea, thank you for the examples. The letter-spacing case is an obvious one I just hadn't thought of -- I did a little testing and it looks...