her.esy.fun/src/Scratch/fr/blog/2010-01-12-antialias-font-in-Firefox-under-Ubuntu/index.html
Yann Esposito (Yogsototh) 059fabd7d0
many minor details to update
2022-10-26 11:38:50 +02:00

149 lines
11 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>YBlog - Fontes adoucies sous Ubuntu Firefox</title>
<meta name="keywords" content="Linux, Ubuntu, Fonts" />
<link rel="shortcut icon" type="image/x-icon" href="../../../../Scratch/img/favicon.ico" />
<link rel="stylesheet" type="text/css" href="../../../../css/y.css" />
<link rel="stylesheet" type="text/css" href="/css/legacy.css" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="/rss.xml" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" href="../../../../Scratch/img/about/FlatAvatar@2x.png" />
<!--[if lt IE 9]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<![endif]-->
<!-- IndieAuth -->
<link href="https://twitter.com/yogsototh" rel="me">
<link href="https://github.com/yogsototh" rel="me">
<link href="mailto:yann.esposito@gmail.com" rel="me">
<link rel="pgpkey" href="../../../../pubkey.txt">
</head>
<body lang="fr" class="article">
<div id="content">
<div id="header">
<div id="choix">
<span id="choixlang">
<a href="../../../../Scratch/en/blog/2010-01-12-antialias-font-in-Firefox-under-Ubuntu/">Anglais</a>
</span>
<span class="tomenu"><a href="#navigation">↓ Menu ↓</a></span>
<span class="flush"></span>
</div>
</div>
<div id="titre">
<h1>Fontes adoucies sous Ubuntu Firefox</h1>
</div>
<div class="flush"></div>
<div id="afterheader" class="article">
<div class="corps">
<p>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.</p>
<p>modifiez le fichier <code>/etc/fonts/local.conf</code> en y incluant le contenu suivant&nbsp;:</p>
<div>
<div class="sourceCode" id="cb1"><pre class="sourceCode xml"><code class="sourceCode xml"><a class="sourceLine" id="cb1-1" title="1"></a>
<a class="sourceLine" id="cb1-2" title="2"><span class="kw">&lt;?xml</span> version=&quot;1.0&quot;<span class="kw">?&gt;</span></a>
<a class="sourceLine" id="cb1-3" title="3"><span class="dt">&lt;!DOCTYPE </span>fontconfig SYSTEM &quot;fonts.dtd&quot;<span class="dt">&gt;</span></a>
<a class="sourceLine" id="cb1-4" title="4"><span class="kw">&lt;fontconfig&gt;</span></a>
<a class="sourceLine" id="cb1-5" title="5"></a>
<a class="sourceLine" id="cb1-6" title="6"><span class="co">&lt;!-- Miscellaneous settings --&gt;</span></a>
<a class="sourceLine" id="cb1-7" title="7"></a>
<a class="sourceLine" id="cb1-8" title="8"><span class="kw">&lt;include</span><span class="ot"> ignore_missing=</span><span class="st">&quot;yes&quot;</span><span class="kw">&gt;</span>misc.conf<span class="kw">&lt;/include&gt;</span></a>
<a class="sourceLine" id="cb1-9" title="9"></a>
<a class="sourceLine" id="cb1-10" title="10"><span class="co">&lt;!-- Define alias --&gt;</span></a>
<a class="sourceLine" id="cb1-11" title="11"></a>
<a class="sourceLine" id="cb1-12" title="12"><span class="kw">&lt;include</span><span class="ot"> ignore_missing=</span><span class="st">&quot;yes&quot;</span><span class="kw">&gt;</span>alias.conf<span class="kw">&lt;/include&gt;</span></a>
<a class="sourceLine" id="cb1-13" title="13"></a>
<a class="sourceLine" id="cb1-14" title="14"><span class="co">&lt;!-- Rules for Microsoft fonts --&gt;</span></a>
<a class="sourceLine" id="cb1-15" title="15"></a>
<a class="sourceLine" id="cb1-16" title="16"><span class="kw">&lt;include</span><span class="ot"> ignore_missing=</span><span class="st">&quot;yes&quot;</span><span class="kw">&gt;</span>msfonts-rules.conf<span class="kw">&lt;/include&gt;</span></a>
<a class="sourceLine" id="cb1-17" title="17"></a>
<a class="sourceLine" id="cb1-18" title="18"> <span class="kw">&lt;match</span><span class="ot"> target=</span><span class="st">&quot;pattern&quot;</span><span class="ot"> name=</span><span class="st">&quot;family&quot;</span> <span class="kw">&gt;</span></a>
<a class="sourceLine" id="cb1-19" title="19"> <span class="kw">&lt;test</span><span class="ot"> name=</span><span class="st">&quot;family&quot;</span><span class="ot"> qual=</span><span class="st">&quot;any&quot;</span> <span class="kw">&gt;</span></a>
<a class="sourceLine" id="cb1-20" title="20"> <span class="kw">&lt;string&gt;</span>Tahoma<span class="kw">&lt;/string&gt;</span></a>
<a class="sourceLine" id="cb1-21" title="21"> <span class="kw">&lt;/test&gt;</span></a>
<a class="sourceLine" id="cb1-22" title="22"> <span class="kw">&lt;edit</span><span class="ot"> mode=</span><span class="st">&quot;assign&quot;</span><span class="ot"> name=</span><span class="st">&quot;family&quot;</span> <span class="kw">&gt;</span></a>
<a class="sourceLine" id="cb1-23" title="23"> <span class="kw">&lt;string&gt;</span>Verdana<span class="kw">&lt;/string&gt;</span></a>
<a class="sourceLine" id="cb1-24" title="24"> <span class="kw">&lt;/edit&gt;</span></a>
<a class="sourceLine" id="cb1-25" title="25"> <span class="kw">&lt;/match&gt;</span></a>
<a class="sourceLine" id="cb1-26" title="26"> <span class="kw">&lt;selectfont&gt;</span></a>
<a class="sourceLine" id="cb1-27" title="27"> <span class="kw">&lt;acceptfont&gt;</span></a>
<a class="sourceLine" id="cb1-28" title="28"> <span class="kw">&lt;pattern&gt;</span></a>
<a class="sourceLine" id="cb1-29" title="29"> <span class="kw">&lt;patelt</span><span class="ot"> name=</span><span class="st">&quot;family&quot;</span><span class="kw">&gt;</span> </a>
<a class="sourceLine" id="cb1-30" title="30"> <span class="kw">&lt;string&gt;</span>Lucida Grande<span class="kw">&lt;/string&gt;</span> </a>
<a class="sourceLine" id="cb1-31" title="31"> <span class="kw">&lt;/patelt&gt;</span></a>
<a class="sourceLine" id="cb1-32" title="32"> <span class="kw">&lt;/pattern&gt;</span></a>
<a class="sourceLine" id="cb1-33" title="33"> <span class="kw">&lt;/acceptfont&gt;</span></a>
<a class="sourceLine" id="cb1-34" title="34"> <span class="kw">&lt;/selectfont&gt;</span></a>
<a class="sourceLine" id="cb1-35" title="35"></a>
<a class="sourceLine" id="cb1-36" title="36"> <span class="kw">&lt;match</span><span class="ot"> target=</span><span class="st">&quot;pattern&quot;</span><span class="ot"> name=</span><span class="st">&quot;family&quot;</span> <span class="kw">&gt;</span></a>
<a class="sourceLine" id="cb1-37" title="37"> <span class="kw">&lt;test</span><span class="ot"> name=</span><span class="st">&quot;family&quot;</span><span class="ot"> qual=</span><span class="st">&quot;any&quot;</span> <span class="kw">&gt;</span></a>
<a class="sourceLine" id="cb1-38" title="38"> <span class="kw">&lt;string&gt;</span>Georgia<span class="kw">&lt;/string&gt;</span></a>
<a class="sourceLine" id="cb1-39" title="39"> <span class="kw">&lt;/test&gt;</span></a>
<a class="sourceLine" id="cb1-40" title="40"> <span class="kw">&lt;edit</span><span class="ot"> mode=</span><span class="st">&quot;assign&quot;</span><span class="ot"> name=</span><span class="st">&quot;family&quot;</span> <span class="kw">&gt;</span></a>
<a class="sourceLine" id="cb1-41" title="41"> <span class="kw">&lt;string&gt;</span>Georgia<span class="kw">&lt;/string&gt;</span></a>
<a class="sourceLine" id="cb1-42" title="42"> <span class="kw">&lt;/edit&gt;</span></a>
<a class="sourceLine" id="cb1-43" title="43"> <span class="kw">&lt;/match&gt;</span></a>
<a class="sourceLine" id="cb1-44" title="44"> <span class="kw">&lt;selectfont&gt;</span></a>
<a class="sourceLine" id="cb1-45" title="45"> <span class="kw">&lt;acceptfont&gt;</span></a>
<a class="sourceLine" id="cb1-46" title="46"> <span class="kw">&lt;pattern&gt;</span></a>
<a class="sourceLine" id="cb1-47" title="47"> <span class="kw">&lt;patelt</span><span class="ot"> name=</span><span class="st">&quot;family&quot;</span><span class="kw">&gt;</span> </a>
<a class="sourceLine" id="cb1-48" title="48"> <span class="kw">&lt;string&gt;</span>Century Schoolbook L<span class="kw">&lt;/string&gt;</span> </a>
<a class="sourceLine" id="cb1-49" title="49"> <span class="kw">&lt;/patelt&gt;</span></a>
<a class="sourceLine" id="cb1-50" title="50"> <span class="kw">&lt;/pattern&gt;</span></a>
<a class="sourceLine" id="cb1-51" title="51"> <span class="kw">&lt;/acceptfont&gt;</span></a>
<a class="sourceLine" id="cb1-52" title="52"> <span class="kw">&lt;/selectfont&gt;</span></a>
<a class="sourceLine" id="cb1-53" title="53"></a>
<a class="sourceLine" id="cb1-54" title="54"><span class="kw">&lt;/fontconfig&gt;</span></a></code></pre></div>
</div>
<p>Jespère que ça a pu aider quelquun qui comme moi pleurait en regardant des fontes aussi laides.</p>
</div>
<div id="afterarticle">
<div id="social">
<a href="/rss.xml" target="_blank" rel="noopener noreferrer nofollow" class="social">RSS</a>
·
<a href="https://twitter.com/home?status=http%3A%2F%2Fyannesposito.com/Scratch/fr/blog/2010-01-12-antialias-font-in-Firefox-under-Ubuntu/%20via%20@yogsototh" target="_blank" rel="noopener noreferrer nofollow" class="social">Tweet</a>
·
<a href="http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fyannesposito.com/Scratch/fr/blog/2010-01-12-antialias-font-in-Firefox-under-Ubuntu/" target="_blank" rel="noopener noreferrer nofollow" class="social">FB</a>
<br />
<a class="message" href="../../../../Scratch/fr/blog/Social-link-the-right-way/">Ces liens sociaux préservent votre vie privée</a>
</div>
<div id="navigation">
<a href="../../../../">Accueil</a>
<span class="sep">¦</span>
<a href="../../../../Scratch/fr/blog">Blog</a>
<span class="sep">¦</span>
<a href="../../../../Scratch/fr/softwares">Logiciels</a>
<span class="sep">¦</span>
<a href="../../../../Scratch/fr/about">Auteur</a>
</div>
<div id="totop"><a href="#header">↑ Top ↑</a></div>
<div id="bottom">
<div>
Published on 2010-01-12
</div>
<div>
<a href="https://twitter.com/yogsototh">Follow @yogsototh</a>
</div>
<div>
<a rel="license" href="http://creativecommons.org/licenses/by/3.0/deed.en_US">Yann Esposito©</a>
</div>
<div>
Done with
<a href="http://www.vim.org" target="_blank" rel="noopener noreferrer nofollow"><strike>Vim</strike></a>
<a href="http://spacemacs.org" target="_blank" rel="noopener noreferrer nofollow">spacemacs</a>
<span class="pala">&amp;</span>
<a href="http://nanoc.ws" target="_blank" rel="noopener noreferrer nofollow"><strike>nanoc</strike></a>
<a href="http://jaspervdj.be/hakyll" target="_blank" rel="noopener noreferrer nofollow">Hakyll</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>