Applicare antialias sui font in stile Ubuntu

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Avatar utente
cesconix
Linux 2.x
Linux 2.x
Messaggi: 337
Iscritto il: mer 29 dic 2004, 0:00
Nome Cognome: Francesco Pasqua
Slackware: slackware64 -current
Kernel: 2.6.35.7
Desktop: Xfce
Località: Catania

Applicare antialias sui font in stile Ubuntu

Messaggio da cesconix »

Ormai sono diventato folle.
E' colpa di Ubuntu e del suo antialias sui font.

Sto cercando maledettamente di avere lo stesso
aspetto dei fonts di Ubuntu sulla mia slack.
Ho seguito la guida di dugan e del suo
articolo Optimizing Slackware Linux's Fonts
ricompilando freetype, fontconfig, libXft e cairo
coi suoi SlackBuilds e giocando con conf.avail e conf.d.
Sicuramente qualcosa cambia ma non è del tutto
uguale a quello che dugan mostra nei suoi sshot.

Dopo svariati tentativi, mi prese la follia: andai
nel pc di mio fratello e misi in pendrive la directory
/etc/fonts/ del suo Ubuntu e la copiai sulla mia Slack.
Risultato? Funziona! Si vede come speravo!

L'unico problema è che mi sembra una gran porcheria
il passaggio dei file in questa maniera. Vorrei ripulire
il tutto e avere lo stesso risultato senza usare file esterni
alla mia slack.

Ho notato che nel conf.d di Ubuntu ci sono i file che
riguardano gli antialias (quelli che cominciano con "10")
che alla compilazione di freetype su slack non vengono
creati. Di seguito vi mostro il contenuto di conf.aval e
conf.d di Ubuntu e di Slack 13.1.

conf.avail (Ubuntu):

Codice: Seleziona tutto

