[Webkit-unassigned] [Bug 177039] [FreeType] Font variations not working for some fonts declared with CSS @font-face
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 2 05:53:28 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=177039
--- Comment #8 from Adrian Perez <aperez at igalia.com> ---
(In reply to Adrian Perez from comment #7)
> I have been able to verify that the following HTML triggers the issue:
>
> <!DOCTYPE html>
> <html>
> <head>
> <style type="text/css">
> @font-face {
> font-family: 'Source Sans 3 VF';
> font-weight: 200 700;
> src:
> url(https://wpewebkit.org/assets/SourceSans3VF-Roman.ttf.woff2)
> format('woff2-variations');
> }
Correction:
src: local('Source Sans 3 VF'),
url(https://wpewebkit.org/assets/SourceSans3VF-Roman.ttf.woff2)
format('woff2-variations');
The “local()” is what makes WebKit try to get installed fonts using
Fontconfig.
--
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/20230302/42cd6d1f/attachment.htm>
More information about the webkit-unassigned
mailing list