DO NOT REPLY [Bug 2880] - Incorrect rendering on non-ASCII machines

2002-05-06 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2880.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2880

Incorrect rendering on non-ASCII machines

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2002-05-06 13:33 ---
One of the problems is that PDF is in part a binary format because of
embedded images (in particular compressed images).

*** This bug has been marked as a duplicate of 2532 ***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




[Bug 2880] - Incorrect rendering on non-ASCII machines

2001-07-31 Thread bugzilla

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2880

*** shadow/2880 Mon Jul 30 02:14:16 2001
--- shadow/2880.tmp.8889Tue Jul 31 03:40:41 2001
***
*** 21,24 
  
  I suppose you're using methods like writeBytes or writeChars or something like 
  that. In EBCDIC machines the results are different when writen bytes or chars 
! to a file.
--- 21,32 
  
  I suppose you're using methods like writeBytes or writeChars or something like 
  that. In EBCDIC machines the results are different when writen bytes or chars 
! to a file.
! 
! --- Additional Comments From [EMAIL PROTECTED]  2001-07-31 03:40 ---
! I've been working on source files. I've found a possible soultion. The error is 
! caused by the use of getBytes() in String translations. I've susbstituted 
! getBytes() by getBytes(ISO-8859-1), so the render of PDF files runs in my 
! EBCDIC (S390) machine and in my ASCII (windows) machine.
! I think the PDFDocument class should include a setEncoding(String enc) and 
! a getEncoding() methods.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]