scratch/content/html/en/blog/2010-01-12-antialias-font-in-Firefox-under-Ubuntu.md

91 lines
2.2 KiB
Markdown
Raw Normal View History

2010-02-17 12:27:01 +00:00
-----
# Custom
isHidden: false
menupriority: 1
kind: article
created_at: 2010-01-12T16:36:40+02:00
2010-02-17 12:27:01 +00:00
title: antialias font in Firefox under Ubuntu
multiTitle:
fr: Fontes adoucies sous Ubuntu Firefox
2010-02-17 12:27:01 +00:00
en: antialias font in Firefox under Ubuntu
multiDescription:
fr: Voici comment faire pour ne plus utiliser les fontes Microsoft© sous Linux Ubuntu pour avoir de belles fontes adoucies (anti aliased) qui ne font pas mal aux yeux sous Firefox.
en: How to stop using bad Microsoft© font under Ubuntu Linux in order to user nice anti aliased font under Firefox.
tags:
- Linux
- Ubuntu
- Fonts
-----
How to stop using bad Microsoft© font under Ubuntu Linux in order to user nice anti aliased font under Firefox.
Just modify the <code>/etc/fonts/local.conf</code> with the following code:
<div>
<code class="xml" file="local.conf">
2010-02-17 12:27:01 +00:00
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Miscellaneous settings -->
<include ignore_missing="yes">misc.conf</include>
<!-- Define alias -->
<include ignore_missing="yes">alias.conf</include>
<!-- Rules for Microsoft fonts -->
<include ignore_missing="yes">msfonts-rules.conf</include>
<match target="pattern" name="family" >
<test name="family" qual="any" >
<string>Tahoma</string>
</test>
<edit mode="assign" name="family" >
<string>Verdana</string>
</edit>
</match>
<selectfont>
<acceptfont>
<pattern>
<patelt name="family">
<string>Lucida Grande</string>
</patelt>
2010-02-17 12:27:01 +00:00
</pattern>
</acceptfont>
</selectfont>
<match target="pattern" name="family" >
<test name="family" qual="any" >
<string>Georgia</string>
</test>
<edit mode="assign" name="family" >
<string>Georgia</string>
</edit>
</match>
<selectfont>
<acceptfont>
<pattern>
<patelt name="family">
<string>Century Schoolbook L</string>
</patelt>
2010-02-17 12:27:01 +00:00
</pattern>
</acceptfont>
</selectfont>
</fontconfig>
</code>
</div>
Hope it helped someone who like me had his eyes crying in face of such ugly fonts.