Re: PDFBox gets wrong font color values from PDF file!

2019-01-09 Thread Tilman Hausherr
Add this at the beginning of your software:     PDDeviceCMYK.INSTANCE = new PDDeviceCMYK()     {     @Override     protected ICC_Profile getICCProfile() throws IOException     {     return ICC_Profile.getInstance("USWebCoatedSWOP.icc");     }  

RE: PDFBox gets wrong font color values from PDF file!

2019-01-09 Thread Hesham Gneady
Tilman, I haved used exactly the same code in the "PrintTextColors.java" to print the colors in my PDF sample. I have just added a couple of lines to the processTextPosition(...) method to print the RGB colors, like this: @Override protected void processTextPosition( TextPosition text ) {

Re: Fwd: Apache in 2018 - By The Digits

2019-01-09 Thread Peter Murray-Rust
My congratulations to Tilman and the wider PDFBox team. I shall be tweeting expansively about this as I have started a series about our thanks to Open Source projects. I think I first came across PDFBox about 8 years ago and have been on the mailing list since then. (I'm a user, advocate, and