New to submitting a patch. Please let me know how to submit if folks agree with this patch. :-) Thanks!
Attach the diff: Index: src/gui_mac.c =================================================================== --- src/gui_mac.c (revision 1164) +++ src/gui_mac.c (working copy) @@ -173,6 +173,7 @@ ATSUStyle gWideFontStyle; # endif Boolean gIsFontFallbackSet; +UInt32 useAntialias_cache = 0x0; #endif /* Colors Macros */ @@ -4123,6 +4124,24 @@ ATSUSetAttributes(gFontStyle, 1, attribTags, attribSizes, attribValues); } + UInt32 useAntialias = p_antialias ? kATSStyleApplyAntiAliasing + : kATSStyleNoAntiAliasing; + if (useAntialias != useAntialias_cache) + { + + ATSUAttributeTag attribTags[] = { kATSUStyleRenderingOptionsTag }; + ByteCount attribSizes[] = { sizeof(UInt32) }; + ATSUAttributeValuePtr attribValues[] = { &useAntialias }; + + if (gFontStyle) + ATSUSetAttributes(gFontStyle, 1, attribTags, attribSizes, attribValues); + + if (gWideFontStyle) + ATSUSetAttributes(gWideFontStyle, 1, attribTags, attribSizes, attribValues); + + useAntialias_cache = useAntialias; + } + #ifdef FEAT_MBYTE if (has_mbyte) { -- cicicici --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---