[jira] [Comment Edited] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-05-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484352#comment-16484352
 ] 

Tilman Hausherr edited comment on PDFBOX-4095 at 5/22/18 8:34 PM:
--

Thanks... Differences:

A-Designers-Guide-to-Transparency-2007.pdf, p7: better
A-Designers-Guide-to-Transparency-2007.pdf, p12: better
gs-bugzilla690477.pdf: now perfect
blendmodes.pdf: now perfect
blendmodes-rgb.pdf: now perfect
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p4: better
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p7: hard to 
tell, probably better (the C's)
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to 
tell, very slight difference
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to tell
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p2: 16.0 now perfect, 16.1 and 16.2 
different 
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p5: 16.4 better, 16.1 different 
gs-bugzilla689095.pdf: better
gs-bugzilla697433-1.pdf: better
PDFJS-6924.pdf: probably perfect now
pop-bugzilla93476.pdf: better
Transparency_DesignGuide-2004.pdf, p11: better
Transparency_DesignGuide-2004.pdf, p17: better
Transparency_DesignGuide-2004.pdf, p20: better

So it's good :-)  I'll have a look at the code tomorrow and commit.


was (Author: tilman):
Thanks... I'll have a look at the differences and post them here. This will 
take some time

A-Designers-Guide-to-Transparency-2007.pdf, p7: better
A-Designers-Guide-to-Transparency-2007.pdf, p12: better
gs-bugzilla690477.pdf: now perfect
blendmodes.pdf: now perfect
blendmodes-rgb.pdf: now perfect
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p4: better
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p7: hard to 
tell, probably better (the C's)
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to 
tell, very slight difference
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to tell
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p2: 16.0 now perfect, 16.1 and 16.2 
different 
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p5: 16.4 better, 16.1 different 
gs-bugzilla689095.pdf: better
gs-bugzilla697433-1.pdf: better
PDFJS-6924.pdf: probably perfect now
pop-bugzilla93476.pdf: better

...

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: A-Designers-Guide-to-Transparency-2007.pdf, 
> BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, 
> BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, 
> blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, 
> gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-05-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484352#comment-16484352
 ] 

Tilman Hausherr edited comment on PDFBOX-4095 at 5/22/18 7:48 PM:
--

Thanks... I'll have a look at the differences and post them here. This will 
take some time

A-Designers-Guide-to-Transparency-2007.pdf, p7: better
A-Designers-Guide-to-Transparency-2007.pdf, p12: better
gs-bugzilla690477.pdf: now perfect
blendmodes.pdf: now perfect
blendmodes-rgb.pdf: now perfect
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p4: better
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p7: hard to 
tell, probably better (the C's)
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to 
tell, very slight difference
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to tell
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p2: 16.0 now perfect, 16.1 and 16.2 
different 
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p5: 16.4 better, 16.1 different 
gs-bugzilla689095.pdf: better
gs-bugzilla697433-1.pdf: better
PDFJS-6924.pdf: probably perfect now
pop-bugzilla93476.pdf: better

...


was (Author: tilman):
Thanks... I'll have a look at the differences and post them here. This will 
take some time

A-Designers-Guide-to-Transparency-2007.pdf, p7: better
A-Designers-Guide-to-Transparency-2007.pdf, p12: better
gs-bugzilla690477.pdf: now perfect
blendmodes.pdf: now perfect
blendmodes-rgb.pdf: now perfect
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p4: better
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p7: hard to 
tell, probably better (the C's)
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to 
tell, very slight difference
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to tell
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p2: 16.0 now perfect, 16.1 and 16.2 
different 
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p5: 16.4 better, 16.1 different 
gs-bugzilla689095.pdf: better
gs-bugzilla697433-1.pdf: better
PDFJS-6924.pdf: probably perfect now

...

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: A-Designers-Guide-to-Transparency-2007.pdf, 
> BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, 
> BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, 
> blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, 
> gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-05-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484352#comment-16484352
 ] 

Tilman Hausherr edited comment on PDFBOX-4095 at 5/22/18 7:46 PM:
--

Thanks... I'll have a look at the differences and post them here. This will 
take some time

A-Designers-Guide-to-Transparency-2007.pdf, p7: better
A-Designers-Guide-to-Transparency-2007.pdf, p12: better
gs-bugzilla690477.pdf: now perfect
blendmodes.pdf: now perfect
blendmodes-rgb.pdf: now perfect
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p4: better
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p7: hard to 
tell, probably better (the C's)
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to 
tell, very slight difference
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to tell
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p2: 16.0 now perfect, 16.1 and 16.2 
different 
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p5: 16.4 better, 16.1 different 
gs-bugzilla689095.pdf: better
gs-bugzilla697433-1.pdf: better
PDFJS-6924.pdf: probably perfect now

...


was (Author: tilman):
Thanks... I'll have a look at the differences and post them here. This will 
take some time

A-Designers-Guide-to-Transparency-2007.pdf, p7: better
A-Designers-Guide-to-Transparency-2007.pdf, p12: better
gs-bugzilla690477.pdf: now perfect
blendmodes.pdf: now perfect
blendmodes-rgb.pdf: now perfect
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p4: better
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p7: hard to 
tell, probably better (the C's)
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to 
tell, very slight difference
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to tell
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p2: 16.0 now perfect, 16.1 and 16.2 
different 
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p5: 16.4 better, 16.1 different 
gs-bugzilla689095.pdf: better
gs-bugzilla697433-1.pdf: better

...

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: A-Designers-Guide-to-Transparency-2007.pdf, 
> BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, 
> BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, 
> blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, 
> gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-05-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484352#comment-16484352
 ] 

Tilman Hausherr edited comment on PDFBOX-4095 at 5/22/18 7:41 PM:
--

Thanks... I'll have a look at the differences and post them here. This will 
take some time

A-Designers-Guide-to-Transparency-2007.pdf, p7: better
A-Designers-Guide-to-Transparency-2007.pdf, p12: better
gs-bugzilla690477.pdf: now perfect
blendmodes.pdf: now perfect
blendmodes-rgb.pdf: now perfect
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p4: better
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p7: hard to 
tell, probably better (the C's)
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to 
tell, very slight difference
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to tell
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p2: 16.0 now perfect, 16.1 and 16.2 
different 
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p5: 16.4 better, 16.1 different 
gs-bugzilla689095.pdf: better
gs-bugzilla697433-1.pdf: better

...


was (Author: tilman):
Thanks... I'll have a look at the differences and post them here. This will 
take some time

A-Designers-Guide-to-Transparency-2007.pdf, p7: better
A-Designers-Guide-to-Transparency-2007.pdf, p12: better
gs-bugzilla690477.pdf: now perfect
blendmodes.pdf: now perfect
blendmodes-rgb.pdf: now perfect
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p4: better
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p7: hard to 
tell, probably better (the C's)
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to 
tell, very slight difference
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to tell
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p2: 16.0 now perfect, 16.1 and 16.2 
different 
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p5: 16.4 better, 16.1 different 

...

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: A-Designers-Guide-to-Transparency-2007.pdf, 
> BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, 
> BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, 
> blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, 
> gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-05-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484352#comment-16484352
 ] 

Tilman Hausherr edited comment on PDFBOX-4095 at 5/22/18 7:05 PM:
--

Thanks... I'll have a look at the differences and post them here. This will 
take some time

A-Designers-Guide-to-Transparency-2007.pdf, p7: better
A-Designers-Guide-to-Transparency-2007.pdf, p12: better
gs-bugzilla690477.pdf: now perfect
blendmodes.pdf: now perfect
blendmodes-rgb.pdf: now perfect
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p4: better
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p7: hard to 
tell, probably better (the C's)
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to 
tell, very slight difference
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to tell
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p2: 16.0 now perfect, 16.1 and 16.2 
different 
Ghent_PDF-Output-Test-V50_ALL_X4.pdf, p5: 16.4 better, 16.1 different 

...


was (Author: tilman):
Thanks... I'll have a look at the differences and post them here. This will 
take some time

A-Designers-Guide-to-Transparency-2007.pdf, p7: better
A-Designers-Guide-to-Transparency-2007.pdf, p12: better
gs-bugzilla690477.pdf: now perfect
blendmodes.pdf: now perfect
blendmodes-rgb.pdf: now perfect
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p4: better
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p7: hard to 
tell, probably better (the C's)
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to 
tell, very slight difference

...

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: A-Designers-Guide-to-Transparency-2007.pdf, 
> BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, 
> BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, 
> blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, 
> gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-05-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484352#comment-16484352
 ] 

Tilman Hausherr edited comment on PDFBOX-4095 at 5/22/18 6:28 PM:
--

Thanks... I'll have a look at the differences and post them here. This will 
take some time

A-Designers-Guide-to-Transparency-2007.pdf, p7: better
A-Designers-Guide-to-Transparency-2007.pdf, p12: better
gs-bugzilla690477.pdf: now perfect
blendmodes.pdf: now perfect
blendmodes-rgb.pdf: now perfect
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p4: better
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p7: hard to 
tell, probably better (the C's)
eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf, p14: hard to 
tell, very slight difference

...


was (Author: tilman):
Thanks... I'll have a look at the differences and post them here. This will 
take some time

A-Designers-Guide-to-Transparency-2007.pdf, p7: better
A-Designers-Guide-to-Transparency-2007.pdf, p12: better
gs-bugzilla690477.pdf: now perfect
...

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: A-Designers-Guide-to-Transparency-2007.pdf, 
> BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, 
> BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, 
> blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, 
> gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4

2018-05-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484364#comment-16484364
 ] 

Tilman Hausherr edited comment on PDFBOX-4216 at 5/22/18 5:59 PM:
--

reopening because IMHO this is a bug, although the workaround (which you did 
now) is easy. As I wrote "I suspect that the problem in PDFBox is that we take 
the glyph sizes of the actual font (LiberationSans) instead of the built-in 
sizes from the AFM files."

Ideally, it should be possible to use standard 14 fonts to create PDF files 
even if none of these fonts are on the system...


was (Author: tilman):
reopening because IMHO this is a bug, although the workaround is easy. As I 
wrote "I suspect that the problem in PDFBox is that we take the glyph sizes of 
the actual font (LiberationSans) instead of the built-in sizes from the AFM 
files."

Ideally, it should be possible to use standard 14 fonts to create PDF files 
even if none of these fonts are on the system...

> PDFBox decimal value cutting off in Red Hat Enterprise 7.4
> --
>
> Key: PDFBOX-4216
> URL: https://issues.apache.org/jira/browse/PDFBOX-4216
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.9
> Environment: LINUX
>Reporter: Jim Halpert
>Priority: Major
> Attachments: .pdfbox.cache, Capture.PNG, pdfbox_issue.PNG, 
> pdfbox_linux_issue-saved-AR.pdf, pdfbox_linux_issue-saved.pdf, 
> pdfbox_linux_issue.pdf, test.pdf
>
>
> Facing issue with Pdf decimal value mapping in the pdffiled in LINUX 
> environment, right side decimal values are cutting off, appreciate quick help 
> on this.
> {code:java}
>  PDDocument pdfDoc = PDDocument.load(new File("pdfbox_linux_issue.pdf"));
> PDDocumentCatalog docCatalog = pdfDoc.getDocumentCatalog();
> PDAcroForm acroForm = docCatalog.getAcroForm();
> Map m = new HashMap();
> m.put("amtPaidForUnit", "15,999.23");
> m.put("amtPubFreightFees", "22.55");
> m.put("amtPaidTotAccessories", "45612.12");
> m.put("dealerDocPrepFees", "55.22");
> m.put("amtDownTradeTotal", "56.89");
> m.put("amtPaidSalesTax", "99.55");
> m.put("amtSerContractTo", "895.66");
> m.put("amtSerContractAmt", "965.36");
> m.put("amtGapProtTo", "798.56");
> m.put("amtGapProtAmt", "64654.33");
> m.put("amtTireGuardTo", "45465.22");
> m.put("amtTireGuardAmt", "455.66");
> m.put("amtPaidOptExtWarr", "88.56");
> m.put("amtPaidOptExtWarrAmt", "663.44");
> m.put("amtPubTitleFees", "54.25");
> m.put("amtPubLicFees", "4654.56");
> m.put("amtPubRegFees", "545.13");
> m.put("amtPubLienFees", "89.22");
> m.put("amtPubFilingFees", "564.65");
> m.put("amtPubStampFees", "56.65");
> m.put("amtPubToAmt", "789.45");
> m.put("amtPubTo2Amt", "15.645");
> m.put("subtotalOfSectionsABC", "13.456");
> m.put("amtLenderOrigFeesAmt", "64.454");
> m.put("amtLender1FeesAmt", "63.56");
> m.put("subtotalOfSection2", "89.12");
> m.put("subtotalOfSection3", "63.45");
> m.put("subtotalOfSection4", "89.15");
> m.put("discAmtFinanced", "63.25");
> for (Object fieldObj : acroForm.getFields())
> {
> PDField field = (PDField) fieldObj;
> if (m.get(field.getFullyQualifiedName()) != null) // set value of 
> map when map key and pdf key is matched 
> {
> 
> field.setValue(m.get(field.getFullyQualifiedName()).toString());
> }
> }
> 
> pdfDoc.save(new File("pdfbox_linux_issue-saved.pdf"));
> {code}
> Works in Windows, Linux Mint, Ubuntu as expected. Issue is only with Red Hat 
> Enterprise 7.4.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Reopened] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4

2018-05-22 Thread Tilman Hausherr (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr reopened PDFBOX-4216:
-

reopening because IMHO this is a bug, although the workaround is easy. As I 
wrote "I suspect that the problem in PDFBox is that we take the glyph sizes of 
the actual font (LiberationSans) instead of the built-in sizes from the AFM 
files."

Ideally, it should be possible to use standard 14 fonts to create PDF files 
even if none of these fonts are on the system...

> PDFBox decimal value cutting off in Red Hat Enterprise 7.4
> --
>
> Key: PDFBOX-4216
> URL: https://issues.apache.org/jira/browse/PDFBOX-4216
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.9
> Environment: LINUX
>Reporter: Jim Halpert
>Priority: Major
> Attachments: .pdfbox.cache, Capture.PNG, pdfbox_issue.PNG, 
> pdfbox_linux_issue-saved-AR.pdf, pdfbox_linux_issue-saved.pdf, 
> pdfbox_linux_issue.pdf, test.pdf
>
>
> Facing issue with Pdf decimal value mapping in the pdffiled in LINUX 
> environment, right side decimal values are cutting off, appreciate quick help 
> on this.
> {code:java}
>  PDDocument pdfDoc = PDDocument.load(new File("pdfbox_linux_issue.pdf"));
> PDDocumentCatalog docCatalog = pdfDoc.getDocumentCatalog();
> PDAcroForm acroForm = docCatalog.getAcroForm();
> Map m = new HashMap();
> m.put("amtPaidForUnit", "15,999.23");
> m.put("amtPubFreightFees", "22.55");
> m.put("amtPaidTotAccessories", "45612.12");
> m.put("dealerDocPrepFees", "55.22");
> m.put("amtDownTradeTotal", "56.89");
> m.put("amtPaidSalesTax", "99.55");
> m.put("amtSerContractTo", "895.66");
> m.put("amtSerContractAmt", "965.36");
> m.put("amtGapProtTo", "798.56");
> m.put("amtGapProtAmt", "64654.33");
> m.put("amtTireGuardTo", "45465.22");
> m.put("amtTireGuardAmt", "455.66");
> m.put("amtPaidOptExtWarr", "88.56");
> m.put("amtPaidOptExtWarrAmt", "663.44");
> m.put("amtPubTitleFees", "54.25");
> m.put("amtPubLicFees", "4654.56");
> m.put("amtPubRegFees", "545.13");
> m.put("amtPubLienFees", "89.22");
> m.put("amtPubFilingFees", "564.65");
> m.put("amtPubStampFees", "56.65");
> m.put("amtPubToAmt", "789.45");
> m.put("amtPubTo2Amt", "15.645");
> m.put("subtotalOfSectionsABC", "13.456");
> m.put("amtLenderOrigFeesAmt", "64.454");
> m.put("amtLender1FeesAmt", "63.56");
> m.put("subtotalOfSection2", "89.12");
> m.put("subtotalOfSection3", "63.45");
> m.put("subtotalOfSection4", "89.15");
> m.put("discAmtFinanced", "63.25");
> for (Object fieldObj : acroForm.getFields())
> {
> PDField field = (PDField) fieldObj;
> if (m.get(field.getFullyQualifiedName()) != null) // set value of 
> map when map key and pdf key is matched 
> {
> 
> field.setValue(m.get(field.getFullyQualifiedName()).toString());
> }
> }
> 
> pdfDoc.save(new File("pdfbox_linux_issue-saved.pdf"));
> {code}
> Works in Windows, Linux Mint, Ubuntu as expected. Issue is only with Red Hat 
> Enterprise 7.4.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-05-22 Thread Jani Pehkonen (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484055#comment-16484055
 ] 

Jani Pehkonen edited comment on PDFBOX-4095 at 5/22/18 5:54 PM:


I have improved [~savan]'s patch.
 [^BlendComposite-2.patch] [^BlendMode-2.patch]


was (Author: janipe):
I have improved the patch.
[^BlendComposite-2.patch]  [^BlendMode-2.patch]

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: A-Designers-Guide-to-Transparency-2007.pdf, 
> BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, 
> BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, 
> blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, 
> gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-05-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484352#comment-16484352
 ] 

Tilman Hausherr commented on PDFBOX-4095:
-

Thanks... I'll have a look at the differences and post them here. This will 
take some time

A-Designers-Guide-to-Transparency-2007.pdf, p7: better
A-Designers-Guide-to-Transparency-2007.pdf, p12: better
gs-bugzilla690477.pdf: now perfect
...

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: A-Designers-Guide-to-Transparency-2007.pdf, 
> BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, 
> BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, 
> blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, 
> gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Closed] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4

2018-05-22 Thread Jim Halpert (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jim Halpert closed PDFBOX-4216.
---
Resolution: Fixed

Installing the Base 14 fonts on RHEL fixed it. 

> PDFBox decimal value cutting off in Red Hat Enterprise 7.4
> --
>
> Key: PDFBOX-4216
> URL: https://issues.apache.org/jira/browse/PDFBOX-4216
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.9
> Environment: LINUX
>Reporter: Jim Halpert
>Priority: Major
> Attachments: .pdfbox.cache, Capture.PNG, pdfbox_issue.PNG, 
> pdfbox_linux_issue-saved-AR.pdf, pdfbox_linux_issue-saved.pdf, 
> pdfbox_linux_issue.pdf, test.pdf
>
>
> Facing issue with Pdf decimal value mapping in the pdffiled in LINUX 
> environment, right side decimal values are cutting off, appreciate quick help 
> on this.
> {code:java}
>  PDDocument pdfDoc = PDDocument.load(new File("pdfbox_linux_issue.pdf"));
> PDDocumentCatalog docCatalog = pdfDoc.getDocumentCatalog();
> PDAcroForm acroForm = docCatalog.getAcroForm();
> Map m = new HashMap();
> m.put("amtPaidForUnit", "15,999.23");
> m.put("amtPubFreightFees", "22.55");
> m.put("amtPaidTotAccessories", "45612.12");
> m.put("dealerDocPrepFees", "55.22");
> m.put("amtDownTradeTotal", "56.89");
> m.put("amtPaidSalesTax", "99.55");
> m.put("amtSerContractTo", "895.66");
> m.put("amtSerContractAmt", "965.36");
> m.put("amtGapProtTo", "798.56");
> m.put("amtGapProtAmt", "64654.33");
> m.put("amtTireGuardTo", "45465.22");
> m.put("amtTireGuardAmt", "455.66");
> m.put("amtPaidOptExtWarr", "88.56");
> m.put("amtPaidOptExtWarrAmt", "663.44");
> m.put("amtPubTitleFees", "54.25");
> m.put("amtPubLicFees", "4654.56");
> m.put("amtPubRegFees", "545.13");
> m.put("amtPubLienFees", "89.22");
> m.put("amtPubFilingFees", "564.65");
> m.put("amtPubStampFees", "56.65");
> m.put("amtPubToAmt", "789.45");
> m.put("amtPubTo2Amt", "15.645");
> m.put("subtotalOfSectionsABC", "13.456");
> m.put("amtLenderOrigFeesAmt", "64.454");
> m.put("amtLender1FeesAmt", "63.56");
> m.put("subtotalOfSection2", "89.12");
> m.put("subtotalOfSection3", "63.45");
> m.put("subtotalOfSection4", "89.15");
> m.put("discAmtFinanced", "63.25");
> for (Object fieldObj : acroForm.getFields())
> {
> PDField field = (PDField) fieldObj;
> if (m.get(field.getFullyQualifiedName()) != null) // set value of 
> map when map key and pdf key is matched 
> {
> 
> field.setValue(m.get(field.getFullyQualifiedName()).toString());
> }
> }
> 
> pdfDoc.save(new File("pdfbox_linux_issue-saved.pdf"));
> {code}
> Works in Windows, Linux Mint, Ubuntu as expected. Issue is only with Red Hat 
> Enterprise 7.4.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-1.8.x #684

2018-05-22 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-1.8.x » PDFBox parent #684

2018-05-22 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4217) Folded Coons patch renders incorrectly

2018-05-22 Thread Tilman Hausherr (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-4217:

Attachment: gs-bugzilla687307-2.ps
gs-bugzilla687307-2-bad-coons.pdf

> Folded Coons patch renders incorrectly
> --
>
> Key: PDFBOX-4217
> URL: https://issues.apache.org/jira/browse/PDFBOX-4217
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.9
>Reporter: Tilman Hausherr
>Priority: Minor
>  Labels: Coons, shading, shadingpattern
> Attachments: PDFBOX-4217-shade_via_1.3_006.pdf-1.png, 
> gs-bugzilla687307-2-bad-coons.pdf, gs-bugzilla687307-2.ps, 
> shade_via_1.3_006.pdf
>
>
> File is from
> [https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/lumi-read/source-archive.zip]
> and can be found in 
> lumi-read/trunk/PDF_smoketest/pdf/shade_via/shade_via_1.3_006.pdf
> Priority set to minor because this is an unrealistic test image. Every viewer 
> (except Adobe Reader) I tried fails in some way.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2018-05-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484189#comment-16484189
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1832041 from [~tilman] in branch 'pdfbox/branches/1.8'
[ https://svn.apache.org/r1832041 ]

PDFBOX-4071: update owasp check to current version

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2018-05-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484188#comment-16484188
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1832040 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1832040 ]

PDFBOX-4071: update owasp check to current version

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2018-05-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484187#comment-16484187
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1832039 from [~tilman] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1832039 ]

PDFBOX-4071: update owasp check to current version

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-2941) Improve PDFDebugger (2)

2018-05-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484177#comment-16484177
 ] 

ASF subversion and git services commented on PDFBOX-2941:
-

Commit 1832038 from [~tilman] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1832038 ]

