Question about PDFBox and Commons IO

2024-12-03 Thread Vassallo, Fabio
Hallo. I found that the PDFBox distribution contains a copy of the Apache Commons IO library. I wonder why a copy of the Commons IO classes is inside the pdfbox-app-xyz.jar, instead of just specifying Commons IO as dependency. Thank you in advance, Fabio Vassallo Fabio Vassallo Software

setNonStrokingColor deprecation

2022-02-21 Thread Vassallo, Fabio
y, k)); } } I cannot understand, though, what parameters c,m,y,k represent and how to calculate them. Can you help me? Thank you in advance, Fabio Vassallo Fabio Vassallo Software Engineer CIS Reporting Solutions [cid:Logo_wp_e9283314-abad-4ec2-9c75-0047785e8e9c.png] W?rth Pho

suggestKCMS

2018-10-26 Thread Vassallo, Fabio
Good morning. During the startup of our application, PDFBox gives us this advice: 2018-10-24 12:50:16 INFO org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB suggestKCMS - To get higher rendering speed on java 8 oder 9, 2018-10-24 12:50:16 INFO org.apache.pdfbox.pdmodel.graphics.color.PDDeviceR

RE: Size of compressed files

2017-06-14 Thread Vassallo, Fabio
| Map    -Original Message- From: Tilman Hausherr [mailto:thaush...@t-online.de] Sent: Tuesday, June 13, 2017 2:43 PM To: users@pdfbox.apache.org Subject: Re: Size of compressed files Am 13.06.2017 um 14:16 schrieb Vassallo, Fabio: > Here we go: > https://i

RE: Size of compressed files

2017-06-13 Thread Vassallo, Fabio
: Monday, June 12, 2017 5:27 PM To: users@pdfbox.apache.org Subject: Re: Size of compressed files Am 12.06.2017 um 12:23 schrieb Vassallo, Fabio: > > Good morning. > > I have an issue concerning the size of generated PDF files > > I have generated some (almost) identical PDF files usin

Size of compressed files

2017-06-12 Thread Vassallo, Fabio
tructor of PDPageContentStream), the PDFBox ones are much bigger (around 2 to 5 times bigger). Is it a known issue? Is there a way/workaround to have smaller sizes? Could I leave the files uncompressed and use a separate library to compress them? Thank you in advance, Fabio Vassallo Fabio Vassal

RE: Warning about document close

2017-05-24 Thread Vassallo, Fabio
hrieb Vassallo, Fabio: > > Good morning. > > In my job I have to create several kind of documents. > > I also have a user task that allows to create a single document by > merging some (or many) of these documents. > > So I create each document to merge, create and save

Warning about document close

2017-05-15 Thread Vassallo, Fabio
Good morning. In my job I have to create several kind of documents. I also have a user task that allows to create a single document by merging some (or many) of these documents. So I create each document to merge, create and save the merged document, close it. After that I call PDDocument.close(

Text alignment and wrapping

2017-05-15 Thread Vassallo, Fabio
Good morning. As PDFBox doesn't support tables (and I need to write tables in documents) I've created the class infrastructure to do it (cells, rows, etc.). I've also managed the text alignment and wrapping inside each cell. Now I had a doubt: does PDFBox already manage the alignment and wrappin

PDType1Font.SYMBOL

2017-05-03 Thread Vassallo, Fabio
Hello. I have a problem with the SYMBOL font. I'm able to print number characters, but not letters, such as "D" (I assume it should be displayed as an uppercase Delta). My code is as follows: private static final PDFont INTERNAL_PD_FONT_SYMBOL = PDType1Font.SYMBOL; ... PDFont pdFont = INTERNAL_P

RE: Embedded vs. non-embedded fonts (PDFBox & iText)

2017-04-14 Thread Vassallo, Fabio
Tilman Hausherr [mailto:thaush...@t-online.de] > Sent: Friday, April 14, 2017 10:55 AM > To: users@pdfbox.apache.org > Subject: Re: Embedded vs. non-embedded fonts (PDFBox & iText) > > Am 14.04.2017 um 10:50 schrieb Vassallo, Fabio: >> Thank you very much, Tilman.

RE: Embedded vs. non-embedded fonts (PDFBox & iText)

2017-04-14 Thread Vassallo, Fabio
Text) Am 14.04.2017 um 10:50 schrieb Vassallo, Fabio: > Thank you very much, Tilman. > Please, ignore my sentence about the empty file: I had an (unrelated) > exception is another point of my code. Sorry. > > The font removal works (the code is at the end of this mail). > > Now

RE: Embedded vs. non-embedded fonts (PDFBox & iText)

2017-04-14 Thread Vassallo, Fabio
esulting file is empty" mean that the file is empty, or that the display is blank? I don't have further ideas without seeing more of the code, and maybe look at the files with pdfdebugger ... maybe try removing "clearAllFontDescriptors" to see whether there's a problem with

RE: Embedded vs. non-embedded fonts (PDFBox & iText)

2017-04-14 Thread Vassallo, Fabio
e | e-Mail | Map    -Original Message- From: Tilman Hausherr [mailto:thaush...@t-online.de] Sent: Wednesday, April 12, 2017 6:56 PM To: users@pdfbox.apache.org Subject: Re: Embedded vs. non-embedded fonts (PDFBox & iText) Am 12.04.2017 um 08:57 schrieb Vassallo, Fabio: > Dear Tilman. >

RE: Embedded vs. non-embedded fonts (PDFBox & iText)

2017-04-12 Thread Vassallo, Fabio
:04 PM To: users@pdfbox.apache.org Subject: Re: Embedded vs. non-embedded fonts (PDFBox & iText) Am 06.04.2017 um 13:37 schrieb Vassallo, Fabio: > Thank you for you answer, Tilman. > > As I would like to try to remove the embedded fonts from the PDF file, Is it > possible to do it u

RE: Embedded vs. non-embedded fonts (PDFBox & iText)

2017-04-06 Thread Vassallo, Fabio
swer from 10.3.2017. Tilman Am 04.04.2017 um 12:01 schrieb Vassallo, Fabio: > > Good morning. > > I'm currently using PDFBox to build documents for the company I’m > working for, and I need to print strings with generic character, also > non in the WinAnsiEncoding range

JFreeChart instance into a PDF (PDFBox vs. iText)

2017-04-04 Thread Vassallo, Fabio
o the document in the same way as using iText? Thank you in advance, Fabio Vassallo Fabio Vassallo Product Development (CIS) [cid:image001.png@01D18B3E.92F52E70] Würth Phoenix S.r.l. via Kravogl 4, 39100 Bolzano T: +39 0471 564 116 F: +39 0471 564 122 Website<http://www.wuerth-phoenix.com/>

Embedded vs. non-embedded fonts (PDFBox & iText)

2017-04-04 Thread Vassallo, Fabio
workaround in PDFBox to generate a file with no embedded files and with "special" characters? If not, will it be possible in one of the next PDFBox releases? Thank you very much in advance, Fabio Vassallo Fabio Vassallo Product Development (CIS) [cid:image001.png@01D18B3E.92F52E70] W

Embedded vs. non-embedded fonts

2017-03-10 Thread Vassallo, Fabio
t; characters. Is there any way or workaround to generate a file with no embedded files and with "special" characters? If not, will it be possible in one of the next PDFBox releases? Thank you very much in advance, Fabio Vassallo Fabio Vassallo Product Development (CIS) [cid:image0