From 07f40bd25442f25c0af948ae1b0dac7fdff1688c Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 12 Feb 2021 03:44:12 -0500 Subject: QUtil::double_to_string: trim trailing zeroes with option to disable --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 169be4f7..ec8fe4bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2021-02-12 Jay Berkenbilt + + * QUtil::double_to_string: trim trailing zeroes by default, and + add option to not trim trailing zeroes. This causes a syntactic + but semantically preserving change in output when doubles are + converted to strings. The library uses double_to_string in only a + few places. In practice, output will be different (trailing zeroes + removed) in code that creates form XObjects (mostly generation of + appearance streams for form fields as well as overlay and + underlay) and in the flatten rotation code that was added in qpdf + 10.1. + 2021-02-10 Jay Berkenbilt * Require a C++-14 compiler. -- cgit v1.2.3-54-g00ecf