Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 16th, 2004, 03:59 AM
Authorized User
 
Join Date: Jul 2003
Location: Kolkata, West Bengal, India.
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sankar
Default Site Support for Local Fonts

Hi,
I have a site that has a separate version for different regional languages. All I want to do is, when any user clicks on any of these regional version, a font gets installed on the user's computer and the website content gets visible in that font only. These font files are located in one of my web-server folder.
Pls note,I cannot use third-party components

Sankar Sengupta
Striving for the BEST
__________________
Sankar Sengupta
Striving for the BEST
Reply With Quote
  #2 (permalink)  
Old March 16th, 2004, 04:16 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

You can't really have the browser download a font automatically in a way that works cross browser, especially not without using third party components.

I believe Netscape worked on this a long time ago, and I wouldn't be surprised if IE had it's own proprietary stuff too to change fonts, but nothing will really work using modern Web standards.

Your best bets are to offer your visitor the chance to download a font (lots of hassle for your client), or to adjust your site to fonts you're likely to expect on most systems connected to the Web (much easier to do). Alternatively, you can use graphics for some of the parts of your site, so you can influence the font at design-time.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #3 (permalink)  
Old March 16th, 2004, 05:13 AM
Authorized User
 
Join Date: Jul 2003
Location: Kolkata, West Bengal, India.
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sankar
Default

Thanks Imar,
So you are saying I can't do this without using a component the way I am expecting, right? What if I use an exe file to do this job, instead of a dll, as I have permission to execute exe files on my site? If that is the case, can you give me some piece of samples as to how do I go about this?
Thx in adv.
Quote:
quote:Originally posted by Imar
 You can't really have the browser download a font automatically in a way that works cross browser, especially not without using third party components.

I believe Netscape worked on this a long time ago, and I wouldn't be surprised if IE had it's own proprietary stuff too to change fonts, but nothing will really work using modern Web standards.

Your best bets are to offer your visitor the chance to download a font (lots of hassle for your client), or to adjust your site to fonts you're likely to expect on most systems connected to the Web (much easier to do). Alternatively, you can use graphics for some of the parts of your site, so you can influence the font at design-time.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Sankar Sengupta
Striving for the BEST
Reply With Quote
  #4 (permalink)  
Old March 16th, 2004, 05:35 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Worse, I am saying that you can't probably do it *with* a component either. At least not in a way that works in all browsers and doesn't require all kinds of nasty DOM checking.

Take a look here: http://www.truedoc.com. This is a tool that will download a little application for your browser, so fonts can be downloaded and displayed on the browser. As you can see from their browser support (Netscape 4.x), you can see that this is an "old shool" methodology. AFAIAC, embedding fonts isn't a good practice. You never know whether it will work or not, so you don't know how your page will end up.
So, personally I would use graphics for branding images (I can't image the Coca-Cola logo in Times New Roman), and stick to a widely available font in other places in your site.

If you're site displays in another language, e.g. Hindi and its's important your visitors have the font, ask them to download it....

There may be other solutions than Truedoc as well, but I couldn't find any in my bookmarks anymore. I guess I dropped the idea of font embedding a long time ago ;)

I am not sure what your plans with the .exe are. You can execute as many exes on the server, but they will never reach the client. They may output HTML to the client, but that's about it.....

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #5 (permalink)  
Old March 16th, 2004, 05:48 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

And in addition to this, there is also an IE only solution, called The Web Embedding Fonts Tool (WEFT)

http://www.microsoft.com/typography/...ft3/weft00.htm

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #6 (permalink)  
Old March 16th, 2004, 06:25 AM
Authorized User
 
Join Date: Jul 2003
Location: Kolkata, West Bengal, India.
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sankar
Default

Thanks again,
I was wondering how this can be achieved in cross-browser platform. I would like to request you to have a look at the site http://www.wbgov.com/e-gov/IntroJpgNew.htm
This is an Indian Government site, government of the state West Bengal(WB). The local language is Bengali, so the site has an bengali version also. This page has a welcome button to its right, and another button where welcome is written in Bengali, the local language. These are images alright. But the moment you click on this 'Bengali' button, you will be informed that a font is getting installed and after few minutes the site gets displayed in local language. Here you will see that drop-down list-boxes are also populated using this local language. Pls have a look at this and let me know what do you think how they have done this.
Sorry, but I need to have a solution something like this only, so asking help from experts like you.
Thx in adv.

Sankar Sengupta
Striving for the BEST
Reply With Quote
  #7 (permalink)  
Old March 16th, 2004, 06:45 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

I am definitely not an expert in this font area.

Anyway, when I go that page, I get a download dialog that refers to http://www.modular-infotech.com/

Did you check out their Web site for more info? It looks to me that they are the ones that are the experts in this area....

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET web site which support any database sanjivbshinde ASP.NET 2.0 Professional 2 October 10th, 2008 12:46 AM
Customer Support Site Master Pg. Meta Tags taggiese BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 4 February 26th, 2007 11:35 PM
aspx site works local, but not on FTP host(?) zuz29 ASP.NET 1.0 and 1.1 Basics 1 June 2nd, 2006 08:27 AM
It adds a new support to the eComm site subhasis.chakraborty ASP.NET 1.x and 2.0 Application Design 1 July 14th, 2005 03:46 PM
http://support.apress.com site down ddanv Wrox Book Feedback 2 May 12th, 2004 09:36 PM



All times are GMT -4. The time now is 12:27 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.