Disable Anitaliasing fonts

Archived topics about LMDE 1 and LMDE 2
Locked
kcpoole

Disable Anitaliasing fonts

Post by kcpoole »

Can some one provide info on how to disable Anitaliasing fonts on Mint ( or any other Gnome UI ).

Forget the invitable comments that liased font look better and provide a better user experience. For me and many others, they just look Fuzzy and give me a headace after about 30 minutes of use

I support windows 7 for my work, and to turn off all antialiasing, it is one check box. If I do not do this at the first boot on Win7 / 2008 install, by the time the install has completed I have a headache for the rest of the day.

Same applies to recent Mint / Ubuntu

Last used ubuntu and there was a font tuning application that I used, but it only worked on the operating system fonts, this on Firefox and Thunderbird were not changed. I had to modify these font settings manually.
About 1 year ago I installed Minto over the top of this and the UI settings were retained so I have been OK with it up till now. I have to reinstall this machine du to playing with Disk Formats :lol:
I ran up a new laptop with Mint on it ( LMDE) and using Cinnamon or Mate, the fonts are antialiased. I cannot look at it for more that 30 minutes before having to turn it off and do something else!

Not happy
Ken
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
kcpoole

Re: Disable Anitaliasing fonts

Post by kcpoole »

A reply to another post elswhere, mentions to use "Gnome Tweak Tool" http://live.gnome.org/GnomeTweakTool

Anyone tried it?
is it in any repos?

tia
Ken
eanfrid

Re: Disable Anitaliasing fonts

Post by eanfrid »

