mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
62ac167339
* roll Chromium to version 86, r800071 * roll Chrome DevTools protocol version to 0.0.799653 * fix HTTPRequest.continue after * CDP: accept post data in the binary form in Fetch.continueRequest. https://chromium-review.googlesource.com/c/chromium/src/+/2315239 * update new-docs
1.6 KiB
1.6 KiB
Home > puppeteer > Protocol > CSS > FontFace
Protocol.CSS.FontFace interface
Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions and additional information such as platformFontFamily and fontVariationAxes.
Signature:
export interface FontFace
Properties
Property | Type | Description |
---|---|---|
fontFamily | string | The font-family. |
fontStretch | string | The font-stretch. |
fontStyle | string | The font-style. |
fontVariant | string | The font-variant. |
fontVariationAxes | FontVariationAxis[] | Available variation settings (a.k.a. "axes"). |
fontWeight | string | The font-weight. |
platformFontFamily | string | The resolved platform font family |
src | string | The src. |
unicodeRange | string | The unicode-range. |