[
https://issues.apache.org/jira/browse/PDFBOX-3618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15728078#comment-15728078
]
Maruan Sahyoun commented on PDFBOX-3618:
----------------------------------------
TL;DR: don't use the static PDType1Font fonts when you'd like to create a PDF/A
file.
Details:
For PDF/A-1
{quote}
There is no exemption from the requirements of 6.3.4 for the 14 standard Type 1
fonts.
{quote}
which means that the standard fonts have to be embedded.
Now for the standard fonts and their usage in PDFBox. If you take the static
{{PDType1Font.HELVETICA}} the font will not be embedded. But you still can
embed it if you load the font file yourself using either
{{PDType1Font(PDDocument doc, InputStream pfbIn)}} or {{PDType1Font(PDDocument
doc, InputStream pfbIn, Encoding encoding)}}. For the licensing of that font
you need to make sure that you comply to the licensing terms.
Back to the original title of this issue {{Helvetica in PDF/A - warn in
PDType1Font.java about licensing issues}} as the predefined (static) fonts are
never embedded there is no licensing issue here. Wrt to PDF/A you need to load
the fonts yourself and then they are embedded. You are free to choose free
fonts as you suggested but you can also use commercial fonts as long as you are
allowed to embed these. Of course you can also use other font formats such as
TrueType.
> Helvetica in PDF/A - warn in PDType1Font.java about licensing issues
> --------------------------------------------------------------------
>
> Key: PDFBOX-3618
> URL: https://issues.apache.org/jira/browse/PDFBOX-3618
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.3
> Reporter: Ralf Hauser
>
> PDType1Font.java has a predefined list of fonts like Times-Roman, Helvetica,
> Courier, Symbol and ZapfDingbats.
> When creating a pdf/A, the font is embedded and not taken from the reader's
> operating system.
> As per https://de.wikipedia.org/wiki/Helvetica_(Schriftart) , this may lead
> to a licensing issue.
> Suggestions:
> 1) Use a free font such as
> https://de.wikipedia.org/wiki/Nimbus_Sans_L instead
> 2) at least warn in JavaDoc about the issue
> Or is it an non-issue?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]