bug-gnu-pspp
[Top][All Lists]
Advanced

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

PSPP-BUG: [bug #45192] gtk3 / osx - histogram routine has problems when


From: Friedrich Beckmann
Subject: PSPP-BUG: [bug #45192] gtk3 / osx - histogram routine has problems when rendering text.
Date: Fri, 29 May 2015 11:28:37 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.6.3 (KHTML, like Gecko) Version/7.1.6 Safari/537.85.15

Follow-up Comment #1, bug #45192 (project pspp):

With the following change, the test suite runs without errors:

diff --git a/src/output/charts/plot-hist-cairo.c
b/src/output/charts/plot-hist-cairo.c
index 006b392..7e9e157 100644
With the following change, the test suite runs without failures:

--- a/src/output/charts/plot-hist-cairo.c
+++ b/src/output/charts/plot-hist-cairo.c
@@ -113,8 +113,10 @@ hist_draw_bar (cairo_t *cr, const struct xrchart_geometry
*geom,
       decimal_add (&middle, &decupper);
       decimal_int_divide (&middle, 2);
       char *str = decimal_to_string (&middle);
+#if 0
       draw_tick (cr, geom, SCALE_ABSCISSA, bins > 10,
                 x_pos + width / 2.0, "%s", str);
+#endif
       free (str);
     }
 }

So it is related to the histogram label generation.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45192>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]