Installation:
- Windows Server 2008 R2
- Remote Desktop Service role
When I logon locally my command window (cmd.exe) displays with default font that is 8x12. But when I logon remotely and open command window, it opens with the smallest possible font selection. Opening window properties and setting font size, the default 8x12 font is missing from the list.
What should I do to get this font back in the list?
Following screenshots show settings when logged on locally and remotely. Local machine is not Aero capable, but remotely I can have Aero environment. I've also tried setting it to basic, but there was no change.
Interesting issue - this answer is just an attempt to encircle it rather than an immediate solution:
Section How Windows NT Matches Fonts within Chapter 8 - Fonts of the MS Windows NT Workstation 4.0 Resource Guide qualifies the
Terminal
font in question as Raster, fixed, display-dependent size, other than for example theMS Sans Serif
font, which is qualified as Raster, proportional, 8, 10, 12, 14, 18, 24 (not to speak of the TrueType fonts, which are all scalable of course).Unfortunately I have been unable to surface any particular font matching algorithm, still a quote from the almost ancient Windows 95 Printing and Fonts: The Basics might add to the picture, see section Fonts Provided for Compatibility:
Consequently I suspect the particular font size missing due to non matching characteristics of your remote desktop clients display capabilities, though admittedly this would be quite surprising giving all the other width/height pixel tuples available. Still the fact that the font is missing in
PowerShell
console too (as per comments to r0cas answer) would back this being a system wide font matching effect rather than an issue of any particular program likecmd.exe
.In case Windows font matching would indeed be causing this as suspected above, you might simply be unable to solve this. Eventually changing your clients display resolution and/or DPI settings could make a difference here though; whether this would be an option at all depends on your particular environment and requirements of course.
Problem solution found !!! Change "System Locale" = Language for non - Unicode programs to US English and reboot. And then 8 x 12 font available again !
Radek, Your solution don't resolve this problem. If your language is different from the U.S. you don't have diacritics in console aplications after change system locale.
We had the same problem with missing raster fonts 8x12 in Windows 2008 Terminal Server sessions. I resolve this after install converted raster fonts to unicode Trutype fonts from this site: http://www.yohng.com/software/terminalvector.html
Enjoy!
Adding property
Terminal
with valueapp852.fon
to registry keyHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
helped me.Try to set the properties of Screen Buffer 80x420 and Window Size 80x25. This is the default setting of fonts 8x12.
Let me know...
This is something of a wild guess, but I wonder if this is related to the remote desktop font smoothing feature. You could try changing the RDC font smoothing setting. Within RDC, select Options -> Experience, then change the Font smoothing setting and try connecting again.
Maybe that font is missing on the machine you're logging in remotely from. I think, by default, the windows command line uses font files (*.fon) for each specific size listed in the command prompt properties pane, instead of using normal TrueType fonts (*.ttf). Look in your fonts directory, you should be able to see them. I'm on windows 7 right now, so i can't look at this moment.
Something I often see is when RDPing into a machine, the locale of the the machine used to initiate the session is used - and if the remote machine misses that locale, things can mess up quickly... though in this case it seems completely implausible that the 12x8 version of the font is missing some of the characters needed on the initiating machine's locale - but it was my first thought so I thought I'd share it ^^
Have you tried RDPing into it from another machine than the one you're experiencing the problem from? RDP accelerates a lot of stuff at the client.
I did
sfc /scannow
in elevated CMD prompt (as I read somewhere else). It found no errors, but after I rebooted Windows 7, the 8x12 size came back.