[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-commits] [SCM] GNU PSPP branch, output, updated. v0.6.1-716-g77dc4
From: |
Ben Pfaff |
Subject: |
[Pspp-commits] [SCM] GNU PSPP branch, output, updated. v0.6.1-716-g77dc491 |
Date: |
Thu, 30 Jul 2009 04:20:30 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU PSPP".
The branch, output has been updated
via 77dc491d3b0c1429801ec839e7afab0fbef6a7fc (commit)
via e0c37920bb2cc46ee559e3992470572d4b4d27e6 (commit)
via f8d14d07de8db5ba5aa1377650a69532ff744552 (commit)
from 0a214c1f9ca0132a6bdc36c538a0f77964672847 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 77dc491d3b0c1429801ec839e7afab0fbef6a7fc
Author: Ben Pfaff <address@hidden>
Date: Wed Jul 29 21:19:41 2009 -0700
output: Use Cairo and Pango to draw charts, instead of libplot.
This paves the way for adding support for charts to the PSPPIRE GUI, since
Cairo can render to a window in GTK+ whereas libplot cannot.
I am aware of the following regressions versus the state before this
commit:
1. Alignment of text in charts on the baseline is not properly implemented.
This makes the labels in pie charts look funny.
2. Chart titles are drawn in the same font size as other chart text.
3. Building without Cairo and Pango is broken.
4. The postscript output driver (as opposed to the cairo output driver in
PostScript output mode) no longer supports charts.
I plan to fix #1, #2, and #3. #4 is fixable too, but I don't know whether
it is worth it; I might prefer to delete the postscript output driver
altogether.
commit e0c37920bb2cc46ee559e3992470572d4b4d27e6
Author: Ben Pfaff <address@hidden>
Date: Tue Jul 28 20:20:51 2009 -0700
output: Make chart geometry the responsibility of the output driver.
Currently, with libplot, all charts have the same geometry, because
libplot allows us to reasonably set the dimensions of the drawing area
to the same 1000x1000 size. But cairo will produce strangely scaled
results if we attempt to do the same thing there (distorted font sizes,
etc.). So make the output drivers responsible for setting up the chart
geometry, so that the output drivers can tell the chart drawing routines
the size of the drawing area.
commit f8d14d07de8db5ba5aa1377650a69532ff744552
Author: Ben Pfaff <address@hidden>
Date: Tue Jul 28 06:41:06 2009 -0700
charts: Use numeric colors instead of color names.
Cairo doesn't support color names, so this will ease the transition.
-----------------------------------------------------------------------
Summary of changes:
INSTALL | 20 +-
NEWS | 9 +-
THANKS | 2 -
acinclude.m4 | 36 +---
configure.ac | 49 ++--
doc/configuring.texi | 169 +++++++++++---
lib/automake.mk | 2 +-
src/output/ascii.c | 31 ++--
src/output/automake.mk | 3 -
src/output/cairo.c | 31 ++-
src/output/chart-provider.h | 47 +++--
src/output/chart.c | 171 +++++++-------
src/output/chart.h | 10 +-
src/output/charts/box-whisker.c | 125 +++++------
src/output/charts/cartesian.c | 15 +-
src/output/charts/cartesian.h | 5 +-
src/output/charts/libplot-dummy.c | 232 ------------------
src/output/charts/libplot-dummy.h | 465 -------------------------------------
src/output/charts/np-plot.c | 42 ++--
src/output/charts/piechart.c | 130 ++++-------
src/output/charts/plot-chart.c | 194 ++++++++++++----
src/output/charts/plot-chart.h | 37 ++-
src/output/charts/plot-hist.c | 83 +++----
src/output/html.c | 21 +--
src/output/postscript.c | 73 +------
src/ui/automake.mk | 2 +-
src/ui/gui/automake.mk | 1 +
27 files changed, 668 insertions(+), 1337 deletions(-)
delete mode 100644 src/output/charts/libplot-dummy.c
delete mode 100644 src/output/charts/libplot-dummy.h
hooks/post-receive
--
GNU PSPP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-commits] [SCM] GNU PSPP branch, output, updated. v0.6.1-716-g77dc491,
Ben Pfaff <=