English 中文(简体)
Webfont 的限定字符集吗?
原标题:Limit characterset of a Webfont?

能否限制嵌入网络的字符集?

例如,“ Typekit” 在其“ Kit 编辑器” 中有一个选项, 您可以在 < code> 所有字符 或 < code> Default 之间选择 。

然而,在我的情况中,我并不使用Tymbit,而是使用普通的嵌入式网络信息。由于字符数量巨大,字体文件相当大。

@font-face-face call 是否有一些“meta-tag”或“atribute”来限制“charcterset”来表示“Latin-1”?

Thank you in advance, Matt

最佳回答

只是告诉浏览器使用您提供的字体定义文件, 它会下载整个内容。 如果字体文件太大, 因为含有您实际上不实际使用的格字, 您需要通过删除( 或, 而不是包括) glyphs 来缩小定义文件的大小。 我使用的 Web-font 创建软件允许您指定要包含哪些字符 。

即使有办法告诉浏览器“只使用拉丁-1”它仍必须下载整个文件才能丢掉其中的一部分。

[请注意,如果您随后要求删除您遗漏的胶片,您的用户将会看到一个方形,或者问题标记。 曾经有过, 已经做到了! ]

问题回答

Font Squirrel Font-face 生成器有一个子设置特性。 如果您使用专家设置, 完全可自定义 。 < a href="http://www.fontsquirrel.com/fontface/generator" rel=“ nofollow” > http://www.fontsquirrel.com/fontface/generator





相关问题
Java (AWT): fitting text in a box

I have an application that extends a Frame. Then, it ll display a few lines of text using: Font f = new Font("Arial", Font.PLAIN, 10); g.setFont(f); g.drawString("Test|great Yes ^.", x, y + 10); Now ...

Embed font into PDF file by using iText

I defined a tag map, and got a XML data file. I want to convert the XML data file to PDF by using iText. The question is how to embed fonts (e.g. Polish font, Chinese font) into the target PDF when ...

Font Rendering between Mozilla and webkit

I m not sure if this has anything to do with the recent Safari update, but I m beginning to notice this a lot. There is a drastic difference in the way each browser is rendering fonts. for instance, ...

Embedding Fonts in AS3 - Dynamic Text Field disappears

This is hopefully a new problem or just me missing something obvious. Please help! I m embedding a font into my AS3 application. I m doing everything by-the-book and it half-works. In my main class, ...

Dynamic GD image width text

I m trying to spice up my website by using custom fonts for headings. For me, the most appropriate way to do this is using PHP and GD. I have written a little script which will output the dynamic text ...

How do I combine @font-face and @media declarations?

I d like to build a common typography stylesheet with a very small number of selectors. As such, I d far prefer to use @media sections for the various versions rather than create different files, each ...

热门标签