Ok so basically, can we somehow get anti-aliasing in the awesome window manager?
The fonts look amazing and everything but it would be really nice to have anti-aliasing applied to regular widgets in awesome. Anti-aliased round-cornered titlebars would be amazing. Also the other shapes applied to widgets like gears.shape.rounded_rect
or gears.shape.circle
. Or all of the others that have rounded anything.
Is it even possible? I searched for cairo and anti aliasing and I barely found anything and even the people that said something said that it's really hard or just not possible to get really good anti aliasing in cairo.
Also, I looked through an old copy of the awesome-wm repository and at some point I found this in the draw.c
file:
draw_rectangle_gradient(draw_context_t *ctx, area_t geometry, float line_width, bool filled,
vector_t gradient_vector, const color_t *pcolor,
const color_t *pcolor_center, const color_t *pcolor_end)
{
cairo_pattern_t *pat;
cairo_set_antialias(ctx->cr, CAIRO_ANTIALIAS_NONE);
cairo_set_line_width(ctx->cr, line_width);
cairo_set_miter_limit(ctx->cr, 10.0);
cairo_set_line_join(ctx->cr, CAIRO_LINE_JOIN_MITER);
Now in the current repository I was not able to find anything like this, so my question is "can we users do something to make the rounded shapes in awesome be anti-aliased?"
EDIT: If there is not an easy way, could you direct me into what the changes required would be to make this work?