By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,436 Members | 2,958 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,436 IT Pros & Developers. It's quick & easy.

Getting available fonts

P: n/a
Is there anyway to get a list of all the availiable fonts in Javascript ?

Aaron
Apr 5 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.