Hello All !
I tried to get 3D effect with text with Xft fonts.
The way to get it is to draw to x+1 y+1 the character in black color and to
draw again character with foreground color in x,y
In rxvtfont.C
In rxvt_font_xft::draw
at the end
XftDrawRect (d2, &term->pix_colors[bg >= 0 ? bg : Color_bg].c, 0,
0, w, h);
XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep -
enc);
XCopyArea (disp, d2, d, gc, 0, 0, w, h, x, y);
doesn't allow that
XftDrawGlyph use x and y, not XftDrawGlyphSpec (x=0 y=0 per default i
think).
How can i do ?
Sorry for this ugly interest ...
Best regards,
Laurent.
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode