Re: How to add font

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Fajar,

I had exactly the same problem and I solve this way:

You must copy vga fonts to LTSP enviroment either!

So,

Copy vga files in /usr/share/dosemu/Xfonts/

vga10x20-cp866.pcf.gz
vga11x19.pcf.gz
vga-cp866.pcf.gz
vga.pcf.gz

to /opt/ltsp/i386/usr/X11R6/lib/X11/fonts/misc

Execute this command in same path after copy the files:
# mkfontdir

Check in file /opt/ltsp/i386/usr/X11R6/lib/X11/fonts/misc/fonts.dir exists the follow lines:

vga-cp866.pcf.gz -dosemu-vga-medium-r-normal--17-160-75-75-c-80-ibm-cp866
vga.pcf.gz -dosemu-vga-medium-r-normal--17-160-75-75-p-80-ibm-cp437
vga10x20-cp866.pcf.gz -dosemu-vga-medium-r-normal--20-200-75-75-c-100-ibm-cp866
vga11x19.pcf.gz -dosemu-vga-medium-r-normal--19-190-75-75-c-100-ibm-cp437

Add this lines above in /opt/ltsp/i386/usr/X11R6/lib/X11/fonts/misc/fonts.alias file:

vga          -dosemu-vga-medium-r-normal--17-160-75-75-p-80-ibm-cp437
vga11x19     -dosemu-vga-medium-r-normal--19-190-75-75-c-100-ibm-cp437
vgacyr       -dosemu-vga-medium-r-normal--17-160-75-75-c-80-ibm-cp866
vga10x20     -dosemu-vga-medium-r-normal--20-200-75-75-c-100-ibm-cp866
vga-ua       -dosemu-vga-medium-r-normal--17-160-75-75-c-80-ibm-cp1125
vga10x20-ua  -dosemu-vga-medium-r-normal--20-200-75-75-c-100-ibm-cp1125


Sorry my poor english!


Fernando.



------------------------------------------------------------------------


* How to add font*

------------------------------------------------------------------------

 * /From/: Fajar Priyanto <fajarpri cbn net id>
 * /To/: For users of Fedora Core releases <fedora-list redhat com>
 * /Subject/: How to add font
 * /Date/: Sat, 27 Aug 2005 08:11:29 +0700

------------------------------------------------------------------------

Hi all,
I have this situation.
I setup an LTSP environment with my FC4, and I also I setup dosemu.
The problem is, when LTSP client connect to the server, and try to run dosemu in X, it said: You don't have the Dosemu vga font installed and are running remote X. You need to install the vga font on your _local_ Xserver. Look at readme for detail.

Ok, so I uncommented the font section in the X:
$_X_font = "vga"

But the problem persists:
Error:X: Unable to open font "vga", using builtin X
Error of failed request: BadAccess (attempt to access private resource denied).

I have tried xhost +, but no good.


How do I installed dosemu fonts in FC4? Dosemu has provide all the font files such as fonts.dir, fonts.alias, fonts pcf.gz.

Thanks.
Fajar







[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux