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:16:04 UTC
svn commit: r1938590 - pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font
Author: tilman
Date: Mon Sep 28 07:16:04 2026
New Revision: 1938590
Log:
PDFBOX-5660: fix typo
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java
Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java Mon Sep 28 07:15:56 2026 (r1938589)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java Mon Sep 28 07:16:04 2026 (r1938590)
@@ -354,7 +354,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
@@ -365,7 +365,7 @@ public class PDType0Font extends PDFont
}
catch (IOException ex)
{
- LOG.warn("Could not get " + strName + " UC2 map for font " + getName(), ex);
+ LOG.warn("Could not get " + strName + " UCS2 map for font " + getName(), ex);
}
}
}
@@ -396,7 +396,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.
*/
public CMap getCMapUCS2()
{