[v4.2.0.7]
Hi,
I cannot seem to change the font to Jetbrains Mono (which I use in rest of VStudio), other font seems to work fine. Any clues what's up with that?
Thanks.
[img=https://i.imgur.com/p3LKK5d.gif]Screencast[/img]
Remco NCrunch Developer
#14414
31 Jan 2020 23:44 UTC
Off the top of my head, I can't say why this is happening at the moment. The handling of fonts is very 'under the hood' of the platform, so I'm not sure why this wouldn't work. We'll take a look and see if we can construct a more informed answer. It may be related to a property of the font itself.
I'm not sure why this is happening. On a VM the exception doesn't occur. On another PC it does, but only on one instance of VS. A separate instance works just fine (both the same VS version and the font is the same). The exception is thrown inside the FontDialog.
I can't think of a way to solve this error, it seems to be an interaction between windows and the font dialog.
Can you try to set it in a second instance of VS?
System.ArgumentException: Only TrueType fonts are supported. This is not a TrueType font.
at System.Drawing.Font.FromLogFont(Object lf, IntPtr hdc)
at System.Windows.Forms.FontDialog.UpdateFont(LOGFONT lf)
at System.Windows.Forms.FontDialog.RunDialog(IntPtr hWndOwner)
at System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner)
I can't think of a way to solve this error, it seems to be an interaction between windows and the font dialog.
Can you try to set it in a second instance of VS?
You could also try to set it in the globalconfig.crunch.v3.xml file located under C:\Users\[user]\AppData\Roaming\NCrunch if all else fails. The font it self works just fine under NCrunch, it just doesn't like to be selected.
<GlobalConfiguration>
<Settings>
<TextOutputFont>JetBrains Mono, 8.249999pt, 0</TextOutputFont>
.....
michaelkroes wrote:Can you try to set it in a second instance of VS?
Yes, it worked when I changed it globally with VStudio Enterprise, and now it seems to work fine with Community Edition as well. Thanks!
Post a reply
Log in to reply.