Created attachment 364766 [details] repro [WinCairo] Texts are not drawn in blocks with border-radius and overflow-x:auto Testing with WinCairo port trunk@242984 WK1 and WK2 BrowerWindow. It seems that GTK port doesn't have this issue.
https://stackoverflow.com/questions/55176294/ https://www.apple.com/shop/buy-iphone/iphone-8 https://blog.tomoya.dev/2019/01/emacs-auto-fix/ https://qiita.com/michaelyuki0908/items/75a9c9f9e358f3582308
Does it work with the previous cairo?
This issue can be fixed by replacing with cairo.dll of WinCairoRequirements v2018.11.27 (Cairo 1.16.0).
GraphicsContext::clipRoundedRect doesn't work as expected.
Created attachment 365003 [details] simple cairo clipping program
I've confirmed this repro (comment 5) doesn't reproduce the issue on Linux with cairo-1.17.2.tar.xz and pixman-0.36.0.tar.gz. Hmm, seems a Windows specific issue.
I tested the repro with the latest vcpkg. cairo 1.16.0 + pixman 0.38.0 (x86-windows): OK cairo 1.17.2 + pixman 0.38.0 (x86-windows): NG
I had a mistake in comment#6. I redid the experiment on Linux. I've confirmed this issue can be reproduced on Linux with cairo-1.17.2.tar.xz.
The upstream Cairo master branch has fixed this issue. This is the commit. https://gitlab.freedesktop.org/cairo/cairo/commit/2d1a137f3d27b60538c58b25e867288c7b0b61bc
https://github.com/WebKitForWindows/WinCairoRequirements/releases/tag/v2019.03.28 > Downgrades cairo to a previous version due to instability of the developer snapshot. Fixed.