便携式网络字体技术

发布于 2024-07-10 08:57:42 字数 324 浏览 9 评论 0原文

在阅读了关于网络字体字体选择的问题后,我想到便携式网络字体就是答案。 我们曾经使用 Bitstream 的一个包来生成嵌入网页所需字体的子集,以便它在每个平台上的每个浏览器中看起来都相同。 当我用 Google 搜索这个时,我发现了一个 RFC,看起来像是 Bitstream 所有的,除此之外就没有什么了。

这项技术怎么了? 我只是没看到吗? 还是因为它是专有的而消失了? 如果是这样,这项技术的前景如何?

After reading the question on web font typeface selection, it occurred to me that portable network fonts were the answer. We used to use a package by Bitstream to generate subsets of needed fonts to embed in web pages so that it looked the same in every browser on every platform. When I Googled this, I found an RFC that looks like it's owned by Bitstream, and not much else.

What happened to this technology? Am I just not seeing it? Or did it disappear because it was proprietary? If so, what's on the horizon for this technology?

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

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

发布评论

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

评论(3

冬天旳寂寞 2024-07-17 08:57:42

大多数基于网络的字体嵌入技术都痛苦地死去了。 例如,微软对此的看法是,猜猜看,仅适用于 IE,因此其他浏览器无法呈现它。 当然,网页设计师不想走这条路。

新的 CSS 标准支持字体嵌入 IIRC。 到目前为止,还没有浏览器支持它。

如果您只想使用特定字体完成标题,我建议使用 sIFR 或 SVG 预渲染它们(我使用动态渲染的 SVG,但我的标题大小通常为 2Mb)。

如果您希望使用您的字体完成整个文本,那么,运气不好 - 目前没有简单的方法可以做到这一点。 不过,如果您考虑到大多数用户仍然使用 IE =sigh= 那么您可以尝试使用 Microsoft 的 WEFT 并看看它是否适合您。 但请记住,许多用于打印的字体不具有与 Georgia 等字体相同的暗示质量。

祝你好运!

Most of web-based font embedding technologies died a painful death. For example, Microsoft's take on it was, guess what, IE-only, so other browsers couldn't render it. Naturally, web designers didn't want to go this way.

The new CSS standard has support for font embedding, IIRC. So far, no browser supports it.

If you want just headings done in your specific font, I would suggest pre-rendering them, using sIFR, or SVG (I use dynamically rendered SVG, but often my headings are 2Mb in size).

If you want the whole text done with your font, well, tough luck - there is no easy way of doing this at the moment. Though if you take into account that the majority of users still use IE =sigh= then you could try going with Microsoft's WEFT and see if it works for you. Bear in mind, though, that lots of fonts intended for print don't have the same quality of hinting that something like Georgia would have.

Good luck!

冰雪梦之恋 2024-07-17 08:57:42

您可能会对这个链接感兴趣: http://typeface.neocracy.org/

它使用 javascript,所以它只能在支持并启用 javascript 的地方工作。 但在大多数情况下,这个比例很高。

This link might be of interest to you: http://typeface.neocracy.org/

It's using javascript, so it'll only work where javascript is supported and enabled. But in most cases, this is a high percentage.

假面具 2024-07-17 08:57:42

Bitstream PFR 技术仅在 Netscape 4 中受支持,值得庆幸的是 Netscape 很久以前就已经消失了。

微软在网络字体方面的尝试从未得到广泛接受,原因如下:

  • 仅限 IE;
  • 转换为EOT的不便;
  • WEFT 工具尤其糟糕;
  • 缺乏在屏幕上呈现良好的字体,尤其是当 ClearType 可能不可用/禁用时;
  • 许可证允许您将其嵌入到网络上的字体很少。

人们正在推动 TrueType/OpenType 字体文件在网络上正常工作,这可能会出现在 Firefox 3.1、Opera 10 和 Safari 中。 不过,主要出于版权原因,对此存在一些政治争论。 就我个人而言,我认为目前需要一点点猖獗的盗版行为才能将字体许可从当前可悲的默认位置“你不能将我们的字体用于任何用途”中唤醒。

因此,在此期间,如果您确实介意的话,可以对 IE 使用 EOT/WEFT,但情况可能很快就会改变。

The Bitstream PFR technology was only supported in Netscape 4, which thankfully died a long time ago.

Microsoft's attempt at web fonts never met widespread acceptance due to:

  • being IE-only;
  • the inconvenience of converting to EOT;
  • the awfulness of the WEFT tool in particular;
  • the paucity of fonts that render well on screen, especially when ClearType may be unavailable/disabled;
  • the paucity of fonts whose licences allowed you to embed them on the web.

There is a push to make TrueType/OpenType font files Just Work on the web, which may show up in Firefox 3.1, Opera 10 and Safari. There's some political debate regarding this, though, largely for copyright reasons. Personally I think at this point a little bit of rampant piracy might be what's needed to wake up font licensing from its current woeful default position of "you can't use our fonts for anything".

So in the meantime you can use EOT/WEFT for IE if you really can be bothered, but things may soon change.

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