473,385 Members | 1,919 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,385 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 919

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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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: 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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.