puppeteer/new-docs/puppeteer.protocol.css.fontface.md
2020-07-13 14:01:35 +01:00

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.