-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
1.4.2
-
x86
-
windows_xp
FULL PRODUCT VERSION :
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.02-040225-17:20)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.02-040225-19:18 PA_RISC2.0 PA2.0 (aCC_AP), mixed mode)
ADDITIONAL OS VERSION INFORMATION :
OS: WinXP, Win2K
Browser: Internet Explorer (IE 6)
JDK: java version "1.4.2.02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.02-040225-17:20)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.02-040225-19:18 PA_RISC2.0 PA2.0 (aCC_AP), mixed mode)
EXTRA RELEVANT SYSTEM CONFIGURATION :
Run the applet with the locale settings as "Arabic(Egypt)"
A DESCRIPTION OF THE PROBLEM :
This is related to a printing issue raised by one of our customers in Egypt
When the Arabic report is printed through the notepad print option, the report is printed as desired with no alignment issues. But when it's printed through our application the alignment is not proper. We have found that the lines which are not aligned contain a particular Arabic character. The font used is 'Simplified Arabic Fixed'. The character is in the attached file arab-fixed.txt.
Printing is done through one of our components called Finclient which uses the Java Swing package.
The OS on the desktop is Windows 2000 or Windows XP. The JRE version is 1.4.2_04. The browser used is Internet Explorer (IE 6).
This issue seems to be inherently present in the Java Swing package. We have written a sample swing program and have found that while displaying it in the swing text area also we find the same alignment issue. The sample program and the report is in the attached file arabic-fixed.zip.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
We can share a sample program if we can get a reference mail-id
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Alignment should be proper similar to that of notepad during printing.
ACTUAL -
When the Arabic report is printed through the notepad print option, the report is printed as desired with no alignment issues. But when it's printed through our application the alignment is not proper. We have found that the lines which are not aligned contain a particular Arabic character. The font used is 'Simplified Arabic Fixed'.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No errors. Only alignment is getting distorted.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Attached seperately
---------- END SOURCE ----------
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.02-040225-17:20)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.02-040225-19:18 PA_RISC2.0 PA2.0 (aCC_AP), mixed mode)
ADDITIONAL OS VERSION INFORMATION :
OS: WinXP, Win2K
Browser: Internet Explorer (IE 6)
JDK: java version "1.4.2.02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.02-040225-17:20)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.02-040225-19:18 PA_RISC2.0 PA2.0 (aCC_AP), mixed mode)
EXTRA RELEVANT SYSTEM CONFIGURATION :
Run the applet with the locale settings as "Arabic(Egypt)"
A DESCRIPTION OF THE PROBLEM :
This is related to a printing issue raised by one of our customers in Egypt
When the Arabic report is printed through the notepad print option, the report is printed as desired with no alignment issues. But when it's printed through our application the alignment is not proper. We have found that the lines which are not aligned contain a particular Arabic character. The font used is 'Simplified Arabic Fixed'. The character is in the attached file arab-fixed.txt.
Printing is done through one of our components called Finclient which uses the Java Swing package.
The OS on the desktop is Windows 2000 or Windows XP. The JRE version is 1.4.2_04. The browser used is Internet Explorer (IE 6).
This issue seems to be inherently present in the Java Swing package. We have written a sample swing program and have found that while displaying it in the swing text area also we find the same alignment issue. The sample program and the report is in the attached file arabic-fixed.zip.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
We can share a sample program if we can get a reference mail-id
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Alignment should be proper similar to that of notepad during printing.
ACTUAL -
When the Arabic report is printed through the notepad print option, the report is printed as desired with no alignment issues. But when it's printed through our application the alignment is not proper. We have found that the lines which are not aligned contain a particular Arabic character. The font used is 'Simplified Arabic Fixed'.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No errors. Only alignment is getting distorted.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Attached seperately
---------- END SOURCE ----------