PDFBOX-2941: new internal class to also support password entry loop for URLs 
but avoid double code

> Improve PDFDebugger (2)
> ---
>
> Key: PDFBOX-2941
> URL: https://issues.apache.org/jira/browse/PDFBOX-2941
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Utilities
>Affects Versions: 2.0.0
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: gs-bugzilla694570.pdf, keep_zoom.diff, osx-tabs.png, 
> pdfdebugger-screenshot-reverted.png, pdfdebugger-screenshot-trunc.png, 
> screenshot_debugger_new.png, screenshot_debugger_not_aligned.png, 
> screenshot_debugger_old.png, screenshot_w7_fontsize.png, 
> separate_filter_choice_from_text_hex_views.diff, sonar_qube_resolve.diff, 
> sonar_qube_resolve_25_08.diff
>
>
> This is a follow-up issue to PDFBOX-2530 to implement extra ideas that came 
> up in GSoC2015, ideas that were not implemented due to lack of time, and new 
> ideas.
> *Viewing*
> - refactor PDFDebugger.java
> - render glyphs of fonts
> - ✓ refactor StreamPane to share stream filtering among Text view and hex view
> - ✓ password dialog when hitting protected PDF
> - show "pretty" XML
> - display filtered streams even if the unfiltered stream is corrupt 
> (PDFBOX-2976)
> - ✓ display the "caused by" part exception stack trace (nested exceptions)
> - ✓ keep zoom
> - ✓ integrate DrawPrintTextLocations into rendering
> - integrate area text extraction with a mouse-created rectangle that shows 
> the coordinates in a status line
> - ✓ show permission flags of {{Encrypt/P}} entry
> - ✓ show signature flags of {{Root/AcroForm/SigFlags}} entry, see Table 219 
> in PDF spec
> - show page labels additional to page number (see file from TIKA-2121 as 
> example)
> - ✓ "reopen" menu item (useful when editing an existing PDF to create a 
> reduced PDF)
> - choose zoom automatically so that PDF page can be seen in full
> *Editing*
> - save modified PDFs
> - editing in hex viewer
> - remove nodes (e.g. elements from a COSDictionary)
> - delete array or dictionary elements
> - load content streams
> - edit & keep content streams



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-2941) Improve PDFDebugger (2)

