I'm trying to use the trio of X11 package Xft, FontConfig, and XRender. In particular, I'm trying to use the function XftColorAllocValue
.
From the single line of documentation, and from successfully using XftColorAllocName
, I infer that the last two values passed to it are an XRenderColor
, specifying the desired values, and an XftColor
, returning the color values allocated as well as the associated pixel in that struct
.
No matter what values I give for ARGB
values in XRenderColor
, the boolean returned by the call is always 1, and the XftColor
values (including those in the embedded XRenderColor
) all set to 0
- that is, it fails, but does set the returned structure values, but to 0
.