From 7354e45b735ffd90d1bd3be09c4dcfe40f8ac979 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Sat, 12 Feb 2022 23:48:12 +0530 Subject: [PATCH] normal font weight only for VFOs --- vfo.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/vfo.c b/vfo.c index 6c646fe..805d399 100644 --- a/vfo.c +++ b/vfo.c @@ -955,7 +955,7 @@ void vfo_update() { cairo_select_font_face(cr, "Cantarell", CAIRO_FONT_SLANT_NORMAL, - CAIRO_FONT_WEIGHT_NORMAL); + CAIRO_FONT_WEIGHT_BOLD); switch(vfo[id].mode) { case modeFMN: @@ -1027,6 +1027,10 @@ void vfo_update() { s=0; // draw VFO A + cairo_select_font_face(cr, "Cantarell", + CAIRO_FONT_SLANT_NORMAL, + CAIRO_FONT_WEIGHT_NORMAL); + sprintf(temp_text,"%0lld.%06lld",af/(long long)1000000,af%(long long)1000000); char **vfo_texts = draw_vfo_val(temp_text, s); @@ -1081,6 +1085,10 @@ void vfo_update() { cairo_set_font_size(cr, 18); cairo_show_text(cr, temp_text); + cairo_select_font_face(cr, "Cantarell", + CAIRO_FONT_SLANT_NORMAL, + CAIRO_FONT_WEIGHT_BOLD); + #ifdef PURESIGNAL if(can_transmit) { cairo_move_to(cr, 130, 50); -- 2.45.2