2018-05-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484176#comment-16484176
 ] 

ASF subversion and git services commented on PDFBOX-2941:
-

Commit 1832037 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1832037 ]

PDFBOX-2941: new internal class to also support password entry loop for URLs 
but avoid double code

> Improve PDFDebugger (2)
> ---
>
> Key: PDFBOX-2941
> URL: https://issues.apache.org/jira/browse/PDFBOX-2941
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Utilities
>Affects Versions: 2.0.0
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: gs-bugzilla694570.pdf, keep_zoom.diff, osx-tabs.png, 
> pdfdebugger-screenshot-reverted.png, pdfdebugger-screenshot-trunc.png, 
> screenshot_debugger_new.png, screenshot_debugger_not_aligned.png, 
> screenshot_debugger_old.png, screenshot_w7_fontsize.png, 
> separate_filter_choice_from_text_hex_views.diff, sonar_qube_resolve.diff, 
> sonar_qube_resolve_25_08.diff
>
>
> This is a follow-up issue to PDFBOX-2530 to implement extra ideas that came 
> up in GSoC2015, ideas that were not implemented due to lack of time, and new 
> ideas.
> *Viewing*
> - refactor PDFDebugger.java
> - render glyphs of fonts
> - ✓ refactor StreamPane to share stream filtering among Text view and hex view
> - ✓ password dialog when hitting protected PDF
> - show "pretty" XML
> - display filtered streams even if the unfiltered stream is corrupt 
> (PDFBOX-2976)
> - ✓ display the "caused by" part exception stack trace (nested exceptions)
> - ✓ keep zoom
> - ✓ integrate DrawPrintTextLocations into rendering
> - integrate area text extraction with a mouse-created rectangle that shows 
> the coordinates in a status line
> - ✓ show permission flags of {{Encrypt/P}} entry
> - ✓ show signature flags of {{Root/AcroForm/SigFlags}} entry, see Table 219 
> in PDF spec
> - show page labels additional to page number (see file from TIKA-2121 as 
> example)
> - ✓ "reopen" menu item (useful when editing an existing PDF to create a 
> reduced PDF)
> - choose zoom automatically so that PDF page can be seen in full
> *Editing*
> - save modified PDFs
> - editing in hex viewer
> - remove nodes (e.g. elements from a COSDictionary)
> - delete array or dictionary elements
> - load content streams
> - edit & keep content streams



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-05-22 Thread Jani Pehkonen (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16484055#comment-16484055
 ] 

