Starting PowerShell from command prompt changes font

Vasiliy Olekhov 1 Reputation point
2022-02-11T06:14:01.353+00:00

Hello.
I have set my default font for command prompt as Consolas
When I run powershell from that command prompt the font is changed to Fixedsys (raster).

Is there any option to disable this behavior ?

Here is screencast how it looks like:
https://www.youtube.com/watch?v=yUb3YqS8IPM

Windows for business Windows Server User experience PowerShell
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Rich Matheisen 47,901 Reputation points
    2022-02-11T20:13:58.127+00:00

    That doesn't happen when I try it. Is there anything in your PowerShell profile that changes the font?

    0 comments No comments

  2. Vasiliy Olekhov 1 Reputation point
    2022-02-11T20:30:28.987+00:00

    This is fresh install of Windows 10 LTSC 2021.
    I have checked other settings and discovered following.
    In language settings I have set Russian locale for non-unicode programs and checked [x] Beta: UTF-8 support.

    It somehow interacts with current codepage.

    https://www.youtube.com/watch?v=vJIO_hNXO10

    0 comments No comments

  3. Limitless Technology 39,916 Reputation points
    2022-02-14T17:45:47.247+00:00

    Hello @Vasiliy Olekhov

    This may be due to the font size selected. There was reported issues in the past with some fonts using sizes like 12pts or 14pts, but it would work with 11pts -13pts

    I would recommend change font size, and ensure that you have all the latest updates installed on the system.

    At the same time, it is recommended to check from the "Default" option in the top menu of Powershell (left click on the powershell icon on the left top corner in the window) if the settings are kept for Powershell. If the settings are correct, but it shows Fixedsys fonts, it is due to a font scaling issue.

    Hope this helps with your query,

    ------
    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.