From: ###@###.###
This does not look like form output to me.
Hi,
There is a bug in the Win32 JDK 1.0 and 1.0.1 that does not set the
font of a component to the requested font. You can verify this easily
by looking at the default font used for components in a Java
application. The default font should be the "Dialog" font which
corresponds to the Win32 MS Sans Serif font. If you look at the
actual font used you can see that it clearly has Serifs and resembles
a Times Roman font.
The actual bug is in awt.cpp where the component font is created
using the Java font name rather than the platform specific name.
Line # 741 of awt.cpp is:
pFont = AwtFont::Create(buffer, fC->style, fC->size);
It should be:
pFont = AwtFont::Create(AwtFont::PINameToPSName(buffer), fC->style,
fC->size);
This bug has several side effects like the FontMetrics not being
accurate for any font other than Helvetica. The correction of this
bug is very important to us as it affects the quality of our Java
development tool JFactory. If you have a time frame for correction
of the bug, please let us know.
Thanks,
Jeff Rayfield
Tech Lead, Factory
Rogue Wave Software
Internet: ###@###.###
Phone: (704) 549-0484
This does not look like form output to me.
Hi,
There is a bug in the Win32 JDK 1.0 and 1.0.1 that does not set the
font of a component to the requested font. You can verify this easily
by looking at the default font used for components in a Java
application. The default font should be the "Dialog" font which
corresponds to the Win32 MS Sans Serif font. If you look at the
actual font used you can see that it clearly has Serifs and resembles
a Times Roman font.
The actual bug is in awt.cpp where the component font is created
using the Java font name rather than the platform specific name.
Line # 741 of awt.cpp is:
pFont = AwtFont::Create(buffer, fC->style, fC->size);
It should be:
pFont = AwtFont::Create(AwtFont::PINameToPSName(buffer), fC->style,
fC->size);
This bug has several side effects like the FontMetrics not being
accurate for any font other than Helvetica. The correction of this
bug is very important to us as it affects the quality of our Java
development tool JFactory. If you have a time frame for correction
of the bug, please let us know.
Thanks,
Jeff Rayfield
Tech Lead, Factory
Rogue Wave Software
Internet: ###@###.###
Phone: (704) 549-0484