K.

Results 73 comments of K.

What are you trying to do? Can you provide with an example input file and output?

seems to be a corrupted pdf file. might be related https://github.com/pymupdf/PyMuPDF/issues/352

@epezent can you also merge this as well? I can confirm that this fixes the compilation problem on Linux.

I got a screen recording that probably explains the situation better. Basically the DAW becomes unresponsive for around 4 seconds. The delay is definitely not normal compared to the stock...

Another observation that the problem can only be reproduced under X11. There is no delay under Wayland. This is the Xorg version I have ``` $ xdpyinfo | grep version...

I've pinpointed that the function that causes the freeze is `XRRGetScreenInfo` in pugl's `src/x11.c`. https://github.com/lv2/pugl/blob/e33b2f6b0cea6d6263990aa9abe6a69fdfba5973/src/x11.c#L651 Still trying to figure out the cause though.

Some further research indicates that this might be related to NVIDIA driver. - https://forums.developer.nvidia.com/t/xrandr-listproviders-takes-several-seconds-to-finish/214041 - https://bugs.freedesktop.org/show_bug.cgi?id=89247 though it's weird that I could reproduce the problem on another laptop using integrated...

This problem doesn't seem to be NVIDIA specific. Probably just the problem of X11. I checked on another Arch Linux machine with only one integrated graphics card and it still...

There is no page number for the line ``` "6.7* THE SINGULAR VALUE DECOMPOSITION AND THE PSEUDOINVERSE" ``` I probably need to add a more friendly error message.

> [@laurmaedje](https://github.com/laurmaedje) What if `overhang` accepted a dict where you could specify the amount of overhang in `[0.0, 1.0]` for categories like `quotes`, `dashes`, `punctuation`? For backwards-compatibility it could still...