I downloaded & installed Visual Studios 2022. After creating a new project, and playing with the IDE for some time, I noticed that my font size was set to bold everywhere in the editor. Keywords, operators, punctuation, strings, variables, functions, classes, everything! Obviously I tried to change the size of the font, but it always reverts back to being bold.
Did I do something to cause this? How can I change it to not use bold font everywhere?
CodePudding user response:
I figured it out.
"...And yes, embarrassingly so, it was something that I caused."
I turned on the Windows High Contrast Setting
, in settings (obviously).
Turning on the Windows High Contrast Setting does the equivalent of setting an ANSI-C escaped sequence to be bold, in other words: It sets the weight at 700, but I don't think it stops there. I am pretty certain, much like ANSI-C Escape Sequences, and in addition to increasing the font's weight, it also makes the text render brighter.
SOLUTION:
If you read above, then you pretty much already got the solution, but for clarity's sake I'll reference the solution, in the context of a solution:
Open the "Tools Menu" from the windows menu bar (it reads TOOLS).
When TOOLS drops open, select "OPTIONS" from that menu (it was near the very bottom for me).
The "Options Window" will open, select ENVIRONMENT (it should be the first choice to choose from the list of option-groups).
The option groups are folded, so when ENVIRONMENT is pressed, the group should unfold. After ENVIRONMENT unfolds select — "what should be" — the top option, GENERAL.
After you choose the GENERAL option in the ENVIRONMENT group, you'll see a bunch of settings open up on the right side side of the settings window that you have opened. If your in the correct location, you'll see a couple bunches of check boxes, and a couple drop-down menus. The setting that you are looking for is the very first check box, and it should clearly read:
"Use Windows High Contrast Settings (requires restart)"
You want to DESELECT that option. I repeat, make sure that the checkbox belonging to, "USE WINDOWS HIGH CONTRAST SETTINGS (REQUIRES START)" DOES NOT HAVE A CHECK-MARK INSIDE OF IT!. Make sure that when you finished, and ready to wrap up & return back to the text editor, that you exit via the OKAY, and that you don't exit by simply closing the window using the X button in the upper right-hand corner. Remember that your changes will not be saved unless you use the OKAY button (I have failed to do this in the past and it cost me much valuable time, and made me feel stupid, don't be me).