View doesn't scale font when connected via RDP from a high DPI screen

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
GL1zdA
Junior Member
Junior Member
Posts: 15
Joined: 2005-02-07, 17:24 UTC
Location: Poland

View doesn't scale font when connected via RDP from a high DPI screen

Post by *GL1zdA »

I have a slight problem that happens both in 10.52 and the latest 11.00RC2. I often connect to another PC via RDP. The client PC has a 144 DPI (150%) screen and the server has a 96 DPI screen. Everything looks great except for the view window (F3)/panel (Ctrl + Q), this one doesn't scale the font.

If I run TC locally (on the 144 DPI machine), everything is scaled as expected.

I'm attaching a screenshot (not sure why it is marked 18+, it's just a screenshot of TC): https://imgur.com/a/8VasX8v
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: View doesn't scale font when connected via RDP from a high DPI screen

Post by *ghisler(Author) »

The reason is that the used default font SYSTEM_FIXED_FONT is a pixel font which can't be scaled to higher DPI values. I tried other fonts, but none of them looks as good for fixed width characters. What you need to do is open the Lister settings via Options-Configure, and change the default ANSI font to some Truetype or Opentype font. Consolas seems to be the most "OK" font.
Author of Total Commander
https://www.ghisler.com
GL1zdA
Junior Member
Junior Member
Posts: 15
Joined: 2005-02-07, 17:24 UTC
Location: Poland

Re: View doesn't scale font when connected via RDP from a high DPI screen

Post by *GL1zdA »

Actually, I'm using a TrueType font (JetBrains Mono). But for some reason, the size of the font was 6 (when I opened the font chooser via RDP from the 144 DPI display), I don't think I configured it that way.

After reconfiguring it, TC seems to suffix the font with D96 or D144 depending on whether I did it via RDP or on directly on the server, and now it works now as expected.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: View doesn't scale font when connected via RDP from a high DPI screen

Post by *ghisler(Author) »

Yes, the suffix D96 or D144 determines the DPI at which the font size was saved, so TC can adjust the size when the DPI change.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: View doesn't scale font when connected via RDP from a high DPI screen

Post by *ghisler(Author) »

Moderator message

Moved to English forum
Author of Total Commander
https://www.ghisler.com
Post Reply