pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Westerly <dew...@gmail.com>
Subject Re: Could not initialize PDType1Font
Date Fri, 10 Apr 2020 15:20:07 GMT
Okay - thank you all for your help - will look into this further.

On Fri, Apr 10, 2020 at 7:38 AM Tilman Hausherr <THausherr@t-online.de>
wrote:

> Am 10.04.2020 um 15:30 schrieb Nathan Artz:
> > Is there a reason it would work on some computers but not others?
>
>
> Likely there IS a difference. Maybe several versions installed. Maybe
> old versions in the class path. Or version conflicts (maybe the project
> also uses PDFBox but a different version).
>
> Tilman
>
>
>
> >
> > On Fri, Apr 10, 2020, 5:00 AM Tilman Hausherr <THausherr@t-online.de>
> wrote:
> >
> >> This is Tabula, so make sure you have all the dependencies that are
> >> required by that version.
> >>
> >> There are downloads with all dependencies:
> >> https://github.com/tabulapdf/tabula-java/releases
> >>
> >>
> >> Tilman
> >>
> >>
> >> Am 10.04.2020 um 04:38 schrieb Nick Westerly:
> >>> Hi all -
> >>>
> >>> Using PDFBOX 2.0.5 in a java project. When it runs on our colleagues
> >>> computers in the US, it works just fine. We have a few colleagues in
> the
> >>> Phillipines, who we are getting this error from (below). This is on
> >> windows
> >>> 10 64bit.
> >>>
> >>> Is this simply from missing some critical / standard fonts most
> likely? I
> >>> had them try to download some windows 10 fonts (i.e. from this sketch
> >> site:
> >>> https://www.w7df.com/p/windows-10.html ) but that does not seem to
> help.
> >>>
> >>> Any ideas would be appreciated! Unfortunately, as is normally the
> case, I
> >>> cannot provide the original document.
> >>>
> >>> java.lang.NoClassDefFoundError: Could not initialize class
> >>> org.apache.pdfbox.pdmodel.font.PDType1Font
> >>> at
> >>>
> >>
> org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:62)
> >>> at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:143)
> >>> at
> >>>
> >>
> org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:60)
> >>> at
> >>>
> >>
> org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:838)
> >>> at
> >>>
> >>
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:495)
> >>> at
> >>>
> >>
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:469)
> >>> at
> >>>
> >>
> org.apache.pdfbox.contentstream.PDFStreamEngine.showForm(PDFStreamEngine.java:179)
> >>> at
> >>>
> >>
> org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:70)
> >>> at
> >>>
> >>
> org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:838)
> >>> at
> >>>
> >>
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:495)
> >>> at
> >>>
> >>
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:469)
> >>> at
> >>>
> >>
> org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:150)
> >>> at
> technology.tabula.ObjectExtractor.extractPage(ObjectExtractor.java:27)
> >>> at technology.tabula.PageIterator.next(PageIterator.java:29)
> >>> at technology.tabula.ObjectExtractor.extract(ObjectExtractor.java:54)
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> >> For additional commands, e-mail: users-help@pdfbox.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message