Jani Pehkonen commented on PDFBOX-4095:
---

I have improved the patch.
[^BlendComposite-2.patch]  [^BlendMode-2.patch]

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: A-Designers-Guide-to-Transparency-2007.pdf, 
> BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, 
> BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, 
> blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, 
> gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-05-22 Thread Jani Pehkonen (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jani Pehkonen updated PDFBOX-4095:
--
Attachment: BlendMode-2.patch

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: A-Designers-Guide-to-Transparency-2007.pdf, 
> BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, 
> BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, 
> blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, 
> gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)

2018-05-22 Thread Jani Pehkonen (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jani Pehkonen updated PDFBOX-4095:
--
Attachment: BlendComposite-2.patch

> Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
> 
>
> Key: PDFBOX-4095
> URL: https://issues.apache.org/jira/browse/PDFBOX-4095
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.8
>Reporter: savan patel
>Priority: Major
> Attachments: A-Designers-Guide-to-Transparency-2007.pdf, 
> BlendComposite-2.patch, BlendComposite.java.patch, BlendMode.java.patch, 
> COSName.java.patch, Transparency_DesignGuide-2004.pdf, blendmodes.pdf, 
> gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, gs-bugzilla695975.pdf, 
> gs-bugzilla697433-1.pdf, hue-not-committed.patch
>
>
> I have a patch for implementation of non separable blend modes...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4227) java.util.zip.DataFormatException: invalid distance too far back

