Skip to content

Commit 65e1c0d

Browse files
author
Josip Habjan
committed
Ghostscript v.9.50+ changes
1 parent 76b27f5 commit 65e1c0d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Diff for: Ghostscript.NET/Viewer/GhostscriptViewerDisplayHandler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public override int Page(IntPtr handle, IntPtr device, int copies, int flush)
147147
{
148148
_viewer.FormatHandler.ShowPagePostScriptCommandInvoked = true;
149149

150-
if (!_viewer.ProgressiveUpdate)
150+
if (!_viewer.ProgressiveUpdate || _viewer.Interpreter.GhostscriptLibrary.Revision > 950)
151151
{
152152
int bytesPerPixel = 3;
153153

Diff for: VERSION-HISTORY

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// This file is part of Ghostscript.NET library
55
// Author: Josip Habjan ([email protected], http://www.linkedin.com/in/habjan)
66
//
7-
// Development files: http://ghostscriptnet.codeplex.com
87
// Development files: https://github.com/jhabjan/Ghostscript.NET
98
//
109
// License: Affero General Public License (AGPL) http://www.gnu.org/licenses/agpl.html
@@ -13,6 +12,10 @@
1312

1413
HISTORY of the Ghostscript.NET library
1514

15+
1.2.3. 2021-03-09
16+
-------------------------
17+
- fixed GhostscriptRasterizer/GhostscriptViewer and Ghostscript v.9.50+ compatibility issues.
18+
1619
1.2.2. 2021-02-04
1720
-------------------------
1821
- fixed Ghostscript 9.26 + (all later versions) compatibility.

0 commit comments

Comments
 (0)