diff --git a/examples/cluster.c b/examples/cluster.c index 0c4d9f6..46aa16d 100644 --- a/examples/cluster.c +++ b/examples/cluster.c @@ -60,7 +60,7 @@ static void draw_tachometer(cairo_t *cr, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL); - cairo_set_font_size(cr, 24); + cairo_set_font_size(cr, r * 0.125); cairo_set_source_rgb(cr, 1, 1, 1); cairo_arc(cr, x, y, r, 0, 2*M_PI); @@ -187,7 +187,7 @@ int main(int argc, char **argv) { int screen, width = 1024, - height = 480; + height = 480; XGCValues values = { .foreground = 0x000000,