mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.3 KiB
1.3 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
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. |
fontWeight | string | The font-weight. |
platformFontFamily | string | The resolved platform font family |
src | string | The src. |
unicodeRange | string | The unicode-range. |