Jump to content

How to load font at client side?


vijay

Recommended Posts

Hi.. How to load font at client side..like If I am searching keywords "Hindi" in google search engine.. So in the result page I can see the fonts are in hindi, even though hindi font is not installed @ my(client) side.. I dont want to install manually @ client side.. It would be directly handeled via server.. (like above example) so how its possible in php? Thanks & Best Regards,Vijay

Link to comment
Share on other sites

Unfortunately, for security reasons you cannot install fonts on a user's computer, as if you could than malicious web pages could code viruses into the font files, etc.So, the best you could do would be to have a little box that prompts visitors to download the hindi font.Unless I am wrong?

Link to comment
Share on other sites

Hi.. But I dont want to install font @ client side.. Have u gone through my example Which I have given? if I am searching keywords "Hindi" in google search engine.. So in the result page I can see the fonts are in hindi, even though hindi font is not installed @ my(client) side.. I dont want to install manually @ client side.. It would be directly handeled via server.. (like above example) so how its possible in php?Now getting me?

Link to comment
Share on other sites

Oh I see (though I can't see your example because I don't have the hindi fonts installed).Well, I'm not sure then, I wouldn't think it is possible but you will have to wait for other people to respond.I suppose with some fancy PHP image processing you may be able to get the words into an image... but that, I suppose, would be a last resort :)

Link to comment
Share on other sites

You're making 2 big assumptions. One is that they installed a font, and the other is that they used PHP to do it. Neither are correct. They aren't using a Hindi font, they are using a charset that includes Hindi characters.

<html lang="hi"><head>	  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">   <!-- Generated by Topcat --><meta http-equiv="Content-Language" content="hi">

Synook is correct, you can never install a font on a client. If you see something like this, just keep in mind that it's not because they installed a font, due to the fact that that is impossible.

Link to comment
Share on other sites

  • 2 weeks later...
You're making 2 big assumptions. One is that they installed a font, and the other is that they used PHP to do it. Neither are correct. They aren't using a Hindi font, they are using a charset that includes Hindi characters.
<html lang="hi"><head>	  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">   <!-- Generated by Topcat --><meta http-equiv="Content-Language" content="hi">

Synook is correct, you can never install a font on a client. If you see something like this, just keep in mind that it's not because they installed a font, due to the fact that that is impossible.

It is possible to embed font in the web page itself, using Ms-WEFT tool.
Link to comment
Share on other sites

As can be expected, that technology only works with Internet Explorer.For displaying things like page headlines in your own custom font with effects like antialiasing, the best method is to use sIFR. You would not want to use sIFR for entire blocks of text, only individual headlines and things like that.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...