[jira] [Commented] (PDFBOX-4262) HeBo font not found exception even though it's present in the system

2018-07-09 Thread Jim Halpert (JIRA)


[ 
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

2018-07-09 Thread Tilman Hausherr (JIRA)


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

Tilman Hausherr commented on PDFBOX-4262:
-

See also the CreateSimpleFormWithEmbeddedFont.java example.

> 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

2018-07-09 Thread Maruan Sahyoun (JIRA)


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

Maruan Sahyoun commented on PDFBOX-4262:


{{PDType1Font.HELVETICA_BOLD}} is a PDF standard font. Using that your mileage 
will vary as the font itself supports only a limited set of characters. If you 
need to use Eastern European or other characters you'd better use a different 
font such as {{Arial}} which you can load using {{PDType0Font.load}} (*don't 
use font subsetting* if you expect that the form data might be changed 
interactively). So above sample will become

{code}
PDFont font = PDType0Font.load(doc, new File("Arial.ttf")); // you need to 
specify the fun path of course
fonts.put(COSName.getPDFName("HeBo"), font);
{code}

The other option would be to replace the name used in the fields default 
appearance string.

> 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

2018-07-09 Thread Jim Halpert (JIRA)


[ 
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

2018-07-09 Thread Maruan Sahyoun (JIRA)


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

Maruan Sahyoun commented on PDFBOX-4262:


more like

{code:java}
fonts.put(COSName.getPDFName("HeBo"), PDType1Font.HELVETICA_BOLD);
{code}

just writing it here as a comment - haven't tested it in an IDE

> 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

2018-07-09 Thread Jim Halpert (JIRA)


[ 
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] [Commented] (PDFBOX-4262) HeBo font not found exception even though it's present in the system

2018-07-09 Thread Maruan Sahyoun (JIRA)


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

Maruan Sahyoun commented on PDFBOX-4262:


There is (currently) no fallback mechanism for that. The PDF spec defines that 
the correct font resource needs to be available in the AcroForm/DR/Font entry 
but if you load the font upfront then you should be fine.

> 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

2018-07-09 Thread Maruan Sahyoun (JIRA)


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

Maruan Sahyoun commented on PDFBOX-4262:


As you can see the entry /Root/AcroForm/DR/Font doesn't contain a resource with 
the name /HeBo (only /Helv and ZaDb). As a result when looking up the name 
/HeBo which is specified in your default appearance string that name can not be 
found. What you could do is add the font using that same name to the AcroForm 
font resources prior to setting the fields value.

> 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

2018-07-09 Thread Jim Halpert (JIRA)


[ 
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

2018-07-09 Thread Tilman Hausherr (JIRA)


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

Tilman Hausherr commented on PDFBOX-4262:
-

Well yes - HeBo is missing.

> 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

2018-07-09 Thread Jim Halpert (JIRA)


[ 
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] [Commented] (PDFBOX-4262) HeBo font not found exception even though it's present in the system

2018-07-09 Thread Tilman Hausherr (JIRA)


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

Tilman Hausherr commented on PDFBOX-4262:
-

You need to switch to the other view in the menu (View, Show internal structure)

> 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] [Commented] (PDFBOX-4262) HeBo font not found exception even though it's present in the system

2018-07-09 Thread Jim Halpert (JIRA)


[ 
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] [Commented] (PDFBOX-4262) HeBo font not found exception even though it's present in the system

2018-07-09 Thread Maruan Sahyoun (JIRA)


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

Maruan Sahyoun commented on PDFBOX-4262:


I'd need to see the /DR entry within /AcroForms as this is what's taken for the 
form fields. 

> 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

2018-07-09 Thread Jim Halpert (JIRA)


[ 
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] [Commented] (PDFBOX-4262) HeBo font not found exception even though it's present in the system

2018-07-09 Thread Maruan Sahyoun (JIRA)


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

Maruan Sahyoun commented on PDFBOX-4262:


that error message means that the font name /HeBo is used for a specific form 
field but it's not defined as part of the AcroForms default resources or the 
fields font resources. Could you attach a sample form to verify that?

> 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