Le 3 sept. 2009 à 15:26, björn a écrit :

>
> 2009/9/2 Nikola Knežević:
>>
>> On 01.09.2009, at 01:20 , Jim Jones wrote:
>>
>>> I have an obscure problem with my MacVim,
>>> it renders all colors too bright.
>>>
>>> Anyone have an idea what the heck could be going on here?
>>
>> I've noticed this as well. At first (due to the color theme I'm  
>> using)
>> I though colours look washed out. After running the same comparisons
>> you did, it seems they are indeed brighter.
>
> I guess it is due to the fact that I use
>
> +[NSColor colorWithCalibratedRed:green:blue:alpha:]
>
> to create colors.  It may be more appropriate to use
>
> +[NSColor colorWithDeviceRed:green:blue:alpha:]
>
> but I never really "got" the distinction between "device" and
> "calibrated" colors.
>
> I anybody feels like helping, then please try using the latter instead
> of the former and see if that does the trick.  There should only be
> two places in the code that needs changing and that is in MacVim.m
> inside the colorWithRgbInt and colorWithArgbInt methods.  Let me know
> how it goes.
>
> Also, to anybody with a clue when it comes to color issues like this:
> feel free to enlighten me on this subject.
>
> Björn

I noticed a strange phenomenon maybe related to this.

I work with an external monitor at work, which is plugged in the DVI  
socket.
When I use my laptop at home, then put it to sleep, then go to work  
and plug
in the monitor, the MacVim window is displayed on the external  
monitor. The
colors are a bit darker than on the laptop's display.

Then when i resize the window, the colors suddenly get brighter, like  
if a
new color profile was applied to that window. It's really the only app  
that
behaves like this on my machine.

This was on Leopard, I didn't check the behaviour was the same since I
upgraded to SL.

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

Reply via email to