2009/11/19 Jjgod Jiang:
> On Thu, Nov 19, 2009 at 9:16 AM, Jjgod Jiang wrote:
>> In vim-cocoa I am using exactly the same piece of code (the private API
>> you mentioned) and transparency works out of box.
>
> OK, this patch fixed the transparency problem by setting correct blend mode
> (kCGBlendModeCopy instead of kCGBlendModeNormal) before using
> CGContextFillRect().
> Only for the Core Text renderer though.

Thanks a bunch Jiang!  I can confirm that it works too.

Maybe the problem with the default renderer is due to some change in
NSTextView...?  At any rate, the next snapshot will include the Core
Text renderer and I think most people will want to use that instead of
the default renderer anyway, so the transparency issue with the
default renderer may not be that urgent anymore.

Björn

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to