Using a font, but what name to call?

In my program, I need to use some font, but I am not sure what name I should call them.

For Example, I have a Font Called "Good Times" on my computer, I try to set"GoodTimes", or "GoodTime" (The file name), or "Good Times" "Good Time", all not working.....

Font like "Times New Roman", I use the name "Times" (File Name)is OK.

How would I know What name to call a Font???

Who is Participating?
mulletboy2Connect With a Mentor Commented:
Try looking in your registry, key: HKEY_CURRENT_USER\Software\Microsoft\Shared Tools\Font Mapping - If it's in there, the logged on user has permission to use it, and you should see that Name "Times New Roman" maps to data "Times". My guess is that if you use the same process for "Good Times" you'll get the right name to use. Although whether or not the COM/IIS can use it is a different matter I would think.

Be careful about what fonts you call. If the fonts do not exist on the users machine, the user's browser will attempt to find the closest font--often with unpredictable results.

You'd be best to stay with basic fonts to avoid this problem.

Fritz the Blank
You might also try going to your font folder in the control panel, and then copy and paste the font name into your code.

Fritz the Blank
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

anguslaiAuthor Commented:
Yes, I did. I use exacted the font name in the font folder, and also tried font file name, but some font work, some font not work.
Are you sure that you want to proceed? Your page will not display correctly on any machine that does not have your font installed--this is a function of the client's machine, not the configuration of the server.

Fritz the Blank
anguslaiAuthor Commented:
I am doing a server side graphic process, so the font won't make problem even visitor don't have the font.
Are you using a Mac or a PC?

I am wondering if there is a problem based on whether the font is True Type, Postscript, Multiple Master and etc.

Fritz the Blank
What kind of server side graphic process? Do you have the appropriate permissions to do things like install fonts (I doubt it)?

If you want a font on the server, you'll need to install it. If you want a font for the user, they'll need to install it or you'll need to set up the webpage using a dynamic fonts technique (and they're tricky).
anguslaiAuthor Commented:
Hi all,

1) I Installed the fonts on the server with permission
2) The Graphic Process (Not neccessary ASP, can be VB Application) will use the font and create graphic. The process work on most font.
3) Example A) "Times New Roman" with the file name "Times.ttf", I set the Fontname = "Times", it works.
Case B) "Helvetica", the file name is "Helr45w.ttf", this time, I need to set Fontname="Helvetica" to make it work.
Case C: "Good Times", file name is "GoodTime.ttf" (Ture Type Font), as I said, no matter ho wI set it, it still not work.
4) I am using win2000

My Basic Question is: How I know what name to call a font?
You have 18 OPEN questions here today, all of which need your attention.  ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101, Netminder, Mindphaser or I will return to finalize these as soon as possible if after 7 days no response by the Asker.  EXPERTS-->  please post closing recommendations before that time.

Below are your open questions as of today.  Questions which have been inactive for 21 days or longer are considered to be abandoned and for those, your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you, but may help others. You must tell the participants why you wish to do this, and allow for Expert response.  This choice will include a refund to you, and will move this question to our PAQ (Previously Asked Question) database.  If you found information outside this question thread, please add it.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question (if it has no potential value for others).
   --> Post comments for expert of your intention to delete and why
   --> YOU CANNOT DELETE A QUESTION with comments; special handling by a Moderator is required.

For special handling needs, please post a zero point question in the link below and include the URL (question QID/link) that it regards with details.
Please click this link for Help Desk, Guidelines/Member Agreement and the Question/Answer process.

Click you Member Profile to view your question history and please keep them updated. If you are a KnowledgePro user, use the Power Search option to find them.  

Questions which are LOCKED with a Proposed Answer but do not help you, should be rejected with comments added.  When you grade the question less than an A, please comment as to why.  This helps all involved, as well as others who may access this item in the future.  PLEASE DO NOT AWARD POINTS TO ME.

To view your open questions, please click the following link(s) and keep them all current with updates.

*****  E X P E R T S    P L E A S E  ******  Leave your closing recommendations.
If you are interested in the cleanup effort, please click this link 
------> POINTS FOR EXPERTS awaiting comments are listed in the links below (Part 1) (Part 2)
Moderators will finalize this question if in @7 days Asker has not responded.  This will be moved to the PAQ (Previously Asked Questions) at zero points, deleted or awarded.
Thanks everyone.
Moderator @ Experts Exchange
To me or split.

Fritz the Blank
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.