468,104 Members | 1,360 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,104 developers. It's quick & easy.

Getting available fonts

Is there anyway to get a list of all the availiable fonts in Javascript ?

Aaron
Apr 5 '06 #1
4 3393
VK

Aaron Gray wrote:
Is there anyway to get a list of all the availiable fonts in Javascript ?


AFAIK only for IE over DialogHelper. See working example at
<http://msdn.microsoft.com/workshop/author/dhtml/reference/collections/fonts.asp>

Apr 5 '06 #2
VK wrote:
Aaron Gray wrote:
Is there anyway to get a list of all the availiable fonts in Javascript ?

AFAIK only for IE over DialogHelper. See working example at
<http://msdn.microsoft.com/workshop/author/dhtml/reference/collections/fonts.asp>

I doubt if even that would work to get, for instance, all the Adobe
fonts or the Corel Draw fonts on a system. Might be fun to try though.
Apr 9 '06 #3
VK

The Magpie wrote:
VK wrote:
AFAIK only for IE over DialogHelper. See working example at
<http://msdn.microsoft.com/workshop/author/dhtml/reference/collections/fonts.asp>

I doubt if even that would work to get, for instance, all the Adobe
fonts or the Corel Draw fonts on a system. Might be fun to try though.


DialogHelper returns all system-registered fonts on the current
machine: thus all fonts in %windows%fonts folder - or located in any
other folder but installed through the "Install new font option". AFAIK
neither modern Adobe nor Corel do not "hide" their fonts from the
system, so I see no problem whatsoever.

I just got the list of my fonts added by CorelDraw 6.0 - no problems of
any kind.

That can be an issue on some really old Windows (95/98) with "font list
overflow" problem. On these systems one can have 256 fonts installed
maximum, after that some fonts may randomly disappear from the list.
Some old publishing software with rich font sets fought it by hiding
its fonts into separate folder and not registering them in Windows. But
it is all kind of pre-historic issues IMHO.

Apr 9 '06 #4
VK
<http://msdn.microsoft.com/workshop/author/dhtml/reference/collections/fonts.asp>

.... which doesn't of cource eliminate the fact that this whole thing is
strictly IE-only

Apr 9 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Mel | last post: by
2 posts views Thread by Nathan Sokalski | last post: by
reply views Thread by WDS | last post: by
7 posts views Thread by clinisbut | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.