2018-05-22 Thread Michael Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16483693#comment-16483693
 ] 

Michael Miller commented on PDFBOX-4227:


[~tilman] yeah, the issue is that we have a bunch of PDFs like this that won't 
merge. It feels a bit janky to just attempt to remove the FlateDecode without 
knowing the content - Is there anything more elegant we can do to merge PDFs 
that have this property? Or can the merging use the same logic as the rendering 
for determining compression type?

> java.util.zip.DataFormatException: invalid distance too far back
> 
>
> Key: PDFBOX-4227
> URL: https://issues.apache.org/jira/browse/PDFBOX-4227
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 2.0.9
>Reporter: Michael Miller
>Priority: Major
> Attachments: testCorrupt.pdf
>
>
> I get a zip exception with the attached PDF file, which renders successfully 
> in a couple of PDF viewers I tried.
> ByteArrayInputStream pdfInputStream = new ByteArrayInputStream(pdfByteArray);
> PDFMergerUtility merger = new PDFMergerUtility();
> merger.addSource(pdfInputStream);
> ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
> merger.setDestinationStream(outputStream);
> merger.mergeDocuments(MemoryUsageSetting.setupMainMemoryOnly());
>  
> PDF file attached.
> Stack Trace:
> java.io.IOException: java.util.zip.DataFormatException: invalid distance too 
> far back
>  at org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:83)
>  at org.apache.pdfbox.filter.Filter.decode(Filter.java:87)
>  at org.apache.pdfbox.cos.COSInputStream.create(COSInputStream.java:77)
>  at org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:175)
>  at org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:163)
>  at 
> org.apache.pdfbox.multipdf.PDFMergerUtility.appendDocument(PDFMergerUtility.java:516)
>  at 
> org.apache.pdfbox.multipdf.PDFMergerUtility.mergeDocuments(PDFMergerUtility.java:263)
>  ...
>  Caused by: java.util.zip.DataFormatException: invalid distance too far back
>  at java.util.zip.Inflater.inflateBytes(Native Method)
>  at java.util.zip.Inflater.inflate(Inflater.java:259)
>  at java.util.zip.Inflater.inflate(Inflater.java:280)
>  at org.apache.pdfbox.filter.FlateFilter.decompress(FlateFilter.java:108)
>  at org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:74)
>  ... 35 more



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4227) java.util.zip.DataFormatException: invalid distance too far back

