Font type not used in the example (#596)

This commit is contained in:
mannerism
2024-09-19 10:04:43 +09:00
committed by GitHub
parent 20a41e560e
commit c99bfc7d4d

View File

@@ -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,