maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   HowTo: Mozilla, set minimum font size (https://talk.maemo.org/showthread.php?t=12359)

ITom 2007-11-27 20:26

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
Code:

about:config
2. In 'Set Preference' group, in Name textbox type
Code:

font.minimum-size.x-unicode
, in Value
Code:

16
3. Save new string by pressing 'Set Preference' button.
4. Repete steps 2-3 for
Code:

font.minimum-size.x-western
Code:

font.minimum-size.x-cyrillic
Code:

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 2007-11-27 20:40

Re: HowTo: Mozilla, set minimum font size
 
excellent. thank you.

technut 2007-11-27 21:32

Re: HowTo: Mozilla, set minimum font size
 
Did you find that by searching in these forums? Because it has been covered here before.

ITom 2007-11-27 22:03

Re: HowTo: Mozilla, set minimum font size
 
Could you post a link here, because i found HowTo change font size in Opera only, not in Mozilla (os2008)?

Karel Jansens 2007-11-27 22:14

Re: HowTo: Mozilla, set minimum font size
 
Quote:

Originally Posted by technut (Post 100968)
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...

ITom 2007-11-27 22:46

Re: HowTo: Mozilla, set minimum font size
 
Ok. Way to do modificatioin easy:
File with Mozilla user parameters is
Code:

prefs.js
located in
Code:

/home/user/.mozilla/microb
.
I copied "GE Inspira" and "Lucida Console" fonts to /usr/share/fonts. Then
Code:

fc-cache -fvr
uder root and user.
Using 'nano-tiny' made changes in 'prefs.js':
Code:

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 2007-11-27 23:13

Re: HowTo: Mozilla, set minimum font size
 
Quote:

Originally Posted by ITom (Post 101002)
Could you post a link here, because i found HowTo change font size in Opera only, not in Mozilla (os2008)?


But you're doing a nice job of covering it, don't let me stop you.

ITom 2007-11-27 23:18

Re: HowTo: Mozilla, set minimum font size
 
My bad :( Thank You. Next time will pay more attention.

YoDude 2007-11-27 23:58

Re: HowTo: Mozilla, set minimum font size
 
Quote:

Originally Posted by ITom (Post 101059)
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?

ITom 2007-11-28 09:46

Re: HowTo: Mozilla, set minimum font size
 
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.


All times are GMT. The time now is 16:53.

vBulletin® Version 3.8.8