SolidWorks uses the Tahoma font for menus and toolbars (including the CommandManager).
I appreciate your prompt reply.
I am developing a dialog which opens through SolidWorks command manager button. The client needs the dialog font to be compatible with SolidWorks font. Thus, I have a couple of quick questions: -
- Is there some way a user can change the SW font? If yes, Can we know it?
- What is the size of the font in the command manager?
- I have found that the font size changes when I change the Windows default font size. Is there some way to know the SW font size or is it same as Windows font size?
Thanks in advance for your support.
- The user cannot change the font face. However, users can affect the font size using the Win7 system settings for predefined 100%, 125% and 150% text scale along with custom options. SolidWorks is a DPI-aware application so the text font will change size based on this system setting.
- The font size in our menus and the command manager are based on the system menu font height obtained using the "SystemParametersInfo" call and the returned "info.lfMenuFont.lfHeight" value. However, as mentioned above, it will also scale itself. In other words, if the user has 125% system font scaling in effect, it will use a font size of “fontht*1.25”.
- Dialogs start with a fixed point size of 8 and then will scale based on the system font scale value.
- One other note, the commandMgr buttons use the menu font size but at a slightly smaller scale because of the difficulty of fitting all the text onto the buttons. In addition, the commandMgr buttons only support two text sizes for these buttons. The text will show at 92% or 127% of the default system menu font.
- Yes, you are correct. As mentioned above, the text will scale based on the system font scale obtained with the “GetDeviceCaps(hdc, LOGPIXELSX);” call.
If you have further questions, you best bet is to contact our API group.
Thanks a lot for the detailed answer.
I appreciate it!!
You can't change the size of the most used too small fonts with scaling.
In fact scaling causes all kinds of problems in SW2013 and even more
in SW2014. These problems did not exist in SW2005 and SW2010.
Since 2014 even the property manager font is different and much smaller
than the rest, it is almost unreadable on high resolution monitors and tablets.
I have big problems with visability since SW2013 and even more in SW2014
and I guess a lot more users. When tablets get more popular many users will
have problems. For me it already is unusable.
There are at least 4 different fonts in the UI and scaling does not work as it
causes corrupt menus. Why don't you reduce the fontsize in the UI to 1 fixed
size instead of 4 fonts? The bigger fonts in the menus are more than 2 times the
size compared to the smaller fonts, the smaller fonts are far too small.
I have never seen that in any user interface.
Please fix the customize option font/button settings
these just don't work and cause more problems.
I have written a lot about it since 2013 and it gets worse every release,
these are evident regressions. It is very disappointing to see Solidworks
having so much problems with basic things. Your competitors don't have
these problems and I tested many lately.
One comment on this subject: when you do set the font size through Win 7, on several of the toolbar pulldowns you can't get to the "customize menu" tool at the bottom of the pulldown. If I want to customize a menu, I have to reset the font size twice, reboot twice, and hope I remembered everything I wanted to customize. If something could be done about this, it would be a good thing...