All of lore.kernel.org
 help / color / mirror / Atom feed
* How to install vga fonts for doseum in Kubuntu?
@ 2007-09-12  1:20 Larry Alkoff
  2007-09-12  6:32 ` Andrew Bird
  0 siblings, 1 reply; 7+ messages in thread
From: Larry Alkoff @ 2007-09-12  1:20 UTC (permalink / raw)
  To: dosemu

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


-- 
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to install vga fonts for doseum in Kubuntu?
  2007-09-12  1:20 How to install vga fonts for doseum in Kubuntu? Larry Alkoff
@ 2007-09-12  6:32 ` Andrew Bird
  2007-09-12 14:32   ` Larry Alkoff
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Bird @ 2007-09-12  6:32 UTC (permalink / raw)
  To: Larry Alkoff; +Cc: dosemu

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

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"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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to install vga fonts for doseum in Kubuntu?
  2007-09-12  6:32 ` Andrew Bird
@ 2007-09-12 14:32   ` Larry Alkoff
  2007-09-12 21:49     ` Larry Alkoff
  0 siblings, 1 reply; 7+ messages in thread
From: Larry Alkoff @ 2007-09-12 14:32 UTC (permalink / raw)
  To: Andrew Bird; +Cc: dosemu

Andrew Bird wrote:
> 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
> 
> 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"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
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
-- 
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to install vga fonts for doseum in Kubuntu?
  2007-09-12 14:32   ` Larry Alkoff
@ 2007-09-12 21:49     ` Larry Alkoff
  2007-09-13  0:18       ` Robert Komar
  0 siblings, 1 reply; 7+ messages in thread
From: Larry Alkoff @ 2007-09-12 21:49 UTC (permalink / raw)
  To: Larry Alkoff; +Cc: Andrew Bird, dosemu

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

-- 
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to install vga fonts for doseum in Kubuntu?
  2007-09-12 21:49     ` Larry Alkoff
@ 2007-09-13  0:18       ` Robert Komar
  2007-09-13  3:28         ` Larry Alkoff
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Komar @ 2007-09-13  0:18 UTC (permalink / raw)
  To: Larry Alkoff; +Cc: dosemu

On Wed, 12 Sep 2007, Larry Alkoff wrote:

> 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?

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to install vga fonts for doseum in Kubuntu?
  2007-09-13  0:18       ` Robert Komar
@ 2007-09-13  3:28         ` Larry Alkoff
  2007-09-13 13:56           ` Larry Alkoff
  0 siblings, 1 reply; 7+ messages in thread
From: Larry Alkoff @ 2007-09-13  3:28 UTC (permalink / raw)
  To: Robert Komar; +Cc: dosemu

Robert Komar wrote:

> 
> 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
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> 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.

-- 
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to install vga fonts for doseum in Kubuntu?
  2007-09-13  3:28         ` Larry Alkoff
@ 2007-09-13 13:56           ` Larry Alkoff
  0 siblings, 0 replies; 7+ messages in thread
From: Larry Alkoff @ 2007-09-13 13:56 UTC (permalink / raw)
  To: Larry Alkoff; +Cc: Robert Komar, dosemu

Larry Alkoff wrote:
> Robert Komar wrote:
> 
>>
>> 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
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
>> the body of a message to majordomo@vger.kernel.org
>> 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.
> 

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.


-- 
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-09-13 13:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-12  1:20 How to install vga fonts for doseum in Kubuntu? Larry Alkoff
2007-09-12  6:32 ` Andrew Bird
2007-09-12 14:32   ` Larry Alkoff
2007-09-12 21:49     ` Larry Alkoff
2007-09-13  0:18       ` Robert Komar
2007-09-13  3:28         ` Larry Alkoff
2007-09-13 13:56           ` Larry Alkoff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.