View previous topic :: View next topic |
Author |
Message |
Le Sot Zi n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Feb 2003 Posts: 64 Location: Lille
|
Posted: Thu Feb 06, 2003 8:53 pm Post subject: gentoo + Bochs = pb de fonts... |
|
|
Salut...
Je viens d'emerger bochs, et je n'arrive pas à le lancer car il n'arrive pas à charger la font vga. Pourtant, elle se trouve bien dans /usr/X11R6/lib/X11/fonts/misc et j'ai lancé le install-x11-fonts . Le test-x11-fonts ne marche pas non plus. Qqn a-t-il réussi à le lancer ?
J'en ai extrèmement besoin car je présente un système d'exploitation comme projet de fin d'année de DUT info...
Merci !!! _________________ PLuS oN eSt ² FoUs... pLUs oN ESt fOUs !!!!!!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Vinsss n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Feb 2003 Posts: 15
|
Posted: Fri Feb 07, 2003 1:47 pm Post subject: |
|
|
Oui chez moi ca marche. J'ai suivi les indications de la doc fournie avec bochs:
Y a deux façons possible :
Option 1: installing VGA font in global font directory
# NOTE1: Make sure your DISPLAY variable points to local machine.
# NOTE2: These steps require root privileges.
# NOTE3: Your X11 fonts path will vary on different systems. For example:
# Solaris 2.x /usr/openwin/lib/X11/fonts
# Linux /usr/lib/X11/fonts/
root-> cp font/vga.pcf font-path-here/misc
root-> compress font-path-here/misc/vga.pcf
root-> mkfontdir font-path-here/misc
root-> xset fp rehash
root-> /etc/rc.d/init.d/xfs restart (Restart your X font server)
The command to restart the X font server is given for Redhat systems, but it will vary between different machines, and might not even be necessary at all. If you cannot figure out how to restart your font server, you can just reboot.
Option 2: installing VGA font in local font directory
# NOTE1: Make sure your DISPLAY variable points to local machine.
# NOTE2: The "xset" command needs to be run for each X session.
user-> mkfontdir bochs-YYMMDD/font
user-> xset fp+ [full-path]/bochs-YYMMDD/font
Les deux méthodes marchent chez moi (et je n'ai pas eu a redémarrer Xfs comme mentionné dans l'option 1). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Le Sot Zi n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Feb 2003 Posts: 64 Location: Lille
|
Posted: Fri Feb 07, 2003 9:08 pm Post subject: |
|
|
Hé bien ché moi ça foire complètement... Pas moyen de lancer cette fonte... Pourtant, je la vois bien dans /usr/lib/X11/fonts/misc... Et g bien lancé la commande mkfontdir !!! _________________ PLuS oN eSt ² FoUs... pLUs oN ESt fOUs !!!!!!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Vinsss n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Feb 2003 Posts: 15
|
Posted: Sat Feb 08, 2003 7:31 pm Post subject: |
|
|
t'as pas oublier de la compresser en vga.pcf.Z ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Le Sot Zi n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Feb 2003 Posts: 64 Location: Lille
|
Posted: Sun Feb 09, 2003 11:13 am Post subject: |
|
|
Quote: | EvaZion lib # locate vga.pcf
/usr/share/bochs/vga.pcf
/usr/X11R6/lib/X11/fonts/misc/vga.pcf.gz
EvaZion lib #
|
Alors pk ça marche pas !? _________________ PLuS oN eSt ² FoUs... pLUs oN ESt fOUs !!!!!!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Vinsss n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Feb 2003 Posts: 15
|
Posted: Sun Feb 09, 2003 1:39 pm Post subject: |
|
|
Oui c'est étrange. J'ai regardé ce que j'ai chez moi, ça peut peut-être aider:
dans /usr/lib/X11/fonts/misc , j'ai :
- vga.pcf.Z ( apparement compress me renvoie un fichier vga.pcf.Z et non vga.pcf.gz)
- dans fonts.dir j'ai bien :
Code: |
vinsss@Gentooo vinsss $ cat /usr/lib/X11/fonts/misc/fonts.dir | grep vga
vga.pcf.Z vga
|
- et le path est bien "pris en compte" par xfs :
Code: |
vinsss@Gentooo vinsss $ xset q
...
Font Path:
...,/usr/X11R6/lib/X11/fonts/misc/,...
|
Voila, je sais pas quoi te dire d'autre :/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Le Sot Zi n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Feb 2003 Posts: 64 Location: Lille
|
Posted: Sun Feb 09, 2003 2:01 pm Post subject: |
|
|
Merci !!!
Toutes tes infos m'ont permis de le faire marcher
J'ai tout d'abord décompressé vga.pcf et recompressé avec la commande compress. Enfsuite j'ai rajouté la ligne dans le fichier font.dir et maintenant ça roule du tonnerre !!!
Merci bcp
ciao !!! _________________ PLuS oN eSt ² FoUs... pLUs oN ESt fOUs !!!!!!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|