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

Enhances text rendering to approximate system ClearType in Chromium-based browsers.

License

Notifications You must be signed in to change notification settings

vsalvino/chromium-texthint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Enhances text rendering to approximate system ClearType in Chromium-based browsers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published