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

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

Commit 1897154 from [email protected] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1897154 ]

PDFBOX-5363: don't try to cache any fonts if there aren't any, based on a 
proposal by Falko Modler

> Don't log warnings if there are not fonts to cache
> --------------------------------------------------
>
>                 Key: PDFBOX-5363
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5363
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 2.0.25
>            Reporter: Falko Modler
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>
> I'm seeing these warnings:
> {noformat}
> 2022-01-16 16:49:05,723 WARN  [org.apa.pdf.pdm.fon.FileSystemFontProvider] 
> (executor-thread-10) Building on-disk font cache, this may take a while
> 2022-01-16 16:49:05,724 WARN  [org.apa.pdf.pdm.fon.FileSystemFontProvider] 
> (executor-thread-10) Finished building on-disk font cache, found 0 fonts
> {noformat}
> which are pretty much useless because creating a basically empty cache will 
> *not* take a while.
> These warnings should only be logged if there actually are font files.
> PS: My case is a Quarkus app running as a docker container based on 
> [azul/zulu-openjdk-alpine:17.0.1-jre-headless|https://hub.docker.com/layers/azul/zulu-openjdk-alpine/17.0.1-jre-headless/images/sha256-e248739ad4723f184b62616677979c32beeb36f33f71139dc1d0ff43add04e89?context=explore].



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to