You are not logged in.

#1 2006-07-07 16:41:31

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

really small firefox and fluxbox fonts

Can anyone tell me how to increase the font size for fluxbox and the actual pages in firefox? Firefox menus are ok, just the actual pages themselves are in a really small font.

I'm using a default arch install, I've added a couple of font packages but not touched any config files.

The xorg log file says:

(**) FontPath set to "/usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/TTF,/usr/share/fonts/Type1"

but then later goes on to say this twice:

Could not init font path element /usr/share/fonts/75dpi, removing from list!
Could not init font path element /usr/share/fonts/100dpi, removing from list!
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.

This is happening on my desktop and laptop. One nvidia, one intel.

Offline

#2 2006-07-07 19:53:38

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,027

Re: really small firefox and fluxbox fonts

Check the dpi size your monitor uses according to the specs, and compare that with the dpi settings X uses.
A friend of mine has a monitor that needs 87x93 , but X11 DDC dpi detection reversed it to 93x87, making all fonts unreadable.
His problem was solved by setting the dpi manually in xorg.conf


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2006-07-07 20:18:32

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: really small firefox and fluxbox fonts

you can also do startx -dpi 96 for example. or maybe it was startx -- -dpi 96 can't remember. or try 75.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#4 2006-07-07 21:47:31

dedhart
Member
Registered: 2006-07-02
Posts: 123

Re: really small firefox and fluxbox fonts

Have no idea about fluxbox, but changing font size in firefox is very easy. click edit/preferences/content and under fonts and colors click advanced options, now set Display resolution to System setting and I also recomend setting the Minimum font size to 12

Offline

#5 2006-07-07 23:31:04

omgwtfbyobbq
Member
Registered: 2006-07-04
Posts: 226

Re: really small firefox and fluxbox fonts

After the new kernel today, my fonts went crazy (firefox (menu/toolbar not web pages) font was much smaller than gtk font). I found editing ~/.Xdefaults and adding

Xft.dpi: 100:unscaled

helped. Of course you can use 75 and don't need scaled, ymmv, etc...

Offline

#6 2006-07-08 07:59:08

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: really small firefox and fluxbox fonts

test1000 wrote:

you can also do startx -dpi 96 for example. or maybe it was startx -- -dpi 96 can't remember. or try 75.

The second one is right and has fixed the problem. Can I fix this globally with a change to xorg.conf or is the fix the line omgwtfbyobbq suggested in Xdefaults?

Offline

#7 2006-07-08 15:22:01

battra
Member
From: Earth.US.Illinois.Chicago
Registered: 2006-05-12
Posts: 71

Re: really small firefox and fluxbox fonts

dninja wrote:
test1000 wrote:

you can also do startx -dpi 96 for example. or maybe it was startx -- -dpi 96 can't remember. or try 75.

The second one is right and has fixed the problem. Can I fix this globally with a change to xorg.conf or is the fix the line omgwtfbyobbq suggested in Xdefaults?


I think you can also edit the /usr/bin/startx script (this is the solution in the Font FAQ on Arch wiki).

Edit the line that says defaultserverargs and add you dpi setting:

defaultserverargs="-dpi 75"

Not sure if this is the best solution for setting globally, though (since /usr/bin/startx isn't a configuration file per say and will get overwritten on upgrades).  Nevertheless, this the solution from Font FAQ in wiki:

http://wiki.archlinux.org/index.php/Fonts_FAQ


"I know nothing except the fact of my ignorance."
- Socrates

Offline

#8 2006-07-19 08:56:21

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: really small firefox and fluxbox fonts

The dpi fix helped with the font sizes but I forgot that I'm still getting the following errors in my xorg log file

Could not init font path element /usr/share/fonts/75dpi, removing from list!
Could not init font path element /usr/share/fonts/100dpi, removing from list!

The directories are there:

ls -ld /usr/share/fonts/*dpi/
drwxr-xr-x 2 root root 79728 2006-07-08 08:52 /usr/share/fonts/100dpi/
drwxr-xr-x 2 root root 79728 2006-07-08 08:52 /usr/share/fonts/75dpi/

and contain an up-to-date font.dir etc:

ls -l /usr/share/fonts/*dpi/font*
-rw-r--r-- 1 root root   3154 2005-12-22 10:31 /usr/share/fonts/100dpi/fonts.alias
-rw-r--r-- 1 root root 230915 2006-07-08 08:52 /usr/share/fonts/100dpi/fonts.cache-1
-rw-r--r-- 1 root root 169851 2006-07-08 08:52 /usr/share/fonts/100dpi/fonts.dir
-rw-r--r-- 1 root root      2 2006-07-08 08:52 /usr/share/fonts/100dpi/fonts.scale
-rw-r--r-- 1 root root   3066 2005-12-22 10:31 /usr/share/fonts/75dpi/fonts.alias
-rw-r--r-- 1 root root 230457 2006-07-08 08:52 /usr/share/fonts/75dpi/fonts.cache-1
-rw-r--r-- 1 root root 165343 2006-07-19 09:12 /usr/share/fonts/75dpi/fonts.dir
-rw-r--r-- 1 root root      2 2006-07-19 09:12 /usr/share/fonts/75dpi/fonts.scale

Other font directores, such as  /usr/share/fonts/Type1 are being picked up correctly but I can't work out why these ones aren't.

Any suggestions?

Offline

#9 2006-07-20 00:23:58

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: really small firefox and fluxbox fonts

well, their permissions is root. maybe you are starting your X server as user? i know that i am. Remember to set the permissions correct for both the folder and contents.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#10 2006-07-20 12:37:24

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: really small firefox and fluxbox fonts

What permissions would you suggest? I sometimes start X through gdm and sometimes through startx. Either way the user only needs read permission of the files which it has as it has as is shown in my last message

Offline

#11 2006-07-24 11:29:31

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: really small firefox and fluxbox fonts

is the folder correct permissions? anyways search google for that msg.. smile


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#12 2006-07-24 11:50:24

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: really small firefox and fluxbox fonts

If you look back at the post again you will see that files and directories all have the correct permissions. Normal users can happily cat the files.

It isn't a permissions issue.

Anyone else got any suggestions?

Offline

Board footer

Powered by FluxBB