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

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