如何更改网页标签的泰卢固语字体 [英] how can change telugu font for labels in webpages

查看:82
本文介绍了如何更改网页标签的泰卢固语字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.我是开发本地语言网站的新手.我创建一个页面,在该页面中我创建4个标签,并且我想为所有标签显示一些文本,但是我想更改4个标签的字体(字体为Priyaan_a6.pfm,PRIYAANK.PFM,PRIYABOL.PFM,PRIYABOL_a6.pfm )如何更改4个标签的字体.谁能帮我.


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!

推荐答案

没有泰卢固语字体"之类的东西.这不是Unicode的工作方式.

您可以使用的所有字体都应支持Unicode,但并非所有字体都支持所需的Unicode代码点的子集.至于泰卢固语,我只是试图在使用默认字体的Web浏览器中看到它-IE,Mozilla Seamonkey/Firefox和Google Chrome可以正确显示它.这还不够吗?看起来Telugu Unicode子范围很受欢迎,几乎所有现代OS的Web浏览器都支持它.

您所需要的只是对网页使用UTF-8.始终在所有页面的HTTP-EQUIV中指定它:

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:

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

......

</body>
</html>



一切都应该正常.

更糟糕的是,有一种将自定义字体嵌入CSS的技术.阅读此内容: http://randsco.com/index.php/2009/07/04/p680 [ ^ ].

搜索更多: http://lmgtfy.com/?q=embed+font+in+CSS [< ^ ].

—SA



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


这篇关于如何更改网页标签的泰卢固语字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