The default "slight" antialiasing is quite bad and blurry indeed. You should then choose either at least "medium" or "none" (if you prefer a 1990's style) in antialiasing options. The gnome-tweak-tool thing is in Mint/Ubuntu repos and is now a standard tool in Gnome 3. But regarding Cinnamon, you must look for display settings in "Cinnamon Settings".
User avatar
Oscar799
Level 20
Level 20
Posts: 10397
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Disable Anitaliasing fonts

Post by Oscar799 »

Moved here by moderator
Image
kcpoole

Re: Disable Anitaliasing fonts

Post by kcpoole »

Dunnu why moved to LMDE forum as it relates to Gnome UI and not specific to LMDE but that OK so long as users see it and can help out.

Ken
proxima_centauri

Re: Disable Anitaliasing fonts

Post by proxima_centauri »

gnome-tweak-tool is installed by default and is available under the name "Advanced Settings" in the menu.
kcpoole

Re: Disable Anitaliasing fonts

Post by kcpoole »

Ok found gnome-tweak-tool ( not installed by default on my install).
Set the Default and document fonts to DejaVu Sans, with Antialiasing to None, and Hinting to Full gives a nice sharp single line font on Most apps Excep Firefox and Thunderbird.
They seem to ignore the OS Font settings on Mint, but when disable Antialiasing on Win7 they Both use the system settings.

Any idea on how to get FF and Thunderbird to also have no Anitaliasing too?

Ken
titetanium
Level 2
Level 2
Posts: 81
Joined: Mon Jun 18, 2012 4:26 pm

Re: Disable Anitaliasing fonts

Post by titetanium »

Hi,

Try this addon for both firefox and thunderbird. Works for me.
egrath

Re: Disable Anitaliasing fonts

Post by egrath »

Hi,
if you want to totally disable antialiasing in your fonts, the best way is to do the following:
  • Install fonts which have excellent Hinting information in them (like the Microsoft Core Fonts for web; apt-get install ttf-mscorefonts-installer)
  • Tweak your /etc/fonts/local.conf to disable antialiasing entirely and enable full hinting.
  • Set your Display fonts to Arial and Courier New in the Settings
This gives you essentially the look and feel of Windows 2000/XP with crispy and sharp fonts. I have attached my /etc/fonts/local.conf for your reference.

Code: Select all

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
 
(Mostly aliased) Font configuration
 
This configuration assumes that you like crispy and sharp looking fonts, like
the ones shown in the default configuration of Windows versions before Vista.
 
It also assumes that you have installed at least the following fonts:
 
* Arial
* Times New Roman
* Courier
 
These fonts are freely available on the Web from various places like your
distribution provided repository or over at http://corefonts.sourceforge.net
 
-->
<fontconfig>
    <dir>/usr/share/fonts/ttf</dir>
     
    <!-- Font replacements for standard names -->
    <match target="pattern" name="family">
        <test name="family" qual="any">
            <string>sans</string>
        </test>
        <edit name="family" mode="assign" binding="strong">
            <string>Arial</string>
        </edit>
    </match>
     
    <match target="pattern" name="family">
        <test name="family" qual="any">
            <string>sans-serif</string>
        </test>
        <edit name="family" mode="assign" binding="strong">
            <string>Arial</string>
        </edit>
    </match>
     
    <match target="pattern" name="family">
        <test name="family" qual="any">
            <string>serif</string>
        </test>
        <edit name="family" mode="assign" binding="strong">
            <string>Times New Roman</string>
        </edit>
    </match> 
     
    <match target="pattern" name="family">
        <test name="family" qual="any">
            <string>monospace</string>
        </test>
        <edit name="family" mode="assign" binding="strong">
            <string>Courier New</string>
        </edit>
    </match>
     
    <match target="pattern" name="family">
        <test name="family" qual="any">
            <string>monospaced</string>
        </test>
        <edit name="family" mode="assign" binding="strong">
            <string>Courier New</string>
        </edit>
    </match> 
     
    <match target="pattern" name="family">
        <test name="family" qual="any">
            <string>mono</string>
        </test>
        <edit name="family" mode="assign" binding="strong">
            <string>Courier New</string>
        </edit>
    </match> 
     
    <!-- Font replacements for other often used font names
         that we probably don't have installed -->      
    <match target="pattern">
        <test name="family" qual="any" mode="contains">
            <string>Helvetica</string>
        </test>
        <edit name="family" mode="assign" binding="strong">
            <string>Arial</string>
        </edit>
    </match>
 
    <match target="pattern">
        <test name="family" qual="any" mode="contains">
            <string>Times Roman</string>
        </test>
        <edit name="family" mode="assign" binding="strong">
            <string>Times New Roman</string>
        </edit>
    </match>
     
    <match target="pattern">
        <test name="family" qual="any" mode="contains">
            <string>Times</string>
        </test>
        <edit name="family" mode="assign" binding="strong">
            <string>Times New Roman</string>
        </edit>
    </match>
     
    <match target="pattern">
        <test name="family" qual="any" mode="contains">
            <string>Courier</string>
        </test>
        <edit name="family" mode="assign" binding="strong">
            <string>Courier New</string>
        </edit>
    </match>
     
    <match target="pattern">
        <test name="family" qual="any" mode="contains">
            <string>Consolas</string>
        </test>
        <edit name="family" mode="assign" binding="strong">
            <string>Courier New</string>
        </edit>
    </match> 
     
    <!-- Default settings -->
    <match target="font">
        <edit name="antialias" mode="assign"><bool>false</bool></edit>
        <edit name="hinting" mode="assign"><bool>true</bool></edit>
        <edit name="autohint" mode="assign"><bool>false</bool></edit>
        <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>    
        <edit name="rgba" mode="assign"><const>none</const></edit>
    </match>
     
    <!-- Make fonts larger than 15 Pt. Antialiased with RGB Subpixel rendering -->
    <match target="font">
        <test name="size" qual="any" compare="more_eq">
            <double>15</double>
        </test>
        <edit name="antialias" mode="assign"><bool>true</bool></edit>
        <edit name="hintstyle" mode="assign"><const>hintmedium</const></edit>
        <edit name="rgba" mode="assign"><const>rgb</const></edit>
        <edit name="lcdfilter" mode="assign"><const>lcdlight</const></edit>
    </match>
 
    <!-- Make fonts smaller than 8 pt. Antialiased with RGB Subpixel rendering -->
    <!-- and fully hinted -->
    <match target="font">
        <test name="size" qual="any" compare="less">
            <double>9</double>
        </test>
        <edit name="antialias" mode="assign"><bool>true</bool></edit>
        <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
        <edit name="rgba" mode="assign"><const>rgb</const></edit>
        <edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
    </match>
     
    <!-- Make bold fonts Antialiased with RGB Subpixel rendering -->
    <match target="font">
        <test name="weight" qual="any" compare="more_eq">
            <const>demibold</const>
        </test>      
        <edit name="antialias" mode="assign"><bool>true</bool></edit>
        <edit name="hintstyle" mode="assign"><const>hintmedium</const></edit>
        <edit name="rgba" mode="assign"><const>rgb</const></edit>
        <edit name="lcdfilter" mode="assign"><const>lcdlight</const></edit>    
    </match>
 
    <!-- Special handling for Lucida Grande Font family -->
    <match target="font">
        <test name="family" qual="any">
            <string>Lucida Grande</string>
        </test>
        <edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
    </match>
 
    <!-- Special handling for DejaVu Font family -->
    <match target="font">
        <test name="family" qual="any">
            <string>DejaVu Sans</string>
            <string>DejaVu Sans Mono</string>
            <string>DejaVu Serif</string>
        </test>
         
        <edit name="antialias" mode="assign"><bool>true</bool></edit>
        <edit name="hintstyle" mode="assign"><const>hintmedium</const></edit>
        <edit name="rgba" mode="assign"><const>rgb</const></edit>
        <edit name="lcdfilter" mode="assign"><const>lcdlight</const></edit>
    </match>
     
    <!-- Special handling for Liberation Font family -->
    <match target="font">
        <test name="family" qual="any">
            <string>Liberation Sans</string>
            <string>Liberation Serif</string>
            <string>Liberation Mono</string>
        </test>
         
        <edit name="hintstyle"><const>hintslight</const></edit>
    </match>
 
    <!-- Special handling for Droid Font family -->
    <match target="font">
        <test name="family" qual="any">
            <string>Droid Sans</string>
            <string>Droid Sans Mono</string>
            <string>Droid Serif</string>
        </test>
 
        <edit name="antialias" mode="assign"><bool>true</bool></edit>
        <edit name="rgba" mode="assign"><const>rgb</const></edit>
        <edit name="lcdfilter" moder="assign"><const>lcdlight</const></edit>
    </match>
     
    <!-- Special handling for Ubuntu Font family -->
    <match target="font">
        <test name="family" qual="any" compare="contains">
            <string>Ubuntu</string>
        </test>
 
        <edit name="antialias" mode="assign"><bool>true</bool></edit>
        <edit name="rgba" mode="assign"><const>rgb</const></edit>
        <edit name="lcdfilter" moder="assign"><const>lcdlegacy</const></edit>
    </match>   
</fontconfig>
Screenshot of what it looks like:
egrath_desktop.png
egrath
j.rueger

Re: Disable Anitaliasing fonts

Post by j.rueger »

After I upgraded to LMDE UP7 (and Firefox 24), Firefox ignored MATE's font settings, at least the hinting.
After some fiddling around, I found a fix.

This helped me get on the right track: http://livelinux.altervista.org/Guida_LMDE/EN_tips.html
Point 20, Adjust Fonts.

The tip is a bit outdated, on UP7 you just need to remove 10-hinting-slight.conf and link in i.e. 10-hinting-full.conf to make Firefox behave. :)

Hope this helps someone finding this thread.
Locked

Return to “LMDE Archive”