Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - FontFamily.GetFamilies() not returning all fonts

Reply
 
Old 03-21-2009   #1 (permalink)
mark.norgate


 
 

FontFamily.GetFamilies() not returning all fonts

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/micro...ly.GetFamilies

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

Ta, Mark

My System SpecsSystem Spec
Old 03-22-2009   #2 (permalink)
Cor Ligthert[MVP]


 
 

Re: FontFamily.GetFamilies() not returning all fonts

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

<mark.norgate@xxxxxx> wrote in message
news:f3e04f68-0138-4d0f-b582-5d7f7ac83542@xxxxxx
Quote:

> 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/micro...ly.GetFamilies
>
> However, the font is still not listed. Could anyone enlighten me as to
> how I get access to this font?
>
> Ta, Mark
My System SpecsSystem Spec
Old 03-26-2009   #3 (permalink)
mark.norgate


 
 

Re: FontFamily.GetFamilies() not returning all fonts

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

On Mar 22, 9:28*am, "Cor Ligthert[MVP]" <Notmyfirstn...@xxxxxx>
wrote:
Quote:

> 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
>
> <mark.norg...@xxxxxx> wrote in message
>
> news:f3e04f68-0138-4d0f-b582-5d7f7ac83542@xxxxxx
>
>
>
Quote:

> > Hello
>
Quote:

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

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

> > 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/micro...general/browse...
>
Quote:

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

> > Ta, Mark
My System SpecsSystem Spec
Old 03-30-2009   #4 (permalink)
Andrew Morton


 
 

Re: FontFamily.GetFamilies() not returning all fonts

mark.norgate wrote:
Quote:

> 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


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Returning a DN in VBA VB Script
Fonts - signature font lost in list of fonts Vista mail
Function returning a value VB Script
returning to a search Vista file management
Returning from RC2 to RC1 Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46