Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo + Bochs = pb de fonts...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Le Sot Zi
n00b
n00b


Joined: 06 Feb 2003
Posts: 64
Location: Lille

PostPosted: Thu Feb 06, 2003 8:53 pm    Post subject: gentoo + Bochs = pb de fonts... Reply with quote

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
View user's profile Send private message
Vinsss
n00b
n00b


Joined: 07 Feb 2003
Posts: 15

PostPosted: Fri Feb 07, 2003 1:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Le Sot Zi
n00b
n00b


Joined: 06 Feb 2003
Posts: 64
Location: Lille

PostPosted: Fri Feb 07, 2003 9:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vinsss
n00b
n00b


Joined: 07 Feb 2003
Posts: 15

PostPosted: Sat Feb 08, 2003 7:31 pm    Post subject: Reply with quote

t'as pas oublier de la compresser en vga.pcf.Z ?
Back to top
View user's profile Send private message
Le Sot Zi
n00b
n00b


Joined: 06 Feb 2003
Posts: 64
Location: Lille

PostPosted: Sun Feb 09, 2003 11:13 am    Post subject: Reply with quote

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
View user's profile Send private message
Vinsss
n00b
n00b


Joined: 07 Feb 2003
Posts: 15

PostPosted: Sun Feb 09, 2003 1:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Le Sot Zi
n00b
n00b


Joined: 06 Feb 2003
Posts: 64
Location: Lille

PostPosted: Sun Feb 09, 2003 2:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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