Question

FontFamilyComboBox does not display all installed fonts

Posted 1 year ago by Avatar Moondance

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 1 year ago by Actipro Software Support - Cleveland, OH, USA

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
Information The latest build of this product (2018.1 build 0673) was released 29 days ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.