[jira] [Commented] (PDFBOX-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16537392#comment-16537392 ] Jim Halpert commented on PDFBOX-4262: - Thanks for the help and the details. > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.9 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Labels: Appearance > Attachments: .pdfbox.cache, field.PNG, font.PNG, page2.PNG, pdf.PNG, > pdf2.PNG > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16537254#comment-16537254 ] Jim Halpert commented on PDFBOX-4262: - Just trying to understand, doing as you stated, will it use the font from the system or fallback if not found exact font? > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.9 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Labels: Appearance > Attachments: .pdfbox.cache, field.PNG, font.PNG, page2.PNG, pdf.PNG, > pdf2.PNG > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16537225#comment-16537225 ] Jim Halpert commented on PDFBOX-4262: - Are you saying to override with same name but different font? {code:java} fonts.put( PDType1Font.HELVETICA_BOLD.getBaseFont(), PDType1Font.COURIER_BOLD);{code} > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.9 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Labels: Appearance > Attachments: .pdfbox.cache, field.PNG, font.PNG, page2.PNG, pdf.PNG, > pdf2.PNG > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16537143#comment-16537143 ] Jim Halpert edited comment on PDFBOX-4262 at 7/9/18 4:08 PM: - I am sorry, I am not getting this with my limited understanding. If it's missing here, why didn't pdfbox fallback to other fonts or use the one that's provided in the system (which is cached in the pdfbox file)? was (Author: anealkeshi): I am sorry, I am not getting this with my limited understanding. If it's missing here, why did pdfbox fallback to other fonts or use the one that's provided in the system (which is cached in the pdfbox file)? > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.9 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Labels: Appearance > Attachments: .pdfbox.cache, field.PNG, font.PNG, page2.PNG, pdf.PNG, > pdf2.PNG > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16537143#comment-16537143 ] Jim Halpert commented on PDFBOX-4262: - I am sorry, I am not getting this with my limited understanding. If it's missing here, why did pdfbox fallback to other fonts or use the one that's provided in the system (which is cached in the pdfbox file)? > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.9 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Labels: Appearance > Attachments: .pdfbox.cache, field.PNG, font.PNG, page2.PNG, pdf.PNG, > pdf2.PNG > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16537130#comment-16537130 ] Jim Halpert commented on PDFBOX-4262: - !font.PNG! > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.9 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Labels: Appearance > Attachments: .pdfbox.cache, field.PNG, font.PNG, page2.PNG, pdf.PNG, > pdf2.PNG > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Halpert updated PDFBOX-4262: Attachment: font.PNG > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.9 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Labels: Appearance > Attachments: .pdfbox.cache, field.PNG, font.PNG, page2.PNG, pdf.PNG, > pdf2.PNG > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16537123#comment-16537123 ] Jim Halpert commented on PDFBOX-4262: - [~msahyoun] I couldn't find /DR entry that you mentioned. Here's what I got. !page2.PNG! Can you please mention the full path to what you require? > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.9 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Labels: Appearance > Attachments: .pdfbox.cache, field.PNG, page2.PNG, pdf.PNG, pdf2.PNG > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Halpert updated PDFBOX-4262: Attachment: page2.PNG > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.9 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Labels: Appearance > Attachments: .pdfbox.cache, field.PNG, page2.PNG, pdf.PNG, pdf2.PNG > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16537097#comment-16537097 ] Jim Halpert edited comment on PDFBOX-4262 at 7/9/18 3:49 PM: - I can't attach the pdf but here's the snapshot from the debugger. !field.PNG! !pdf.PNG! !pdf2.PNG! was (Author: anealkeshi): I can't attach the pdf but here's the snapshot from the debugger. !field.PNG! > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.9 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Labels: Appearance > Attachments: .pdfbox.cache, field.PNG, pdf.PNG, pdf2.PNG > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16537097#comment-16537097 ] Jim Halpert commented on PDFBOX-4262: - I can't attach the pdf but here's the snapshot from the debugger. !field.PNG! > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.9 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Labels: Appearance > Attachments: .pdfbox.cache, field.PNG, pdf.PNG, pdf2.PNG > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Halpert updated PDFBOX-4262: Attachment: pdf2.PNG pdf.PNG field.PNG > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.9 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Labels: Appearance > Attachments: .pdfbox.cache, field.PNG, pdf.PNG, pdf2.PNG > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Halpert updated PDFBOX-4262: Affects Version/s: (was: 2.0.10) 2.0.9 > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.9 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Attachments: .pdfbox.cache > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Halpert updated PDFBOX-4262: Description: Throws an IO Exception without falling back to other fonts. However, Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache file. - Exception : Could not find font: /HeBo java.io.IOException: Could not find font: /HeBo at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) [^.pdfbox.cache] was: Throws and exception without falling back to other fonts. However, Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache file. - Exception : Could not find font: /HeBo java.io.IOException: Could not find font: /HeBo at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) [^.pdfbox.cache] > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.10 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Attachments: .pdfbox.cache > > > Throws an IO Exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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-4262) HeBo font not found exception even though it's present in the system
[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Halpert updated PDFBOX-4262: Description: Throws and exception without falling back to other fonts. However, Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache file. - Exception : Could not find font: /HeBo java.io.IOException: Could not find font: /HeBo at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) [^.pdfbox.cache] was: [^.pdfbox.cache] - Exception : Could not find font: /HeBo java.io.IOException: Could not find font: /HeBo at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > HeBo font not found exception even though it's present in the system > > > Key: PDFBOX-4262 > URL: https://issues.apache.org/jira/browse/PDFBOX-4262 > Project: PDFBox > Issue Type: Bug > Components: AcroForm >Affects Versions: 2.0.10 > Environment: RHEL 7 >Reporter: Jim Halpert >Priority: Blocker > Attachments: .pdfbox.cache > > > Throws and exception without falling back to other fonts. However, > Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache > file. > > > - Exception : Could not find font: /HeBo > java.io.IOException: Could not find font: /HeBo > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) > at > org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) > [^.pdfbox.cache] -- 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] [Created] (PDFBOX-4262) HeBo font not found exception even though it's present in the system
Jim Halpert created PDFBOX-4262: --- Summary: HeBo font not found exception even though it's present in the system Key: PDFBOX-4262 URL: https://issues.apache.org/jira/browse/PDFBOX-4262 Project: PDFBox Issue Type: Bug Components: AcroForm Affects Versions: 2.0.10 Environment: RHEL 7 Reporter: Jim Halpert Attachments: .pdfbox.cache [^.pdfbox.cache] - Exception : Could not find font: /HeBo java.io.IOException: Could not find font: /HeBo at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179) at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132) at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108) -- 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
[ 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
[jira] [Commented] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16472181#comment-16472181 ] Jim Halpert commented on PDFBOX-4216: - [~tilman] Thanks for the explanation. I will try that and update here. > 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] [Commented] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16472128#comment-16472128 ] Jim Halpert commented on PDFBOX-4216: - Now that you have mentioned, here's the log message. Now, it's making some sense. {code:java} May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font Times-Roman May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font Times-Bold May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font Times-Italic May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font Times-BoldItalic May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font Helvetica May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font Helvetica-Bold May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font Helvetica-Oblique May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font Helvetica-BoldOblique May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font Courier May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font Courier-Bold May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font Courier-Oblique May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font Courier-BoldOblique May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font Symbol May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for base font ZapfDingbats May 11, 2018 10:13:01 AM org.apache.pdfbox.pdmodel.font.PDType1Font WARNING: Using fallback font LiberationSans for Courier {code} > 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
[jira] [Comment Edited] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16472125#comment-16472125 ] Jim Halpert edited comment on PDFBOX-4216 at 5/11/18 3:39 PM: -- [~tilman] Let me understand the solution here. How installing standard 14 fonts solve the issue when pdf box is picking LiberationSans? Can you explain a bit on what is .pdfbox.cache and how it is being used? was (Author: anealkeshi): [~tilman] Let me understand the soution here. How installing standard 14 fonts solve the issue when pdf box is picking LiberationSans? Can you explain a bit on what is .pdfbox.cache and how it is being used? > 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] [Commented] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16472125#comment-16472125 ] Jim Halpert commented on PDFBOX-4216: - [~tilman] Let me understand the soution here. How installing standard 14 fonts solve the issue when pdf box is picking LiberationSans? Can you explain a bit on what is .pdfbox.cache and how it is being used? > 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] [Commented] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16472103#comment-16472103 ] Jim Halpert commented on PDFBOX-4216: - The output to {code:java} System.out.println(((PDType1Font)appearanceStyle.getFont()).getFontBoxFont());{code} For Red Hat, it's *_LiberationSans_* and for WIndows, it's _*CourierNewPSMT.*_ Here's the content of Red Hat *.pdfbox.cache* file {code:java} STIX-Bold|OTF||2bc|0|a1ff|dfff|1|0800|/usr/share/fonts/stix/STIX-Bold.otf STIX-BoldItalic|OTF||2bc|0|a1ff|dfff|3||/usr/share/fonts/stix/STIX-BoldItalic.otf STIX-Italic|OTF||190|0|a1ff|dfff|2||/usr/share/fonts/stix/STIX-Italic.otf STIX-Regular|OTF||190|0|a1ff|dfff|0||/usr/share/fonts/stix/STIX-Regular.otf {code} Here's same file from my windows machine. [^.pdfbox.cache] Clearly, there's a font issue. > 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] [Updated] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Halpert updated PDFBOX-4216: Attachment: .pdfbox.cache > 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] [Commented] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16471886#comment-16471886 ] Jim Halpert commented on PDFBOX-4216: - I put bunch of logs and ran the same code in Windows and Red Hat. Left side is Red Hat and Right is Windows output. The only difference is *linewidth* and *startOffset* in PlainTextFormatter#format() method. |+[n|#difference_1]+ |1|bbox = [0.0,0.0,68.34,9.360016]|+[n|#difference_1]+ |1|bbox = [0.0,0.0,68.34,9.360016]| | |2|clipRect = [1.0,1.0,67.34,8.360016]| |2|clipRect = [1.0,1.0,67.34,8.360016]| | |3|contentRect = [2.0,2.0,66.34,7.360016]| |3|contentRect = [2.0,2.0,66.34,7.360016]| | |4|clipRect.getLowerLeftX() = 1.0| |4|clipRect.getLowerLeftX() = 1.0| | |5|clipRect.getLowerLeftY() = 1.0| |5|clipRect.getLowerLeftY() = 1.0| | |6|clipRect.getWidth() = 66.34| |6|clipRect.getWidth() = 66.34| | |7|clipRect.getHeight() = 7.360016| |7|clipRect.getHeight() = 7.360016| |+[n|#difference_2]+ |8|Field = amtGapProtAmt formatter PlainTextFormatter [appearanceStyle=AppearanceStyle [font=PDType1Font Courier, fontSize=10.0, leading=10.55], wrapLines=false, width=64.34, contents=PDPageContentStream [document=org.apache.pdfbox.pdmodel.PDDocument@31fa7bbf, output=/Tx BMC|+[n|#difference_2]+ |8|Field = amtGapProtAmt formatter PlainTextFormatter [appearanceStyle=AppearanceStyle [font=PDType1Font Courier, fontSize=10.0, leading=10.55], wrapLines=false, width=64.34, contents=PDPageContentStream [document=org.apache.pdfbox.pdmodel.PDDocument@2957fcb0, output=/Tx BMC| | |9| | |9| | | |10|q| |10|q| | |11|1 1 66.4 7.36 re| |11|1 1 66.4 7.36 re| | |12|W| |12|W| | |13|n| |13|n| | |14|BT| |14|BT| | |15|/Cour 10 Tf| |15|/Cour 10 Tf| | |16|/DeviceGray cs| |16|/DeviceGray cs| | |17|0 sc| |17|0 sc| |+[n|#difference_3]+ |18|, [resources=org.apache.pdfbox.pdmodel.PDResources@33d2523b|mailto:resources=org.apache.pdfbox.pdmodel.PDResources@33d2523b], inTextMode=true, fontStack=[PDType1Font Courier], nonStrokingColorSpaceStack=[DeviceGray], strokingColorSpaceStack=[], [formatDecimal=java.text.DecimalFormat@674dc|mailto:formatDecimal=java.text.DecimalFormat@674dc], formatBuffer=[48, 48, 51, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], textContent=PlainText [paragraphs=[org.apache.pdfbox.pdmodel.interactive.form.PlainText$Paragraph@3514ba11]], textAlignment=RIGHT, horizontalOffset=2.0, verticalOffset=1.870008]|+[n|#difference_3]+ |18|, [resources=org.apache.pdfbox.pdmodel.PDResources@1376c05c|mailto:resources=org.apache.pdfbox.pdmodel.PDResources@1376c05c], inTextMode=true, fontStack=[PDType1Font Courier], nonStrokingColorSpaceStack=[DeviceGray], strokingColorSpaceStack=[], [formatDecimal=java.text.DecimalFormat@674dc|mailto:formatDecimal=java.text.DecimalFormat@674dc], formatBuffer=[48, 48, 51, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], textContent=PlainText [paragraphs=[org.apache.pdfbox.pdmodel.interactive.form.PlainText$Paragraph@51521cc1]], textAlignment=RIGHT, horizontalOffset=2.0, verticalOffset=1.870008]| | |19|lineWidth = 41.708984| |19|lineWidth = 48.007812| | |20|horizontalOffset = 2.0| |20|horizontalOffset = 2.0| |+[n|#difference_4]+ |21|startOffset = 22.69101|+[n|#difference_4]+ |21|startOffset = 16.392181| | |22|=| |22|=| | |23|bbox = [0.0,0.0,64.07999,9.360001]| |23|bbox = [0.0,0.0,64.07999,9.360001]| | |24|clipRect = [1.0,1.0,63.079987,8.360001]| |24|clipRect = [1.0,1.0,63.079987,8.360001]| | |25|contentRect = [2.0,2.0,62.079987,7.366]| |25|contentRect = [2.0,2.0,62.079987,7.366]| | |26|clipRect.getLowerLeftX() = 1.0| |26|clipRect.getLowerLeftX() = 1.0| | |27|clipRect.getLowerLeftY() = 1.0| |27|clipRect.getLowerLeftY() = 1.0| | |28|clipRect.getWidth() = 62.079987| |28|clipRect.getWidth() = 62.079987| | |29|clipRect.getHeight() = 7.366| |29|clipRect.getHeight() = 7.366| |+[n|#difference_5]+ |30|Field = discAmtFinanced formatter PlainTextFormatter [appearanceStyle=AppearanceStyle [font=PDType1Font Courier, fontSize=10.0, leading=10.55], wrapLines=false, width=60.079987, contents=PDPageContentStream [document=org.apache.pdfbox.pdmodel.PDDocument@31fa7bbf, output=/Tx BMC|+[n|#difference_5]+ |30|Field = discAmtFinanced formatter PlainTextFormatter [appearanceStyle=AppearanceStyle [font=PDType1Font Courier, fontSize=10.0, leading=10.55], wrapLines=false, width=60.079987, contents=PDPageContentStream [document=org.apache.pdfbox.pdmodel.PDDocument@2957fcb0, output=/Tx BMC| | |31| | |31| | | |32|q| |32|q| | |33|1 1 62.08 7.36 re| |33|1 1 62.08 7.36 re| | |34|W| |34|W| | |35|n| |35|n| | |36|BT| |36|BT| | |37|/Cour 10 Tf| |37|/Cour 10 Tf| | |38|/DeviceGray cs| |38|/DeviceGray cs|
[jira] [Commented] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16470727#comment-16470727 ] Jim Halpert commented on PDFBOX-4216: - [~tilman] Here is the PDF generated in Red Hat. [^test.pdf] [~msahyoun] I used Acrobat Reader in Windows 2018.011.020036 and chrome to view the pdf. I also used Linux Mint and Ubuntu to view the pdf. It's same. > 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: 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] [Updated] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Halpert updated PDFBOX-4216: Attachment: test.pdf > 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: 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] [Commented] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16469454#comment-16469454 ] Jim Halpert commented on PDFBOX-4216: - [~msahyoun] {code:java} public class MainApplication { public static void main(String[] args) throws IOException { ClassLoader classLoader = MainApplication.class.getClassLoader(); PDDocument pdfDoc = PDDocument.load(new File(classLoader.getResource("pdfbox_linux_issue.pdf").getFile())); PDDocumentCatalog docCatalog = pdfDoc.getDocumentCatalog(); PDAcroForm acroForm = docCatalog.getAcroForm(); Mapm = 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) { field.setValue(m.get(field.getFullyQualifiedName())); } } pdfDoc.save(new File(args[0])); } } {code} I ran this code as jar in Red Hat 7.4 to generate the PDF. Downloaded generated pdf and viewed in multiple machines. PDF generated in any other OS (Windows, Ubuntu, Mint) that I have tried is fine. Only PDF generated in Red Hat machines have the issue. To replicate this issue, the PDF has to be generated in Red Hat 7.4 with ID_LIKE="fedora" (may be other versions as well, currently we have just this). Here's a example of the issue. We can't provide the complete PDF due to restrictions. !Capture.PNG! > 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: Capture.PNG, pdfbox_issue.PNG, > pdfbox_linux_issue-saved-AR.pdf, pdfbox_linux_issue-saved.pdf, > pdfbox_linux_issue.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",
[jira] [Updated] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Halpert updated PDFBOX-4216: Attachment: Capture.PNG > 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: Capture.PNG, pdfbox_issue.PNG, > pdfbox_linux_issue-saved-AR.pdf, pdfbox_linux_issue-saved.pdf, > pdfbox_linux_issue.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] [Commented] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16469412#comment-16469412 ] Jim Halpert commented on PDFBOX-4216: - [~tilman] Wait a min. Did you generate the pdf file in Red Hat or upload the file in Red Hat? I generated the file in Red Hat with the code from description. The file you just uploaded is fine. Was it generated in RHEL machine? > 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_issue.PNG, pdfbox_linux_issue-saved-AR.pdf, > pdfbox_linux_issue-saved.pdf, pdfbox_linux_issue.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] [Commented] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16469329#comment-16469329 ] Jim Halpert commented on PDFBOX-4216: - [~tilman] Other guy didn't explain it properly. It's not a chrome issue. The pdf when opened with acrobat reader has same issue. It's either Red Hat Enterprise issue or pdf box issue. If you have Red Hat 7.4, it's reproducible. > 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_issue.PNG, pdfbox_linux_issue-saved.pdf, > pdfbox_linux_issue.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] [Commented] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16469310#comment-16469310 ] Jim Halpert commented on PDFBOX-4216: - [~tilman] Because, that issue isn't resolved. Actually that should be reopened. > 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_issue.PNG, pdfbox_linux_issue-saved.pdf, > pdfbox_linux_issue.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] [Updated] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Halpert updated PDFBOX-4216: Description: 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. was: 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} 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()); } {code} Works in Windows, Linux Mint, Ubuntu as expected. Issue is only with Red Hat Enterprise 7.4. > 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_issue.PNG, pdfbox_linux_issue-saved.pdf, > pdfbox_linux_issue.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",
[jira] [Updated] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Halpert updated PDFBOX-4216: Description: 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} 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()); } {code} Works in Windows, Linux Mint, Ubuntu as expected. Issue is only with Red Hat Enterprise 7.4. was: 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} 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()); } {code} > 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_issue.PNG, pdfbox_linux_issue-saved.pdf, > pdfbox_linux_issue.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} > 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()); > } > {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] [Updated] (PDFBOX-4216) PDFBox decimal value cutting off in Red Hat Enterprise 7.4
[ https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Halpert updated PDFBOX-4216: Description: 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} 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()); } {code} was: 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} 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()); } {code} > 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_issue.PNG, pdfbox_linux_issue-saved.pdf, > pdfbox_linux_issue.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} > 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()); > } > {code} -- 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