Re: DVI Specials



>> > Named Colors : DVI Special support color in four formats : rgb, cmyk,
>> > hsb and named color. For named colors we need a color table.
>> > 
>> 
>> Why do you need a color table? Gdk provides function for color parsing
>> gdk_color_parse that support all names listed in /usr/share/X11/rgb.txt.
>> I think it's enough, I haven't looked inside though.
>
>My bad, I forgot about gdk_color_parse :). If I'll depend on Gdk, I
>think that the best place to implement is directly in the dvi-document,
>because mdvi don't depend on Gdk right now. Do you agree? 

For thouse who don't want to depend on gtk, there is XParseColor :) but let's do it this way with gdk.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]