What is the best way to read all windows fonts into ComboBox? Basically, I'm tried do this:
equal to the Microsoft Word
I can do:
string[] fonts = Directory.GetFiles(@"C:\windows\fonts");
and show each file into ComboBox, but this is correct? Have not an component that do this work?
Thanks in advance.
Click the gear icon in the lower left corner of the Start menu to launch the Settings app. Select “Ease of Access”. Choose “Display” in the menu on the left. Move the “Make text bigger” slider until the sample text is easy to read.
Segoe UI (pronounced "SEE-go") is the Windows system font. The standard font size has been increased to 9 point.
To change your display in Windows, select Start > Settings > Accessibility > Text size. To make only the text on your screen larger, adjust the slider next to Text size. To make everything larger, including images and apps, select Display , and then choose an option from the drop-down menu next to Scale.
(If you're using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, click Settings, and then click Change PC settings.) Tap or click Ease of Access, tap or click Narrator, and then move the slider under Narrator to turn it on.
Look at EnumFontFamiliesEx
and EnumFonts
.
Much better is InstalledFontCollection
. I didn't realize it existed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With