How to install vga fonts for doseum in Kubuntu?
Running Feisty Fawn Kubuntu. Prior to Feisty, I had dosemu working with my favorite font vga12x30.pcf.gz in /usr/local/share/dosemu/Xfonts.
My fonts line in ~.dosemurc is:
$_X_font = "vga12x30" # The biggest 11" wide x 8.5"high
Now it doesn't seem to work.
I have tried:
sudo mkfontdir /usr/local/share/dosemu/Xfonts
sudo fc-cache -f -v
sudo xset fp rehash
xlsfonts |grep 10x30 with no result.
I also tried making a soft link with:
sudo ln -s /usr/share/fonts/Xfonts /usr/local/share/dosemu/Xfonts and repeating the commands.
What do I need to do for xdosemu to recognize my fonts?
Larry
Signature · 2 lines
Larry Alkoff N2LA - Austin TX Using Thunderbird on Linux
Hi Larry,
I'm sure it's a typo, but you are grepping for 10x30 when the font you're
interested is 12x30. :-)
Best regards,
Andrew
Quoted 23 lines · On Wednesday 12 September 2007 02:20:10 Larry Alkoff wrote:
Running Feisty Fawn Kubuntu. Prior to Feisty, I had dosemu working with my favorite font vga12x30.pcf.gz in
/usr/local/share/dosemu/Xfonts.My fonts line in ~.dosemurc is:
$_X_font = "vga12x30" # The biggest 11" wide x 8.5"highNow it doesn't seem to work.
I have tried:
sudo mkfontdir/usr/local/share/dosemu/Xfonts
sudo fc-cache -f -v
sudo xset fp rehash
xlsfonts |grep 10x30 with no result.I also tried making a soft link with:
sudo ln -s
/usr/share/fonts/Xfonts/usr/local/share/dosemu/Xfontsand repeating the commands.What do I need to do for xdosemu to recognize my fonts?
Larry
Quoted 5 lines · Andrew Bird
Hi Larry,
I'm sure it's a typo, but you are grepping for 10x30 when the font you'reinterested is 12x30. :-)
Quoted 29 lines
Best regards,
Andrew
Quoted 23 lines · On Wednesday 12 September 2007 02:20:10 Larry Alkoff wrote:
Running Feisty Fawn Kubuntu. Prior to Feisty, I had dosemu working with my favorite font vga12x30.pcf.gz in
/usr/local/share/dosemu/Xfonts.My fonts line in ~.dosemurc is:
$_X_font = "vga12x30" # The biggest 11" wide x 8.5"highNow it doesn't seem to work.
I have tried:
sudo mkfontdir/usr/local/share/dosemu/Xfonts
sudo fc-cache -f -v
sudo xset fp rehash
xlsfonts |grep 10x30 with no result.I also tried making a soft link with:
sudo ln -s
/usr/share/fonts/Xfonts/usr/local/share/dosemu/Xfontsand repeating the commands.What do I need to do for xdosemu to recognize my fonts?
Larry
Hello Andrew.
Yes it was a typo and I have actually tried to grep both ways 12x30 (correct) and 10x30.
I have the feeling that a step is being left out.
There is a lot of information in /etc/fonts that I don't understand how to manipulate including:
root@kinda fonts # ls
conf.avail conf.d fonts.conf fonts.dtd
Larry
Signature · 2 lines
Larry Alkoff N2LA - Austin TX Using Thunderbird on Linux
I'm very frustrated.
I'm trying to use a font called 'vga12x30.pcf.gz` which is a perfect 11" wide x 8.5" high font for dosemu.
There have been multiple attempts to set this and other similar fonts. Sometimes it works but mostly not.
My procedure is:
0. Starting with a new install of Feisty Fawn Kubuntu with no changes in fonts.
1. Copy the fonts I want to one of the directories specified in /etc/fonts/fonts.conf which contains the allowed directories that will be scanned.
<!-- Font directory list -->
<dir>/usr/share/fonts</dir> <dir>/usr/share/X11/fonts</dir> <dir>/usr/local/share/fonts</dir> <dir>~/.fonts</dir>
<!-- Font cache directory list -->
Usually I copy the files to /usr/local/share/fonts/dosemu
2. Run sudo mkfontdir on the above directory.
3. Run sudo fc-cache -f -v which scans all the directories in the above 'Font directory list'.
I see that fc-cache scans /usr/local/share/fonts/dosemu but lists zero files. Does this depend on the restart of X or the
computer?
4. Reboot the computer.
5a. Run xlsfonts |grep vga which will pick up my fonts _if_ they have been registered. Sometimes yes but mostly not.
5b. When I run xdosemu it picks up a smaller font because it cannot find the 12x30 font.
I've done a lot of research on the web but cannot figure out what I'm doing wrong. Can someone help me, very please?
Larry
Signature · 2 lines
Larry Alkoff N2LA - Austin TX Using Thunderbird on Linux
Quoted 31 lines · Larry Alkoff
I'm very frustrated.
I'm trying to use a font called 'vga12x30.pcf.gz` which is a perfect 11" wide x 8.5" high font for dosemu.
There have been multiple attempts to set this and other similar fonts. Sometimes it works but mostly not.
My procedure is:
0. Starting with a new install of Feisty Fawn Kubuntu with no changes in fonts.
1. Copy the fonts I want to one of the directories specified in
/etc/fonts/fonts.confwhich contains the allowed directories that will be scanned.<!-- Font directory list -->
<dir>/usr/share/fonts</dir> <dir>/usr/share/X11/fonts</dir> <dir>/usr/local/share/fonts</dir> <dir>~/.fonts</dir>
<!-- Font cache directory list -->Usually I copy the files to
/usr/local/share/fonts/dosemu2. Run sudo mkfontdir on the above directory.
3. Run sudo fc-cache -f -v which scans all the directories in the above 'Font directory list'.
I see that fc-cache scans
/usr/local/share/fonts/dosemubut lists zero files. Does this depend on the restart of X or the
computer?
Quoted 7 lines
4. Reboot the computer.
5a. Run xlsfonts |grep vga which will pick up my fonts _if_ they have been registered. Sometimes yes but mostly not.
5b. When I run xdosemu it picks up a smaller font because it cannot find the 12x30 font.
I've done a lot of research on the web but cannot figure out what I'm doing wrong. Can someone help me, very please?
I'm not an expert on fontconfig, but have you checked that X uses the /usr/local/share/fonts directory? "xset q" will show you all the directories in your font path. They are usually specified in the /etc/X11/xorg.conf file. Changing the latter file requires that X be restarted. Also, if you're running xdosemu remotely, then you'll have to add the fonts on the machine that is displaying the window.
Cheers,
Rob Komar
Quoted 8 lines · Robert Komar
I'm not an expert on fontconfig, but have you checked that X uses the
/usr/local/share/fontsdirectory? "xset q" will show you all the directories in your font path. They are usually specified in the/etc/X11/xorg.conffile. Changing the latter file requires that X be restarted. Also, if you're running xdosemu remotely, then you'll have to add the fonts on the machine that is displaying the window.
Quoted 7 lines
Cheers,
Rob Komar
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks very much Robert for your information and especially your advice about xset.
My 'xset -q' shows that most of my font directories are in /usr/share/X11/fonts and subdirectories of that. They are as specified in xorg.conf.
This contradicts information in /etc/fonts/fonts.conf which says that fonts can also be in ~/.fonts, /usr/share/fonts and /usr/local/share/fonts.
Is it possible that xset -q only lists the directories specified in xorg.conf?
I copied all of my vga* fonts into /usr/share/X11/fonts/misc and ran mkfontdir and fc-cache -f -v.
I also rebooted even though xorg.conf was not changed.
However, when dosemu starts it still does not pickup the 12x30 font I have selected in ~/.dosemurc. All the vga fonts appear in the directory but the 12x30 font does not appear in fonts.alias.
I checked two other smaller vgannxnn fonts that worked ok but I'd like to get the 12x30 working.
I renamed fonts.alias and fonts.dir and re-ran mkfontdir but fonts.alias was not created. Is there a special command to do that?
Thanks for your help.
Signature · 2 lines
Larry Alkoff N2LA - Austin TX Using Thunderbird on Linux
Quoted 31 lines · Larry Alkoff
Quoted 8 lines · Robert Komar
I'm not an expert on fontconfig, but have you checked that X uses the
/usr/local/share/fontsdirectory? "xset q" will show you all the directories in your font path. They are usually specified in the/etc/X11/xorg.conffile. Changing the latter file requires that X be restarted. Also, if you're running xdosemu remotely, then you'll have to add the fonts on the machine that is displaying the window.Quoted 7 lines
Cheers,
Rob Komar
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlThanks very much Robert for your information and especially your advice about xset.
My 'xset -q' shows that most of my font directories are in
/usr/share/X11/fontsand subdirectories of that. They are as specified in xorg.conf.This contradicts information in
/etc/fonts/fonts.confwhich says that fonts can also be in ~/.fonts,/usr/share/fontsand/usr/local/share/fonts.Is it possible that xset -q only lists the directories specified in xorg.conf?
I copied all of my vga* fonts into
/usr/share/X11/fonts/miscand ran mkfontdir and fc-cache -f -v.I also rebooted even though xorg.conf was not changed.
Quoted 8 lines
However, when dosemu starts it still does not pickup the 12x30 font I have selected in ~/.dosemurc. All the vga fonts appear in the directory but the 12x30 font does not appear in fonts.alias.
I checked two other smaller vgannxnn fonts that worked ok but I'd like to get the 12x30 working.
I renamed fonts.alias and fonts.dir and re-ran mkfontdir but fonts.alias was not created. Is there a special command to do that?
Thanks for your help.
Sucess! My vga12x30 font loaded after repeated applications of `xset fp rehash' and a manual edit to add the vga12x30 font information to fonts.alias.
Thanks Robert.
Signature · 2 lines
Larry Alkoff N2LA - Austin TX Using Thunderbird on Linux