[gnome-tetravex] Change font id.



commit 5b7f7383aa09de288f99c8cdcb2dd4241a8be94f
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Oct 15 20:03:41 2019 +0200

    Change font id.
    
    Might help for #8.

 src/theme-extrusion.vala | 2 +-
 src/theme-neoretro.vala  | 2 +-
 src/theme-nostalgia.vala | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/theme-extrusion.vala b/src/theme-extrusion.vala
index 17ce04f..f7df612 100644
--- a/src/theme-extrusion.vala
+++ b/src/theme-extrusion.vala
@@ -294,7 +294,7 @@ private class ExtrusionTheme : Theme
         else
             draw_tile_background (context, tile_colors_h [tile.north], tile_colors_v [tile.east], 
tile_colors_h [tile.south], tile_colors_v [tile.west]);
 
-        context.select_font_face ("Sans", Cairo.FontSlant.NORMAL, Cairo.FontWeight.BOLD);
+        context.select_font_face ("sans-serif", Cairo.FontSlant.NORMAL, Cairo.FontWeight.BOLD);
         context.set_font_size (font_size);
         draw_number (context, text_colors [tile.north], half_tile_size, north_number_y_extruded, tile.north);
         draw_number (context, text_colors [tile.south], half_tile_size, south_number_y_extruded, tile.south);
diff --git a/src/theme-neoretro.vala b/src/theme-neoretro.vala
index 1900122..be7d131 100644
--- a/src/theme-neoretro.vala
+++ b/src/theme-neoretro.vala
@@ -355,7 +355,7 @@ private class NeoRetroTheme : Theme
             draw_tile_background (context, tile_colors_h [tile.north], tile_colors_v [tile.east], 
tile_colors_h [tile.south], tile_colors_v [tile.west]);
         }
 
-        context.select_font_face ("Sans", Cairo.FontSlant.NORMAL, Cairo.FontWeight.BOLD);
+        context.select_font_face ("sans-serif", Cairo.FontSlant.NORMAL, Cairo.FontWeight.BOLD);
         context.set_font_size (font_size);
         draw_number (context, text_colors [tile.north], half_tile_size, north_number_y, tile.north);
         draw_number (context, text_colors [tile.south], half_tile_size, south_number_y, tile.south);
diff --git a/src/theme-nostalgia.vala b/src/theme-nostalgia.vala
index 4d71977..2a43e1b 100644
--- a/src/theme-nostalgia.vala
+++ b/src/theme-nostalgia.vala
@@ -306,7 +306,7 @@ private class NostalgiaTheme : Theme
     {
         draw_tile_background (context, tile_colors [tile.north], tile_colors [tile.east], tile_colors 
[tile.south], tile_colors [tile.west]);
 
-        context.select_font_face ("Sans", Cairo.FontSlant.NORMAL, Cairo.FontWeight.BOLD);
+        context.select_font_face ("sans-serif", Cairo.FontSlant.NORMAL, Cairo.FontWeight.BOLD);
         context.set_font_size (font_size);
         draw_number (context, text_colors [tile.north], half_tile_size, north_number_y, tile.north);
         draw_number (context, text_colors [tile.south], half_tile_size, south_number_y, tile.south);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]