471,305 Members | 1,428 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,305 software developers and data experts.

installed fonts - with a twist

I am trying to install Bar Code 39 font and I want to verify that it is
installed programatically. After the install goes through, I can see the
font in control panel's font (winXP). Yet when I run the following code, I
do not see the font in the list:
System.Drawing.Text.InstalledFontCollection installedFontCollection = new
System.Drawing.Text.InstalledFontCollection();
System.Drawing.FontFamily[] fontFamilies = installedFontCollection.Families;
string familyName;
int count = fontFamilies.Length;
for(int j = 0; j < count; j++)
{
familyName = fontFamilies[j].Name;
Console.WriteLine(familyName.ToString());
}
If it is not in the list, is it not installed - or am I missing something
(and what is that something)?
--
Many Thanks.
- Johnathan
Jul 21 '05 #1
0 888

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Sachin | last post: by
reply views Thread by Yuri Vanzine | last post: by
6 posts views Thread by ryan.mclean | last post: by
reply views Thread by Johnathan Seal | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.