[Webkit-unassigned] [Bug 271131] Creating, loading, and adding a FontFace from JS does not result in the font being usable in the web page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 18 18:50:22 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=271131

Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ap at webkit.org

--- Comment #1 from Alexey Proskuryakov <ap at webkit.org> ---
Thank you for the report. I'm not quite sure where the bug is, this seems like an edge case to me (but I'm not familiar with FontFace API).

- This test doesn't work for me in any browser as is, when loaded as a file in macOS Safari, because it cannot load from "/FairfaxHD.ttf", so I needed to remove the slash. 

- Then it works in Firefox, but not in Safari or Chrome.

- But that seems to be expected, because the name of the font face is "FairfaxHD" with quote marks, not FairfaxHD.

- When I remove the quote marks, it works in all browsers.

So I don't see any WebKit-only bug here, and maybe there is a Firefox bug where it ignores the name. Could you please elaborate on why you expect this to work with the quote marks?

-- 
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/20240319/a077a793/attachment.htm>


More information about the webkit-unassigned mailing list