(I'm using a MacBook Pro (16-inch, 2019) Monterey v12.5)
I was trying to test different font settings and I came up messing my "Fixed-width font".
The default is "Custom" and once I changed it to other fonts it just disappears in the drop-down list.
I figured out "Custom" font should be Courier New with bold font weight.
I have been googling to see if there is any way to restore it to the default but not quite getting the answer.
Reinstalling Chrome might be one of the methods but it takes me long time to restore other settings. I would like to know if there is other way before trying reinstall.
default fixed-width font
I just found the way to solve my own problem.
What I've done is:
"Inspect" the drop-down list option
Change the element DOM "Courier New" -> "Courier"
Select any other font once and change back to Courier (that has been just changed from "Courier")
The original font should come back.
Hope this help someone who has the same problem as mine.
Related
The update for Visual Studio 17.4 has changed the font in the text editor, so that it is very thin and a bit of a strain on the eyes to the read. How can you change this back, short of rolling back the update?
Please note that I've searched a little bit for this, and I see the following setting:
But I have no idea what to set this to. People have mentioned the Consolas font on one or more other posts, but that doesn't seem to match what was there before. I've tried checking Bold. Etc.
I just need it back to the "normal Visual Studio font" that was there before the update to 17.4, which has enough thickness in the letters that it's not uncomfortable to read.
Happened to me too, and let me say that the "new" font is pretty ugly compared to the original one that was Cascadia Mono SemiBold. Also uncheck bold if was checked and the size should be to 10.
(Sadly, in my case, it is no more present in the fonts list. Maybe this is the reason why it was set back to default. But Cascadia Code SemiBold should be 99,9% similar)
In this case, you can download Cascadia Mono Releases and install it again (?) in your system.
I also had issues with the font, installing other fonts didn't help. I installed the Text Sharp addon and enabled ClearType rendering which seemed to fix the font trouble I was having.
Edit: After more investigation, Visual studio has settings for text rendering thus disabling the addon and setting the Text rendering method to ClearType gives me back the original font:
And it seems like changing the Text Formatting method to Display instead of Ideal gives me the original issue I had.
And I also had to download Cascadia Mono to get the Cascadia Code font but without the ligatures (i.e. not changing != to an = with a line through it)
Apparently there was a bug in the installer that incorrecly uninstalled the fonts during update (17.4.4 release notes)
"Addressed an issue when Cascadia Code and Cascadia Mono font gets
uninstalled during Visual Studio update process."
It is said to be fixed in 17.4.4
with the note that updating from previous version to 17.4.4 may experience the issue, but that it will not happen with future updates (e.g. 17.4.4 -> 17.4.5.)
For some time now, I can't change FileMerge's font. Then it suddenly started using a Helvetica-like font (sans serif, variable width) for files it doesn't recognize (like typescript source files). That could be changed temporarily to monaco by changing the font to ... Helvetica. Yes, it's very weird.
But now, it shows all text white on white, and only the changed section is visible because of the different background and I cannot change it. I've tried to locate all the pref files, and reinstalled Xcode, but the text remains white on white.
Does anyone know how to change that, or where which (pref) file to change?
It could be a write permission issue, since I'm running it from a non-admin account.
Thanks.
This feature is completely broken, so you have to edit the theme file manually. It's located here:
~/Library/Developer/FileMerge/UserData/FontAndColorThemes/Default.xccolortheme
The file itself is plaintext XML. Even though it's pretty straightforward, I recommend backing it up first.
For example, if you want to increase the font size from "11.0" to "14.0", just do a find and replace.
You might be tempted to copy in a theme from Xcode. Don't bother. The font sizes don't appear to take effect, and FileMerge expects a white background, so darker themes won't work correctly.
The other answers didn't work for me (as I didn't have any theme files), but the following did:
Open FileMerge
Go to Preferences
Click the 'Set...' button under 'Font'
Click the top of the Fonts window so that it gets focus (this is the key step - if the Fonts window doesn't get focus the changes won't stick). If the Fonts window has focus, you should see your changes reflected in the FileMerge Preferences window live as you make them.
The solution was to delete the folder ~/Library/Developer/FileMerge. It did not solve the font problem (typescript files rendered with proportional font of different size, which causes problems for long files).
For me also the font panel settings have no effect at all. Same problem in XCode "Font & Colors" preferences.
For your colors problem, I would try quitting FileMerge, archiving the preference file, and relaunching:
mv ~/Library/Preferences/com.apple.FileMerge.plist ~/Library/Preferences/com.apple.FileMerge.plist.backup
FileMerge has a XCFontAndColorCurrentTheme setting:
defaults read com.apple.FileMerge XCFontAndColorCurrentTheme
I've tried setting that:
defaults write com.apple.FileMerge XCFontAndColorCurrentTheme "Presentation.xccolortheme"
But I don't see a difference. So maybe Apple is in the middle of revising this feature.
In addition to the answers already given, if those do not work, check that the files you are comparing are plain text and not rich text. If they're rich text, file merge will get the font attributes from the files themselves, hence you will not be able to affect the size of the font. You could instead open the files in a text editor and either convert them to plain text, or increase the size of the font manually.
None of this helped in my case on Big Sur, but this did the job. Requires sudo throughout so be careful.
Make a copy of a theme within the xcode bundle:
sudo cp "/Applications/Xcode.app/Contents/SharedFrameworks/DVTUserInterfaceKit.framework/Versions/A/Resources/FontAndColorThemes/Default (Light).xccolortheme" "/Applications/Xcode.app/Contents/SharedFrameworks/DVTUserInterfaceKit.framework/Versions/A/Resources/FontAndColorThemes/fileComp.xccolortheme"
Edit (in xcode for example) ~/Library/Preferences/com.apple.FileMerge.plist. Select the new theme by setting the XCFontAndColorCurrentTheme value to fileComp.xccolortheme
Edit the font values in new theme file fileComp.xccolortheme. Quit and restart FileMerge each time to apply.
I have just downloaded WebStorm 2016.1 for Mac OS X. I would like to configure my editor fonts and colorus.
I understand that you must save the scheme before it becomes editable. This I have done:
but the options still remain unavailable.
Is this a limitation of the trial or something? What have I missed? I have applied the style, and have even closed down WebStorm and re-opened.
If certain style (e.g. "Doc comment" on your screenshot) has Use inherited attributes option checked .. then it re-uses colors from parent option (which is displayed just below it).
The solution is simple:
either edit parent style
or uncheck that Use inherited attributes option and edit your colors here
P.S.
Trial version has NO limitation in functionality.
I have an annoying problem with Visual Studio highlighting. I installed my favourite colourscheme (zenburn 2010), and I have found that when I'm in debug mode, this will happen when my application is paused:
I have run through the hundred or so colours in the settings window, but I am unable to locate the setting that will affect this background colour. It's not exactly a show-stopper, but I'd still really like to know how to solve this.
I have resharper installed in case that affects anything. I can't see how it would though.
I think you want either the Collapsible Region element, or the Selected Text element
Changing the background color of the Read-Only Region element solved the issue for me. (See this article for more detail.)
I use a custom color scheme in Visual Studio (black background, gray text, etc.). There a few settings that refuse to change, however. For example, when cursoring through the markup for an aspx page, the current tag defaults to black text, which doesn't work well on my black background. I've previously changed the appropriate setting to a "visible" color. In fact, to fix it, all I have to do is open the Options window, check and uncheck the Bold setting on Plain Text and hit OK, and now all my chosen settings are properly loaded. If I open a new session though, I have to go through these steps again. There are only a few settings where I notice this behavior (the Read-Only Region is another one), but it's annoying to have to do a dummy option change to get them to kick in. Has anyone seen this behavior before, and does anyone have a fix/workaround?
UPDATE: Found an interesting fix. I still don't know what the root cause is (probably some corruption as #sliderhouserules suggessts), but I've got a quicker way to fix it than using Tools | Options | Fonts and Colors. I simply exported my current color settings and created a macro to load them in:
Public Sub ImportColors()
DTE.ExecuteCommand("Tools.ImportandExportSettings", "-import:""C:\Documents and Settings\gregf\My Documents\Visual Studio 2008\Settings\FontsAnColors_Exported-2008-12-05.vssettings""")
End Sub
I then mapped that macro to a button on my toolbar. Now I have a one-click fix whenever my colors go awry. Not ideal, but much less painful now.
Sounds to me like you may have some corruption in your VS install or something (IE you need to reinstall VS). This doesn't sound like a bug, and you'd be fishing in the dark trying to repair your registry or whatever config files are involved in setting and storing these options for VS.