Changed font from Hack to JuliaMono

This commit is contained in:
Bob Polis 2021-08-18 11:31:10 +02:00
parent 3322cc6244
commit 5c699484ab

View File

@ -61,7 +61,7 @@ void Huey::render() {
rgb_oss << ", green: " << std::setw(3) << static_cast<int>(255 * rgb.g);
rgb_oss << ", blue: " << std::setw(3) << static_cast<int>(255 * rgb.b);
cairo_set_source_rgb(_c, 0, 0, 0);
cairo_select_font_face(_c, "Hack", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
cairo_select_font_face(_c, "JuliaMono", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size(_c, 24);
cairo_move_to(_c, 31, 51);
cairo_show_text(_c, hue_oss.str().c_str());