You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2001/04/19 04:08:49 UTC
[Bug 1383] New - Cannot compile on Japanese locale (ja_JP.EUC)
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1383
*** shadow/1383 Wed Apr 18 19:08:49 2001
--- shadow/1383.tmp.25992 Wed Apr 18 19:08:49 2001
***************
*** 0 ****
--- 1,52 ----
+ +============================================================================+
+ | Cannot compile on Japanese locale (ja_JP.EUC) |
+ +----------------------------------------------------------------------------+
+ | Bug #: 1383 Product: Fop |
+ | Status: NEW Version: 0.17 |
+ | Resolution: Platform: PC |
+ | Severity: Normal OS/Version: FreeBSD |
+ | Priority: Component: general |
+ +----------------------------------------------------------------------------+
+ | Assigned To: fop-dev@xml.apache.org |
+ | Reported By: westbay@seaple.icc.ne.jp |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ the org/apache/fop/fonts/Glyphs.java file fails to compile at line 755 because a
+ valid first byte for a DBCS (double byte character set) is used.
+
+ Unicode characters "\u00a1, \u00a2, [problem], \u00a4, \u00a5" were surrounding
+ the problem, so I assigned it "\u00a3," and the compile went successfully. I
+ don't understand why this is the only character in this range that was not
+ escaped. If this is an incorrect patch, please put in an explaination as to
+ what character should be there.
+
+ I'm not sure if it'll work, but what follows is my patch to fix this. Since
+ line 755 was an invalid DBCS, you may see something else on the 1.2 revision.
+
+ Index: src/org/apache/fop/fonts/Glyphs.java
+ ===================================================================
+ RCS file: /home/cvspublic/xml-fop/src/org/apache/fop/fonts/Glyphs.java,v
+ retrieving revision 1.2
+ diff -p -r1.2 Glyphs.java
+ *** src/org/apache/fop/fonts/Glyphs.java 2001/02/27 12:28:15 1.2
+ --- src/org/apache/fop/fonts/Glyphs.java 2001/04/19 01:51:27
+ *************** public class Glyphs {
+ *** 752,758 ****
+ ' ',
+ '\u00a1',
+ '\u00a2',
+ ! ',
+ '\u00a4',
+ '\u00a5',
+ '\u00a6',
+ --- 752,758 ----
+ ' ',
+ '\u00a1',
+ '\u00a2',
+ ! '\u00a3',
+ '\u00a4',
+ '\u00a5',
+ '\u00a6',
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org