[goffice] Fonts: docs.



commit adfb4bce8dac2c04624b377ccee50f5ed6410076
Author: Morten Welinder <terra gnome org>
Date:   Mon Feb 16 18:42:25 2015 -0500

    Fonts: docs.

 goffice/utils/go-font.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/goffice/utils/go-font.c b/goffice/utils/go-font.c
index 7c61605..2a91e5b 100644
--- a/goffice/utils/go-font.c
+++ b/goffice/utils/go-font.c
@@ -380,6 +380,8 @@ _go_fonts_init (void)
                (GHashFunc)pango_font_description_hash,
                (GEqualFunc)pango_font_description_equal,
                NULL, (GDestroyNotify) go_font_free);
+
+       /* This will become font #0 available through go_font_new_by_index.  */
        font_default = go_font_new_by_desc (
                pango_font_description_from_string ("Sans 8"));
 }


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