JDK-4346690 : Hebrew text is not rendered.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2000-06-20
  • Updated: 2001-03-21
  • Resolved: 2001-03-20
Related Reports
Duplicate :  
Description
Solaris locale=he.

Machine information is attached in the file algol.dat.
The test was run using Merlin build 20.

Install the Solaris 8 patches 108652-08 and 108940-03.
FontTest.tar is an attachment.  Retrieve the source code
and the script FontTest.ksh.  Login to the test locale,
export JAVA_HOME into your environment, and run
FontTest.ksh.

The program will bring up five panes entitled 
(1) AWT Labels, (2) AWT TextFields, (3) Swing Components,
(4) Java2D Stroke, and (5) Java2D Fill.

In each pane there is a grid of Strings.  There are 5 rows
and 4 columns.  The rows are labelled (1) Serif,
(2) SansSerif, (3) Monospaced, (4) Dialog, and 
(5) DialogInput.  The columns are labelled (1) Plain,
(2) Italic, (3) Bold, and (4) BoldItalic.

Also on each pane, in the upper right corner, are displayed
the locale and language, where the language is displayed
in the locale's language and is liable to contain non-English
characters.

No Hebrew will be visible in any of the panes.

allan.jacobs@Eng 2000-06-19

In Merlin build 1.4.0-beta-b56, everything that should have worked before
works now.  The test code has been changed to add a "Swing JTextField"
pane.  The right-most character of the strings in each of the JTextFields
displays a box (an unprintable character).

The new test code is attached.

allan.jacobs@Eng 2001-03-19

Comments
EVALUATION This bug was filed before the integration of the Kestrel/Solaris and Ladybird changes. Can you please retry on a current build to see whether the problem still exists? norbert.lindenberg@Eng 2000-11-27 The behavior has changed. Build 42 dumps core. algol% uname -a SunOS algol 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-2 algol% showrev -p Patch: 109137-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108974-06 Obsoletes: 109343-04 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcarx, SUNWcsxu, SUNWhea Patch: 108975-03 Obsoletes: Requires: 108968-01, 108974-01, 108977-01 Incompatibles: Packages: SUNWcsu, SUNWvolu Patch: 108528-03 Obsoletes: 109153-01, 109656-01, 109291-06, 109663-01, 109309-02, 109345-02 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcarx, SUNWcar, SUNWcpr, SUNWcprx, SUNWcsxu, SUNWhea, SUNWmdb, SUNWmdbx, SUNWpmu, SUNWpmr, SUNWpmux, SUNWsrh, SUNWtnfc, SUNWtnfcx Patch: 108875-07 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcslx, SUNWcsl, SUNWcarx, SUNWarc, SUNWcstl, SUNWcstlx, SUNWhea Patch: 109783-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108985-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 109277-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108977-01 Obsoletes: Requires: 108974-01 Incompatibles: Packages: SUNWcsr, SUNWhea, SUNWvolu, SUNWvolux Patch: 108968-02 Obsoletes: Requires: 108974-01, 108977-01 Incompatibles: Packages: SUNWcsr, SUNWesu, SUNWhea, SUNWvolu, SUNWvolux Patch: 108652-18 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfnt, SUNWxwplt, SUNWxwplx, SUNWxwinc, SUNWxwman, SUNWxwpmn, SUNWxwslb Patch: 108940-12 Obsoletes: Requires: Incompatibles: Packages: SUNWmfrun, SUNWdtbax Patch: 109320-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpcu, SUNWpsu Patch: 109951-01 Obsoletes: Requires: Incompatibles: Packages: SUNWjwnsu algol% echo $LANG he algol% env |grep LC LC_MONETARY=he LC_TIME=he LC_MESSAGES=C LC_CTYPE=he LC_COLLATE=he LC_NUMERIC=he /usr/openwin/lib/X11/fonts/TrueType/CourierNew-BoldItalic.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/courbi_h.ttf - CMAP 3,1 found at offset 284. /usr/openwin/lib/X11/fonts/TrueType/Arial.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/arial__h.ttf - CMAP 3,1 found at offset 284. /usr/openwin/lib/X11/fonts/TrueType/CourierNew-Bold.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/courb__h.ttf - CMAP 3,1 found at offset 284. /usr/openwin/lib/X11/fonts/TrueType/Arial-BoldItalic.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/arialbih.ttf - CMAP 3,1 found at offset 284. /usr/openwin/lib/X11/fonts/TrueType/CourierNew.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/cour___h.ttf - CMAP 3,1 found at offset 284. /usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-Bold.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/timesb_h.ttf - CMAP 3,1 found at offset 284. /usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/times__h.ttf - CMAP 3,1 found at offset 284. /usr/openwin/lib/X11/fonts/TrueType/CourierNew-Italic.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/couri__h.ttf - CMAP 3,1 found at offset 284. /usr/openwin/lib/X11/fonts/TrueType/Arial-Bold.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/arialb_h.ttf - CMAP 3,1 found at offset 284. /usr/openwin/lib/X11/fonts/TrueType/Arial-Italic.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/ariali_h.ttf - CMAP 3,1 found at offset 284. /usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-Italic.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/timesi_h.ttf - CMAP 3,1 found at offset 284. /usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-BoldItalic.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/timesbih.ttf - CMAP 3,1 found at offset 284. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterRegular.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterBold.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterOblique.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterBoldOblique.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightRegular.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightDemiBold.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightItalic.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightDemiItalic.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansRegular.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansDemiBold.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansOblique.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansDemiOblique.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/X11/fonts/TrueType/CourierNew.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/cour___h.ttf - CMAP 3,1 found at offset 284. wDOW=108, wABC=72 Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 128 in sun.java2d.SunGraphics2D Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 132 in sun.java2d.SunGraphics2D Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 136 in sun.java2d.SunGraphics2D /usr/openwin/lib/X11/fonts/TrueType/Arial-Bold.ttf - CMAP 3,1 found at offset 282. Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 204 in java.awt.TextField awt_motif_getIMStatusHeight: Height = 15 # # An unexpected exception has been detected in native code outside the VM. # Program counter=0x4da950 # # Problematic Thread: prio=5 tid=0x3a4a0 nid=0x1 runnable # Dumping core.... Abort (core dumped) allan.jacobs@Eng 2000-11-30 Xueming asked me to test this bug, here it is: Ran on a Solaris 8 machine, all the panes displayed fine in the beginning, then got this: # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4beta-B52 mixed mode) # # An error report file has been saved as hs_err_pid25037.log. # Please refer to the file for further information. # Abort (core dumped) See attachment hs_err_pid25037.log for details. minchi.tien@eng 2001-02-20 I should add: when compiling FontTest.java, I got this: Note: FontTest.java uses or overrides a deprecated API. Note: Recompile with -deprecation for details. But when I added -deprecation, the file won't compile. minchi.tien@eng 2001-02-20 xueming.shen@Eng 2001-03-19 (1)#4426961 has been filed for the crash problem (2)#4427483 has been filed for the "squarebox" display problem in jtextfield. (3)close this one as a duplicate
19-03-2001