GithubHelp home page GithubHelp logo

Comments (9)

jhabjan avatar jhabjan commented on June 24, 2024 4

Fixed in today's v.1.2.2. release.

from ghostscript.net.

JeffOkaki avatar JeffOkaki commented on June 24, 2024 1

Still a problem and a huge waste of time. Ill try and get a fix submitted. Using GS 9.26 or commenting out the code below works

Ghostscript.NET\Ghostscript.NET\Viewer\FormatHandlers
GhostscriptViewerPdfFormatHandler.cs line 85 through 89

GS_PDF_ProcSet' and 'pdfdict' are private as of GS 9.27

        // open PDF support dictionaries
       // this.Execute(@"
         //       GS_PDF_ProcSet begin
          //      pdfdict begin");

mgieseki/dvisvgm@bc51951

seems to have already fixed it in their product.

from ghostscript.net.

voltaek avatar voltaek commented on June 24, 2024

We ran into the same issue, where v9.26 works fine, but v9.27 never finds any pages. We're using a 32 bit compiled version on .NET Framework 4 for building a Windows service.

I suspect that the "tidying" of the Postscript namespace done in v9.27 may be to blame here. See their changelog entry, specifically the "Incompatible changes" section, for more info.

from ghostscript.net.

brianarch82 avatar brianarch82 commented on June 24, 2024

I encountered a similar problem as well. Commenting out the code below seemed to fix the problem. I don't know anything about GhostScript / Postscript otherwise I would try to fix it.

// open PDF support dictionaries
//this.Execute(@"
// GS_PDF_ProcSet begin
// pdfdict begin");

Please find the changelogs below.

2019-03-19 09:25:48 -0700
Ray Johnston [email protected]
ebbb3ec7d20b5f4c444eb11fc9835e07229ccbd9

Fix lib/pdf2dsc.ps to use documented Ghostscript pdf procedures.

We eliminated GS_PDF_ProcSet and pdfdict, but runpdfbegin, dopdfpages,
and runpdfend are still available.

lib/pdf2dsc.ps

from ghostscript.net.

tareq2 avatar tareq2 commented on June 24, 2024

The same problem. Is there any fix ?

from ghostscript.net.

deremakif avatar deremakif commented on June 24, 2024

Still same problem!

from ghostscript.net.

epinox avatar epinox commented on June 24, 2024

I have a similar problem. I wanted to use the viewer to display a PDF in a form. The events "DisplayUpdate" and "DisplayPage" are not called, only "DisplaySize". It does not work with version 9.52, only up to version 9.26.

from ghostscript.net.

thienquang07 avatar thienquang07 commented on June 24, 2024

same problem here on Ghostscript version 9.52

from ghostscript.net.

thienquang07 avatar thienquang07 commented on June 24, 2024

just went back to version 9.26 and it worked fine.

from ghostscript.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.