[gnome-builder] minimap: use bold font for minimap



commit 8045322f5c5500fea467266c0054d046996cb421
Author: Christian Hergert <christian hergert me>
Date:   Fri Apr 24 23:21:09 2015 -0700

    minimap: use bold font for minimap
    
    I've tried out some alternative fonts such as Redacted and BLOKK, but they
    don't give much insight to the content. Just using a bold weight seems
    to improve things a bit.

 libide/ide-source-map.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libide/ide-source-map.c b/libide/ide-source-map.c
index a07f562..773d9ac 100644
--- a/libide/ide-source-map.c
+++ b/libide/ide-source-map.c
@@ -246,6 +246,7 @@ transform_font_desc (GBinding     *binding,
     {
       copy = pango_font_description_copy (font_desc);
       pango_font_description_set_size (copy, PANGO_SCALE);
+      pango_font_description_set_weight (copy, PANGO_WEIGHT_BOLD);
     }
 
   g_value_take_boxed (to_value, copy);


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