<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>bns techlog &#187; GNOME</title> <atom:link href="http://banasiak.me/tag/gnome/feed/" rel="self" type="application/rss+xml" /><link>http://banasiak.me</link> <description>Łukasz &#039;bns&#039; Banasiak Techlog</description> <lastBuildDate>Wed, 25 Jan 2012 20:08:24 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Ustawienie DejaVu Condensed domyślnym stylem dla DejaVu</title><link>http://banasiak.me/linux/ustawiamy-dejavu-condensed-jako-domysny-wariant-dla-dejavu/</link> <comments>http://banasiak.me/linux/ustawiamy-dejavu-condensed-jako-domysny-wariant-dla-dejavu/#comments</comments> <pubDate>Sat, 14 Nov 2009 22:01:08 +0000</pubDate> <dc:creator>bns</dc:creator> <category><![CDATA[HowTo]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[GNOME]]></category> <category><![CDATA[KDE]]></category> <category><![CDATA[Ubuntu]]></category> <guid
isPermaLink="false">http://banasiak.me/?p=435</guid> <description><![CDATA[Tym razem pokażę jak zmusić system do wyświetlania domyślnie stylu DejaVu Sans/Serif Codensed, zamiast standardowego DejaVu Sans/Serif. Taki wariant czcionki, odkryłem przy okazji przesiadki na GNOME, gdyż pod KDE po prostu nie ma takiego wyboru ;) W ustawianiach wyglądu GNOME możemy wybrać z listy styl Bold, Italic, Extra Light dodatkowo to wszystko w opcji Condensed, [...]]]></description> <content:encoded><![CDATA[<p>Tym razem pokażę jak zmusić system do wyświetlania domyślnie stylu <a
href="http://en.wikipedia.org/wiki/DejaVu_fonts">DejaVu Sans/Serif</a> Codensed, zamiast standardowego DejaVu Sans/Serif.<br
/> <a
href="http://farm3.static.flickr.com/2491/4103407369_fcf061afa2_o.png" title="DejaVu Sans Condensed i DejaVu Sans" rel="lightbox[435]"><img
src="http://farm3.static.flickr.com/2456/4103407735_5ec639e9c0_o.png" width="430" height="80" alt="DejaVu Sans Condensed i DejaVu Sans" /></a>Taki wariant czcionki, odkryłem przy okazji <a
href="http://blip.pl/s/19969090">przesiadki</a> na <a
href="http://www.gnome.org/">GNOME</a>, gdyż pod <a
href="http://kde.org">KDE</a> po prostu nie ma takiego wyboru ;)</p><p>W ustawianiach wyglądu GNOME możemy wybrać z listy styl Bold, Italic, Extra Light dodatkowo to wszystko w opcji Condensed, więc po co bawić się w takie podmiany? Właśnie po to że aplikacje Qt/KDE, Firefox ignorują wybór i używają &#8222;zwykłego&#8221; DejaVu Sans/Serif. To pomoże nam trochę u standaryzować pulpit, jeśli komuś, tak jak mnie, przypadł krój czcionki do gustu ;) Również do zastosowania pod KDE, ponieważ jak wcześniej wspomniałem nie da się pod nim takiego stylu wybrać ;)</p><p>Edytujemy ~/.fonts.conf i między tagi <em>fontconfig</em> wklejamy poniższą treść:</p><div
class="codecolorer-container xml twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div
class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;match</span> <span
style="color: #000066;">target</span>=<span
style="color: #ff0000;">&quot;pattern&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;test</span> <span
style="color: #000066;">name</span>=<span
style="color: #ff0000;">&quot;family&quot;</span> <span
style="color: #000066;">qual</span>=<span
style="color: #ff0000;">&quot;any&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Sans<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/test<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;edit</span> <span
style="color: #000066;">mode</span>=<span
style="color: #ff0000;">&quot;assign&quot;</span> <span
style="color: #000066;">name</span>=<span
style="color: #ff0000;">&quot;family&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Sans Condensed<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/edit<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/match<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> <br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;match</span> <span
style="color: #000066;">target</span>=<span
style="color: #ff0000;">&quot;pattern&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;test</span> <span
style="color: #000066;">name</span>=<span
style="color: #ff0000;">&quot;family&quot;</span> <span
style="color: #000066;">qual</span>=<span
style="color: #ff0000;">&quot;any&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Serif<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/test<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;edit</span> <span
style="color: #000066;">mode</span>=<span
style="color: #ff0000;">&quot;assign&quot;</span> <span
style="color: #000066;">name</span>=<span
style="color: #ff0000;">&quot;family&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Serif Condensed<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/edit<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/match<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div><p>Cały plik wygląda u mnie tak:</p><div
class="codecolorer-container xml twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div
class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;?xml</span> <span
style="color: #000066;">version</span>=<span
style="color: #ff0000;">'1.0'</span><span
style="color: #000000; font-weight: bold;">?&gt;</span></span><br
/> <span
style="color: #00bbdd;">&lt;!DOCTYPE fontconfig SYSTEM 'fonts.dtd'&gt;</span><br
/> <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;fontconfig<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> <br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;match</span> <span
style="color: #000066;">target</span>=<span
style="color: #ff0000;">&quot;font&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;edit</span> <span
style="color: #000066;">mode</span>=<span
style="color: #ff0000;">&quot;assign&quot;</span> <span
style="color: #000066;">name</span>=<span
style="color: #ff0000;">&quot;rgba&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;const<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span>rgb<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/const<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/edit<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/match<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;match</span> <span
style="color: #000066;">target</span>=<span
style="color: #ff0000;">&quot;font&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;edit</span> <span
style="color: #000066;">mode</span>=<span
style="color: #ff0000;">&quot;assign&quot;</span> <span
style="color: #000066;">name</span>=<span
style="color: #ff0000;">&quot;hinting&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;bool<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/bool<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/edit<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/match<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;match</span> <span
style="color: #000066;">target</span>=<span
style="color: #ff0000;">&quot;font&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;edit</span> <span
style="color: #000066;">mode</span>=<span
style="color: #ff0000;">&quot;assign&quot;</span> <span
style="color: #000066;">name</span>=<span
style="color: #ff0000;">&quot;hintstyle&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;const<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span>hintslight<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/const<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/edit<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/match<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;match</span> <span
style="color: #000066;">target</span>=<span
style="color: #ff0000;">&quot;font&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;edit</span> <span
style="color: #000066;">mode</span>=<span
style="color: #ff0000;">&quot;assign&quot;</span> <span
style="color: #000066;">name</span>=<span
style="color: #ff0000;">&quot;antialias&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;bool<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/bool<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/edit<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/match<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> <br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;match</span> <span
style="color: #000066;">target</span>=<span
style="color: #ff0000;">&quot;pattern&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;test</span> <span
style="color: #000066;">name</span>=<span
style="color: #ff0000;">&quot;family&quot;</span> <span
style="color: #000066;">qual</span>=<span
style="color: #ff0000;">&quot;any&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Sans<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/test<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;edit</span> <span
style="color: #000066;">mode</span>=<span
style="color: #ff0000;">&quot;assign&quot;</span> <span
style="color: #000066;">name</span>=<span
style="color: #ff0000;">&quot;family&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Sans Condensed<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/edit<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/match<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> <br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;match</span> <span
style="color: #000066;">target</span>=<span
style="color: #ff0000;">&quot;pattern&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;test</span> <span
style="color: #000066;">name</span>=<span
style="color: #ff0000;">&quot;family&quot;</span> <span
style="color: #000066;">qual</span>=<span
style="color: #ff0000;">&quot;any&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Serif<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/test<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;edit</span> <span
style="color: #000066;">mode</span>=<span
style="color: #ff0000;">&quot;assign&quot;</span> <span
style="color: #000066;">name</span>=<span
style="color: #ff0000;">&quot;family&quot;</span> <span
style="color: #000000; font-weight: bold;">&gt;</span></span><br
/> &nbsp; &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Serif Condensed<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/string<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp; <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/edit<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> &nbsp;<span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/match<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span><br
/> <br
/> <span
style="color: #009900;"><span
style="color: #000000; font-weight: bold;">&lt;/fontconfig<span
style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div><p>Jeśli nie masz w systemie stylu Condensed doinstaluj paczkę</p><pre>ttf-dejavu-extra</pre><p>Hope u like it ;)</p> <img
src="http://banasiak.me/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=435" width="1" height="1" style="display: none;" />]]></content:encoded> <wfw:commentRss>http://banasiak.me/linux/ustawiamy-dejavu-condensed-jako-domysny-wariant-dla-dejavu/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
