Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codes on print do not work b/c wrong scaling #60

Open
ziggystar opened this issue Dec 11, 2022 · 1 comment
Open

Codes on print do not work b/c wrong scaling #60

ziggystar opened this issue Dec 11, 2022 · 1 comment

Comments

@ziggystar
Copy link

ziggystar commented Dec 11, 2022

I printed the codes on my printer and they did not work. They also looked off.

The following code made the codes work, but the page layout is a bit broken because some code images are too small.

I changed this css

.img-24mm {
  max-width: 138px !important;
  min-width: 138px !important;
  max-height: 138px !important;
  min-height: 138px !important;
}

to the one given below. This looks more correct to me. The big question is why the size was specified in points. There might be a reason to this.

.img-24mm {
  max-width: 24mm !important;
  min-width: 24mm !important;
  max-height: 24mm !important;
  min-height: 24mm !important;
}
@thawn
Copy link
Owner

thawn commented Dec 11, 2022

@ziggystar thanks a lot for reporting this!

I remember that I spent quite a lot of time on trying to get the images to print correctly. The difficulty is to make printing work not only on one platform (I guess linux in your case), but on linux, windows and mac. I don't remember, what exactly I tried, though, so trying your solution again on windows and mac seems worthwhile. I cannot promise when I will have the time, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants