[
https://issues.apache.org/jira/browse/PDFBOX-2642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14299072#comment-14299072
]
John Hewson commented on PDFBOX-2642:
-------------------------------------
Looking at the CFF font data, it's actually a Type1 font:
{code}
%!PS-AdobeFont-1.0
%%CreationDate: Tue Apr 7 08:06:05 PST 1987
%%VMusage: 29382 40533
% Copyright (c) 1981 Allied Corporation. Copyright (c) 1985, 1987 Adobe
% Systems Incorporated. All rights reserved. This record material
% and the data recorded thereon is the property of Allied Corporation
% and Adobe Systems Incorporated, or its licensors, and may not be
% reproduced, used, displayed, modified, disclosed or transferred in
% any manner without the express written approval of Allied Corporation
% and Adobe Systems Incorporated. Optima is a trademark of Allied
% Corporation.
FontDirectory /Optima-Bold known{/Optima-Bold findfont/UniqueID get
6463 eq{save true}{false}ifelse}{false}ifelse
14 dict begin
/FontInfo 9 dict dup begin
/version (001.001) readonly def
/Notice (Optima is a trademark of Allied Corporation.) readonly def
/FullName (Optima Bold) readonly def
/FamilyName (Optima) readonly def
/Weight (Bold) readonly def
/ItalicAngle 0 def
/isFixedPitch false def
/UnderlinePosition -141 def
/UnderlineThickness 38 def
{code}
etc...
> NPE in PDCIDFontType0.getFontMatrix
> -----------------------------------
>
> Key: PDFBOX-2642
> URL: https://issues.apache.org/jira/browse/PDFBOX-2642
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: John Hewson
> Attachments: PDFBOX-2642-277053-p3.pdf
>
>
> {code}
> java.lang.NullPointerException
> at
> org.apache.pdfbox.pdmodel.font.PDCIDFontType0.getFontMatrix(PDCIDFontType0.java:169)
> at
> org.apache.pdfbox.pdmodel.font.PDCIDFontType0.<init>(PDCIDFontType0.java:153)
> at
> org.apache.pdfbox.pdmodel.font.PDFontFactory.createDescendantFont(PDFontFactory.java:121)
> at
> org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:95)
> at
> org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:83)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]