VB.net FontDialog Only TrueType fonts are supported.

Hi
I have an Excel add-in with  taskpane that allows the user to select a font
from the font dialog that then changes the font of a label on the taskpane.
O am getting the following error when I select certain fonts. Is there a wayto
limit the list of fonts on the Font dialog to only include TrueType fonts

"Only TrueType fonts are supported. This is not a TrueType font"
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
 
Craig WagnerConnect With a Mentor Software ArchitectCommented:
Apparently this has been a long-standing problem. Here's a blog post that suggests a couple of possible solutions.

http://c-madeeasy.blogspot.com/2011/11/unsolved-this-is-not-true-type-font.html
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.