Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emacs ha problemi di font solo se uso xdm
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
GiRa
l33t
l33t


Joined: 07 Apr 2005
Posts: 717

PostPosted: Sun Jul 09, 2006 9:16 am    Post subject: Emacs ha problemi di font solo se uso xdm Reply with quote

Da quando ho aggiornato a Xorg 7.0-r1 stabile emacs sotto X ha problemi di font esclusivamente se uso xdm o kdm. Se do uno startx da console non ho alcun problema.

Se entro da xdm i font di emacs son solo dei rettangolini.
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


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

PostPosted: Sun Jul 09, 2006 11:22 am    Post subject: Reply with quote

Uso xorg-7, XDM e emacs e non ho problemi.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
GiRa
l33t
l33t


Joined: 07 Apr 2005
Posts: 717

PostPosted: Sun Jul 09, 2006 4:33 pm    Post subject: Reply with quote

Il problema si presenta sia da xdm che da kdm.
Uso KDE.

Edit; che sia l'ordine con cui ho inserito i fonts in xorg.conf? L'ho preso dal wiki ma non si sa mai.

Code:

   FontPath    "/usr/share/fonts/misc:unscaled"
   FontPath    "/usr/share/fonts/Type1"
   FontPath    "/usr/share/fonts/TTF"
   FontPath   "/usr/X11R6/lib/X11/fonts/truetype/"
   FontPath    "/usr/share/fonts/corefonts"
   FontPath    "/usr/share/fonts/freefont"
   FontPath    "/usr/share/fonts/sharefonts"
   FontPath    "/usr/share/fonts/terminus"
   FontPath    "/usr/share/fonts/ttf-bitstream-vera"
   FontPath    "/usr/share/fonts/unifont"
   FontPath    "/usr/share/fonts/75dpi:unscaled"
   FontPath    "/usr/share/fonts/100dpi:unscaled"
   FontPath    "/usr/share/fonts/artwiz"

Back to top
View user's profile Send private message
dark_knight
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2006
Posts: 112

PostPosted: Sun Jul 30, 2006 8:43 pm    Post subject: Reply with quote

Anche io soffro di questo problema... l'hai più risolto? :(
Back to top
View user's profile Send private message
GiRa
l33t
l33t


Joined: 07 Apr 2005
Posts: 717

PostPosted: Sun Aug 06, 2006 7:00 pm    Post subject: Reply with quote

Con un po' di fc-cache si era sistemato tutto, oggi è arrivato un aggiornamento di Xorg e mi trovo nello stesso problema.

Appena capisco l'algoritmo corretto lo posto.
Back to top
View user's profile Send private message
dark_knight
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2006
Posts: 112

PostPosted: Fri Aug 18, 2006 2:01 pm    Post subject: Reply with quote

Sulla mia macchina ho risolto il problema: ho trovato questo
https://forums.gentoo.org/viewtopic-t-443870-highlight-emacs+fonts.html
che a sua volta linkava all'HOWTO sui font
http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts

Quello che ho fatto per risolvere il problema è stato aggiungere alcune linee ad /etc/X11/xorg.conf, nella sezione "Files". Attualmente, essa contiene:
Code:
Section "Files"
        FontPath        "/usr/share/fonts/util"
        FontPath        "/usr/share/fonts/encodings"
        FontPath        "/usr/share/fonts/misc"
        FontPath        "/usr/share/fonts/local"
        FontPath        "/usr/share/fonts/terminus"
        FontPath        "/usr/share/fonts/corefonts"
        FontPath        "/usr/local/share/fonts"
        FontPath        "/usr/share/fonts"
        FontPath        "/usr/share/fonts/default"
        FontPath        "/usr/share/fonts/TTF"
        FontPath        "/usr/share/fonts/arphicfonts"
        FontPath        "/usr/share/fonts/jisx0213"
        FontPath        "/usr/share/fonts/shinonome"
        FontPath        "/usr/share/fonts/baekmuk-fonts"
        FontPath        "/usr/share/fonts/kacst-fonts"
        FontPath        "/usr/share/fonts/sgi-fonts"
        FontPath        "/usr/share/fonts/unfonts"
        FontPath        "/usr/share/fonts/default/ghostscript"
        FontPath        "/usr/share/fonts/xfonts-cronyx-100dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-75dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-misc:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-100dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-75dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-misc"
        FontPath        "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-cp1251-misc:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-cp1251-misc"
        FontPath        "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-isocyr-misc:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-isocyr-misc"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8r-misc:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8r-misc"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8u-misc:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8u-misc"
#aggiunte seguendo HOWTO: http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts
        FontPath        "/usr/share/fonts/Type1"
#       FontPath        "/usr/share/fonts/TTF"  <--- già presente
#       FontPath        "/usr/share/fonts/freefonts" <--- già presente
        FontPath        "/usr/share/fonts/freefonts"
        FontPath        "/usr/share/fonts/sharefonts"
        FontPath        "/usr/share/fonts/artwiz"
#       FontPath        "/usr/share/fonts/terminus" <--- già presente
        FontPath        "/usr/share/fonts/ttf-bitstream-vera"
        FontPath        "/usr/share/fonts/unifont"
        FontPath        "/usr/share/fonts/75dpi:unscaled"
        FontPath        "/usr/share/fonts/100dpi:unscaled"
EndSection


In particolare, nel thread che ho trovato sembra che i font necessari per far girare Emacs siano
Code:
FontPath        "/usr/share/fonts/75dpi:unscaled"
FontPath        "/usr/share/fonts/100dpi:unscaled"

cioè gli ultimi due della lista ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
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