From: Ramakrishnan Muthukrishnan <ram@leastauthority.com>
Date: Sat, 12 Feb 2022 18:18:55 +0000 (+0530)
Subject: normal weight only for vfo A
X-Git-Url: https://git.rkrishnan.org/simplejson/components/%22file:/%22doc.html/install-details.html?a=commitdiff_plain;h=6e6dea7076e1e6654e0034dda7e3a8d29f6b778f;p=pihpsdr.git

normal weight only for vfo A
---

diff --git a/vfo.c b/vfo.c
index 805d399..7e3d409 100644
--- a/vfo.c
+++ b/vfo.c
@@ -1059,6 +1059,10 @@ void vfo_update() {
         cairo_set_source_rgb(cr, 0.0, 1.0, 0.0);
         cairo_show_text(cr, vfo_texts[2]);
 
+        cairo_select_font_face(cr, "Cantarell",
+                               CAIRO_FONT_SLANT_NORMAL,
+                               CAIRO_FONT_WEIGHT_BOLD);
+
         // free the memory
         free(vfo_texts[0]);
         free(vfo_texts[1]);
@@ -1085,10 +1089,6 @@ 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);