pivot-table: Kluge dropping default 9-point font to make output readable.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 29 Dec 2019 15:53:25 +0000 (15:53 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 29 Dec 2019 15:53:25 +0000 (15:53 +0000)
The default font size for SPV output is normally 9 points, but that
makes the output window hard to read.  This drops that default entirely,
which seems to make the output use a system or Pango default.  This is
probably not the right thing to do--probably we need a way to magnify
the fonts for on-screen display.

This reverts part of commit e3c3fbe8b, which wasn't intended to have a
visible effect but did because it inadvertently introduced a 9-point
default.

Reported by John Darrington.

src/output/pivot-table.c

index 031656227bfe6b05dfa58b3444f73fa6ae7d893d..3d1ccbaa585199206fe2352701118fe1cd17d4ff 100644 (file)
@@ -76,7 +76,6 @@ pivot_area_get_default_style (enum pivot_area area)
       .bold = BOLD,                                             \
       .fg = { [0] = CELL_COLOR_BLACK, [1] = CELL_COLOR_BLACK},  \
       .bg = { [0] = CELL_COLOR_WHITE, [1] = CELL_COLOR_WHITE},  \
-      .size = 9,                                                \
       .typeface = (char *) "Sans Serif",                        \
     },                                                          \
   }