Dj
Dj
@littledivy PTAL
Yeah, I'll get around it by the weekend.
For loading custom fonts, there is `canvas.loadFont`. For setting font you'll need to specify size too.  And deno-canvas cannot access system fonts either btw, so initially it's limited to...
All values in `TextMetrics` except `width` were added with a hacky workaround, so they might not be right. And no, actual canvaskit does not even implement `measureText` as they just...
Right.. text rendering as a whole is not-so-good with `canvaskit-wasm`. Btw, deno-canvas does expose Skia related APIs, such as Paragraph API if that's any helpful for you. I plan on...
Skia related APIs are all exposed in a namespace that is default exported from `mod.ts`. ```ts import Skia from "https://deno.land/x/[email protected]/mod.ts"; // Use Skia.Paragraph, Skia.ParagraphBuilder, etc. // API should be same...
Yeah, in `src/lib.js`. Right.. it was minified at first. `a` variable contains everything exported as default in `mod.ts`, so all Skia APIs. You can use ctrl+f to find implementation of...
@andykais your first attempt at the implementation looks great. I think it would be good enough for first pass (better than current inaccurate implementation) And yes, we do have access...
It is 0.32.0
It should be possible, I have removed them before but hit into timeouts / memory limits. So essentially it doesn't really help running on Deploy. It does not give enough...