Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

reading windows font

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.

like image 708
The Mask Avatar asked Oct 26 '11 01:10

The Mask


People also ask

How do I make text readable in Windows?

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.

What is the Windows font called?

Segoe UI (pronounced "SEE-go") is the Windows system font. The standard font size has been increased to 9 point.

How do I make a font readable in Windows 10?

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.

Can I get my computer to read text to me?

(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.


1 Answers

Look at EnumFontFamiliesEx and EnumFonts.

Much better is InstalledFontCollection. I didn't realize it existed.

like image 104
tenfour Avatar answered Nov 15 '22 04:11

tenfour