2018-05-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16483552#comment-16483552
 ] 

Tilman Hausherr commented on PDFBOX-4227:
-


{code:java}
3 0 obj
<<
/Length 2374
/Type /Metadata
/Subtype /XML
/Filter /FlateDecode
>>
stream

   http://www.w3.org/1999/02/22-rdf-syntax-ns#;>
  http://ns.adobe.com/xap/1.0/;
xmlns:dc="http://purl.org/dc/elements/1.1/;
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/;
xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#;
xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#;
xmlns:pdf="http://ns.adobe.com/pdf/1.3/;>
 Adobe InDesign CC 2017 (Macintosh)
 2017-12-18T17:55:15-05:00
 2017-05-10T21:51:02Z
 2017-12-18T17:55:15-05:00
 application/pdf
 
xmp.did:8371e414-957c-4e45-abbf-58c95e32809c
 

   
  Adobe InDesign CC 2017 
(Macintosh)
  /
  converted
  2016-11-11T16:11:57-05:00
  from application/x-indesign to 
application/pdf
   

 
 
uuid:faabd5b1-924a-834b-b999-022fd0608e4f
 
xmp.id:932ce8eb-b215-4b81-82e8-4e0b8c029f67
 
default

xmp.did:8371e414-957c-4e45-abbf-58c95e32809c

