[Webkit-unassigned] [Bug 276607] New: Unable to load a font face on nxp imx8mp platform
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 15 06:11:50 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=276607
Bug ID: 276607
Summary: Unable to load a font face on nxp imx8mp platform
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WPE WebKit
Assignee: webkit-unassigned at lists.webkit.org
Reporter: plampe at igalia.com
CC: bugs-noreply at webkitgtk.org
When WebKit WPE port is built using gcc 13.2.0 for nxp imx8mp (aarch64-poky-linux-gcc, aarch64-poky-linux-g++) font face API is basically not working as it's not loading font faces.
It turns out the problem is here: https://github.com/WebKit/WebKit/blob/9878e30a6f7350aca54e860251f34971e6aed1f6/Source/WebCore/css/FontFace.cpp#L87 and what happens is, dataRequiresAsynchronousLoading lambda capture (by reference) behaves as if it was capture by copy and therefore even tho we set the value to false in lambda, the dataRequiresAsynchronousLoading is true after WTF::switchOn() call... So it's likely some compiler bug as e.g. disabling optimizations for that function using #pragma GCC optimize ("O0") helps.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240715/40a41ec1/attachment.htm>
More information about the webkit-unassigned
mailing list