Sometimes certain web pages in Firefox (FF) and html messages in Thunderbird (TB) the text can appear thin, ragged, badly rendered and hard to read. Even if you install the fonts the content uses onto your system it still appears the same. It seems that it’s necessary to disable bitmap font display for these fonts to avoid the ugliness in some web pages and emails. This HowTo is for content using the Calibri font in FF and TB and can be replaced with any compatible font.
This may also help font rendering in other applications like LibreOffice Writer under some circumstances.
Create or edit ~/.config/fontconfig/conf.d/20-no-embedded.conf
Note: Add the sub directory conf.d and create the file 20-no-embedded.conf in there.
Did a quick test and yes, it seems to work in LO Writer. Made a sample docx file in MS Word 365 with Calibri font and there is a difference (see before/after below).
Yes, I read that, I assumed you meant creating the file. I am asking about the folders.
I do have ~/.config/ but no /fontconfig/ under it. So should I create /fontconfig/ and /conf.d/ under it?