-rwxr-xr-x 1 root root   223 2010-06-05 14:12 10-antialias.conf*
-rwxr-xr-x 1 root root   220 2010-06-05 14:12 10-autohint.conf*
-rwxr-xr-x 1 root root   225 2010-06-05 14:12 10-hinting-full.conf*
-rwxr-xr-x 1 root root   229 2010-06-05 14:12 10-hinting-medium.conf*
-rwxr-xr-x 1 root root   229 2010-06-05 14:12 10-hinting-slight.conf*
-rwxr-xr-x 1 root root   212 2010-06-05 14:12 10-hinting.conf*
-rwxr-xr-x 1 root root   226 2010-06-05 14:12 10-no-sub-pixel.conf*
-rwxr-xr-x 1 root root   225 2010-06-05 14:12 10-sub-pixel-bgr.conf*
-rwxr-xr-x 1 root root   225 2010-06-05 14:12 10-sub-pixel-rgb.conf*
-rwxr-xr-x 1 root root   226 2010-06-05 14:12 10-sub-pixel-vbgr.conf*
-rwxr-xr-x 1 root root   226 2010-06-05 14:12 10-sub-pixel-vrgb.conf*
-rwxr-xr-x 1 root root   217 2010-06-05 14:12 10-unhinted.conf*
-rwxr-xr-x 1 root root   305 2010-06-05 14:12 11-lcd-filter-lcddefault.conf*
-rwxr-xr-x 1 root root   912 2010-06-05 14:12 20-fix-globaladvance.conf*
-rwxr-xr-x 1 root root  1157 2010-06-05 14:12 20-unhint-small-vera.conf*
-rwxr-xr-x 1 root root   274 2010-06-05 14:12 25-ttf-arphic-uming-bitmaps.conf*
-rwxr-xr-x 1 root root   275 2010-06-05 14:12 25-ttf-arphic-uming-nobitmaps.conf*
-rwxr-xr-x 1 root root   362 2010-06-05 14:12 25-ttf-arphic-uming-render.conf*
-rwxr-xr-x 1 root root  3165 2010-06-05 14:12 25-unhint-nonlatin.conf*
-rwxr-xr-x 1 root root  1357 2010-06-05 14:12 29-language-selector-ja-jp.conf*
-rwxr-xr-x 1 root root  2863 2010-06-05 14:12 29-language-selector-ko-kr.conf*
-rwxr-xr-x 1 root root   810 2010-06-05 14:12 29-language-selector-zh.conf*
-rwxr-xr-x 1 root root  2171 2010-06-05 14:12 30-cjk-aliases.conf*
-rwxr-xr-x 1 root root  4107 2010-06-05 14:12 30-metric-aliases.conf*
-rwxr-xr-x 1 root root  1290 2010-06-05 14:12 30-urw-aliases.conf*
-rwxr-xr-x 1 root root   353 2010-06-05 14:12 35-ttf-arphic-uming-aliases.conf*
-rwxr-xr-x 1 root root  2103 2010-06-05 14:12 40-nonlatin.conf*
-rwxr-xr-x 1 root root  1043 2010-06-05 14:12 41-ttf-arphic-uming.conf*
-rwxr-xr-x 1 root root  1125 2010-06-05 14:12 44-wqy-zenhei.conf*
-rwxr-xr-x 1 root root  1806 2010-06-05 14:12 45-latin.conf*
-rwxr-xr-x 1 root root   545 2010-06-05 14:12 49-sansserif.conf*
-rwxr-xr-x 1 root root   188 2010-06-05 14:12 50-user.conf*
-rwxr-xr-x 1 root root   189 2010-06-05 14:12 51-local.conf*
-rwxr-xr-x 1 root root   608 2010-06-05 14:12 53-monospace-lcd-filter.conf*
-rwxr-xr-x 1 root root  1669 2010-06-05 14:12 60-latin.conf*
-rwxr-xr-x 1 root root   510 2010-06-05 14:12 64-ttf-arphic-uming.conf*
-rwxr-xr-x 1 root root   549 2010-06-05 14:12 64-ttf-thai-tlwg.conf*
-rwxr-xr-x 1 root root 10524 2010-06-05 14:12 65-fonts-persian.conf*
-rwxr-xr-x 1 root root   289 2010-06-05 14:12 65-khmer.conf*
-rwxr-xr-x 1 root root  6552 2010-06-05 14:12 65-nonlatin.conf*
-rwxr-xr-x 1 root root   736 2010-06-05 14:12 66-wqy-zenhei-sharp.conf*
-rwxr-xr-x 1 root root  1017 2010-06-05 14:12 69-language-selector-ja-jp.conf*
-rwxr-xr-x 1 root root   553 2010-06-05 14:12 69-language-selector-ka-ge.conf*
-rwxr-xr-x 1 root root  1231 2010-06-05 14:12 69-language-selector-ko-kr.conf*
-rwxr-xr-x 1 root root  1425 2010-06-05 14:12 69-language-selector-zh-cn.conf*
-rwxr-xr-x 1 root root  1425 2010-06-05 14:12 69-language-selector-zh-hk.conf*
-rwxr-xr-x 1 root root  1425 2010-06-05 14:12 69-language-selector-zh-mo.conf*
-rwxr-xr-x 1 root root  1425 2010-06-05 14:12 69-language-selector-zh-sg.conf*
-rwxr-xr-x 1 root root  1425 2010-06-05 14:12 69-language-selector-zh-tw.conf*
-rwxr-xr-x 1 root root   672 2010-06-05 14:12 69-unifont.conf*
-rwxr-xr-x 1 root root   263 2010-06-05 14:12 70-no-bitmaps.conf*
-rwxr-xr-x 1 root root   263 2010-06-05 14:12 70-yes-bitmaps.conf*
-rwxr-xr-x 1 root root   388 2010-06-05 14:12 80-delicious.conf*
-rwxr-xr-x 1 root root  1754 2010-06-05 14:12 90-synthetic.conf*
-rwxr-xr-x 1 root root   541 2010-06-05 14:12 90-ttf-arphic-uming-embolden.conf*
-rwxr-xr-x 1 root root  1640 2010-06-05 14:12 90-ttf-thai-tlwg-synthetic.conf*
-rwxr-xr-x 1 root root   543 2010-06-05 14:12 99-language-selector-zh.conf*
conf.d (Ubuntu):

Codice: Seleziona tutto

