Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Latest commit

 

History

History
23 lines (18 loc) · 1.11 KB

README.md

File metadata and controls

23 lines (18 loc) · 1.11 KB

Text Hinting (Chromium Extension)

NOTE: This repository is now archived and no longer maintained. Microsoft has recently added native ClearType support to their Chromium fork (Edge version 92) and as a result this extension is no longer needed.


Chromium-based browsers intentionally weaken the font rendering on Windows. As to why, I have no idea. This is an ultra simple extension which tweaks the text to look almost on par with how the system normally renders ClearType text.

This extension has no JavaScript, requires no permissions, and is totally free and open source. See the code in the ext directory.

How it works: This extension applies a CSS rule which adds a slight stroke to the text, making it ever so slightly bolder. The stoke is calculated based on the font size - so larger fonts get very little or no enhancement, whereas smaller fonts get more enhancement. I have compared various pages side by side between Firefox and Chrome/Chromium/Edge, on multiple screens with different pixel densities, to fine-tune the amount of enhancement to get a near-exact match.