Author: jeremias
Date: Sat Feb 6 18:19:31 2010
New Revision: 907265
URL: http://svn.apache.org/viewvc?rev=907265&view=rev
Log:
Related to Bugzilla #47232:
The same bug that existed for Type 1 fonts (fixed in rev 777459) also applies
to TrueType fonts. The last glyph in a font was reported to have zero width.
Bug exists since 2001.
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/MultiByteFont.java
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/MultiByteFont.java
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/MultiByteFont.java?rev=907265&r1=907264&r2=907265&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/MultiByteFont.java
(original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/MultiByteFont.java Sat
Feb 6 18:19:31 2010
@@ -147,7 +147,7 @@
/** {...@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;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]