View previous topic :: View next topic |
Author |
Message |
GiRa l33t
Joined: 07 Apr 2005 Posts: 717
|
Posted: Sun Jul 09, 2006 9:16 am Post subject: Emacs ha problemi di font solo se uso xdm |
|
|
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 |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Jul 09, 2006 11:22 am Post subject: |
|
|
Uso xorg-7, XDM e emacs e non ho problemi. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
GiRa l33t
Joined: 07 Apr 2005 Posts: 717
|
Posted: Sun Jul 09, 2006 4:33 pm Post subject: |
|
|
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 |
|
|
dark_knight Tux's lil' helper
Joined: 22 Apr 2006 Posts: 112
|
Posted: Sun Jul 30, 2006 8:43 pm Post subject: |
|
|
Anche io soffro di questo problema... l'hai più risolto? |
|
Back to top |
|
|
GiRa l33t
Joined: 07 Apr 2005 Posts: 717
|
Posted: Sun Aug 06, 2006 7:00 pm Post subject: |
|
|
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 |
|
|
dark_knight Tux's lil' helper
Joined: 22 Apr 2006 Posts: 112
|
Posted: Fri Aug 18, 2006 2:01 pm Post subject: |
|
|
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 |
|
|
|