[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 361
  • Last Modified:

font size in Netscape

Hi,

I am using the netscape in RH6.1 to browser internet. However, the font size in that netscape seems very very small! can i do any thing in linux to make the font size bigger. The "Increase Font Size" in the Netscape always disable, how can i do fix it?

0
fokchi
Asked:
fokchi
  • 5
  • 4
  • 2
  • +2
1 Solution
 
jlevieCommented:
You can go to "Preferences>Appearance>Fonts" and set the sizes you want and even change what font is used. I always change the variable width font to Helvetica and increase the size of both fonts. To prevent html pages from futzing with my choices, I select "Use my default fonts, overriding document specified fonts".
0
 
SVisorCommented:
Create following env. variable

"GECKO_FONT_SIZE_FACTOR 1.5"

no quotes.
0
 
fokchiAuthor Commented:
I tried what jlevie asked me to do before. But, it don't help on some of the page. The font is still very small. I want to try SVisor's solution. However, which config file I should put the variable?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
jlevieCommented:
If you made both changes I suggested, no html page can select a smaller font. If you only changed the size and didn't select "Use my default fonts, overriding document specified fonts", then an html page is allowed to tell the browser to use a smaller font.

If you are talking about things like parts of the netscape mail window, they are controlled by a different mechanism. I don't have the reference with me right now, but I can look it up tomorrow at work.

As to the "GECKO_FONT_SIZE_FACTOR" I'd never heard of that and can't find any evidence that Netscape knows about it either. But I did try "export GECKO_FONT_SIZE_FACTOR=1.5" and started netscape, and as I expected it didn't change anything. Try it an see if it works for you.
0
 
fokchiAuthor Commented:
thanks jlevie
0
 
SVisorCommented:
I was so sure it would work with netscape 4.7, but it did not.

It only seems to work with Mozilla.

Sorry about that :-(

PS. I use it in "/etc/X11/xinit/xinitrc"
and the completet row is "setenv GECKO_FONT_SIZE_FACTOR 1.5" DS.
0
 
mapcCommented:
if anything else fails, disable Cascading Style Sheets - helped me couple of times.
0
 
ReinierCommented:
There are a lot of sites that specify very small fonts, because they apparantly expect everybody to run 800x600 or smaller resolutions (try http://www.zdnet.com/zdnn for fun). Jlevies suggestion to "Use my default fonts, overriding......" should help there, but there is a much nicer way to solve the issue.

If you use a larger resolution than 800x600 then reverse the order of the lines

/usr/X11R6/lib/X11/fonts/75dpi/,\
/usr/X11R6/lib/X11/fonts/100dpi/

in the file /etc/X11/fs/config. Make sure the "100dpi" line comes first. Even better, also add two lines

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

in front of the list of fontdirs. You do have the 100dpi fonts installed, don't you? Also change

default-resolutions = 75,75,100,100

to

default-resolutions = 100,100,75,75

and make sure you have

default-point-size = 120

or even larger.
0
 
jlevieCommented:
Okay, If you add the following to your .Xdefaults file, it will allow you to adjust the font and/or size of those areas of Netscape. I've used Helvetica because I think it's generally more readable. You can change the font size from 120 to whatever you find pleasing. Just remember to merge in your new settings with "xdefaults -merge .Xdefaults" before you start Netscape if you're fiddling around (.Xdefaults always gets used at login).

Netscape*XmLGrid*fontList:\
-adobe-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*,\
-adobe-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*=BOLD,\
-adobe-helvetica-medium-o-*-*-*-120-*-*-*-*-iso8859-*=ITALIC

Netscape*fontList:\
-adobe-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso8859-*

Netscape*banner*title.fontlist:\
-adobe-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*
Netscape*banner*subtitle.fontlist:\
-adobe-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*
Netscape*banner*info.fontlist:\
-adobe-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*

Netscape*attachItemLabel*fontList:\
-adobe-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*
0
 
ReinierCommented:
There are many more font related (and others as well) xresources settings for netscape. You can find them all in
/usr/doc/netscape-common-4.7/Netscape.ad. Copy any line that looks interesting from there to your ~/.Xdefaults (~/.Xresources) file and try out the differences.

0
 
fokchiAuthor Commented:
hi jlevie,

how do you merge the new settings with "xdefaults -merge .Xdefaults" in linux? I just can't find the command in my linux.

 
0
 
jlevieCommented:
Sorry, major brain fade when I typed that in, you use "xrdb -merge .Xdefaults".
0
 
fokchiAuthor Commented:
hi jlevie,

I did what you told me in my linux. now the fonts in the menu bar are big enough. However, I am sorry, I think you misunderstand my problem. I mean the font in the HTML content is too small and whenever I go the menu/view/increase font ctrl + ] or menu/view/decrease font ctrl + [. those options are always disable.  How can I active those option or make my default font in html bigger?

Sorry about the misunderstanding. It all because I did stated my question clearly. Still hope you can help me whit this, cause I really have problem to netvigate the net in Netscape.
0
 
jlevieCommented:
I think that those controls are either simply disabled or only work if the html page you are viewing uses Dynamic Fonts.

If you want the fonts to be bigger, go back to my original comment and make those changes to your preferences.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 5
  • 4
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now