View Full Version : HowTo: Mozilla, set minimum font size
Default minimum font size is too small for me. I found a way how to define miminum font size in built in browser.
By befaullt some configuration setting does not exist.
1. Open browser. In address bar type about:config
2. In 'Set Preference' group, in Name textbox type font.minimum-size.x-unicode, in Value 16
3. Save new string by pressing 'Set Preference' button.
4. Repete steps 2-3 for
font.minimum-size.x-western
font.minimum-size.x-cyrillic
font.minimum-size.x-user-def
Restart browser.
In example 16 - minimum font size for text in browser window, change it to your as you like.
RedMist
11-27-2007, 03:40 PM
excellent. thank you.
technut
11-27-2007, 04:32 PM
Did you find that by searching in these forums? Because it has been covered here before.
Could you post a link here, because i found HowTo change font size in Opera only, not in Mozilla (os2008)?
Karel Jansens
11-27-2007, 05:14 PM
Did you find that by searching in these forums? Because it has been covered here before.
"about:config" is pretty much a bog-standard feature of Mozilla.
It's nice to know though Nokia didn't deem it too confusing for usr:@tablt and decided to disable it...
Ok. Way to do modificatioin easy:
File with Mozilla user parameters isprefs.js located in /home/user/.mozilla/microb.
I copied "GE Inspira" and "Lucida Console" fonts to /usr/share/fonts. Then fc-cache -fvr uder root and user.
Using 'nano-tiny' made changes in 'prefs.js':
user_pref("browser.display.use_document_fonts", 0);
user_pref("font.default.x-cyrillic", "sans-serif");
user_pref("font.default.x-unicode", "sans-serif");
user_pref("font.default.x-user-def", "sans-serif");
user_pref("font.default.x-western", "sans-serif");
user_pref("font.language.group", "x-cyrillic");
user_pref("font.minimum-size.x-cyrillic", 16);
user_pref("font.minimum-size.x-unicode", 16);
user_pref("font.minimum-size.x-user-def", 16);
user_pref("font.minimum-size.x-western", 16);
user_pref("font.name.monospace.x-cyrillic", "Lucida Console");
user_pref("font.name.monospace.x-unicode", "Lucida Console");
user_pref("font.name.monospace.x-user-def", "Lucida Console");
user_pref("font.name.monospace.x-western", "Lucida Console");
user_pref("font.name.sans-serif.x-cyrillic", "GE Inspira");
user_pref("font.name.sans-serif.x-unicode", "GE Inspira");
user_pref("font.name.sans-serif.x-user-def", "GE Inspira");
user_pref("font.name.sans-serif.x-western", "GE Inspira");
user_pref("font.name.serif.x-cyrillic", "GE Inspira");
user_pref("font.name.serif.x-unicode", "GE Inspira");
user_pref("font.name.serif.x-user-def", "GE Inspira");
user_pref("font.name.serif.x-western", "GE Inspira");
user_pref("font.size.fixed.x-central-euro", 16);
user_pref("font.size.fixed.x-cyrillic", 16);
user_pref("font.size.fixed.x-unicode", 16);
user_pref("font.size.fixed.x-user-def", 16);
user_pref("font.size.fixed.x-western", 16);
user_pref("font.size.variable.x-user-def", 16);
Now webpages looking like on notebook.
NB: Change "GE Inspira", "Lucida Console" to your existing fonts.
technut
11-27-2007, 06:13 PM
Could you post a link here, because i found HowTo change font size in Opera only, not in Mozilla (os2008)?
MicroB Minimum Font Size Adjustments (http://www.internettablettalk.com/forums/showthread.php?t=11909&highlight=font+size)
New Mozilla based browser hints (http://www.internettablettalk.com/forums/showthread.php?t=7814&highlight=font+size)
about:config (http://www.internettablettalk.com/forums/showthread.php?t=8091&highlight=font+size)
But you're doing a nice job of covering it, don't let me stop you.
My bad :( Thank You. Next time will pay more attention.
YoDude
11-27-2007, 06:58 PM
My bad :( Thank You. Next time will pay more attention.
Well done and easy to follow...
What are the default values for the fields in your first post?
Default values does not exist, except user_pref("browser.display.use_document_fonts", 0); Default -1
I made changes in Linux Firefox menu, then copied changes from configuration file Notebook to configuration file N800 opened in nano-tiny in ssh session. Using "standard" about:config is too complecate.
'GE Inspira' i replaced to 'Tahoma', which is more readeble on N800 screen.
YoDude
11-28-2007, 09:41 AM
Well to make it simple using about:config from the browser (very slow BTW)
I just inserted font.minimum-size.x-western in the "Name" and 20 in the "value" box and hit "Set Preference".
I walked away for a cup of coffee (did I say slow), came back and found that the font size was now changed on the about:config page to a more readable size. I closed the page and restarted the browser.
Now my browser opens and displays text by default at what I used to have to zoom to 120% to achieve.
A much better user experience.
Previously I had found that 120% was about the max to use before the "fit to width" feature started moving web objects arround...
Here are my screenshots...
Minimum font size set to 16
Default Proportional font - Tahoma
Default Monotype font - Lucida Console
Ignore Font Style - TRUE
Fit Width to View - OFF
http://img-fotki.yandex.ru/get/11/tomashin.0/0_4cd9_22b1bf42_orig
http://img-fotki.yandex.ru/get/9/tomashin.0/0_4cd8_24a0c40b_orig
YoDude
11-28-2007, 12:23 PM
...and here are mine acheiving my intended goal of maximum font size that doesnt change the layout of an "iGoogle" home page. :)
mdanehart
12-09-2007, 08:49 PM
YoDude: Thanks, I pumped mine to 20 and now easy to see.
Mark
How do we reverse it to default? I'm afraid to do it in case I can't go back.....
ElCamino
01-03-2008, 02:02 AM
If you change to 20 does it keep everything without scrolling to the sides? Can someone post exactly what to put in.
Karel Jansens
01-03-2008, 06:47 AM
If you change to 20 does it keep everything without scrolling to the sides?
Only if you turn the optimized view option on.
Can someone post exactly what to put in.1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,... You get the idea?
cripes
01-03-2008, 10:01 AM
has anyone filed a bug report with nokia about the lack of an option to change the font size in the browser menus? I imagine the small font is a deal breaker for many potential owners.
(PS: anyone having trouble with the rendering of this forum the last few days?)
caped
06-14-2008, 08:17 PM
Default minimum font size is too small for me. I found a way how to define miminum font size in built in browser.
By befaullt some configuration setting does not exist.
1. Open browser. In address bar type about:config
2. In 'Set Preference' group, in Name textbox type font.minimum-size.x-unicode, in Value 16
3. Save new string by pressing 'Set Preference' button.
4. Repete steps 2-3 for
font.minimum-size.x-western
font.minimum-size.x-cyrillic
font.minimum-size.x-user-def
Restart browser.
In example 16 - minimum font size for text in browser window, change it to your as you like.
It does not work for me at all. :(
I do have all the strings created, though.
joepagiii
06-14-2008, 08:55 PM
caped try clearing your cache...in microb...
caped
06-14-2008, 10:17 PM
I did clear my cache, but it said "some elements are in use and cannot be cleared."
joepagiii
06-14-2008, 10:59 PM
well maybe somone needs to make deb that can modify or change those values easily...just a thought...did you also clear your browsing history
caped
06-14-2008, 11:27 PM
I cleared everything, cache, browsing history, cookies, passwords.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.