473,395 Members | 1,872 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,395 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 920

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: 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: 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: 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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.