puppeteer/new-docs/puppeteer.protocol.css.fontface.md
Maksim Sadym 62ac167339
feat(chromium): roll Chromium to r800071 (#6407)
* 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
2020-09-09 21:23:46 +02:00

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.