gpt4 book ai didi

windows - 是否可以在 chrome 中启用 directwrite?

转载 作者:可可西里 更新时间:2023-11-01 13:17:53 42 4
gpt4 key购买 nike

在 IE10 以上的几乎所有方面我都更喜欢谷歌浏览器,但我讨厌的一件事是字体在 IE10 中看起来好多了。这在使用小型数学字体时尤其明显。它们在 IE10 中看起来像 pdf 质量。

稍微查找了一下,发现这是因为IE10在windows 7/8中使用DirectWrite进行字体渲染。我在搜索 chrome 将来是否会支持这个,我找到了这个信息:

Apr 24, 2013 :

An update for everyone that's watching this one:

Our Windows font rendering is actively being worked on. Basic support for DirectWrite is now in Skia (to update from comment #13). At the same time, GDI was very deeply embedded in the Windows WebKit port and is still being rooted out. We hope to have something within a milestone or two that developers can start playing with. How fast it goes to stable is, as always, all about how fast we can root out and burn down any regressions.

We'll update the thread here when it's available behind a runtime flag for y'all to try out.

Oct 8, 2013

The following revision refers to this bug: http://src.chromium.org/viewvc/blink?view=rev&rev=159071 Changed paths: M http://src.chromium.org/viewvc/blink/trunk/Source/core/platform/graphics/skia/FontCacheSkiaWin.cpp?r1=159071&r2=159070&pathrev=159071 M http://src.chromium.org/viewvc/blink/trunk/Source/core/page/RuntimeEnabledFeatures.in?r1=159071&r2=159070&pathrev=159071
Add runtime flag for using DirectWrite on windows
Add runtime enabled feature for using the DirectWrite skia backend on
windows.
BUG=25541 R=bungeman@chromium.org, eseidel@chromium.org
Review URL: https://codereview.chromium.org/26335002

我什至不知道运行时标志是什么,但在我看来这可能以某种方式在 chrome 中启用 directwrite。这是真的 ?或者我应该再等一段时间才能在 chrome 中使用 directwrite 字体渲染?

最佳答案

遗憾的是还没有(截至 2013 年 10 月 31 日,没有任何 Chromium channel 支持开箱即用的此功能)。

如果你看最新的RuntimeEnabledFeatures.in , DirectWrite 没有分配任何 status。根据Blink document ,用户无法通过 about:flags 启用功能,除非分配了 status=experimental

但希望很快,这样 Windows 用户可能会更好地使用网络字体:)

2013 年 11 月 16 日更新:使用 latest issue 25541 comment ,看来我们非常接近能够在 Canary 中启用 DirectWrite。

2014-01-04 更新:Canary 版本现在有一个 command line switch可以启用 DirectWrite 字体渲染,但需要禁用沙盒模式(对于日常浏览来说不安全)。还有一些与之相关的字体渲染问题。希望他们能尽快修复它们并将此功能添加到 about:flags

2014-05-09 更新:最新的 Canary 版本 (m36) 现在在沙盒模式下正确支持 DirectWrite(通过 issue 333029 实现),这意味着开发人员可以直接启用 DW,方法是转到about:flags#enable-direct-write。至于消费者,谷歌的目标发布时间为 m37。 .

2014-08-09 更新:Chrome 37 beta enables DirectWrite by default ,希望 Chrome 37 正式版也默认拥有它。

2014-08-31 更新:Chrome 37 稳定版有 DirectWrite enabled by default !请注意,用户仍然可以在 about:flags 中关闭它(其中一些人改用 MacType)。

关于windows - 是否可以在 chrome 中启用 directwrite?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19635723/

42 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com