lrwxrwxrwx 1 root root  31 2009-11-19 18:34 10-antialias.conf -> ../conf.avail/10-antialias.conf
lrwxrwxrwx 1 root root  29 2009-11-19 18:34 10-hinting.conf -> ../conf.avail/10-hinting.conf
lrwxrwxrwx 1 root root  36 2009-11-19 18:34 10-hinting-slight.conf -> ../conf.avail/10-hinting-slight.conf
lrwxrwxrwx 1 root root  43 2009-11-19 18:34 11-lcd-filter-lcddefault.conf -> ../conf.avail/11-lcd-filter-lcddefault.conf
lrwxrwxrwx 1 root root  39 2009-11-19 18:34 20-fix-globaladvance.conf -> ../conf.avail/20-fix-globaladvance.conf
lrwxrwxrwx 1 root root  39 2009-11-19 18:34 20-unhint-small-vera.conf -> ../conf.avail/20-unhint-small-vera.conf
lrwxrwxrwx 1 root root  45 2009-11-19 18:34 25-ttf-arphic-uming-render.conf -> ../conf.avail/25-ttf-arphic-uming-render.conf
lrwxrwxrwx 1 root root  33 2009-11-19 18:11 30-cjk-aliases.conf -> ../conf.avail/30-cjk-aliases.conf
lrwxrwxrwx 1 root root  36 2009-11-19 18:34 30-metric-aliases.conf -> ../conf.avail/30-metric-aliases.conf
lrwxrwxrwx 1 root root  33 2009-11-19 18:34 30-urw-aliases.conf -> ../conf.avail/30-urw-aliases.conf
lrwxrwxrwx 1 root root  46 2009-11-19 18:34 35-ttf-arphic-uming-aliases.conf -> ../conf.avail/35-ttf-arphic-uming-aliases.conf
lrwxrwxrwx 1 root root  30 2009-11-19 18:34 40-nonlatin.conf -> ../conf.avail/40-nonlatin.conf
lrwxrwxrwx 1 root root  38 2009-11-19 18:34 41-ttf-arphic-uming.conf -> ../conf.avail/41-ttf-arphic-uming.conf
lrwxrwxrwx 1 root root  32 2009-11-19 20:24 44-wqy-zenhei.conf -> ../conf.avail/44-wqy-zenhei.conf
lrwxrwxrwx 1 root root  27 2009-11-19 18:34 45-latin.conf -> ../conf.avail/45-latin.conf
lrwxrwxrwx 1 root root  31 2009-11-19 18:34 49-sansserif.conf -> ../conf.avail/49-sansserif.conf
lrwxrwxrwx 1 root root  26 2009-11-19 18:34 50-user.conf -> ../conf.avail/50-user.conf
lrwxrwxrwx 1 root root  27 2009-11-19 18:34 51-local.conf -> ../conf.avail/51-local.conf
lrwxrwxrwx 1 root root  42 2009-11-19 18:34 53-monospace-lcd-filter.conf -> ../conf.avail/53-monospace-lcd-filter.conf
lrwxrwxrwx 1 root root  27 2009-11-19 18:34 60-latin.conf -> ../conf.avail/60-latin.conf
lrwxrwxrwx 1 root root  38 2009-11-19 18:34 64-ttf-arphic-uming.conf -> ../conf.avail/64-ttf-arphic-uming.conf
lrwxrwxrwx 1 root root  35 2009-11-19 18:34 64-ttf-thai-tlwg.conf -> ../conf.avail/64-ttf-thai-tlwg.conf
lrwxrwxrwx 1 root root  35 2009-11-19 18:34 65-fonts-persian.conf -> ../conf.avail/65-fonts-persian.conf
lrwxrwxrwx 1 root root  30 2009-11-19 18:34 65-nonlatin.conf -> ../conf.avail/65-nonlatin.conf
lrwxrwxrwx 1 root root  29 2009-11-19 18:34 69-unifont.conf -> ../conf.avail/69-unifont.conf
lrwxrwxrwx 1 root root  32 2009-11-19 18:34 70-no-bitmaps.conf -> ../conf.avail/70-no-bitmaps.conf
lrwxrwxrwx 1 root root  31 2009-11-19 18:34 80-delicious.conf -> ../conf.avail/80-delicious.conf
lrwxrwxrwx 1 root root  31 2009-11-19 18:34 90-synthetic.conf -> ../conf.avail/90-synthetic.conf
lrwxrwxrwx 1 root root  47 2009-11-19 18:34 90-ttf-arphic-uming-embolden.conf -> ../conf.avail/90-ttf-arphic-uming-embolden.conf
lrwxrwxrwx 1 root root  45 2009-11-19 18:34 90-ttf-thai-tlwg-synthetic.conf -> ../conf.avail/90-ttf-thai-tlwg-synthetic.conf
-rw-r--r-- 1 root root 959 2009-03-19 15:03 README
-rw-r--r-- 1 root root 750 2008-07-04 14:24 ttf-bengali-fonts.conf
-rw-r--r-- 1 root root 745 2008-07-04 14:24 ttf-kannada-fonts.conf
-rw-r--r-- 1 root root 735 2008-07-04 14:24 ttf-oriya-fonts.conf
-rw-r--r-- 1 root root 744 2008-07-04 14:24 ttf-telugu-fonts.conf
conf.avail (Slackware):

