How to start X with 100 dpi font as default

How to start X with 100 dpi font as default

Post by Wang San » Sun, 24 Jun 2001 09:41:34



I installed Redhat Linux 7.0 on my machine and updated XFree86 to
version 4.1.0. But I have to startx like this to load the 100 dpi font I
installed:
      startx -- -dpi 100
Is there a configuration file for you to edit and set 100 dpi font as
the default?

Thank you.

Sang

 
 
 

How to start X with 100 dpi font as default

Post by Michael Per » Sun, 24 Jun 2001 21:39:30



> I installed Redhat Linux 7.0 on my machine and updated XFree86 to
> version 4.1.0. But I have to startx like this to load the 100 dpi font I
> installed:
>       startx -- -dpi 100
> Is there a configuration file for you to edit and set 100 dpi font as
> the default?

> Thank you.

> Sang

Don't know if this holds true with redhat; but in Debian unstable with
X4.0.3 installed, you can find a script which tells X what dpi to run at
boot.  Its at /etc/X11/xinit/xserverrc.  Mine has one line in it worth
mentioning:

merwyn /etc/X11/xinit: more xserverrc
#!/bin/sh
exec /usr/bin/X11/X -dpi 100 -nolisten tcp

HtH.
--
Michael Perry

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

 
 
 

How to start X with 100 dpi font as default

Post by Tom Hoffman » Mon, 25 Jun 2001 07:13:26




> I installed Redhat Linux 7.0 on my machine and updated XFree86 to
> version 4.1.0. But I have to startx like this to load the 100 dpi font
> I installed:
>       startx -- -dpi 100
> Is there a configuration file for you to edit and set 100 dpi font as
> the default?

Edit the /etc/X11/fs/config file. Look for the following lines at the
start of the file:

catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
        /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
        /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
        /usr/X11R6/lib/X11/fonts/misc,
        /usr/X11R6/lib/X11/fonts/Type1,
        /usr/X11R6/lib/X11/fonts/Speedo,
        /usr/X11R6/lib/X11/fonts/75dpi,
        /usr/share/fonts/default/Type1,
        /usr/share/AbiSuite/fonts,
        /usr/share/fonts/ja/TrueType

Make sure the 100dpi line comes before the 75dpi line as in the above.
Then restart X.

 
 
 

How to start X with 100 dpi font as default

Post by Wang San » Thu, 28 Jun 2001 10:49:44



> Edit the /etc/X11/fs/config file. Look for the following lines at the
> start of the file:

> catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
>         /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
>         /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
>         /usr/X11R6/lib/X11/fonts/misc,
>         /usr/X11R6/lib/X11/fonts/Type1,
>         /usr/X11R6/lib/X11/fonts/Speedo,
>         /usr/X11R6/lib/X11/fonts/75dpi,
>         /usr/share/fonts/default/Type1,
>         /usr/share/AbiSuite/fonts,
>         /usr/share/fonts/ja/TrueType

> Make sure the 100dpi line comes before the 75dpi line as in the above.
> Then restart X.

I reordered the two items, and even tried to put the 100dpi fonts to the
beginning of that block. But it is no difference when you start X server.
The resolution is set to 84*89dpi(?) automatically. As I remember, X server
will try to find the first scalable font in the list. By the way, the
reason for me to set the font to 100dpi font is that it shows some of the
character sets well, which are hard to recognize with the default font. Any
further sugestion?

Thank you

Sang

 
 
 

1. Font question:changing 75 dpi default to 100 dpi

Former TurboLinux user, ver. 1.2 through 4.0.  Now using RedHat 6.2
TL setup allowed me to choose efault font path: 100 dpi or 75 dpi.  I
always chose 75. Earlier versions of TL didn't give this option during
setup, so I would edit .xinitrc and switch the following lines:

 /usr/X11R6/lib/X11/fonts/75dpi:unscaled
 /usr/X11R6/lib/X11/fonts/100dpi:unscaled

RH uses 75 dpi as default and doesn't give me the option to change it
during setup.  Also, there isn't any .xintrc file.

Anyway, I'm really enjoying RH, but Netscape looks like crap because I
can't read any of the fonts.  Please help.

Stuart

2. Slackware 3.0 & 1.2 disks

3. How to start X with 100 dpi font as default

4. 3c595 Cards

5. Problem setting 100 dpi fonts

6. netname problem

7. how to use 100 DPI fonts in X ??

8. {squid]operation not permitted

9. 100 dpi fonts issues

10. XWindows fonts - 100 or 75 dpi???

11. 100 dpi fonts

12. 75/100 DPI fonts kills my X-server

13. gs: ljet4 (defaults to 600 dpi) but I have 300 dpi ?