You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by vh...@apache.org on 2009/05/22 12:38:49 UTC
svn commit: r777459 - in /xmlgraphics/fop/trunk:
src/java/org/apache/fop/fonts/SingleByteFont.java status.xml
Author: vhennebert
Date: Fri May 22 10:38:49 2009
New Revision: 777459
URL: http://svn.apache.org/viewvc?rev=777459&view=rev
Log:
Bugzilla #47232: for the last character of a Type1 font, always a width of 0 was returned. Patch submitted by Maxim Wirt.
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/SingleByteFont.java
xmlgraphics/fop/trunk/status.xml
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/SingleByteFont.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/SingleByteFont.java?rev=777459&r1=777458&r2=777459&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/SingleByteFont.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/SingleByteFont.java Fri May 22 10:38:49 2009
@@ -94,7 +94,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;
}
Modified: xmlgraphics/fop/trunk/status.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/status.xml?rev=777459&r1=777458&r2=777459&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/status.xml (original)
+++ xmlgraphics/fop/trunk/status.xml Fri May 22 10:38:49 2009
@@ -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.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org