FontFamily.GetFamilies() not returning all fonts

M

mark.norgate

Hello

Cross-post. Naughty I know, but I'm desperate.

I have a web application from which I'm dynamically generating text
graphic titles.

I have lots of fonts on my machine, but the one I'm using in
particular is Trajan Pro, an OpenType font. For some reason, this is
not listed when I enumerate FontFamily.GetFamilies(). I've tried
restarting IIS, and my machine in fact, after reading this post:
http://groups.google.com/group/micr...85e/7f6cca76f17e6897?q=FontFamily.GetFamilies

However, the font is still not listed. Could anyone enlighten me as to
how I get access to this font?

Ta, Mark
 
C

Cor Ligthert[MVP]

Mark,

I wished you were crossposting then we could see were you had send all these
messages (you are multiposting) very disliked by everybody active in
newsgroups

However, are you sure you are not working on different machines. It is
possible that your IIS is located on another server, then it is almost
obvious that you get another font set.

(I never tried the effect when IIS was running with another user)

Cor
 
M

mark.norgate

Sorry about the crossposting or multiposting or whatever it's
called...

I'm certain they are running on my machine, because they're running on
my own desktop machine as localhost - haven't uploaded anything yet.

Anyone have any ideas?

Mark
 
A

Andrew Morton

mark.norgate said:
Sorry about the crossposting or multiposting or whatever it's
called...

I'm certain they are running on my machine, because they're running on
my own desktop machine as localhost - haven't uploaded anything yet.

Anyone have any ideas?

Make it run as you rather than localhost and see if that picks up all the
fonts.

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top