• Welcome to the new COTI server. We've moved the Citizens to a new server. Please let us know in the COTI Website issue forum if you find any problems.
  • We, the systems administration staff, apologize for this unexpected outage of the boards. We have resolved the root cause of the problem and there should be no further disruptions.

Traveller Map - PDF Issues

Are you printing in landscape or portrait?

Printing in PDF file format, or something else?

If PDF, which PDF printer driver are you using, and on what OS? Mac? Windows? Linux? Phone?
 
Thanks for providing an image showing what you're seeing.

To be clear, they look fine in the browser? How about the browser's Print Preview? Is it just in your PDF viewer after you've saved/opened the files? What PDF viewing application are you using on Windows? Just the default that ships with the OS?

I don't see the issue when printing to PDF from Chrome on MacOS and viewing the output in the Preview app.

Regardless... I have a couple of ideas for how to maybe fix. I've pushed an initial attempt to the site (reload the make/booklet page to make sure you get it). If that doesn't work I'll tweak the SVG generation to force a clip region and see if that takes.
 
I am using Win10 with Brave browser and CutePDF as my printer. I will try the built-in Microsoft one.

ADDED:
Ok. The Microsoft default PDF printer driver blew apart the colored borders. First time ever using that PDF driver. My CutePDF is probably 10 years old, and has not failed me.
 
Hi again

It appears to be doing it in preview mode regardless of what print driver is selected. PDF or HP Deskjet, gives the same.
 
I was unable to reproduce with Chrome, Firefox, or Edge on Win 10 (using Browserstack).

Regardless, I pushed a speculative fix for the SVG generation. Please give it another try.
 
So, now tried on 2 seperate PC's. Both running Win 10, both with latest versions of IE, EDGE, Firefox and Chrome.

Each time, it goes squiffy with the borders. Not the same on each though. Might be on the first page on one browser, but 2nd or 3rd on another. Firefox struggles with the hex outlines too.

Have tried with different print drivers too. Same result.

Don't worry too much. It may just be me and if it works for others then don't start changing code etc.
 
You may also want to try other PDF viewer/printers: The Windows PDF printer, as noted, sometimes has issues as well as producing really large PDFs when it works. I use Foxit and Nitro, although lately Foxit has been having issues and Nitro seems more stable depending on the PDF (I get some large layered PDFs and Nitro seems to be the only one that handles it well). I have had issues w/printing PDFs from Win10 and Edge at times.

While at work I use Adobe's full PDF Suite which is really nice, but they pay for that. The aforementioned ones are free.
 
Hey

I dont think the issue is with PDF Creation as the problem occurs when previewing and I have a Deskjet set as default.

I'll download a couple of different PDF tools to see what comes out different.
 
Quite unusual. The site isn't generating PDFs, just images (in SVG format). It's the browser that's generating the PDF by "printing" the HTML/SVG to a file. Somehow, despite having entirely different code, all the browsers are producing output that on your system gets previewed strangely.

Can you share one of the PDFs so we can try previewing it on our systems?

(Technical details: the SVG images do have borders and hex lines and labels that extend past the bounds of the image. These should be clipped both by the browser - images shouldn't leak - and the explicit clipping box present in the SVG data. Clipping is a fundamental part of graphics processing; it's really bizarre that this would be getting dropped somewhere in the SVG to PDF/PostScript conversion pathway, just on your system and just for the borders, and not deterministically.)
 
Yep.

Chrome, Firefox, IE and Edge. All with Similar results. Firefox being the worst.

Tried on two machines, both on Latest Win 10. One Tower and one is Surface book. Tried with different resolutions.
 
Hey

I dont think the issue is with PDF Creation as the problem occurs when previewing and I have a Deskjet set as default.

I'll download a couple of different PDF tools to see what comes out different.

Those tools usually include PDF printer drivers so you can print to PDF from the browser. So you could print using the Nitro, Foxit or other PDF printer driver.

Here at work the default to save to PDF works just fine (we are running Macs which have their own interesting interpretations of PDFs, including ignoring passwords in preview mode at times...)

Now to move my TravellerMap PDF to one of my personal online drives...
 
Still puzzling over this. I hate bugs that I couldn’t make happen if I tried.

You’re not by any chance saving the HTML files before printing them, are you?

Also, I’ve seen similar bug reports online for other SVG/printing issues ignoring clipping. It’s just weird it’s not consistent. :(
 
I can make a YouTube vid showing step by step how to re-create the bug.

Please do!

Being able to reproduce a bug is the most critical step in fixing it.

Hold the phone!/

I just reproduced the bug locally. Not what, if anything, changed. Grrrr. Ah well. At least there's a lead.

Minimized the repro and filed a bug against Chrome at least. Definitely a browser bug, no idea if there's a good workaround.
 
Last edited:
Back
Top