Ondřej Žára

Results 503 comments of Ondřej Žára

Should be fixed now.

Hi @superkelvint , thanks for the PR. Are you aware of a particular situation where the `toBlob` fails to export the canvas? As far as I know, this would only...

Well, if we think that there is no reason for `toBlob` to fail, then a simpler build fix would be something similar to ```ts URL.createObjectURL(blob!) ```

I am currently on a vacation until the end of August. Acknowledging the issue, will look into it when I come back.

I just pushed a new [`Scene#clear`](https://github.com/ondras/fastiles/blob/master/ts/scene.ts#L93) method that clears the whole scene (using a specified color from the currently active palette). Would this API work for you?

Hello @dataf3l, can you please elaborate a bit on the _upcoming changes on the browser_? I am not aware of any API that surfaces via the `window.ai` global variable. Moreover,...

> The local variable hides the ai object for code further down the line in the same scope which may (as in, like, maybe) require it Not necessarily. You can...

Right, software engineering is not an easy task. Fortunately, we have some useful tools and principles on our hand: 1) If you decide to modify a function, it is generally...

I might have fixed this in a PR: https://github.com/Kozea/WeasyPrint/pull/2271 (I have absolutely zero experience with Pango and the underlying line-breaking algorithm in `line_break.py` is very complex, so please double-check my...

Right. The issue is visible when the hyphenation opportunity is in the second word (of the nbsp-joined word pair). This is very typical for Czech typography, where we join a...