Re: ClearType: Does Java AWT use its own font or use the OS's font in displaying text field?
From: Mike Smith (mikesmithv_at_yahoo.com)
Date: 07/11/04
- Previous message: Karsten Lentzsch: "Re: Mac LAF under Windows"
- In reply to: gino: "ClearType: Does Java AWT use its own font or use the OS's font in displaying text field?"
- Next in thread: Liz: "Re: ClearType: Does Java AWT use its own font or use the OS's font in displaying text field?"
- Reply: Liz: "Re: ClearType: Does Java AWT use its own font or use the OS's font in displaying text field?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 11 Jul 2004 00:03:58 GMT
You get ClearType by default if you stick to using Label(). It is a major
hack but see this page for how to do it. If you click the Run Demo button
the bottom paragraph was created entire with Label(). The source is
available on the web page - again, a major hack!
http://www.smithvalley.com/test/aademo.htm
Let me reinterate what theStepan said. Go to the Sun page and put in your
vote so we do not need to do these kinds of hacks just to get decent text
rendering.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4726365.
Mike
- Previous message: Karsten Lentzsch: "Re: Mac LAF under Windows"
- In reply to: gino: "ClearType: Does Java AWT use its own font or use the OS's font in displaying text field?"
- Next in thread: Liz: "Re: ClearType: Does Java AWT use its own font or use the OS's font in displaying text field?"
- Reply: Liz: "Re: ClearType: Does Java AWT use its own font or use the OS's font in displaying text field?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]