[jira] [Created] (PDFBOX-2246) PDFTextStripper should handle colors

2014-07-27 Thread Tilman Hausherr (JIRA)
Tilman Hausherr created PDFBOX-2246: --- Summary: PDFTextStripper should handle colors Key: PDFBOX-2246 URL: https://issues.apache.org/jira/browse/PDFBOX-2246 Project: PDFBox Issue Type: Bug

[jira] [Updated] (PDFBOX-2246) PDFTextStripper should handle colors

2014-07-27 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tilman Hausherr updated PDFBOX-2246: Issue Type: Improvement (was: Bug) > PDFTextStripper should handle colors > -

Re: Where can I find the FDF test pdf files?

2014-07-27 Thread Tilman Hausherr
https://svn.apache.org/repos/asf/pdfbox/branches/before-maven-layout/test/input/ Am 28.07.2014 03:59, schrieb Lucas Wiman: I'm working on an issue with a similar manifestation to the following: http://mail-archives.apache.org/mod_mbox/pdfbox-users/201109.mbox/%3C33290477.366989.1315915043568.Ja

[jira] [Commented] (PDFBOX-1915) Implement shading with Coons and tensor-product patch meshes

2014-07-27 Thread Shaola Ren (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14075844#comment-14075844 ] Shaola Ren commented on PDFBOX-1915: Thanks, bad news is good news, it is helpful to

Where can I find the FDF test pdf files?

2014-07-27 Thread Lucas Wiman
I'm working on an issue with a similar manifestation to the following: http://mail-archives.apache.org/mod_mbox/pdfbox-users/201109.mbox/%3C33290477.366989.1315915043568.JavaMail.www@wwinf8302%3E https://issues.apache.org/jira/browse/PDFBOX-1550 I started work on adding a test case to the TestFDF

Re: Custom TextStripper / PDGraphicsState Not Reading Color

2014-07-27 Thread -A
Thank you, that works as promised and removes the warning. I'm still hoping to find a resource that better explains the pieces of PDFBox and how they work together. Unfortunately most posts on the internet are solely how and not why. Appreciate it! -Aaron On Sun, Jul 27, 2014 at 8:00 AM, Tilman

[jira] [Commented] (PDFBOX-2212) OutOfMemoryError in GlyfCompositeDescrip

2014-07-27 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14075642#comment-14075642 ] Tilman Hausherr commented on PDFBOX-2212: - "tomorrow" is now almost 2 weeks ago.

Re: Custom TextStripper / PDGraphicsState Not Reading Color

2014-07-27 Thread Tilman Hausherr
Hi, That didn't happen to me, but maybe it did happen to you with another file. Another solution would be to pass your own properties file, and it should have this content: === # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agree

Re: Custom TextStripper / PDGraphicsState Not Reading Color

2014-07-27 Thread -A
Tilman; That is somewhat embarrassing. At one point I brought this to the mailing list (because of the following warning) and was told to remove that line because the TextStripper wasn't actually a PageDrawer. The functionality still worked after that, however. Is there a way to do this without t

[jira] [Updated] (PDFBOX-2190) Disable console logging for preflight Isartor tests

2014-07-27 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tilman Hausherr updated PDFBOX-2190: Component/s: Preflight > Disable console logging for preflight Isartor tests > ---

Re: Custom TextStripper / PDGraphicsState Not Reading Color

2014-07-27 Thread Tilman Hausherr
It is even easier than I thought - replace super() with this: super(ResourceLoader.loadProperties("org/apache/pdfbox/resources/PageDrawer.properties", true)); Tilman Am 27.07.2014 13:03, schrieb Tilman Hausherr: After having written the text below, I tested by including the "rg" operator in

Re: Custom TextStripper / PDGraphicsState Not Reading Color

2014-07-27 Thread Tilman Hausherr
After having written the text below, I tested by including the "rg" operator in the properties list and now it worked. I also tested deleting your println and instead adding this if the text is red: System.out.print (textPos.getCharacter()); and so I got this output: 21_Key .1295 R~Wall P

Re: Custom TextStripper / PDGraphicsState Not Reading Color

2014-07-27 Thread Tilman Hausherr
Hi, Do you still have the code that worked? I'm not the text extraction specialist here, but what I did was to look in the uncompressed source of the PDF. The stream has code like this: 0 0 0 rg 0 0.5019 0 rg 1 0 0 rg The first line sets to black, the second to green, the third to red. And