Truetype or subpixel font render active in Firefox,Chomium, Notepad

Hello,

since the last update from beginning of november, the ugly (my opinion) truetype or subpixel render is active again.

I discovered the same issue 6 years ago after an update of freetype.
With the help of the community I was able to fix it:

nano → /etc/profile.d/freetype2.sh
export FREETYPEPROPERTIES=“truetype:interpreter-version=35”

The solution does not work anymore.
It seems this time there was no update to freetype.
The font anti aliasing in the manjaro settings is deactivated.
The fonts in the manjaro settings manager is also rendered without the truetype/subpixel. Same for Libeoffice which looks fine.

The title bar of these 3 example tools is rendered correctly without truetype/subpixel. But the bookmark bar and the webpage content has this rendering active.

Does anything changed in manjaro on how the font rendering is handled?

Maybe someone can help me out.
Thanks in advance.

Hello,

That should be FREETYPE_PROPERTIES

You are right, there was a typo in my documentation. But the config file was correct.

I was able to bring Chromium and NotePadqq back to normal.
I removed the QT5 font config file via QT-settings tool. After reapplying the xfce font settings both tools were back to pre-update look.

Only Firefox is still looking bad.

Hey,

I was able to find the solution for Firefox on my own :slight_smile:
Because Firefox seems to ignore the Xfce settings or something, I edit the global one and this one is used by Firefox for Menu and web page rendering.
Firefox seems to ignore $HOME/.config/fontconfig/fonts.conf as well.

/etc/fonts/local.conf

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <match target="font">
        <edit name="antialias" mode="assign">
            <bool>false</bool>
        </edit>
        <edit name="hinting" mode="assign">
            <bool>true</bool>
        </edit>
        <edit name="hintstyle" mode="assign">
            <const>hintslight</const>
        </edit>
        <edit name="rgba" mode="assign">
            <const>none</const>
        </edit>
        <edit name="autohint" mode="assign">
            <bool>none</bool>
        </edit>
        <edit name="lcdfilter" mode="assign">
            <const>lcdnone</const>
        </edit>
        <edit name="dpi" mode="assign">
            <double>96</double>
        </edit>
    </match>
</fontconfig>

My fonts are crisp and without antialias again :heart_eyes:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.