网络字体可以是非utf兼容吗? [英] Can webfonts be non-utf compatible?

查看:124
本文介绍了网络字体可以是非utf兼容吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道还有什么值得指责...但我已经尝试了一切,包括使用squirrel转换器将原始tff重新转换为网络字体。

I'm not sure what else to blame... But I've tried everything, including reconverting original tff to web fonts using squirrel converter.

字体问题是这样的: http://www.fonts2u.com/bolnisi.font
它的描述: Unicode BMP only 这意味着什么:)

The font in question is this: http://www.fonts2u.com/bolnisi.font The description it says: Unicode BMP only whatever this means :)

在演示中,在html中输入了拉丁字符。
当我使用格鲁吉亚语utf字母:ქართული。此字体从不适用!

On the demo, I see that text in html had been entered in latin characters. When I use Georgian utf letters: ქართული. This font never applies!

示例: http: //mac.idev.ge:800/breakmedia/ 看看标题,只有数字被转换成这种字体。其余是正常的衬线。

Example: http://mac.idev.ge:800/breakmedia/ Look at the header, only numbers are transformed into this font. Rest is normal serif.

CSS:

@font-face {
    font-family: 'bolnisiregular';
    src: url('font/bolnisi-webfont.eot');
    src: url('font/bolnisi-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/bolnisi-webfont.woff') format('woff'),
         url('font/bolnisi-webfont.ttf') format('truetype'),
         url('font/bolnisi-webfont.svg#bolnisiregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html *
{
   font-family: 'bolnisiregular' !important;
}

这里发生了什么?任何想法?

What is happening here? any ideas?

推荐答案

这是一个典型的hack字体。正如你可以在你链接到的字体页面上看到的,字形不是他们应该属于的字符代码。在i的代码点处的字形是ი。这不是i的正确字形。 i的字形假设看起来像i。字形ი属于代码点U + 10D8,格鲁吉亚字母IN的代码点。

That's a typical "hack" font. As you can see on the font page you link to, the glyphs are not at the character code they're supposed to belong to. The glyph at the code point for "i" is "ი". That's not the correct glyph for "i". The glyph for "i" is supposed look like "i". The glyph "ი" belongs at code point U+10D8, the code point for the Georgian letter "IN".

这样的字体hacks是在代码点之前使用的因为该语言在Unicode标准中正式批准,和/或用于尚未支持Unicode的该语言的软件。即,在黑暗的时代,有没有官方编码的格鲁吉亚语,但格鲁吉亚人希望在他们的屏幕上看到格鲁吉亚字形。所以任意ASCII代码点重载了格鲁吉亚字形。严格来说,该字体已损坏。

Such font hacks are/were used before the code points for that language became officially ratified in the Unicode standard, and/or for software in that language which does not (yet) support Unicode. I.e., sometime in the dark ages there existed no official encoding for the Georgian language, yet people in Georgia wanted to see Georgian glyphs on their screens. So arbitrary ASCII code points were overloaded with Georgian glyphs. Strictly speaking, that font is broken.

这篇关于网络字体可以是非utf兼容吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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