Deimantas Jakovlevas

Results 26 comments of Deimantas Jakovlevas

I've found that if you add a small delay between the insertion iterations it doesn't throw with `Maximum call stack size exceeded`. ```ts async function insertString(currentText, str){ const maxInsertSize =...

AFAIK SDFs are the plan for v2, which will make this easier. In the meantime, we've built a MSDF generator and released it on npm here - https://www.npmjs.com/package/@zappar/msdf-generator (it powers...

Iirc the main chunk of the wasm is Skia PathOps which we use to fix overlaps. Will see if I can open source the repo next week and get wider...

Got the wasm down to 300kB https://msdf-staging.zap.works/1.1.0-beta.4/index.html#stress Mainly through replacing freetype with https://github.com/nothings/stb/blob/master/stb_truetype.h On most of my devices I'm able to generate a font in 30-60ms.

Bazel looks cool, It's currently more so the latter :) Shall update the thread once we have something on GitHub!

RFC here https://github.com/pmndrs/uikit/issues/231

Given it some further thought, should we perhaps always render missing as solid blocks and remove the `?` fallback? Makes things more consistent. @bbohlender be good to get your thoughts...

> @nyan-left I don't like making the shader more complex. Wdyt about just ignoring the character if there is no "?". If combined with your other proposals (event on missing...

@bbohlender should be good. Lmk your thoughts :)

Looks like decorators in general are being colored weird. See screenshot below: ```ts function WithInstance(callback: (instance: InstanceType) => void) { return function (constructor: T) { return class extends constructor {...