WISH: kick out xpm.C, replace by pixbuf
DUMB: support tex fonts
-TODO: fix rounding of colors when !xft (#aaaaaa => #a9a900) (do not use correct, but expected value)
+8.2
- fix make depend in src/, reported by exg.
- fixed typo in urxvt::GET_CUSTOM, causing the result to be wrong.
(patch by Sergey Vlasov).
- rip out support for non-POSIX termios variants.
- update libptytty.
- update iom.C, make it call ptytty::sanitise_stdfd on init.
+ - when !XFT, change rounding of colours to use a less correct formula to
+ meet user expectancies (#aaa becomes #a000a000a000 not #9f9f9f9f9f9f).
8.1 Thu Dec 7 22:27:25 CET 2006
- ケリスマスプレゼント - zomg!!1, it's too early!!!
if (screen->visual->c_class == TrueColor)
{
- c.pixel = (color.r * (screen->visual->red_mask >> ctz (screen->visual->red_mask ))
- / rgba::MAX_CC) << ctz (screen->visual->red_mask )
- | (color.g * (screen->visual->green_mask >> ctz (screen->visual->green_mask))
- / rgba::MAX_CC) << ctz (screen->visual->green_mask)
- | (color.b * (screen->visual->blue_mask >> ctz (screen->visual->blue_mask ))
- / rgba::MAX_CC) << ctz (screen->visual->blue_mask );
+ c.pixel = (color.r >> (16 - popcount (screen->visual->red_mask )) << ctz (screen->visual->red_mask ))
+ | (color.g >> (16 - popcount (screen->visual->green_mask)) << ctz (screen->visual->green_mask))
+ | (color.b >> (16 - popcount (screen->visual->blue_mask )) << ctz (screen->visual->blue_mask ));
return true;
}