Printing from Editor/Command Window uses huge font
10 views (last 30 days)
Show older comments
When I print from either the editor or command window - including printing to a pdf - the text size is greatly enlarged and stretched horizontally slightly. Additionally, when I copy and paste text into an external text editor, it pastes in a much larger (size 25) font.
I suspect the problem originates from my ultra high-res screen (3200x1800). I had previously downloaded the workaround patch for Bug Report ID 1054442.
Within page setup under the print menu, I have tried both using the editor font and a custom font. Using a custom font with a font size of 2 prints a reasonable size, but the text is again stretched horizontally.
Has anyone else experienced this issue?
0 Comments
Answers (3)
Usha Duddu
on 31 Jul 2015
Hi Daniel
It is my understanding that when you print from either editor or command window, the size of the text is enlarged. The issue is due to ultra high resolution monitor. Solution:
1. Run 'toggleHighDPISupport.p' instead of 'toggleHighDPISupport.m' file file from the bug report.
2. After the execution of that file, check if output is 'High DPI support is now on'.
3. Restart MATLAB for changes to take effect.
4.Execute the following 2 commands to check the High DPI support settings
>> s = Settings;
>> s.matlab.desktop.HighDPISupport
Hope this resolves your issue.
-Usha
0 Comments
Roy Hogan
on 10 Feb 2022
I am running 2019b (windows 10) on a 3840x2160 monitor and when I print from the editor, the fonts are huge. I have tried adjusting the settings options found by "right-clicking" on the executable file. Nothing I have found in the string of responses above that has solved the issue. It will likely be something simple, but I'm at a dead-end now. Any suggestions... Thank you for your help!
0 Comments
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!