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 2026/09/28 07:15:56 UTC
svn commit: r1938589 - pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font
Author: tilman
Date: Mon Sep 28 07:15:56 2026
New Revision: 1938589
Log:
PDFBOX-5660: fix typo
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java Mon Sep 28 06:45:05 2026 (r1938588)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java Mon Sep 28 07:15:56 2026 (r1938589)
@@ -415,7 +415,7 @@ public class PDType0Font extends PDFont
strName = name.getName();
}
- // try to find the corresponding Unicode (UC2) CMap
+ // try to find the corresponding Unicode (UCS2) CMap
if (strName != null)
{
try
@@ -426,7 +426,7 @@ public class PDType0Font extends PDFont
}
catch (IOException ex)
{
- LOG.warn("Could not get {} UC2 map for font {}", strName, getName(), ex);
+ LOG.warn("Could not get {} UCS2 map for font {}", strName, getName(), ex);
}
}
}
@@ -463,7 +463,7 @@ public class PDType0Font extends PDFont
}
/**
- * Returns the font's UCS2 CMap, only present this font uses a predefined CMap.
+ * Returns the font's UCS2 CMap, only present if this font uses a predefined CMap.
*
* @return the font's UCS2 CMap if present
*/