[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 12d84c9 15/15: Fix regression in font sizes u
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 12d84c9 15/15: Fix regression in font sizes used for the group quotes PDF |
Date: |
Fri, 27 Jul 2018 17:23:18 -0400 (EDT) |
branch: master
commit 12d84c915c27cd46c77d89fec707bcb0aa6a5705
Author: Vadim Zeitlin <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Fix regression in font sizes used for the group quotes PDF
The changes of 8ddbdc5a1d3d5122960521e58f34891f08e4c5dd accidentally
changed the font sizes used for the PDF group quotes, which could result
in the table not fitting onto the page any more.
Fix this serious problem by restoring the same sizes that had been used
previously, i.e. 8pt base size and 9pt for the larger (<font size="+1">)
font, instead of 10 and 12 respectively.
---
group_quote_pdf_gen_wx.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/group_quote_pdf_gen_wx.cpp b/group_quote_pdf_gen_wx.cpp
index 95372c9..beb806e 100644
--- a/group_quote_pdf_gen_wx.cpp
+++ b/group_quote_pdf_gen_wx.cpp
@@ -666,7 +666,7 @@ void group_quote_pdf_generator_wx::save(std::string const&
output_filename)
pdf_writer_wx pdf_writer
(output_filename
,wxLANDSCAPE
- ,{7, 8, 10, 12, 14, 17, 20} // Standard HTML font sizes.
+ ,{6, 7, 8, 9, 11, 13, 16} // Standard HTML font sizes for 8pt base.
);
int pos_y = 0;
- [lmi-commits] [lmi] master updated (caaecd8 -> 12d84c9), Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 37e9b0b 01/15: Update to wxWidgets v3.1.1-319-g9daf5bec98 snapshot, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 6465704 04/15: Restore the use of wxDCClipper in PDF table generation code, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master a8d5e26 08/15: Look for image files referenced in templates under data directory, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 005b3eb 06/15: Replace pdf_writer_wx::get_page_height() with get_total_height(), Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 28e3c42 11/15: Remove workarounds for wx 3.1.1 warnings not relevant any more, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master b6b6827 03/15: Do call EndPage() in PDF generation code, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master a86d90a 02/15: Use more recent wxPdfDocument fixing the text origin bug, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 554eb23 13/15: Forbid page breaks inside paragraphs in the illustrations, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 271db22 14/15: Fix over eager assert in pdf_writer_wx::output_html(), Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 12d84c9 15/15: Fix regression in font sizes used for the group quotes PDF,
Greg Chicares <=
- [lmi-commits] [lmi] master 2bd38fa 12/15: Use standard <img> tag instead of <scaled_image> in templates, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 4cfcfe4 07/15: Refactor: remove render_page_template() helper function, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master e821acd 05/15: Require specifying font sizes when using pdf_writer_wx, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master c56a67f 09/15: Implement and use simple HTML output pagination, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master f03ff64 10/15: Merge first two notes pages of regular individual illustrations, Greg Chicares, 2018/07/27