Comment 21 for bug 1883369

Revision history for this message
In , Lsalzman (lsalzman) wrote :

(In reply to Augustin Trancart [:autra] from comment #13)
> > I found the ugly rendering is also persistent (not just on hover) on some websites
>
> Yes, one of those websites is the demo version of codimd (https://demo.codimd.org, in the preview pane). It is not *always* bad though, but it eventually gets there, and then it stays ugly.
>
> > local font rendering settings (freetype prefs etc) may be part of the formula, as well as whatever the sites are doing in their css/js.
>
> I can test some other local settings if you want.

Do you use hintfull in your fontconfig hintstyle settings? It might be that when it is rendering with subpixel AA it uses the LCD-hinting algorithm, whereas when it goes to grayscale it has to use the normal hinting algorithm. If so, if you try using some other hintstyle like hintslight explicitly in your fontconfig settings, does it fix it?