-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 1.3.0
-
Component/s: client-libs
-
linux-rc1
-
x86
-
linux
Name: jk109818 Date: 07/14/2000
java version "1.3.0beta_refresh"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta_refresh-b09)
Java HotSpot(TM) Client VM (build 1.3.0beta-b07, mixed mode)
When using the Redhat 6.1 font server with the true type faces Arial, Courier
New and Times New Roman, the characters are horizontally squeezed. The
characters in an (swing) application doesn't look clean and especially the text
in a JTextArea (when courier new is used), the text is hard to read. This
problem doesn't occure with jdk1.2.2-006 (linux) or any jdk1.1 version from the
blackdown porting group. In every jdk I use the same font.properties file.
(Included in this page.) I've made some screenshots to show you what I mean. You
can find the screenshots at:
http://home.hetnet.nl/~marl1vdwaal/jdk13/debug.html
-- font.properties for the use of the true type font server:
# awt font properties for X11 with xfstt
# copy to /usr/local/java/lib/font.properties
dialog.plain.0 = -*-arial-medium-r-normal--*-%d-75-75-p-*-iso8859-1
dialog.italic.0 = -*-arial-medium-i-normal--*-%d-75-75-p-*-iso8859-1
dialog.bold.0 = -*-arial-bold-r-normal--*-%d-75-75-p-*-iso8859-1
dialog.bolditalic.0 = -*-arial-bold-i-normal--*-%d-75-75-p-*-iso8859-1
dialoginput.plain.0 = -*-courier new-medium-r-normal--*-%d-75-75-m-*-iso8859-1
dialoginput.italic.0 = -*-courier new-medium-r-normal--*-%d-75-75-m-*-iso8859-1
dialoginput.bold.0 = -*-courier new-bold-r-normal--*-%d-75-75-m-*-iso8859-1
dialoginput.bolditalic.0= -*-courier new-bold-r-normal--*-%d-75-75-m-*-iso8859-1
monospaced.plain.0 = -*-courier new-medium-r-normal--*-%d-*-*-m-*-iso8859-1
monospaced.italic.0 = -*-courier new-medium-i-normal--*-%d-*-*-m-*-iso8859-1
monospaced.bold.0 = -*-courier new-bold-r-normal--*-%d-*-*-m-*-iso8859-1
monospaced.bolditalic.0 = -*-courier new-bold-i-normal--*-%d-*-*-m-*-iso8859-1
sansserif.plain.0 = -*-arial-medium-r-normal--*-%d-*-*-p-*-iso8859-1
sansserif.italic.0 = -*-arial-medium-i-normal--*-%d-*-*-p-*-iso8859-1
sansserif.bold.0 = -*-arial-bold-r-normal--*-%d-*-*-p-*-iso8859-1
sansserif.bolditalic.0 = -*-arial-bold-i-normal--*-%d-*-*-p-*-iso8859-1
serif.plain.0 = -*-times new roman-medium-r-normal--*-%d-*-*-p-*-iso8859-1
serif.italic.0 = -*-times new roman-medium-i-normal--*-%d-*-*-p-*-iso8859-1
serif.bold.0 = -*-times new roman-bold-r-normal--*-%d-*-*-p-*-iso8859-1
serif.bolditalic.0= -*-times new roman-bold-i-normal--*-%d-*-*-p-*-iso8859-1
alias.timesroman = serif
alias.helvetica = sansserif
alias.courier = monospaced
(Review ID: 107208)
======================================================================
- duplicates
-
JDK-4361356 Linux:2D.drawString() with MonoSpaced/DialogInput can't draw strings completely
-
- Closed
-