From 2a54e9c632c2331f07ba8b9cc6da97b05693877f Mon Sep 17 00:00:00 2001 From: Rich Date: Tue, 21 May 2013 15:37:50 +0000 Subject: [PATCH] If there is no compare PDF file, treat compare as if it were being done against 32-Bit. This keeps the output the same as output without compare. When compare is being done with 16-Bit output, special word-wrap logic sometimes removes the last character of a paragraph so that the 16-Bit output more closely matches the 32-Bit output/ --- PROMS/Volian.Svg.Library/iTextSharp.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Svg.Library/iTextSharp.cs b/PROMS/Volian.Svg.Library/iTextSharp.cs index 93284233..8ce39fbb 100644 --- a/PROMS/Volian.Svg.Library/iTextSharp.cs +++ b/PROMS/Volian.Svg.Library/iTextSharp.cs @@ -941,7 +941,8 @@ namespace Volian.Svg.Library { get { - if (BackgroundReader == null) return false; + // If no background treat as if it were created with 32 Bit PROMS + if (BackgroundReader == null) return true; return BackgroundReader.Info["Producer"].ToString().StartsWith("iTextSharp"); } }