From 92c593f20835b04c862bdfb52708fed272fb3d4e Mon Sep 17 00:00:00 2001 From: Andrei Augustin Date: Thu, 13 Jul 2023 10:52:07 +0300 Subject: [PATCH] Added note to docs regarding PDF/A not supporting the standard AFM fonts --- docs/getting_started.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/getting_started.md b/docs/getting_started.md index e10ce2e9..b87edd1b 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -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