animationqert.blogg.se

Macghostview
Macghostview




  1. #Macghostview pdf
  2. #Macghostview mac
  3. #Macghostview windows

I added lots of debugging printouts and played with MacsBug a bunch, and had almost given up and assumed that it was running out of memory. This morning finally figured out that if I compiled it with MuPDF's NO_ICC flag (disabling color profiles) it would run without crashing. The biggest problem was that it was crashing on every run. I won't exclude the possibility of rendering with color QuickDraw some day.Īmong the stumbling blocks were Retro68's use of HOpenDF for opening files, which I think might only work in System 7  I switched it to HOpen and it works fine (I'll probably report this on Retro68's Github page once I'm sure of what's going on). The use of the super-modern GCC 7.2.0 in Retro68 was ironically also a problem, since some of MuPDF's 3rd party dependencies required some modifications in order to compile. I'll find out more about that when I start trying to implement a QuickDraw renderer. MuPDF also seems to have a notion of 1-bit indexed color table rendering, which would match our 1-bit screens, while it is currently rendered in RGB color, which must add some overhead.

macghostview

I've done everything I can to optimize the memory footprint, so maybe I can dial some of that back and get faster rendering instead. The running time, however, might be way too slow. It seems to render a fairly complex black and white page with just 1MB of memory. Once I get something useful or interesting working, I'll post it to Github and start a thread in "Hacks & Development".

#Macghostview pdf

I'll try rasterizing them to B&W PICTs, and see if I can find an image viewer with scrolling and zooming that work well enough to function as a reader.Īfter lots and lots of fiddling, I was finally able to get MuPDF to compile with Retro68 and successfully (I think) render a PDF to an ASCII table (a 153x198 PPM) in Mini vMac with System 6.0.8. Maybe I could find Distiller 1.0 but I assume it would be even more picky about the PS input.Īnyway, I'm giving up for the moment. No idea which PDF version this might output if I could get it to work.

macghostview

It seems to read and process the Postscript file, but then says the output is empty, and does not output a PDF. I tried converting the PS to PDF using Acrobat Distiller 2.1 in MacOS 8. Note that this downgraded copy of the PDF displays fine in modern viewers (Preview.app). This is in Mini vMac with System 7.5.5, by the way. (19)" It does display the correct number of pages (six), all blank, and repeats the error if I scroll around. I converted my test PDF through PS and then to version 1.2 with ps2pdf, and Acrobat Reader 1.0 gives the same error as with the original document: "An error occurred while processing page resources.

macghostview

The ghostscript package on Ubuntu has a program called ps2pdf which can convert a Postscript file to PDF versions 1.2, 1.3, and 1.4. PDFs come in different versions it seems that the usual version today is 1.4, but Acrobat Reader 1.0 uses PDF version 1.0. I've made a few efforts with downgraded PDFs, none successful. I figure I'll note them here in case anyone else goes down this path.Īcrobat Reader 1.0 is the only version that seems to run on these machines. In any case, it seems to me that memory requirements are at least in the right ballpark for running on one of these machines.

#Macghostview windows

They also have OpenGL and MS Windows front-ends, so it seems fairly portable. I'm not sure if anything might be done to reduce MuPDF's requirements, for example rendering to B&W without antialiasing rather than greyscale, and drawing with QuickDraw rather than whatever MuPDF is using in this X Windows version. MuPDF is described as a very lightweight PDF library. The total memory usage seems to range from 6 to 8 MB.

macghostview

In order to get an idea of how much memory a PDF renderer might require, I tried running an open source viewer called MuPDF under valgrind's "massif" tool in Linux. It could be that these memory limitations don't really allow PDF rendering.

#Macghostview mac

Would be nice to use my classic Mac as a reader! Does anyone know of a program that works well? My PDFs are a few pages of black and white text, with a couple of graphs and diagrams. MacGhostView 3.2, the only version I can find, seems to require 8MB of memory. I've tried various versions of Acrobat Reader from 1.0 up through 4 the older ones display unhelpful errors when trying to load any of my PDFs, and the newer ones require an '020. Hello. I'm trying to find a PDF viewer that works in System 6 or 7, preferably on a 4MB 68000 machine (Plus or SE).






Macghostview