Greasy Fork is available in English.

FixCJK!

1) Use real bold to replace synthetic SimSun bold; 2) Regular SimSun/中易宋体 can also be substituted; 3) Reassign font fallback list (Latin AND CJK). Browser serif/sans settings are overridden; 4) Use Latin fonts for Latin part in Latin/CJK mixed texts; 5) Fix fonts and letter-spacing for CJK punctuation marks.

Version au 08/06/2016. Voir la dernière version.

Auteur
stecue
Notes
0 0 0
Version
0.12.0
Créé
19/05/2016
Mis à jour
08/06/2016
Licence
GPLv3
S'applique à
Tous les sites

FixCJK!

Fix CJK fonts and punctuations for Chrome and Firefox

This was orignally developed to workaround a chromium bug. However now one can use this userscript to fix and change CJK fonts as well as Latin fonts. This is especially usefull for Linux users where the system font fallback list might be very confusing (Sometime you just can NOT predict what is the actual font for Sans or Serif in Chrome/Chromium/Firfox if you are not an expert on Fontconfig!) and common web fonts assigned in the CSS list are often missing. Windows users can also use this script to change/substitue webpage fonts (especially the dated SimSun bitmap font) on-the-fly.

Another goal of this script is to fix the CJK punctuations. Unicode assigns the same code for some CJK and Latin punctuations while they have different glyphs in CJK than in Latin. I call them "conflicting punctuations", and double and single curved quotation marks are among the most notable examples. Therefore simply using a single Latin/CJK font fallback list set in CSS cannot give the desired results. Currently, the font for CJK quotation marks as well as other full-width CJK punctuation marks are defined in CJKPunct. Letter-spacing is adjusted for consecutive marks.

Usage

Currently, just change variable definitions from CJKdefault to FixPunct.