> On 22 Feb 2016, at 12:37, Cornelis Hoeflake <[email protected]> wrote:
> 
> Hi,
> 
> I have a PDF which has some embedded Type1 fonts. All the embedded fonts
> have a Length2 property which is zero. So the PDType1Font constructor does
> not load the embedded font.

Could you open a JIRA issue and attach a sample PDF?

> The Length2 is by spec a required property for Type1 fonts. But Acrobat
> Reader shows the pdf fine.
> 
> Is this a special case which should be handled by PDFBox because Acrobar
> Reader has no problem?

Yes, I think so.

> Note: Length3 is also required by spec but not used in PDFBox?

The third segment is simply zero padding which is the same in every Type 1 font,
it’s there for PostScript compatibility but it’s not needed by any PDF viewer.

— John

> Kind regards,
> Cornelis Hoeflake


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to