Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO] X.org & font
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
zUgLiO
l33t
l33t


Joined: 12 Aug 2003
Posts: 754
Location: Ferrara (Italy)

PostPosted: Wed Nov 17, 2004 5:23 pm    Post subject: Reply with quote

Posto il mio problema qui:
Ho notato che ad ogni avvio di xfs perde una marea di tempo a indicizzare
Code:

* Scanning font directories...                                                               [ ok ]
 * Indexing font directories...
 *   /usr/share/fonts...                                                                      [ ok ]
 * Updating FC cache...                                                                       [ ok ]
 * Starting X Font Server...                                                                  [ ok ]

Questo accade ad ogni reboot ed ogni volta che lancio xfs..ma non dovrebbe farlo un volta sola?
Non è assolutamente un problema grave, solo che mi fa perdere dei preziosissimi secondi al boot :D
_________________

voglio poi dire che il tempo mi avrà fatto abituare,

ma io non trovo nemmeno brutta la stiva buia di questa nave
Back to top
View user's profile Send private message
neon_old
n00b
n00b


Joined: 25 Jul 2002
Posts: 17
Location: Italy

PostPosted: Mon Feb 07, 2005 1:34 pm    Post subject: Reply with quote

Scusate se ripesco il thread ma ho qualche dubbio...

A quanto ho capito esistono due modi distinti per gestire i font: Direttamente con X o utilizzando XFS. Il secondo metodo a quanto ho capito e' piu' lento ed ingombrante (avviate comunque un altro server) e se non dobbiamo fornire un servizio di font server ad altri host della nostra rete, teoricamente inutile.

Il file /etc/fonts/local.conf e' il file di config di XFS, giusto? Se io avvio XFS senza aggiungere la riga FontPath "unix/localhost:7100" in xorg.conf non viene utilizzato, giusto?

Allora perche' si utilizzano sia la gestione interna di X che quella di XFS (avviata ma non utilizzata)?

[ps] Oggi ho controllato chi possede il mio nick e mi sono accorto di averlo registrato io nel 2002 quando non avevamo il forum ita. Poi quando ho scoperto che esisteva un forum ita mi sono registrato di nuovo, non ricordando piu' di averlo. Morale della favola ora ho 2 nick ;)[/ps]
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Feb 07, 2005 2:15 pm    Post subject: Reply with quote

neon wrote:

Il file /etc/fonts/local.conf e' il file di config di XFS, giusto? Se io avvio XFS senza aggiungere la riga FontPath "unix/localhost:7100" in xorg.conf non viene utilizzato, giusto?


Si hai ragione, avviare il serve è inutile. Almeno così avevo capito anche io dopo la lettura di parte della documentazione di X.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
inspiron
Guru
Guru


Joined: 08 Nov 2004
Posts: 559

PostPosted: Tue Feb 08, 2005 3:46 pm    Post subject: Reply with quote

io ho installato mozilla-firefox-bin....
E questo pacchetto non ha le use di cui si parla in questo post...
devo levarlo e installare mozilla-firefox?
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Feb 08, 2005 3:54 pm    Post subject: Reply with quote

inspiron wrote:
io ho installato mozilla-firefox-bin....
E questo pacchetto non ha le use di cui si parla in questo post...


Essendo un compilato ;)

A che use ti riferisci?
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
inspiron
Guru
Guru


Joined: 08 Nov 2004
Posts: 559

PostPosted: Tue Feb 08, 2005 3:54 pm    Post subject: Reply with quote

ho provato a riavviare con xdm e xfs che partono all'avvio....
ma con xdm mi fa fare il login in modalita grafica e poi parte una versione "fallata" di X...
come mai?
a che serve xdm?
grazie
Back to top
View user's profile Send private message
inspiron
Guru
Guru


Joined: 08 Nov 2004
Posts: 559

PostPosted: Tue Feb 08, 2005 3:55 pm    Post subject: Reply with quote

USE="moznoxft truetype" ACCEPT_KEYWORDS=~x86 emerge mozilla-firefox
Back to top
View user's profile Send private message
inspiron
Guru
Guru


