From 4461064e08f0cff17d9ce340ba606c1212b531a7 Mon Sep 17 00:00:00 2001
From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Tue, 14 Nov 2023 22:39:21 +0530
Subject: [PATCH] a few more font size magic numbers

---
 screen.h | 3 ++-
 vfo.c    | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/screen.h b/screen.h
index 6b82cc9..c61c49c 100644
--- a/screen.h
+++ b/screen.h
@@ -60,7 +60,8 @@
 #define  XIT_RENDER_FONT_SIZE       (16)
 #define  NB_RENDER_FONT_SIZE        (16)
 #define  NR_RENDER_FONT_SIZE        (16)
-
+#define  DUP_RENDER_FONT_SIZE       (16)
+#define  SPLIT_RENDER_FONT_SIZE     (16)
 // coordinates
 
 #define  MODE_X     70
diff --git a/vfo.c b/vfo.c
index 5805049..9d9956c 100644
--- a/vfo.c
+++ b/vfo.c
@@ -1316,7 +1316,7 @@ void vfo_update(void) {
         } else {
             cairo_set_source_rgb(cr, GREY_R, GREY_G, GREY_B);
         }
-        cairo_set_font_size(cr, 16);
+        cairo_set_font_size(cr, SPLIT_RENDER_FONT_SIZE);
         cairo_show_text(cr, "SPLIT");
 
         cairo_move_to(cr, CTUN_X, CTUN_Y);
@@ -1345,7 +1345,7 @@ void vfo_update(void) {
         }
         sprintf(temp_text, "DUP");
         cairo_move_to(cr, DUP_X, DUP_Y);
-        cairo_set_font_size(cr, 16);
+        cairo_set_font_size(cr, DUP_RENDER_FONT_SIZE);
         cairo_show_text(cr, temp_text);
 
         cairo_destroy(cr);
-- 
2.45.2