I need to add font chooser to my WPF text editor. I'm adapting this font chooser.
However, it lists all the installed fonts. I only need a list of fixed-width (monospace) fonts.
How do I check if a given System.Windows.Media.FontFamily is a fixed-width font?
There is a solution that uses System.Drawing.FontFamily but those fonts are not exactly compatible with WPF and the code I'm adapting uses System.Windows.Media.FontFamily.