From: Ramakrishnan Muthukrishnan <ram@leastauthority.com>
Date: Sat, 12 Feb 2022 18:18:12 +0000 (+0530)
Subject: normal font weight only for VFOs
X-Git-Url: https://git.rkrishnan.org/pf/content/%22file:/%22../reliability?a=commitdiff_plain;h=7354e45b735ffd90d1bd3be09c4dcfe40f8ac979;p=pihpsdr.git

normal font weight only for VFOs
---

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);