You are not logged in.

#1 2011-09-21 09:31:02

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

[SOLVED] [EVEN FireFox, LibreOffice] Font config is a pain in the

Boy owe boy, I have been useing Archlinux for . . . like 3 years now, and I have never been able to get the fonts to look right. I was useing OpenSuse for school for a month or too, and man fonts CAN look really good on Linux.

I know Arch is the best because I set it all up (and other reasons) but it sure would be nice if there was a package that just installed a set of good fonts and 'configured them'. Anyone have some scripts that they use to get them looking good?

Last edited by hunterthomson (2011-09-22 10:12:29)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#2 2011-09-21 09:37:12

mundigranja
Member
From: Galicia
Registered: 2010-09-18
Posts: 23

Re: [SOLVED] [EVEN FireFox, LibreOffice] Font config is a pain in the

$ yaourt -S cairo-ubuntu

Offline

#3 2011-09-21 10:03:02

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: [SOLVED] [EVEN FireFox, LibreOffice] Font config is a pain in the

Hay, Thanks smile

They look perfict now. Just what I was looking for. Still some weirdness in firefox, seems like the anti-aliasing is not working in it. Everything looks good other then that tough. The menu text in firefox is looking good so I don't think it is a GTK thing; I'm using KDE. But hay, only one problem left now. I could even live with this.

Well I'll just mark this thread as solved. The firefox thing seems to be it's own deal. Agin BIG Mahalo smile

Last edited by hunterthomson (2011-09-21 10:10:32)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#4 2011-09-22 10:10:57

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: [SOLVED] [EVEN FireFox, LibreOffice] Font config is a pain in the

YES !!!!!! I now have FIXED ALL my fonts smile I am soooo happy.

Ya, Install that package which gets 90% of the job done. Then to get anti-aliasing, hinting, lcdfilter, and rgba working in LibreOffice, FireFox, and all the other odds and ends by doing this.

Edit file: /etc/fonts/conf.avail/51-local.conf

Cut n Past this into it, and logout/login and ALL will be fixed:

<?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>
  <match target="font">
    <edit mode="assign" name="lcdfilter">
      <const>lcddefault</const>
    </edit>
  </match>
</fontconfig>

Last edited by hunterthomson (2011-09-23 11:36:03)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#5 2011-09-22 14:50:34

unknwn
Member
Registered: 2008-02-02
Posts: 35

Re: [SOLVED] [EVEN FireFox, LibreOffice] Font config is a pain in the

I prefer freetype2-infinality with its local.conf and Xresources. Also i use ttf-tahoma and ttf-win7-fonts because without those some websites still looks ugly. With ubuntu packages fonts look too blurry/fat for me.

Last edited by unknwn (2011-09-22 14:51:45)

Offline

#6 2011-09-22 15:06:53

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOLVED] [EVEN FireFox, LibreOffice] Font config is a pain in the


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#7 2011-09-22 16:55:40

1archgamenon2
Banned
Registered: 2011-07-12
Posts: 201

Re: [SOLVED] [EVEN FireFox, LibreOffice] Font config is a pain in the

2b honest...do u wanna nicest fonts? ==> http://aur.archlinux.org/packages.php?ID=13030

Offline

#8 2011-09-22 17:00:01

1archgamenon2
Banned
Registered: 2011-07-12
Posts: 201

Re: [SOLVED] [EVEN FireFox, LibreOffice] Font config is a pain in the

unknwn wrote:

I prefer freetype2-infinality with its local.conf and Xresources. Also i use ttf-tahoma and ttf-win7-fonts because without those some websites still looks ugly. With ubuntu packages fonts look too blurry/fat for me

ttf-win7-fonts

Thumb up 'pal'!
https://aur.archlinux.org/packages.php?ID=50762

http://corefonts.sourceforge.net/

Last edited by 1archgamenon2 (2011-09-22 17:26:09)

Offline

#9 2011-09-23 00:30:44

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: [SOLVED] [EVEN FireFox, LibreOffice] Font config is a pain in the

Ya, the fonts do seem fat, but I have a 1920x1080 rez 15.4" screen, so the extra little fatness looks good on my screen.

I do have the ttf-tahoma and ttf-ms-fonts installed. I just feel dirty using them and just installing them was not enough to get nice fonts. The cairo-ubuntu package did a bunch of other stuff to help configure the fonts too. It was only missing that one /etc/fonts/local.conf file.

Thanks for all the suggestions though, and keep them coming if you have more. I am sure I'll forget this stuff and need to reference this thread the next time I do a clean install.


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#10 2011-09-23 04:47:21

cybertorture
Member
Registered: 2010-05-05
Posts: 338

Re: [SOLVED] [EVEN FireFox, LibreOffice] Font config is a pain in the

Hi hunterthomson,
Maybe it is better to use "/etc/fonts/conf.d/51-local.conf" instead, i did not try it because i like my setup, but it is the way it should be.


O' rly ? Ya rly Oo

Offline

#11 2011-09-23 11:18:18

unknwn
Member
Registered: 2008-02-02
Posts: 35

Re: [SOLVED] [EVEN FireFox, LibreOffice] Font config is a pain in the

hunterthomson wrote:

Ya, the fonts do seem fat, but I have a 1920x1080 rez 15.4" screen, so the extra little fatness looks good on my screen.

I do have the ttf-tahoma and ttf-ms-fonts installed. I just feel dirty using them and just installing them was not enough to get nice fonts. The cairo-ubuntu package did a bunch of other stuff to help configure the fonts too. It was only missing that one /etc/fonts/local.conf file.

Thanks for all the suggestions though, and keep them coming if you have more. I am sure I'll forget this stuff and need to reference this thread the next time I do a clean install.

Have you tried freetype2-infinality with it's local.conf? I suggest to try if you haven't.
One thing more for those who use ms fonts. Some fonts look ugly when i use ttf-ms-fonts or ttf-win7-fonts (must be tahoma in those packages?) together with infinality paches. When i also install separate ttf-tahoma package together with mentioned packages problem disappears.

Last edited by unknwn (2011-09-23 11:19:02)

Offline

#12 2011-09-23 11:20:32

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: [SOLVED] [EVEN FireFox, LibreOffice] Font config is a pain in the

cybertorture wrote:

Hi hunterthomson,
Maybe it is better to use "/etc/fonts/conf.d/51-local.conf" instead, i did not try it because i like my setup, but it is the way it should be.

Owe ya, I didn't see that. I changed it. Thanks

cat /etc/fonts/local.conf > /etc/fonts/conf.avail/51-local.conf ; rm /etc/fonts/local.conf

unknwn wrote:

Have you tried freetype2-infinality with it's local.conf? I suggest to try if you haven't.
One thing more for those who use ms fonts. Some fonts look ugly when i use ttf-ms-fonts or ttf-win7-fonts (must be tahoma in those packages?) together with infinality paches. When i also install separate ttf-tahoma package together with mentioned packages problem disappears.

Maybe I will try that, but I am flying to Chicago on Monday and don't want to get things mucked up for the trip.

Last edited by hunterthomson (2011-09-23 11:32:00)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

Board footer

Powered by FluxBB