You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 2011-02-15 12:47:52

gone
®
Registered: 2011-02-11
Posts: 83

Fonts in Chrome

Do you guys have any recommendations/suggestions on a better config for smoother fonts ... I mean everything looks ok but I know it can get better.

fonts seem to lack a bit

e.g the font displayed while typing in this box

screenshot



EDIT: perhaps someone can explain the difference between these to settings and if the second is acceptable for arch

1 - xserver_arguments   -nolisten tcp vt07

2 - xserver_arguments   -nolisten tcp -br -deferglyphs 16 -dpi 96

Last edited by gone (2011-02-15 12:50:54)


________________
archlinux wiki

Offline

#2 2011-02-15 14:16:34

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,622
Website

Re: Fonts in Chrome

This is not what it should be.
Go to Pref Under the hood and specify a different font.
I use Verdana. It works for me.
For managing fonts I recommend fontmatrix.


But lots of people seem to have this issue:
http://code.google.com/p/chromium/issue … l?id=29871 comment 48 step 3 seems to provide a solution:
Create a ~/.gtkrc-2.0.mine file in your home directory with the following content:
gtk-xft-hinting = 1
gtk-xft-hintstyle = hintfull
gtk-xft-rgba = rgb

Step4: Restart your X server (for e.g. do a Logout)

Last edited by pablokal (2011-02-15 14:19:39)


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#3 2011-02-15 16:19:10

gone
®
Registered: 2011-02-11
Posts: 83

Re: Fonts in Chrome

ty so much pablokal,

this :
gtk-xft-hinting = 1
gtk-xft-hintstyle = hintfull
gtk-xft-rgba = rgb

helped alot, I also changed my "sans" font within chrome to verdana and it was a major improvement, I did not install a font manager however as I am uncertain on how to do this.

the final result I have is very pleasing and much better.
Thank-you


________________
archlinux wiki

Offline

#4 2011-02-16 03:43:59

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,622
Website

Re: Fonts in Chrome

Fontmatrix is in AUR: http://aur.archlinux.org/packages.php?ID=14771
do: packer -S fontmatrix

If you haven't used packer before you might need to do: sudo pacman -S base-devel
first.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#5 2011-02-16 04:34:47

gone
®
Registered: 2011-02-11
Posts: 83

Re: Fonts in Chrome

[kerios@archbang ~]$ sudo pacman -S base-devel
Password:
kerios is not in the sudoers file.  This incident will be reported.

EDIT: I've got fontmatrix installed but not quite sure what to do with it

Last edited by gone (2011-02-16 05:06:36)


________________
archlinux wiki

Offline

#6 2011-02-16 07:45:13

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,622
Website

Re: Fonts in Chrome


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#7 2011-02-16 08:41:54

gone
®
Registered: 2011-02-11
Posts: 83

Re: Fonts in Chrome

thanks again pablokal, just poured myself a fresh cup of coffee and will read through tutorial you provided.

rejoice big_smile


________________
archlinux wiki

Offline

#8 2011-02-16 11:07:51

gone
®
Registered: 2011-02-11
Posts: 83

Re: Fonts in Chrome

Done reading and searched for more information about the subject which led me to this post in Arch linux forums.

Arch Linux Thread

Alternative solution to font issue, tested by me and working perfectly.

As per member weakhead in Arch Forums

I have installed following packages:
aur/cairo-ubuntu
aur/fontconfig-ubuntu
aur/freetype2-ubuntu
aur/libxft-ubuntu
Here's my ~/.fonts.conf

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

ty Paul for opening my eyes

smile


________________
archlinux wiki

Offline

#9 2011-02-16 13:42:27

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,622
Website

Re: Fonts in Chrome

Yes, that's the real spirit.
There are mostly more solutions to the same problem; just test what you like the most.

Btw I would not have advised you to choose this solution because I myself came into a sort of dependency hell during install of those packages which  even lead to the impossibility to boot.
This was one of my heaviest crisis using Arch:
you can read about it here:
http://stillstup.blogspot.com/2010/06/t … n-has.html


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#10 2011-02-16 13:53:45

gone
®
Registered: 2011-02-11
Posts: 83

Re: Fonts in Chrome

I got lucky and they installed without a hitch, but you can be sure I will heed your warning and won't risk trashing my archbox from this point on ... I have it running just the way I need it to and will only be installing updates.

I must say after 2 months of distro hopping, I found an OS that I am confident in.
thx for alll your help

big_smile


________________
archlinux wiki

Offline

#11 2011-09-28 07:55:35

archy
ArchBanger
Registered: 2011-09-24
Posts: 90

Re: Fonts in Chrome

pablokal wrote:

Verdana

howdy!

don't have it...

Offline

#12 2011-09-28 09:22:06

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,622
Website

Re: Fonts in Chrome

packer -S ttf-ms-fonts


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

Board footer

Powered by FluxBB