jhelvy / splitKbCompare

An interactive tool for comparing layouts of different split mechanical keyboards
https://jhelvy.github.io/splitKbCompare/
MIT License
264 stars 29 forks source link

Bug: Print is always 96% #94

Open heynest opened 1 year ago

heynest commented 1 year ago

Hi, nice tool!

I noticed that printing from Mozilla Firefox (version 105.0.3 64-Bit) or Google Chrome (Version 106.0.5249.119 64-Bit) on Windows 10 will never print at 100% the picture will be aprrox. 96.6%-

IMG_20221015_162149~2

I checked all options of the browser + system print dialog (Samsung CLP-360). It does not matter what keyboard I print.

Please check if you can reproduce

jhelvy commented 1 year ago

Well, I really don't know what's going on. I just printed this out on a mac using Chrome and I'm off by what looks like a different amount. I haven't checked the scaling in a long time, so there are a number of possible reasons for this. I doubt it has to do with the browser or OS though. The images are all png files that are rendered to a PDF through R (it's a shiny app). So all of that part is being done on the shiny server.

PXL_20221015_163345282