Codice: Seleziona tutto

-rw-r--r-- 1 root root  220 2010-03-02 23:18 10-autohint.conf
-rw-r--r-- 1 root root  226 2010-03-02 23:18 10-no-sub-pixel.conf
-rw-r--r-- 1 root root  225 2010-03-02 23:18 10-sub-pixel-bgr.conf
-rw-r--r-- 1 root root  225 2010-03-02 23:18 10-sub-pixel-rgb.conf
-rw-r--r-- 1 root root  226 2010-03-02 23:18 10-sub-pixel-vbgr.conf
-rw-r--r-- 1 root root  226 2010-03-02 23:18 10-sub-pixel-vrgb.conf
-rw-r--r-- 1 root root  217 2010-03-02 23:18 10-unhinted.conf
-rw-r--r-- 1 root root  912 2010-03-02 23:18 20-fix-globaladvance.conf
-rw-r--r-- 1 root root  866 2008-11-11 12:48 20-unhint-small-dejavu-sans-mono.conf
-rw-r--r-- 1 root root  856 2008-11-11 12:48 20-unhint-small-dejavu-sans.conf
-rw-r--r-- 1 root root  858 2008-11-11 12:48 20-unhint-small-dejavu-serif.conf
-rw-r--r-- 1 root root 1157 2010-03-02 23:18 20-unhint-small-vera.conf
-rw-r--r-- 1 root root 2941 2010-03-02 23:18 25-unhint-nonlatin.conf
-rw-r--r-- 1 root root 3939 2010-03-02 23:18 30-metric-aliases.conf
-rw-r--r-- 1 root root 1164 2010-03-02 23:18 30-urw-aliases.conf
-rw-r--r-- 1 root root 2069 2010-03-02 23:18 40-nonlatin.conf
-rw-r--r-- 1 root root 1924 2009-04-23 22:45 44-wqy-zenhei.conf
-rw-r--r-- 1 root root 1837 2010-03-02 23:18 45-latin.conf
-rw-r--r-- 1 root root  545 2010-03-02 23:18 49-sansserif.conf
-rw-r--r-- 1 root root  245 2010-03-02 23:18 50-user.conf
-rw-r--r-- 1 root root  189 2010-03-02 23:18 51-local.conf
-rw-r--r-- 1 root root 1509 2008-11-11 12:48 57-dejavu-sans-mono.conf
-rw-r--r-- 1 root root 2011 2008-11-11 12:48 57-dejavu-sans.conf
-rw-r--r-- 1 root root 1649 2008-11-11 12:48 57-dejavu-serif.conf
-rw-r--r-- 1 root root 1701 2010-03-02 23:18 60-latin.conf
-rw-r--r-- 1 root root  942 2008-08-03 21:52 60-liberation.conf
-rw-r--r-- 1 root root 9880 2010-03-02 23:18 65-fonts-persian.conf
-rw-r--r-- 1 root root  289 2010-03-02 23:18 65-khmer.conf
-rw-r--r-- 1 root root 7706 2010-03-02 23:18 65-nonlatin.conf
-rw-r--r-- 1 root root  585 2009-04-23 22:45 66-wqy-zenhei-sharp-no13px.conf
-rw-r--r-- 1 root root 1264 2009-04-23 22:45 66-wqy-zenhei-sharp.conf
-rw-r--r-- 1 root root  672 2010-03-02 23:18 69-unifont.conf
-rw-r--r-- 1 root root  263 2010-03-02 23:18 70-no-bitmaps.conf
-rw-r--r-- 1 root root  263 2010-03-02 23:18 70-yes-bitmaps.conf
-rw-r--r-- 1 root root  388 2010-03-02 23:18 80-delicious.conf
-rw-r--r-- 1 root root 1691 2010-03-02 23:18 90-synthetic.conf
e conf.d (Slackware):

