Hi - I have some users that use the OctaneRender for Rhino plugin, where the plugin (and Rhino itself) is displaying with what appears to be the Courier font, rather than the Windows font (which is causing the labels in my plugin to overlap with the checkboxes). Is there a way to set the font that the Rhino UI uses pls?
Thanks @wim. I don’t understand why Rhino would be using the courier font for it’s UI. How would this happen pls? How does it pick which font to use?
I saw that too yesterday - I don’t use OctaneRender, but some dialogs showed the Courier font in Rhino. Could it be related to a recent Windows update?
I have to say though, that today I don’t see it anymore. Have your users performed the tried-and-tested “have you tried turning it off and on again”?
I saw a different font, as I said earlier. I think it was Windows System font.
What you’re seeing looks like the Japanese font I sometimes see. Don’t know if that is helpful info
Hi,
I delete the Courier font. Still the same.
So I google that there is a soft named Process Explorer can find which font is used in the soft,
It’s not the courier font, it is a chinese font named simsun
I delete it in the regedit (cant delete in the control panel).
Now it works.
Thanks!
Any fix planned on this from McNeel’s ?
I’ve got the same issue, all my custom panels on Rhino get that (ugly) font instead of the using the components fonts.
I’m using rhino 6.5, from what I remember a year ago or so I didn’t have the issue.
On the left what is shown in rhino, on the right what I have in visual studio.
Hi @dale,
Built-in panels don’t look this way. Even for my panels, the Font override does not occurs on every controls. If you look at my screenshots, you can see that the labels are wrong, while the groupboxes’ texts are fine.
I’ll create a sample for you to test
After several trials to reproduce the issue in a basic sample, I’ve found out that the font problem only happens with my skin loaded. However this is even weirder, because there isn’t a single ref. to fonts in the skin:
Namespace MSP_Skin
Public Class MyMSPSkin
Inherits Rhino.Runtime.Skin
Protected Overrides ReadOnly Property ApplicationName() As String
Get
Return "Mass Summary Project - test"
End Get
End Property
Protected Overrides ReadOnly Property MainRhinoIcon() As System.Drawing.Bitmap
Get
Return My.Resources.LogoMSW_v3.ToBitmap
End Get
End Property
Protected Overrides Sub OnEndLoadPlugIn()
'Customize appearance Settings
Try
Rhino.ApplicationSettings.AppearanceSettings.SelectedObjectColor = System.Drawing.Color.LightSkyBlue
Rhino.ApplicationSettings.AppearanceSettings.ViewportBackgroundColor = Drawing.Color.Lavender
Rhino.ApplicationSettings.AppearanceSettings.MenuVisible = False
Rhino.ApplicationSettings.AppearanceSettings.CommandPromptPosition = Rhino.ApplicationSettings.CommandPromptPosition.Bottom
Rhino.ApplicationSettings.AppearanceSettings.CommandPromptBackgroundColor = Drawing.Color.Black
Rhino.ApplicationSettings.AppearanceSettings.CommandPromptTextColor = Drawing.Color.Lavender
'Rhino.ApplicationSettings.AppearanceSettings.DefaultFontFaceName
Rhino.ApplicationSettings.AppearanceSettings.ShowSideBar = True
Rhino.ApplicationSettings.ModelAidSettings.GridSnap = False
Rhino.ApplicationSettings.ModelAidSettings.Osnap = False
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Exclamation, "Error")
End Try
'Open MSP_ToolBar
Try
Dim ToolBarFile As Rhino.UI.ToolbarFile = Rhino.RhinoApp.ToolbarFiles.Open(My.Computer.FileSystem.CombinePath(My.Application.Info.DirectoryPath, "MSP_ToolBar.rui"))
Dim ToolBarID As Guid = ToolBarFile.Id
'hide every toolbar exept MSP_ToolBar
For Each TpToolbar As Rhino.UI.ToolbarFile In Rhino.RhinoApp.ToolbarFiles
If TpToolbar.Id <> ToolBarID Then TpToolbar.Close(False)
Next
Rhino.UI.ToolbarFileCollection.MruSidebarIsVisible = False
Rhino.UI.ToolbarFileCollection.SidebarIsVisible = False
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Exclamation, "Error")
End Try
End Sub
End Class
End Namespace