<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.slacky.eu/wikislack/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="it">
		<id>http://www.slacky.eu/wikislack/index.php?title=Installare_i_font_.ttf_su_Slackware&amp;feed=atom&amp;action=history</id>
		<title>Installare i font .ttf su Slackware - Cronologia</title>
		<link rel="self" type="application/atom+xml" href="http://www.slacky.eu/wikislack/index.php?title=Installare_i_font_.ttf_su_Slackware&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Installare_i_font_.ttf_su_Slackware&amp;action=history"/>
		<updated>2013-05-23T14:41:04Z</updated>
		<subtitle>Cronologia della pagina su questo sito</subtitle>
		<generator>MediaWiki 1.20.3</generator>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Installare_i_font_.ttf_su_Slackware&amp;diff=3384&amp;oldid=prev</id>
		<title>5m0k3r il 11:54, 15 feb 2007</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Installare_i_font_.ttf_su_Slackware&amp;diff=3384&amp;oldid=prev"/>
				<updated>2007-02-15T11:54:56Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Versione meno recente&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Versione delle 11:54, 15 feb 2007&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 58:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 58:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;P.S. Quasi dimenticavo, ora potete cancellare la directory temporanea che vi avevo fatto creare (ma vi serviranno i diritti di root per farlo non dimenticatelo)&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;P.S. Quasi dimenticavo, ora potete cancellare la directory temporanea che vi avevo fatto creare (ma vi serviranno i diritti di root per farlo non dimenticatelo)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Autore : 5m0k3r&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff:version:1.11a:oldid:3382:newid:3384 --&gt;
&lt;/table&gt;</summary>
		<author><name>5m0k3r</name></author>	</entry>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Installare_i_font_.ttf_su_Slackware&amp;diff=3382&amp;oldid=prev</id>
		<title>5m0k3r il 00:58, 15 feb 2007</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Installare_i_font_.ttf_su_Slackware&amp;diff=3382&amp;oldid=prev"/>
				<updated>2007-02-15T00:58:04Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Versione meno recente&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Versione delle 00:58, 15 feb 2007&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 56:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 56:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Applicate le modifiche e riavviate il server X (se non sapete che vuol dire limitatevi a riavviare il computer).&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Applicate le modifiche e riavviate il server X (se non sapete che vuol dire limitatevi a riavviare il computer).&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Godetevi i vostri font .ttf con l'antialiasing!! :)&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Godetevi i vostri font .ttf con l'antialiasing!! :)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;P.S. Quasi dimenticavo, ora potete cancellare la directory temporanea che vi avevo fatto creare (ma vi serviranno i diritti di root per farlo non dimenticatelo)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>5m0k3r</name></author>	</entry>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Installare_i_font_.ttf_su_Slackware&amp;diff=3381&amp;oldid=prev</id>
		<title>5m0k3r il 00:56, 15 feb 2007</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Installare_i_font_.ttf_su_Slackware&amp;diff=3381&amp;oldid=prev"/>
				<updated>2007-02-15T00:56:16Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nuova pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Server_X]]&lt;br /&gt;