Codice: Seleziona tutto

lrwxrwxrwx 1 root root  39 2010-06-04 23:14 20-fix-globaladvance.conf -> ../conf.avail/20-fix-globaladvance.conf
lrwxrwxrwx 1 root root  51 2010-06-04 23:14 20-unhint-small-dejavu-sans-mono.conf -> ../conf.avail/20-unhint-small-dejavu-sans-mono.conf
lrwxrwxrwx 1 root root  46 2010-06-04 23:14 20-unhint-small-dejavu-sans.conf -> ../conf.avail/20-unhint-small-dejavu-sans.conf
lrwxrwxrwx 1 root root  47 2010-06-04 23:14 20-unhint-small-dejavu-serif.conf -> ../conf.avail/20-unhint-small-dejavu-serif.conf
lrwxrwxrwx 1 root root  39 2010-06-04 23:14 20-unhint-small-vera.conf -> ../conf.avail/20-unhint-small-vera.conf
lrwxrwxrwx 1 root root  36 2010-06-04 23:14 30-metric-aliases.conf -> ../conf.avail/30-metric-aliases.conf
lrwxrwxrwx 1 root root  33 2010-06-04 23:14 30-urw-aliases.conf -> ../conf.avail/30-urw-aliases.conf
lrwxrwxrwx 1 root root  30 2010-06-04 23:14 40-nonlatin.conf -> ../conf.avail/40-nonlatin.conf
lrwxrwxrwx 1 root root  32 2010-06-04 23:14 44-wqy-zenhei.conf -> ../conf.avail/44-wqy-zenhei.conf
lrwxrwxrwx 1 root root  27 2010-06-04 23:14 45-latin.conf -> ../conf.avail/45-latin.conf
lrwxrwxrwx 1 root root  31 2010-06-04 23:14 49-sansserif.conf -> ../conf.avail/49-sansserif.conf
lrwxrwxrwx 1 root root  26 2010-06-04 23:14 50-user.conf -> ../conf.avail/50-user.conf
lrwxrwxrwx 1 root root  27 2010-06-04 23:14 51-local.conf -> ../conf.avail/51-local.conf
lrwxrwxrwx 1 root root  38 2010-06-04 23:14 57-dejavu-sans-mono.conf -> ../conf.avail/57-dejavu-sans-mono.conf
lrwxrwxrwx 1 root root  33 2010-06-04 23:14 57-dejavu-sans.conf -> ../conf.avail/57-dejavu-sans.conf
lrwxrwxrwx 1 root root  34 2010-06-04 23:14 57-dejavu-serif.conf -> ../conf.avail/57-dejavu-serif.conf
lrwxrwxrwx 1 root root  27 2010-06-04 23:14 60-latin.conf -> ../conf.avail/60-latin.conf
lrwxrwxrwx 1 root root  32 2010-06-04 23:14 60-liberation.conf -> ../conf.avail/60-liberation.conf
lrwxrwxrwx 1 root root  35 2010-06-04 23:14 65-fonts-persian.conf -> ../conf.avail/65-fonts-persian.conf
lrwxrwxrwx 1 root root  30 2010-06-04 23:14 65-nonlatin.conf -> ../conf.avail/65-nonlatin.conf
lrwxrwxrwx 1 root root  29 2010-06-04 23:14 69-unifont.conf -> ../conf.avail/69-unifont.conf
lrwxrwxrwx 1 root root  31 2010-06-04 23:14 80-delicious.conf -> ../conf.avail/80-delicious.conf
lrwxrwxrwx 1 root root  31 2010-06-04 23:14 90-synthetic.conf -> ../conf.avail/90-synthetic.conf
Alcuni file non li ho proprio sul conf.d, specialmente
quelli che riguardano l'antialias tipo 10-antialias.conf
e altri. Come mai? :?:

PS: vorrei precisare che dalle Impostazioni di sistema -> Caratteri,
ho applicato su "Utilizza l'anti-aliasing per i caratteri" la voce "Impostazione di sistema".
Ho quindi eliminato ~/.fonts.config così è sicuro (spero) che prenda le impostazioni
dei font solamente da /etc/fonts/.

Rispondi