You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Falko Modler (Jira)" <ji...@apache.org> on 2022/01/16 19:54:00 UTC
[jira] [Created] (PDFBOX-5363) Don't log warnings if there are not fonts to cache
Falko Modler created PDFBOX-5363:
------------------------------------
Summary: 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
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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org