chundongwang / superputty

Automatically exported from code.google.com/p/superputty
MIT License
0 stars 0 forks source link

On High Resolution Screen Putty Font Size Is Huge #427

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a laptop with a high res display (lenovo yoga 2 pro) 3200x1800
2. Open SuperPutty
3. Open an SSH session

What is the expected output? What do you see instead? The font size should be 
10pt, it is some randomly large font.  Simply going to the settings of Putty 
and just hitting apply fixes it.  You don't actually have to change anything, 
just simply hit apply.

What version of the product are you using? On what operating system? I am usig 
version 1.4.0.4.

Please provide any additional information below. I am running windows 8.1 
enterprise.

Original issue reported on code.google.com by emel...@gmail.com on 6 May 2014 at 2:02

GoogleCodeExporter commented 9 years ago
Hi,

I was able to work around this issue. Open putty, create a new session, modify 
the font size. On your super putty edit the connections and under Putty profile 
select the session that has the small font size.

For me courier with 5 size works great!

It's a pretty way as well if you want to modify the font color

Original comment by n.kallik...@gmail.com on 26 May 2014 at 6:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
That works - but the program is still broken...if after opening the session, 
simply right click the tab and go to 'change settings' and do nothing other 
than click 'apply' it actually changes the font to size 5...whatever SuperPuTTY 
is doing as a default behavior on a hi-res screen is not correct.  It basically 
doubles the size of the font.  The work around is fine as long as you make no 
changes to the PuTTY session after the fact and hit the 'apply' button.  This 
bug should be easy enough to fix if the right person works on it...

Original comment by emel...@gmail.com on 27 Aug 2014 at 1:04

GoogleCodeExporter commented 9 years ago
I'm having issues with this too on a retina macbook. HUGE font

Original comment by deviants...@gmail.com on 27 Aug 2014 at 9:20

GoogleCodeExporter commented 9 years ago
Short answer: The best solution I have is on Windows, right-click on 
SuperPutty.exe, go to the Compatibility tab, and disable DPI awareness.  
SuperPutty will look a little ugly when you do this though.

Longer answer: I spent many hours looking into this, tracing and editing the 
source code for SuperPutty, Putty, and competitors to SuperPutty to try to 
figure out what is going wrong and how to fix it.  Using Procmon (API calls) 
and Spy++ (window messages) to debug.  Implementing code from Stackoverflow.  I 
was unable fix.  Good luck to the next lost soul that attempts this. And please 
tell me how on earth you fixed it if you do.

Original comment by 0xdabba...@gmail.com on 29 Dec 2014 at 6:30