[gnumeric] add documentation comment to get_font



commit fa75eaa15e9853200a1e65baa19b689f4d2820ec
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Fri Aug 9 13:20:07 2013 -0600

    add documentation comment to get_font

 src/sheet-object-widget.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/sheet-object-widget.c b/src/sheet-object-widget.c
index ecfbf8b..6d72bc8 100644
--- a/src/sheet-object-widget.c
+++ b/src/sheet-object-widget.c
@@ -581,6 +581,11 @@ sheet_widget_frame_user_config (SheetObject *so, SheetControl *sc)
 static PangoFontDescription *
 get_font (void)
 {
+       /* Note: Under gnumeric, we appear to get a proper font using */
+       /*       GtkStyleContext. Under ssconvert, some seem to get a */
+       /*       proper font using GtkStyleContext, some don't. Those */
+       /*       get one using the Gsettings. The 'sans 10' is just   */
+       /*       insurance */
        PangoFontDescription *desc;
 
        GtkStyleContext *style = gtk_style_context_new ();


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