-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0
-
rc1
-
x86
-
windows_nt
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2036908 | 1.4.0 | Xueming Shen | P3 | Resolved | Fixed | beta |
Name: mt13159 Date: 09/11/2000
Oracle requires the following font.properties changes in order for its products to work correctly in international environments:
1) 005c needs to be added to the exclusion range in font.properties.ja and font.properties.ko. This is necessary to display the currency symbol correctly in Japanese and Korean environments. This issue is already filed for Japanese as JavaSoft bug 4204226.
2) The font names in font.properties.ja need to be changed for better display of Japanese text. In particular, proportional fonts should be used when possible, and MS Mincho should be used for the monospaced font. The specific changes are:
dialog: use MS PGothic instead of MS Gothic
dialoginput: use MS Mincho instead of MS Gothic
serif: use MS PMincho instoead of MS Mincho
sansserif: use MS PGothic instead of MS Gothic
monospaced: use MS Mincho instead of MS Gothic
3) Switch order of monospaced fonts (and corresponding charset entries) in font.properties.ja so Courier New is first in list. Needed to display ASCII characters correctly.
4) Add NEED_CONVERTED to Japanese fonts in font.properties.ja. Needed for Japanese UDC (User Defined Characters).
5) Use new name aliases in font.properties.ja instead of the ones under "for backward compatibility". The new name aliases are present in the font.properties.ja file, but are currently commented out. They are needed for correct display of DBCS characters.
6) Modify exclusion ranges in font.properties.ja so Euro symbol is not excluded. That is, instead of "0100-ffff" use "0100-20ab,20ad-ffff". Needed for correct display of the Euro.
Since most of these changes are in font.properties.ja, I have included our JDK 1.1.8 copy of font.properties.ja below. This can be diffed with the JDK 1.1.8 font.properties.ja provided by JavaSoft to see all of our changes. The same changes need to be made for JDK 1.3. Note that it is not acceptable to our customers that they be required to make these changes manually on their machines.
# @(#)font.properties.ja
#
# AWT Font default Properties for Japanese Windows
#
dialog.0=Arial,ANSI_CHARSET
dialog.1=\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af,SHIFTJIS_CHARSET,NEED_CONVERTED
dialog.2=WingDings,SYMBOL_CHARSET,NEED_CONVERTED
dialog.3=Symbol,SYMBOL_CHARSET,NEED_CONVERTED
dialoginput.0=Courier New,ANSI_CHARSET
dialoginput.1=\uff2d\uff33 \u660e\u671d,SHIFTJIS_CHARSET,NEED_CONVERTED
dialoginput.2=WingDings,SYMBOL_CHARSET,NEED_CONVERTED
dialoginput.3=Symbol,SYMBOL_CHARSET,NEED_CONVERTED
serif.0=Times New Roman,ANSI_CHARSET
serif.1=\uff2d\uff33 \uff30\u660e\u671d,SHIFTJIS_CHARSET,NEED_CONVERTED
serif.2=WingDings,SYMBOL_CHARSET,NEED_CONVERTED
serif.3=Symbol,SYMBOL_CHARSET,NEED_CONVERTED
sansserif.0=Arial,ANSI_CHARSET
sansserif.1=\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af,SHIFTJIS_CHARSET,NEED_CONVERTED
sansserif.2=WingDings,SYMBOL_CHARSET,NEED_CONVERTED
sansserif.3=Symbol,SYMBOL_CHARSET,NEED_CONVERTED
monospaced.0=Courier New,ANSI_CHARSET
monospaced.1=\uff2d\uff33 \u660e\u671d,SHIFTJIS_CHARSET,NEED_CONVERTED
monospaced.2=WingDings,SYMBOL_CHARSET,NEED_CONVERTED
monospaced.3=Symbol,SYMBOL_CHARSET,NEED_CONVERTED
# name aliases
#
# - commented out in Javasoft code but reenabled for ibm.6835
#
alias.timesroman=serif
alias.helvetica=sansserif
alias.courier=monospaced
# for backword compatibility
#
# - the first 3 are commented out for ibm.6835 in favour of the aliases
# above which allow DBCS chars to display
#
# timesroman.0=Times New Roman,ANSI_CHARSET
# helvetica.0=Arial,ANSI_CHARSET
# courier.0=Courier New,ANSI_CHARSET
zapfdingbats.0=WingDings,SYMBOL_CHARSET
# Default font definition
#
default.char=2751
# Static FontCharset info.
#
# Changed to use MS932 for defect ibm.6971
#
fontcharset.dialog.1=sun.io.CharToByteMS932
fontcharset.dialog.2=sun.awt.windows.CharToByteWingDings
fontcharset.dialog.3=sun.awt.CharToByteSymbol
fontcharset.dialoginput.1=sun.io.CharToByteMS932
fontcharset.dialoginput.2=sun.awt.windows.CharToByteWingDings
fontcharset.dialoginput.3=sun.awt.CharToByteSymbol
fontcharset.serif.1=sun.io.CharToByteMS932
fontcharset.serif.2=sun.awt.windows.CharToByteWingDings
fontcharset.serif.3=sun.awt.CharToByteSymbol
fontcharset.sansserif.1=sun.io.CharToByteMS932
fontcharset.sansserif.2=sun.awt.windows.CharToByteWingDings
fontcharset.sansserif.3=sun.awt.CharToByteSymbol
fontcharset.monospaced.0=sun.io.CharToByteISO8859_1
fontcharset.monospaced.1=sun.io.CharToByteMS932
fontcharset.monospaced.2=sun.awt.windows.CharToByteWingDings
fontcharset.monospaced.3=sun.awt.CharToByteSymbol
# Exclusion Range info.
#
exclusion.dialog.0=005c-005c,00b7-00b7,0100-20ab,20ad-ffff
exclusion.dialoginput.0=005c-005c,00b7-00b7,0100-20ab,20ad-ffff
exclusion.serif.0=005c-005c,00b7-00b7,0100-20ab,20ad-ffff
exclusion.sansserif.0=005c-005c,00b7-00b7,0100-20ab,20ad-ffff
exclusion.monospaced.0=005c-005c,00b7-00b7,0100-20ab,20ad-ffff
# charset for text input
#
inputtextcharset=SHIFTJIS_CHARSET
(Review ID: 109387)
======================================================================
- backported by
-
JDK-2036908 Font.properties modifications required
-
- Resolved
-