]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
normal weight only for vfo A
authorRamakrishnan Muthukrishnan <ram@leastauthority.com>
Sat, 12 Feb 2022 18:18:55 +0000 (23:48 +0530)
committerRamakrishnan Muthukrishnan <ram@leastauthority.com>
Sat, 12 Feb 2022 18:18:55 +0000 (23:48 +0530)
vfo.c

diff --git a/vfo.c b/vfo.c
index 805d399363905690784bf13679b7293d81f7d5ff..7e3d409a62ef27029aee18bd6976a19ba1049dd4 100644 (file)
--- 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);