Joined: 08 Nov 2004
Posts: 559

PostPosted: Tue Feb 08, 2005 4:00 pm    Post subject: Reply with quote

e poi...
mi sbaglio o in questo codice:
Code:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts.conf file to configure system font access -->
<fontconfig>

<!--  Enable sub-pixel rendering
        <match target="font">
                <test qual="all" name="rgba">
                        <const>unknown</const>
                </test>
                <edit name="rgba" mode="assign"><const>rgb</const></edit>
        </match>
 
 -->
 
<!-- Autohint fonts
        <match target="font">
                <edit name="autohint" mode="assign"><bool>true</bool> </edit>
        </match>
-->
 
<!-- Use Bitstream Vera fonts by default -->
        <alias>
                <family>serif</family>
                <prefer>
                        <family>Bitstream Vera Serif</family>
                </prefer>
        </alias>
        <alias>
                <family>sans-serif</family>
                <prefer>
                        <family>Bitstream Vera Sans</family>
                </prefer>
        </alias>
        <alias>
                <family>monospace</family>
                <prefer>
                        <family>Bitstream Vera Sans Mono</family>
                </prefer>
        </alias>

<!-- Antialias -->

<match target="font">
        <test qual="any" name="size" compare="more">
                <double>8</double>
        </test>
        <test qual="any" name="size" compare="less">
                <double>15</double>
        </test>
        <edit name="antialias" mode="assign">
                <bool>true</bool>
        </edit>
</match>

</fontconfig>

la prima e la seconda sezione sono commentate?
P.S.:sono andato ad intuito...
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Feb 08, 2005 4:00 pm    Post subject: Reply with quote

inspiron wrote:
USE="moznoxft truetype" ACCEPT_KEYWORDS=~x86 emerge mozilla-firefox


Penso che queste siano incluse nel compilato.

XDM seve per effettuare (tra le altre cose) un login grafico ;)

Modifica la variabile d'ambiente XSESSION in /etc/rc.conf (trovi anche la spiegazione)

P.S.: e non postiamo in sequenza ma editiamo l'ultimo post se abbiamo delle cose da aggiungere.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
inspiron
Guru
Guru


Joined: 08 Nov 2004
Posts: 559

PostPosted: Tue Feb 08, 2005 4:04 pm    Post subject: Reply with quote

e apparte il login grafico a che aòltro serve xdm?
è indispensabile per i font?
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Feb 08, 2005 4:05 pm    Post subject: Reply with quote

inspiron wrote:
e apparte il login grafico a che aòltro serve xdm?
è indispensabile per i font?


Non credo proprio.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
SAngeli
l33t
l33t


Joined: 16 Apr 2004
Posts: 904
Location: Italy

PostPosted: Thu Mar 03, 2005 9:19 pm    Post subject: Reply with quote

Scusate per la ripetizione della domanda, ma ho bisogno di chiedere:

Il file in questione è ~/.fonts.conf
Mi spiegate questa simbologia:
Code:
<?       ?>
<!        >
<!--    -->


Grazie
Spiro
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Mar 03, 2005 9:59 pm    Post subject: Reply with quote

Sono i delimitatori dei tag usati nei file XML.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
SAngeli
l33t
l33t


Joined: 16 Apr 2004
Posts: 904
Location: Italy

PostPosted: Thu Mar 03, 2005 10:12 pm    Post subject: Reply with quote

Si potrebbe sapere qualeìè la funzione di questi delimitatori?
Chiedo questa domanda in quanto nel /etc/fonts/local.conf e nel ~/.fonts.conf ci sono dei parametri che sono compresi in questi delimitatori. Altri invece no.

Posso dedurre che tutto quello che si trova in uno di questi delimitatori è come se fosse commentato e quindi non implementato?

Grazie,
Spiro
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Mar 03, 2005 10:20 pm    Post subject: Reply with quote

Ti consiglio di dare una lettura a questo:

http://www.bloomington.in.us/~mongin/xml-tutorial/Concepts.htm
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum