You are not logged in.

#1 2005-09-03 16:46:54

staufk
Member
Registered: 2005-08-02
Posts: 4

xclock fail to draw red components of text when using XRENDE

Here are the relevant contents of ~/.Xresources:

xclock*update:          60
xclock*chime:           false
xclock*background:      gray10
xclock*foreground:      gray90
xclock*face:            Georgia-14
xclock*render:          render
xclock*analog:          true
xclock*hourColor:       red
xclock*minuteColor:     white
xclock*strftime:        %A, %B %e, %Y %l:%M %P

Yet xclock draws the string as cyan, not gray90.  Similarly, setting "xclock*foregound: red" results in black text, and foreground:yellow makes green text.  Apparently the red component is always set to 0.  The background shows the proper color.  In analog mode, the hands render as white and red.  xclock has always worked fine, I only noticed this behavior when I enabled fontconfig's auto-hinter.  Disabling the auto-hinter did not solve the problem.  The problem disappears when I set xclock*render:false. Any ideas as to how to fix this?

Offline

Board footer

Powered by FluxBB