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

Tilman Hausherr commented on PDFBOX-4629:
-----------------------------------------

The screenshot from the "query engine" output is misleading, it just shows the 
names, not whether the font is embedded or not. ("Embedded" means that the 
actual font file is in the PDF. It is possible to have PDF files with non 
embedded fonts, and this is what happened with your file).

The other screenshot just mentions what font is used. There is either an 
ignored setting in LibreOffice, or a lack of having such a setting when saving 
to PDF. I can't tell because I don't use LO.

You can embed fonts by using the trick shown in the answer of the SO question 
you linked to. Just use the Liberation Sans font file.

If you know what you will only use ordinary western text and have no intention 
to make the file PDF/A compliant, then replace "F4" with "Helv" in the default 
appearance string of the field.

> WARNING: Using fallback font 'LiberationSans' for 'LiberationSans'
> ------------------------------------------------------------------
>
>                 Key: PDFBOX-4629
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4629
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.15, 2.0.16
>            Reporter: Nina Sutter
>            Priority: Minor
>         Attachments: image-2019-08-12-08-39-13-652.png, 
> image-2019-08-12-08-43-29-117.png, image-2019-08-12-08-44-58-434.png, 
> image-2019-08-12-09-25-11-355.png, image-2019-08-12-09-27-27-416.png
>
>
> Hey everyone,
> I use pdfbox version 2.0.15 deployed on AWS Lambda.
> My template is done in LibreOffice and the fields are set-up in font 
> Liberation Sans.
> When I fill the fields in the pdf I get the following log message on 
> CloudWatch:
> WARNING: Using fallback font 'LiberationSans' for 'LiberationSans'
>  
> For me this message doesn't tell me what the actual problem is. The pdf still 
> gets filled with the required data, however this message puzzles me. Maybe 
> you can help me understanding the issue.
>  
>  
> Best regards



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to