Did you notice a difference with monospaced fonts, Adrian?
My sample uses Courier; I haven't seen any difference in behaviour
with different fonts.
On 29-May-05, at 3:29 PM, Adrian Sutton wrote:
Well, it was worth a try....
I just tried hacking together this workaround based on fiddling with
fractional metrics; it doesn't make any difference.
Yeah I tried that one myself. It doesn't work because by the time
paint
is called all the layout stuff is done so setting fractional font
widths
to off makes no difference (I believe the painting code is handling
the
fractional widths correctly but the layout code is not). You need to
find a way to turn off fractional font metrics across the entire JVM -
which is what the "i18n" system property does on Windows and Solaris.
The only solution we found was to use a monospaced font or set the
"i18n" system property - our client's not particularly happy about
either.
Regards,
Adrian Sutton.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden