解决41版后chrome菜单标题不支持mactype的方法 #折腾PC

chrome升级后,采用directwrite,导致mactype无法对chrome进行字体渲染,根据前人的成果,解决方法总结如下:

 

1、chrome://flags/#disable-direct-write 启用

此项可以解决网页字体渲染问题

 

2、chrome快捷方式启动参数添加 --disable-directwrite-for-ui

此项可以解决菜单标题问题,但是仅此快捷方式有效

 

3、注册表修改添加--disable-directwrite-for-ui

可以完美解决chrome启动后的菜单标题无法用mactype修改

 

附reg(可粘贴到文本编辑器中使用)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ChromeHTML\shell\open\command]
@="\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" --disable-directwrite-for-ui -- \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ChromeHTML.VTVM2JWRALUDI3LLO6TU7KI2IU\shell\open\command]
@="\"C:\\Users\\green\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe\" --disable-directwrite-for-ui -- \"%1\""

[HKEY_CLASSES_ROOT\Http\shell\open\command]
@="\"C:\\Users\\green\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe\" --disable-directwrite-for-ui -- \"%1\""

[HKEY_CLASSES_ROOT\Https\shell\open\command]
@="\"C:\\Users\\green\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe\" --disable-directwrite-for-ui -- \"%1\""

[HKEY_CLASSES_ROOT\ftp\shell\open\command]
@="\"C:\\Users\\green\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe\" --disable-directwrite-for-ui -- \"%1\""

[HKEY_CLASSES_ROOT\htmlfile\shell\open\command]
@="\"C:\\Users\\green\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe\" --disable-directwrite-for-ui -- \"%1\""

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\command]
@="\"C:\\Users\\green\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe\" --disable-directwrite-for-ui -- \"%1\""

 

自行修改chrome路径。

posted @ 2016-03-14 17:28  Chinagn  阅读(2242)  评论(0编辑  收藏  举报