如何在extjs中将字体设置为网格

发布于 2024-08-24 08:16:09 字数 142 浏览 4 评论 0原文

我想将 DVB-TTYogesh Normal(真实类型)字体设置为网格。 为此,我将以下内容添加到网格中, 样式:'字体系列:DVB-TTYogesh'。

但网格中的数据仍然显示“pcmcÁÖß´Ö.³ÖÖêÖ»Öê”,就像这样,我想要它 以实际形式

i want to set a DVB-TTYogesh Normal (true type) font to grid.
for that i added the following to grid,
style:'font-family:DVB-TTYogesh'.

but the data in the grid still show "pcmcÁÖß´Ö.³ÖÖêÃÖ»Öê" like this and i want it
in actualform

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

美人如玉 2024-08-31 08:16:09

我假设该字体实际上已安装在您的系统上(并且必须安装在所有用户的系统上才能为他们显示)。另外,请检查您的页面是否使用 UTF-8 编码。

I assume that font is actually installed on your system (and it must be installed on all users' systems to display for them). Also, check that your page is using UTF-8 encoding.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文