Quantcast
Channel: Ghostscript.NET
Viewing all articles
Browse latest Browse all 393

New Post: Error if there are no parameters on %%BoundingBox:

$
0
0
Get an exception error if there are no parameters on %%BoundingBox:

My next lines are always additional comment blocks.
I changed the code in GhostscriptViewPsFormatHandler.cs

The original code is: (Line 196)
if (llx.Text != "(atend)")

I changed my copy to :
if (llx.Text != "(atend)" && ! llx.Text.StartsWith("%"))

A change should probably done for the previous case statement as well
if (token.Text != "(atend)")

Viewing all articles
Browse latest Browse all 393

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>