[antlr-interest] AW on Windows 7

Scott Stanchfield scott at javadude.com
Thu Apr 7 06:31:30 PDT 2011


Another thing to try - optimize your clear type fonts in Windows 7 as follows:

* open the start menu
* type "adjust cleartype"
* choose "adjust cleartype text"

This will present a dialog that lets you adjust the fonts for each
monitor you have. They give you a set of eye charts and you choose
which looks best to you. It's kinda like at the eye doctor with
"better 1, 2" and it makes an incredible difference.

Don't turn off anti-aliasing before you try this.

-- Scott

----------------------------------------
Scott Stanchfield
http://javadude.com



On Thu, Apr 7, 2011 at 9:23 AM, Dean Pavlekovic <dpavlekovic at gmail.com> wrote:
> Hi,
>
> I'm new to the list so first let me give a hello and big compliments
> for ANTLR & Works. I started using ANTLRworks a month or so ago,
> trying to learn a bit about parsing/translation/small interpreter
> construction in my spare time. Also extra compliments for the Language
> Implementation Patterns, I definitely wish I had it *before* I started
> fiddling with my first grammar!
>
> About the fonts on Win7... text seems to be rendered correctly
> everywhere except for the main editor widget: it always renders
> aliased/non-smoothed font. New MS fonts like Consolas look quite bad
> at small sizes without smoothing so after I couldn't find any way to
> configure it in UI I went on to try to fix it.
>
> The attached patch fixes the issue for me on Win7, it should set the
> system default antialiasing option for editor pane too. But please
> take it with reserve since I have almost no experience with Java: I'm
> not sure how this would affect other OSes, I just poked around a bit
> following what I found on Google:
>
> http://stackoverflow.com/questions/2266199/how-to-make-jtextpane-paint-anti-aliased-font
> http://download.oracle.com/javase/6/docs/technotes/guides/2d/flags.html#aaFonts
>   -> see:awt.useSystemAAFontSettings
>
> Cheers,
> Dean
>
> On Wed, Apr 6, 2011 at 7:31 PM, Terence Parr <parrt at cs.usfca.edu> wrote:
>>
>> Yo, does Windows 7 show on aliased bitmaps fonts? If so, how do you get around it to show nice new aliased fonts? I could swear that there was a checkbox for this in AW preferences, but I don't see it.
>> Ter
>>
>> List: http://www.antlr.org/mailman/listinfo/antlr-interest
>> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>


More information about the antlr-interest mailing list