Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chromium location bar's font too big [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
w1n73rmu7e
n00b
n00b


Joined: 20 Jul 2009
Posts: 32
Location: The greatest country on Earth.

PostPosted: Sun Jan 31, 2010 9:01 pm    Post subject: Chromium location bar's font too big [SOLVED] Reply with quote

I recently moved from KDE 4 to Openbox. When I did, a lot of fonts were too big, so I had to make them smaller to fix that (for example, I have the standard font size set to 8 in obconf). One of the few applications in which I haven't been able to fix the font size is Chromium. The location bar (and tab bar) text is still larger than it should be. Does anyone know how I can fix this?

Thanks!
_________________
BoneKracker wrote:
Sorry for being patronizing.


Last edited by w1n73rmu7e on Fri Feb 05, 2010 2:03 am; edited 1 time in total
Back to top
View user's profile Send private message
comprookie2000
Retired Dev
Retired Dev


Joined: 25 Jul 2004
Posts: 925
Location: Sun City Center, Florida

PostPosted: Mon Feb 01, 2010 1:39 am    Post subject: Reply with quote

Not sure if this will will help as I use gnome but for specific Chromium fonts here is mine;
~/.config/chromium/Default/Preferences

Code:

   "webkit": {
      "webprefs": {
         "default_fixed_font_size": 17,
         "default_font_size": 17,
         "fixed_font_family": "DejaVu Sans Mono",
         "inspector_settings": "lastActivePanel:string:storage\n",
         "minimum_font_size": 16,
         "minimum_logical_font_size": 16,
         "sansserif_font_family": "DejaVu Sans",
         "serif_font_family": "DejaVu Serif"
      }
   }

Do you have a ~/.fonts.conf
http://code.google.com/p/chromium/issues/detail?id=12179
_________________
http://dev.gentoo.org/~dabbott/
Back to top
View user's profile Send private message
w1n73rmu7e
n00b
n00b


Joined: 20 Jul 2009
Posts: 32
Location: The greatest country on Earth.

PostPosted: Mon Feb 01, 2010 3:34 am    Post subject: Reply with quote

comprookie2000 wrote:
Not sure if this will will help as I use gnome but for specific Chromium fonts here is mine;
~/.config/chromium/Default/Preferences

Code:

   "webkit": {
      "webprefs": {
         "default_fixed_font_size": 17,
         "default_font_size": 17,
         "fixed_font_family": "DejaVu Sans Mono",
         "inspector_settings": "lastActivePanel:string:storage\n",
         "minimum_font_size": 16,
         "minimum_logical_font_size": 16,
         "sansserif_font_family": "DejaVu Sans",
         "serif_font_family": "DejaVu Serif"
      }
   }
I tried changing the font sizes (default_font_size and default_fixed_font_size, those were the only ones there). They were 14 and 16; I made them 12 and 12, and nothing changed.

comprookie2000 wrote:
Do you have a ~/.fonts.conf
http://code.google.com/p/chromium/issues/detail?id=12179
Changing that bool to false only made the fonts worse - the letters became thicker and more blurry.
_________________
BoneKracker wrote:
Sorry for being patronizing.
Back to top
View user's profile Send private message
w1n73rmu7e
n00b
n00b


Joined: 20 Jul 2009
Posts: 32
Location: The greatest country on Earth.

PostPosted: Fri Feb 05, 2010 2:02 am    Post subject: Reply with quote

I managed to fix it by manually setting the DPI in my X launch command. I did this in /etc/slim.conf:
Code:
xserver_arguments   -nolisten tcp -br -deferglyphs 16 -dpi 96


After that, I was able to change all the system fonts back to 10 (from 8) and 9 (from 7), and Chrome (and Mathematica, which had a similar "font too big" problem) is using the correct size font now.
_________________
BoneKracker wrote:
Sorry for being patronizing.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum