Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello to every body . i am new for developing local language website. i create one page, in that page i create 4 labels and i want to display some text for all labels,but i want to change font for 4 labels(fonts are Priyaan_a6.pfm,PRIYAANK.PFM,PRIYABOL.PFM,PRIYABOL_a6.pfm) how can i change font for 4 labels. can anyone please help me.


thanks in advance!
Posted
Comments
Manish.Insan 20-Dec-11 5:15am    
for this you can use globalization. from this concept you can use multiple languages in your website.

1 solution

There is no such thing as "Telugu fonts". This is not how Unicode works.

All fonts you can use should support Unicode, but not all fonts support the subset of the Unicode code point you need. As to Telugu, I just tried to see it in a Web browser using default font face — it is shown correctly by IE, Mozilla Seamonkey/Firefox and Google Chrome. Isn't that enough? It looks like Telugu Unicode sub-range is popular enough to be supported by Web browsers for nearly all modern OS.

All you need is using UTF-8 for your Web pages. Always prescribe it in HTTP-EQUIV of all pages:

XML
<html>
    <head>
        <title>You title&hellip;</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>
<body>

......

</body>
</html>


Everything should work.

In worse case, there is a technique for embedding custom fonts in CSS. Read this: http://randsco.com/index.php/2009/07/04/p680[^].

Search for more: http://lmgtfy.com/?q=embed+font+in+CSS[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900