Valentyna, and anyone else affected, could you attach a sample djvu file
and also instructions how you print the djvu file, so that we can
reproduce the problem and perhaps improve the patch somewhat? This is
especially important as we want to carry on the CUPS filters when CUPS
will not use PPD files any more.

As the Ghostscript call you are modifying does not more than counting
the pages (there is another one for the actual rasterization) could you
also try to modify the patch by not calling cupsRasterInterpretPPD() for
extracting the default page size from the PPD and instead, simply insert
arbitrary height and width, like "-dDEVICEWIDTHPOINTS=612
-dDEVICEHEIGHTPOINTS=792"? This would allow you to remove the "if (ppd)"
and so your fix would also work for using the filter without PPD.

Could you try this out? Do you still get fast execution and correct page
counts (= filter outputs all pages)?

** Changed in: cups-filters (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920730

Title:
  gstoraster: Ghostscript runs to long while converting djvu files to
  Xerox`s 3210  format

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1920730/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to