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
29 lines
1.6 KiB
Markdown
29 lines
1.6 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [CSS](./puppeteer.protocol.css.md) > [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. |
|
|
|