FontFamilyComboBox does not display all installed fonts

Ribbon for WPF Forum

Posted 6 years ago by Moondance
Version: 17.2.0662
Avatar

It has been brought to my attention that the list of fontfamilies displayed by the Actipro FontFamilyComboBox does not match what Powerpoint typically presents.
This is clear if one inspects, for example, the list of Segoe type fonts displayed by the two different controls.
It appears that the Actipro FontFamilyComboBox is skipping some typefaces. These are important for the user of our product.
How can we have the Actipro FontFamilyComboBox display the missing typesfaces?
Thank you.

Comments (1)

Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

All we are doing is effectively enumerating Fonts.SystemFontFamilies.  Perhaps your font isn't being included in that collection by WPF?

If you wish to use custom logic, you could override the RefreshFontFamilies method.  First Clear() the Items and then add a ComboBoxItem for each font to the Items collection where the ComboBoxItem.Content is the FontFamily.


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.