mirror of
https://github.com/pdfme/pdfme.git
synced 2026-02-20 07:47:16 -05:00
Font type not used in the example (#596)
This commit is contained in:
@@ -53,7 +53,7 @@ Set font as option in [generate](/docs/getting-started#generator) function
|
||||
import { Template, BLANK_PDF, Font } from '@pdfme/common';
|
||||
import { generate } from '@pdfme/generator';
|
||||
|
||||
const font = {
|
||||
const font: Font = {
|
||||
serif: {
|
||||
data: 'https://example.com/fonts/serif.ttf',
|
||||
fallback: true,
|
||||
|
||||
Reference in New Issue
Block a user