LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-21-2011, 06:56 AM   #1
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Rep: Reputation: 31
font size in chrome browser


I like the chrome browser but the font size is too small for me. I know how to increase the size on a site temporarily. But, I do not know how to make a permanent change. I have increased the font size in "under the hood" but the result is spotty.
 
Old 01-21-2011, 06:59 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Did you try "Preferences -> Under the Hood -> Web Content -> Change Font ..."

You could also try changing your desktop defaults.
 
Old 01-21-2011, 07:00 AM   #3
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
Quote:
Originally Posted by sheine View Post
I like the chrome browser but the font size is too small for me. I know how to increase the size on a site temporarily. But, I do not know how to make a permanent change. I have increased the font size in "under the hood" but the result is spotty.
Use Ctrl and + togather to increase font size.
 
Old 01-21-2011, 07:09 AM   #4
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by jschiwal View Post
Did you try "Preferences -> Under the Hood -> Web Content -> Change Font ..."

You could also try changing your desktop defaults.
As I wrote, I did this and the result is spotty unlike other browsers where this is not a problem.
 
Old 01-21-2011, 07:10 AM   #5
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Sayan Acharjee View Post
Use Ctrl and + togather to increase font size.
This is the temporary solution that I have already said that I do not want, I want a permanent solution.
 
Old 01-22-2011, 04:16 AM   #6
crazypenguin
Member
 
Registered: Jun 2002
Location: Idaho
Distribution: Linux Mint, Manjaro, FreeBSD, Android
Posts: 99

Rep: Reputation: 11
I am using the following to force a minimum font in chrome. Find the preferences file for Chrome. In the distro I am using the path is /home/<your user account>/.config/google-chrome/Default/Preferences.

With Chrome closed open the file preferences with a text editor and locate "webkit" { "webprefs".

Replace the script below with the minimum font desired.

Edit:
"minimum_font_size": 12, <-change font to desired minimum
"minimum_logical_font_size": 12, <-change font to desired minimum

Code:
"webkit": {
      "webprefs": {
         "default_fixed_font_size": 16,
         "default_font_size": 16,
         "minimum_font_size": 12,
         "minimum_logical_font_size": 12,
         "fixed_font_family": "Arial",
         "inspector_settings": "lastActivePanel:string:elements\n",
         "serif_font_family": "Times New Roman"
      }
   }
Save the file preferences and restart Chrome.
 
Old 01-22-2011, 05:51 AM   #7
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by crazypenguin View Post
I am using the following to force a minimum font in chrome. Find the preferences file for Chrome. In the distro I am using the path is /home/<your user account>/.config/google-chrome/Default/Preferences.

With Chrome closed open the file preferences with a text editor and locate "webkit" { "webprefs".

Replace the script below with the minimum font desired.

Edit:
"minimum_font_size": 12, <-change font to desired minimum
"minimum_logical_font_size": 12, <-change font to desired minimum

Code:
"webkit": {
      "webprefs": {
         "default_fixed_font_size": 16,
         "default_font_size": 16,
         "minimum_font_size": 12,
         "minimum_logical_font_size": 12,
         "fixed_font_family": "Arial",
         "inspector_settings": "lastActivePanel:string:elements\n",
         "serif_font_family": "Times New Roman"
      }
   }
Save the file preferences and restart Chrome.
This is my file:

"webkit": {
"webprefs": {
"default_fixed_font_size": 26,
"default_font_size": 26,
"fixed_font_family": "Bitstream Vera Sans Mono",
"inspector_settings": "lastActivePanel:string:elements\n",
"sansserif_font_family": "Century Schoolbook L",
"serif_font_family": "Century Schoolbook L"

There is no place to set minimums as in yours. Also it does show changed sizes for the first two items which I set in "under the hood".
 
Old 01-22-2011, 11:11 AM   #8
crazypenguin
Member
 
Registered: Jun 2002
Location: Idaho
Distribution: Linux Mint, Manjaro, FreeBSD, Android
Posts: 99

Rep: Reputation: 11
Quote:
Originally Posted by sheine View Post
"webkit": {
"webprefs": {
"default_fixed_font_size": 26,
"default_font_size": 26,
"fixed_font_family": "Bitstream Vera Sans Mono",
"inspector_settings": "lastActivePanel:string:elements\n",
"sansserif_font_family": "Century Schoolbook L",
"serif_font_family": "Century Schoolbook L"
You need to add the following two lines to your preference file using a text editor.

Code:
"minimum_font_size": 12,
"minimum_logical_font_size": 12,
Edit the file with your desired minimum font size :
"minimum_font_size": 12, <-change font to desired minimum
"minimum_logical_font_size": 12, <-change font to desired minimum

Chrome must be closed while editing your preference file.

More examples are given how others forced minimum font in Chrome can be found here, here, and here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs - changing default font size and font type? neilcpp Linux - Software 16 05-20-2013 11:29 AM
LXer: As Goes Chrome OS, So Goes Google's Chrome Browser LXer Syndicated Linux News 4 10-09-2010 03:18 PM
LXer: First Glimpse at What the Chrome Browser May Look Like in Chrome OS LXer Syndicated Linux News 0 10-14-2009 04:41 AM
Increasing font size in links text browser sgmeunier Linux - Software 3 06-02-2006 04:42 PM
How To Decrease Mozilla 1.6 Browser Menu Font Size Ian Linux - Software 3 06-07-2004 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration