Skip to content

Commit

Permalink
Added note to docs regarding PDF/A not supporting the standard AFM fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiaugustin committed Jul 13, 2023
1 parent c1d7700 commit 92c593f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@ For PDF/A-2 and PDF/A-3, the `pdfVersion` needs to be set to at least `1.7` and

In order to verify the generated document for PDF/A and its subsets conformance, veraPDF is an excellent open source validator.

Please note that PDF/A requires fonts to be embedded, as such the standard fonts PDFKit comes with cannot be used because they are in AFM format, which only provides neccessary metrics, without the font data. You should use `registerFont()` and use embeddable fonts such as `ttf`.

### Adding content

Once you've created a `PDFDocument` instance, you can add content to the
Expand Down

0 comments on commit 92c593f

Please sign in to comment.