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

29 lines
1.6 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [CSS](./puppeteer.protocol.css.md) &gt; [FontFace](./puppeteer.protocol.css.fontface.md)
## 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.
<b>Signature:</b>
```typescript
export interface FontFace
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [fontFamily](./puppeteer.protocol.css.fontface.fontfamily.md) | string | The font-family. |
| [fontStretch](./puppeteer.protocol.css.fontface.fontstretch.md) | string | The font-stretch. |
| [fontStyle](./puppeteer.protocol.css.fontface.fontstyle.md) | string | The font-style. |
| [fontVariant](./puppeteer.protocol.css.fontface.fontvariant.md) | string | The font-variant. |
| [fontVariationAxes](./puppeteer.protocol.css.fontface.fontvariationaxes.md) | [FontVariationAxis](./puppeteer.protocol.css.fontvariationaxis.md)<!-- -->\[\] | Available variation settings (a.k.a. "axes"). |
| [fontWeight](./puppeteer.protocol.css.fontface.fontweight.md) | string | The font-weight. |
| [platformFontFamily](./puppeteer.protocol.css.fontface.platformfontfamily.md) | string | The resolved platform font family |
| [src](./puppeteer.protocol.css.fontface.src.md) | string | The src. |
| [unicodeRange](./puppeteer.protocol.css.fontface.unicoderange.md) | string | The unicode-range. |