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

Printing is super tiny... #25

Open
ihateu3 opened this issue May 26, 2023 · 5 comments
Open

Printing is super tiny... #25

ihateu3 opened this issue May 26, 2023 · 5 comments

Comments

@ihateu3
Copy link

ihateu3 commented May 26, 2023

I forgot about this bug. Whenever I go to print something the print text is so tiny that it is not even legible. You can see this even in the print preview. Does anyone know a workaround???
Screenshot

@u-235
Copy link
Collaborator

u-235 commented May 27, 2023

It looks as if the program set the font size in pixels and the printer has a high DPI. But the program sets the font size in points. There is a possibility that the font size could be set in pixels when activating the Qt theme or running the program with the styles specified.

  • Does the problem stay when choosing a different printer or when printing to a file?
  • No such problem in other programs?

@ihateu3
Copy link
Author

ihateu3 commented May 30, 2023

The problem does still exist when trying another printer. There are no such problems with other programs. This should be easily replicable by trying it on your end, you can see right away in the print preview that the text is extremely small before even sending the print job.

@u-235
Copy link
Collaborator

u-235 commented May 30, 2023

I found the reason for this behavior. Windows uses several bitmapped fonts such as Courier, MS Sans Serif, MS Serif. These fonts look fine on the screen, but they are not scaled when printed. Perhaps this can be fixed somehow, but for now it is easier to use Courier New.

@ihateu3
Copy link
Author

ihateu3 commented May 30, 2023

Yes your workaround does work! If you do happen to fix the issue could you also add the option to print the code in black? Now that I am able to use your work around, I realize that it is printing in the colors I have set in EdytorNC, and the white text on a black background prints as white text on paper, so basically it just doesn't print the white text.

I wouldn't mind it printing in the color text, if you could somehow find a way for white text to print.

@u-235
Copy link
Collaborator

u-235 commented May 30, 2023

#26 - I opened the issue with your suggestions.

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

No branches or pull requests

2 participants