You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2021/05/20 18:44:16 UTC
svn commit: r1890053 -
/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
Author: tilman
Date: Thu May 20 18:44:15 2021
New Revision: 1890053
URL: http://svn.apache.org/viewvc?rev=1890053&view=rev
Log:
PDFBOX-4892: change error to warning, as suggested by Michael Klink in comment to SO 67588149
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java?rev=1890053&r1=1890052&r2=1890053&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java Thu May 20 18:44:15 2021
@@ -200,7 +200,7 @@ final class FileSystemFontProvider exten
}
catch (IOException e)
{
- LOG.error("Could not load font file: " + file, e);
+ LOG.warn("Could not load font file: " + file, e);
}
return null;
}
@@ -277,7 +277,7 @@ final class FileSystemFontProvider exten
}
catch (IOException e)
{
- LOG.error("Could not load font file: " + file, e);
+ LOG.warn("Could not load font file: " + file, e);
}
return null;
}
@@ -298,7 +298,7 @@ final class FileSystemFontProvider exten
}
catch (IOException e)
{
- LOG.error("Could not load font file: " + file, e);
+ LOG.warn("Could not load font file: " + file, e);
}
finally
{
@@ -389,7 +389,7 @@ final class FileSystemFontProvider exten
}
catch (IOException e)
{
- LOG.error("Error parsing font " + file.getPath(), e);
+ LOG.warn("Error parsing font " + file.getPath(), e);
}
}
}
@@ -525,7 +525,7 @@ final class FileSystemFontProvider exten
String[] parts = line.split("\\|", 10);
if (parts.length < 10)
{
- LOG.error("Incorrect line '" + line + "' in font disk cache is skipped");
+ LOG.warn("Incorrect line '" + line + "' in font disk cache is skipped");
continue;
}
@@ -588,7 +588,7 @@ final class FileSystemFontProvider exten
}
catch (IOException e)
{
- LOG.error("Error loading font cache, will be re-built", e);
+ LOG.warn("Error loading font cache, will be re-built", e);
return null;
}
finally
@@ -627,7 +627,7 @@ final class FileSystemFontProvider exten
}
catch (IOException e)
{
- LOG.error("Could not load font file: " + ttcFile, e);
+ LOG.warn("Could not load font file: " + ttcFile, e);
}
finally
{
@@ -660,7 +660,7 @@ final class FileSystemFontProvider exten
}
catch (IOException e)
{
- LOG.error("Could not load font file: " + ttfFile, e);
+ LOG.warn("Could not load font file: " + ttfFile, e);
}
}
@@ -762,7 +762,7 @@ final class FileSystemFontProvider exten
catch (IOException e)
{
fontInfoList.add(new FSIgnored(file, FontFormat.TTF, "*skipexception*"));
- LOG.error("Could not load font file: " + file, e);
+ LOG.warn("Could not load font file: " + file, e);
}
finally
{
@@ -796,7 +796,7 @@ final class FileSystemFontProvider exten
}
catch (IOException e)
{
- LOG.error("Could not load font file: " + pfbFile, e);
+ LOG.warn("Could not load font file: " + pfbFile, e);
}
finally
{