&lt;br /&gt;
== Come installare i font .ttf e configurare l'antialiasing su Slackware GNU/Linux ==&lt;br /&gt;
&lt;br /&gt;
Forse vi sarà capitato più volte mentre utilizzate la vostra bella Slackware di dover dire : &amp;lt;&amp;lt; ''Per scrivere questo articolo vorrei utilizzare il Times New Roman o Arial...'' &amp;gt;&amp;gt;. Ma dopo aver installato i fonts .ttf desiderati avete notato che KDE utilizzerà quei fonts, ma soprattutto noterete che non esiste antialiasing per i font .ttf!! Come mai tutto questo? Semplice, l'antialiasing dei .ttf crea dei &amp;quot;problemi&amp;quot; all'interno di alcuni paesi. Ecco che quindi tocca a voi abilitarlo. Ma procediamo per gradi, cominciamo con l'installazione dei fonts&lt;br /&gt;
&lt;br /&gt;
== Installazione dei fonts .ttf ==&lt;br /&gt;
&lt;br /&gt;
Potremmo installare i fonts a livello utente ma in questo caso stiamo supponendo che abbiate accesso di root alla macchina e che quindi l'installazione possa essere a livello '''globale''' del sistema. Altra supposizione che farò è quella che abbiate un sistema in dual-boot (cioè abbiate installati sullo stesso pc sia Slackware GNU/Linux che Windows). Naturalmente adattate questa guida alla vostra situazione (quindi anche se non avete Windows sulla stessa macchina potete procurarvi i fonts da un'altra parte).&lt;br /&gt;
Prendete i fonts che trovate nella cartella&lt;br /&gt;
 C:\Windows\Fonts&lt;br /&gt;
Creiamo quindi una cartella temporanea su cui posizionare i fonts&lt;br /&gt;
 $mkdir /home/nome-utente/fontstmp&lt;br /&gt;
'''Spostate i fonts .ttf in quella cartella''' ed entrate nella cartella&lt;br /&gt;
 $cd /home/nome-utente/fontstmp&lt;br /&gt;
Diventate root&lt;br /&gt;
 $su [''inserite la password di root e premete INVIO'']&lt;br /&gt;
Copiate quindi i fonts nella cartella che ospita i fonts .ttf del vostro sistema, in questo modo&lt;br /&gt;
 #cp *.ttf /usr/X11/lib/fonts/TTF/&lt;br /&gt;
Effettuate un &amp;quot;refresh&amp;quot; dei fonts&lt;br /&gt;
 #/usr/X11R6/bin/fc-cache -v&lt;br /&gt;
Ora abbiamo bisogno di generare i nuovi fonts.dir e fonts.scale relativi a quella cartella&lt;br /&gt;
 #/usr/X11R6/bin/mkfontscale /usr/X11/lib/fonts/TTF/&lt;br /&gt;
 #/usr/X11R6/bin/mkfontdir /usr/X11/lib/fonts/TTF/&lt;br /&gt;
 #/usr/X11R6/bin/mkfontdir -e /usr/X11/lib/fonts/encodings&lt;br /&gt;
A questo punto avrete installati i fonts necessari. Noterete al prossimo riavvio che KDE avrà i fonts .ttf ma li vedrete sgranati, questo perchè ancora l'antialiasing è disattivato. Lanciate quindi&lt;br /&gt;
 #exit&lt;br /&gt;
per tornare utenti normali.&lt;br /&gt;
&lt;br /&gt;
== Attivare l'antialiasing ==&lt;br /&gt;
&lt;br /&gt;
Per attivare l'antialiasing sarà necessaria la ri-compilazione di un pacchetto già esistente in Slackware : FreeType. Dato che andrete ad installare un programma da sorgente vi consiglio di creare un pacchetto da tale sorgente in modo da poterlo disinstallare quando vogliamo in modo totalmente pulito e senza dover ricorrere al sorgente originale. Come dite? Non sapete creare un pacchetto .tgz? Installate '''checkinstall''' che trovate nella cartella ''extra'' nel cd della Slackware e seguitemi.&lt;br /&gt;
Dopo aver installato il pacchetto ''checkinstall'' scaricate i sorgenti delle librerie FreeType (possibilmente le ultime uscite) dal seguente URL:&amp;lt;br /&amp;gt;&lt;br /&gt;
[http://freetype.sourceforge.net/download.html http://freetype.sourceforge.net/download.html]&amp;lt;br /&amp;gt;&lt;br /&gt;
Ricordate che vi avevo fatto creare una cartella temporanea all'inizio della guida? Bene, posizionate il file contenente i sorgenti delle librerie in quella cartella e scompattatelo. Entrate nella cartella che si verrà a creare. Ora dovrete editare a manina un determinato file; tale file si trova in questa cartella &lt;br /&gt;
 include/freetype/config/&lt;br /&gt;
E si chiama&lt;br /&gt;
 ftoption.h&lt;br /&gt;
Trovate quindi la riga (utilizzando il vostro editor preferito) in cui vi è la seguente stringa&lt;br /&gt;
 TT_CONFIG_OPTION_BYTECODE_INTERPRETER&lt;br /&gt;
e de-commentatela (basta togliere /* all'inizio della riga e */ alla fine)&lt;br /&gt;
Ora tornate alla cartella principale del sorgente e compilate il sorgente. Lanciate questi comandi:&lt;br /&gt;
 ./configure --prefix=/usr&lt;br /&gt;
 make -j2&lt;br /&gt;
Diventate a questo punto root (se già non lo siete) e lanciate&lt;br /&gt;
 #checkinstall&lt;br /&gt;
Solitamente vi verranno fatte alcune domande ma in definitiva vi basterà premere INVIO per 2-3 volte per ottenere il pacchetto bello e pronto. Controllate quindi all'interno della cartella che vi sia venuto a creare tale pacchetto (contenente la nuova versione appena compilata da voi delle FreeType).&lt;br /&gt;
Procedete quindi alla disinstallazione del vecchio pacchetto FreeType tramite&lt;br /&gt;
 #pkgtool&lt;br /&gt;
E installate quello nuovo con&lt;br /&gt;
 #installpkg nome-pacchetto.tgz&lt;br /&gt;
Lanciate quindi&lt;br /&gt;
 #ldconfig&lt;br /&gt;
Abilitate dal Centro di Controllo di KDE l'antialiasing per i fonts, lo trovate in &lt;br /&gt;
 Aspetto e Temi --&amp;gt; Tipi di Carattere&lt;br /&gt;
Applicate le modifiche e riavviate il server X (se non sapete che vuol dire limitatevi a riavviare il computer).&amp;lt;br /&amp;gt;&lt;br /&gt;
Godetevi i vostri font .ttf con l'antialiasing!! :)&lt;/div&gt;</summary>
		<author><name>5m0k3r</name></author>	</entry>

	</feed>