lmi-commits
[Top][All Lists]
Advanced

[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;



reply via email to

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