diff options
-rw-r--r-- | src/java/org/apache/fop/fonts/SingleByteFont.java | 2 | ||||
-rw-r--r-- | status.xml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fonts/SingleByteFont.java b/src/java/org/apache/fop/fonts/SingleByteFont.java index 8739b42a4..fb4725bd4 100644 --- a/src/java/org/apache/fop/fonts/SingleByteFont.java +++ b/src/java/org/apache/fop/fonts/SingleByteFont.java @@ -94,7 +94,7 @@ public class SingleByteFont extends CustomFont { /** {@inheritDoc} */ public int[] getWidths() { int[] arr = new int[width.length]; - System.arraycopy(width, 0, arr, 0, width.length - 1); + System.arraycopy(width, 0, arr, 0, width.length); return arr; } diff --git a/status.xml b/status.xml index a45bb8746..8a1368ca6 100644 --- a/status.xml +++ b/status.xml @@ -58,6 +58,9 @@ documents. Example: the fix of marks layering will be such a case when it's done. --> <release version="FOP Trunk" date="TBD"> + <action context="Fonts" dev="VH" type="fix" fixes-bug="47232" due-to="Maxim Wirt"> + Bugfix: for the last character of a Type1 font, always a width of 0 was returned. + </action> <action context="Code" dev="VH" type="fix"> Changed meaning of ‘-v’ option to ‘verbose’, which will print FOP’s version and proceed. Added a ‘-version’ option to simply print the version then exit, following Java practices. |