mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
28 lines
1.3 KiB
Markdown
28 lines
1.3 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
|
||
|
|
||
|
<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. |
|
||
|
| [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. |
|
||
|
|