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 je...@apache.org on 2006/07/28 12:04:27 UTC
svn commit: r426465 - in /xmlgraphics/fop/trunk:
src/java/org/apache/fop/pdf/PDFText.java status.xml
Author: jeremias
Date: Fri Jul 28 03:04:23 2006
New Revision: 426465
URL: http://svn.apache.org/viewvc?rev=426465&view=rev
Log:
Bugzilla #40106:
Compatibility fix for GCJ (GNU Classpath): Using "UTF-16BE" instead of "UnicodeBigUnmarked" encoding.
Submitted by: Jeroen Meijer <jmeijer.at.notice.nu>
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFText.java
xmlgraphics/fop/trunk/status.xml
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFText.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFText.java?rev=426465&r1=426464&r2=426465&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFText.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFText.java Fri Jul 28 03:04:23 2006
@@ -180,7 +180,7 @@
final byte[] uniBytes;
try {
final char[] a = {c};
- uniBytes = new String(a).getBytes("UnicodeBigUnmarked");
+ uniBytes = new String(a).getBytes("UTF-16BE");
} catch (java.io.UnsupportedEncodingException uee) {
throw new CascadingRuntimeException("Incompatible VM", uee);
}
Modified: xmlgraphics/fop/trunk/status.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/status.xml?rev=426465&r1=426464&r2=426465&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/status.xml (original)
+++ xmlgraphics/fop/trunk/status.xml Fri Jul 28 03:04:23 2006
@@ -27,6 +27,10 @@
<changes>
<release version="FOP Trunk">
+ <action context="Code" dev="JM" type="fix" fixes-bug="40106" due-to="Jeroen Meijer">
+ Compatibility fix for GCJ (GNU Classpath): Using "UTF-16BE" instead of "UnicodeBigUnmarked"
+ encoding.
+ </action>
<action context="Code" dev="JM" type="fix" fixes-bug="40062" due-to="Gilles Beaugeais">
Fixed handling for CCITT Group 4 TIFF images with fill order 2.
</action>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org