[Webkit-unassigned] [Bug 206118] New: [GPU Process] Support drawing text in 2D canvas with font features
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 10 18:36:13 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=206118
Bug ID: 206118
Summary: [GPU Process] Support drawing text in 2D canvas with
font features
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Text
Assignee: webkit-unassigned at lists.webkit.org
Reporter: wenson_hsieh at apple.com
CC: mmaxfield at apple.com
E.g.:
<style>
@font-face {
font-family: "SpecialFont";
src: url("resources/FontWithFeatures.ttf") format("truetype");
font-feature-settings: "titl" 1;
}
</style>
…
const context = document.querySelector("canvas").getContext("2d");
context.font = "80px SpecialFont";
context.fillText("bbb", 100, 100);
--
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/20200111/3a4b02cb/attachment.htm>
More information about the webkit-unassigned
mailing list