473,382 Members | 1,329 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 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 918

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Norman Swartz | last post by:
If Microsoft Sans Serif is installed, I want to use symbol ḳ but if that font is not installed then I want to use sans-serif k How do I test whether Microsoft Sans Serif is installed and then...
1
by: Sachin | last post by:
How to get the list of installed fonts corresponding to any perticular charactor set? eg. if I want to get Japanese supporting font list (corresponding to char set Shift_JIS), how to do it? please...
1
by: | last post by:
Hi all, developing a multilingual app in .net and relying on the .NET cultures. There is a need to determine programmatically whether or not the browser client-side supports a particular font,...
0
by: Yuri Vanzine | last post by:
Don't really want to embed fonts, it adds to the download time, although this may be my only choice. I am also not sure how the browsers handle families of fonts. I am using Arial and Sans-Serif...
6
by: ryan.mclean | last post by:
Hi all! I was hoping someone could help me out. What I would like to do is use a font that is not installed on the server, but does reside in my local web. Does that make sense? I would like to...
0
by: Johnathan Seal | last post by:
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...
1
by: Atul | last post by:
Hi, I have installed a truetype font (.ttf) on a linux machne (SUSE linux 10, KDE) by copying it to my .fonts folder. I can use the font in all applications like open-office and firefox browser....
2
by: Gary | last post by:
1. I've installed a bunch of fonts in main application, which is in native C++ code using AddFontResourceEx 2. A C# application is launched from this main application, but failed to enumerate...
3
moishy
by: moishy | last post by:
I have over 3000 fonts that I've backed up. (I had to reformat my drive.) Now I try to copy/paste the fonts into the fonts directory. For most of them I get the message: The <font name> font...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.