puppeteer/new-docs/puppeteer.protocol.css.fontface.md

28 lines
1.3 KiB
Markdown
Raw Normal View History

<!-- 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
<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. |