Comments (6)
Oh, and version 2.0.1 of OpenPDF works fine, only 2.0.2 breaks.
from openpdf.
I'm observing the same problem. However, in my case, I can generate one PDF without problems, but subsequent PDFs fail with this exact exception, though I'm also getting
Caused by: java.io.IOException: Helvetica not found as file or resource.
at com.lowagie.text.pdf.LayoutProcessor.loadFont(LayoutProcessor.java:307)
If that's related, I'm using the technique discussed by V-F in #1078 to render an SVG image.
from openpdf.
Ok, that is strange. Maybe there is a problem or difference resolving the font-resource. There were some changes so the tests also work on Windows.
Keeping the tests compatible in Windows, Unix and Mac is not easy, as I only have access to the first 2.
@admannon can you verify, that the error don't occur with 2.0.1?
from openpdf.
It's also a strange behaviour, as helvetica may be a font provided by the OS, but there are helvetica-font-files also in the JAR.
from openpdf.
Well, I'm on Linux and don't have any form of Helvetica installed. Could this influence something?
from openpdf.
Ok, that is strange. Maybe there is a problem or difference resolving the font-resource. There were some changes so the tests also work on Windows.
Keeping the tests compatible in Windows, Unix and Mac is not easy, as I only have access to the first 2.
@admannon can you verify, that the error don't occur with 2.0.1?
Apologies for the delayed response. Yes, this error don't occur with OpenPDF v2.0.1. The attached PDF was generated using OpenPDF v2.0.1.
from openpdf.
Related Issues (20)
- iTextPdf 5.x class BarcodeQRCode missing in OpenPdf report? HOT 4
- Nested Lists in ColumnText not rendered correctly
- [bug] ERROR: Infinite table loop HOT 2
- PdfCopy cannot be used for writing HOT 1
- Streamlining Chunk Addition in ColumnText Without Storing All in JVM HOT 5
- Handling Row Content Splitting in PdfPTable.writeSelectedRows() HOT 3
- font can't display Complete when text length greater than pdf edit box length HOT 2
- Is OpenPDB library is fully supported on Android? HOT 3
- Support for Circular Shaped Images HOT 1
- Does OpenPDF support multiThreadding ? HOT 1
- Opening a file with `PdfReader` (or `RandomAccessFileOrArray`) keeps the file locked after `close()` HOT 1
- Print large text cells that exceed the remaining height of one page of paper starting from the second page rather than from the remaining height of the first page HOT 1
- Prevent leading from affecting the first cell HOT 2
- Unable to insert text in Identity-H encoding using a subset font file HOT 2
- Please provide Android support for GrallVM native-image feature; HOT 1
- Is there html to pdf capability HOT 2
- Japanese symbols are not rendered into PDF file HOT 14
- Rendering Multi lingual Text HOT 1
- Example code for RadioCheckField HOT 1
- "Unknown encryption type R = 5" HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openpdf.