xmp.iid:12fcd2dd-3fc4-4ab0-a5ee-85a8b58aa933

xmp.did:8371e414-957c-4e45-abbf-58c95e32809c
 
 proof:pdf
 False
 Mac OS X 10.12.4 Quartz PDFContext
  
   


endstream
endobj
5 0 obj

{code}
The metadata is said to be flate decodeded but it isn't, obviously. The file 
renders fine with PDFBox too. It's just merging that won't work. Is the problem 
only with this file? If so, open it with NOTEPAD++ and overwrite /Filter 
/FlateDecode with the same amount of blanks.

> java.util.zip.DataFormatException: invalid distance too far back
> 
>
> Key: PDFBOX-4227
> URL: https://issues.apache.org/jira/browse/PDFBOX-4227
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 2.0.9
>Reporter: Michael Miller
>Priority: Major
> Attachments: testCorrupt.pdf
>
>
> I get a zip exception with the attached PDF file, which renders successfully 
> in a couple of PDF viewers I tried.
> ByteArrayInputStream pdfInputStream = new ByteArrayInputStream(pdfByteArray);
> PDFMergerUtility merger = new PDFMergerUtility();
> merger.addSource(pdfInputStream);
> ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
> merger.setDestinationStream(outputStream);
> merger.mergeDocuments(MemoryUsageSetting.setupMainMemoryOnly());
>  
> PDF file attached.
> Stack Trace:
> java.io.IOException: java.util.zip.DataFormatException: invalid distance too 
> far back
>  at org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:83)
>  at org.apache.pdfbox.filter.Filter.decode(Filter.java:87)
>  at org.apache.pdfbox.cos.COSInputStream.create(COSInputStream.java:77)
>  at org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:175)
>  at org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:163)
>  at 
> org.apache.pdfbox.multipdf.PDFMergerUtility.appendDocument(PDFMergerUtility.java:516)
>  at 
> org.apache.pdfbox.multipdf.PDFMergerUtility.mergeDocuments(PDFMergerUtility.java:263)
>  ...
>  Caused by: java.util.zip.DataFormatException: invalid distance too far back
>  at java.util.zip.Inflater.inflateBytes(Native Method)
>  at java.util.zip.Inflater.inflate(Inflater.java:259)
>  at java.util.zip.Inflater.inflate(Inflater.java:280)
>  at org.apache.pdfbox.filter.FlateFilter.decompress(FlateFilter.java:108)
>  at org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:74)
>  ... 35 more



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org