Search the web
Sign In
New User? Sign Up
active-server-pages · Active Server Pages Developers' List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Extract Font Names?   Message List  
Reply | Forward Message #12390 of 12403 |
RE: [ASP] Extract Font Names?

> Does anyone have a script or know how to extract the font
> names from the font folder on the machine the script is running?

In order to determine available fonts through ASP you'd need to give
additional permissions to the web user. I highly recommend against that.

Instead, if the fonts change regularly, run a script server-side to
process the same font listing from the fonts directory (or any other)
that updates a database that the web user would have access to. Then
check *that* database for available fonts from within your ASP pages.

I've written several tools in the past that do all of this and much
more, but some are under NDA and others are only partially finished
projects.

I can tell you that it's MUCH easier to use ASP.NET (instead of ASP) to
generate images and what-not using server-side stored fonts. It's also
BETTER if you are trying to create some form of font library if the
fonts are NOT stored in the Windows Fonts directory (if they're stored
in the Windows Fonts folder they affect performance server-wide - don't
do that!).

PHP and ASP.net are relatively equal in features and functionality in
this respect, but PHP uses less memory (and is usually cheaper to host),
and ASP.NET has fewer requirements (no external libs required).

-Shawn





Sun May 31, 2009 4:10 am

shawn_ra
Online Now Online Now
Send Email Send Email

Forward
Message #12390 of 12403 |
Expand Messages Author Sort by Date

Does anyone have a script or know how to extract the font names from the font folder on the machine the script is running? Soren...
Soren
sorenwinslow
Offline Send Email
May 29, 2009
6:08 pm

... In order to determine available fonts through ASP you'd need to give additional permissions to the web user. I highly recommend against that. Instead, if...
Shawn K. Hall
shawn_ra
Online Now Send Email
May 31, 2009
4:10 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help