NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
仅作 OUJS 脚本安装源使用,因与通用版本的脚本名称不同,如您已安装通用版本 字体渲染(自用脚本),请勿在此重复安装,以免造成脚本冗余冲突。
Only Used for OUJS script installation source, due to different script name, If the generic version of "Font Rendering (Customized)" is already installed, please do not install it again to avoid script redundancy.
!!! 首次使用前请仔细阅读使用说明!仔细阅读使用说明!阅读使用说明 !!!!!! 遇到问题请至Github, 脚本错误请反馈至[Issues], 字体/渲染样式/乱码问题请反馈至[Discussions] !!!!!! 为保证您的数据安全,请及时备份您的本地数据!请勿使用来源未知的备份文件 !!!
!!! Please read carefully Notes and Instructions! Read carefully Notes and Instructions !!!!!! Report to[ Github Issues ]for script errors,[ Github Discussions ]for rendering/style problems !!!!!! Please backup local data in time! Do not use backup files from unknown sources !!!
version 2026.05.02.1 - 更新日志:
@ 改进字体渲染粗体描边样式修正函数的性能。 @ 改进站点缩放设置数据规则:域名匹配可包含端口号。 @ 改进 iframe 框架页面跨源通信的发送模式。 @ 优化增强对 GM_API::GM_addElement 的支持。 @ 优化脚本核心基础函数以提升运行性能。 @ 修正一些已知问题,优化代码,优化样式。
- 由于脚本更新会自动同步,OpenUserjs 将作为独立更新源专用,不再处理站内ISSUES。
- 所以,如果遇到样式问题或脚本错误,请访问 Github 反馈,通常会很快得到答复。
version 2026.05.02.1 - ChangeLog:
@ Improved performance of Bold style correction. @ Improved site scaling setting data rules: domain name matching can include port numbers. @ Improved send mode for cross-origin communication. @ Enhanced support for GM_API::GM_addElement. @ Optimized script core functions for performance. @ Fixed some known issues, optimized code & style.
- OpenUserjs serves as an independent update source and no longer handles ISSUES within the site.
- If you encounter problems or errors, please visit Github Feedback and you will usually get a quick response.
脚本使用说明
访问 Github Wiki 查看脚本使用说明。
其他有用的链接
- 如何正确地对不同显示器、浏览器设定字体渲染参数?
- 如何优雅正确地下载及使用更多中文及英文字体?
- 分享:关于分别设置英文字体和中文字体的方法。
- 分享字体表中的部分中文字体,自取自用。
- 关于个别网站样式错误修正的设置分享,不定期更新,自取自用。
- 分享:代码块中“等宽英文字体”的定义和自定义等宽字体的方式
🧰 Script instructions
Visit Github Wiki for instructions on how to use the script.
🧶 Other useful links:
- How to correctly set font rendering parameters for different monitors and browsers? (chinese)
- How to download and use more Chinese and English fonts elegantly and correctly? (chinese)
- Share: About how to set English fonts and Chinese fonts separately. (chinese)
- Share some Chinese fonts in the font list for your own use. (chinese)
- Sharing of settings for individual website style error corrections, updated from time to time, for your own use. (chinese)
- Share: The definition of "mono-width English font" in the code block and how to customize the mono-width font. (chinese)
郑重声明
某些魔改版本的Blink内核浏览器,关闭 DirectWrite 功能,会造成大部分字体无法被程序识别,或出现非ASCII字符与Emoji图标无法被正确渲染的问题。重要提示:后续所有脚本更新不再对应用
disabled DirectWrite的浏览器做代码兼容和问题解答,要使用该项目内的脚本,建议您使用主流浏览器。
注意事项
- 请先安装脚本管理器扩展(如:Tampermonkey, Violentmonkey, Greasemonkey),然后再安装脚本。
- Chrome, Firefox 推荐安装 Tampermonkey/Violentmonkey,Safari 推荐安装 Tampermonkey.
- 使用 Adguard桌面版 或 Userscripts 等脚本管理器,可通过 键盘快捷键 呼出脚本管理菜单
有些话说在前面
New
- 本项目为开源代码遵循GPL3.0开源协议,代码完全公开免费,不以盈利为目的,无意损害他人利益,不接受非授权的二次分发形成独立第三方脚本。
- 使用本项目不是使用AI程序,不是品尝神奇小饼干,需要一定的认知能力和动手能力,如果仅仅需要“别人会为我解决一切问题”的功能,我建议您可以选择其他高级的、智能的、无需动手操作的,或可意念通灵的Js脚本使用。
- 遇到任何问题,建议您通过 @Github 的 错误报告(Bug report) / 新功能要求(Feature request) 模板来提交ISSUES,这样不仅会让你很快发现问题所在,也能让我可以通过反馈数据尽快给出解决方案或合理建议。
字体渲染 新版本,使用前请注意以下事项:
- 新版脚本中内置了默认的字体渲染样式,该样式为我的本地配置,并不能完美适配于你的计算机。所以,首次使用时,如果出现渲染效果没有达到理想状态,属于正常情况。请根据自有显示器的配置及设置,通过脚本配置界面修正相关参数来达到最佳显示效果。
- 老用户从旧版本升级至最新版时,如遇到样式异常,可通过重置功能使用最新的过滤规则来尝试纠正问题,再重新配置个性化数据保存。强迫症用户建议重置所有配置数据,使用最新规则重新配置渲染参数并保存,记得重新备份数据。
- 注意:在Win10/Win11下,不论高分屏或低分屏,只要系统或浏览器应用150%以上缩放率即可获得最佳渲染效果,这是Windows默认渲染机制所决定的。
Rating: 33