HOWTO install infinality for Debian Wheezy i386, amd64

Share your own howto's etc. Not for support questions!

HOWTO install infinality for Debian Wheezy i386, amd64

Postby hadrons123 » 2012-11-19 04:20

This is a guide how to install Infinality font settings for Debian testing and unstable.
The steps given here are provided by the package maintainer Xiao-Long Chen at github.
Make sure you have the development packages as needed.
1. Clone the git repo

git clone https://github.com/chenxiaolong/Debian-Packages.git
cd Debian-Packages/

2. Install the build dependencies. Run the following
command and install the packages it lists using apt-get/synaptic/etc.

cd freetype-infinality/
dpkg-checkbuilddeps
cd ../fontconfig-infinality/
dpkg-checkbuilddeps

3. Build the packages:

cd ../freetype-infinality/
./build.sh
cd ../fontconfig-infinality/
./build.sh

4. Install the deb files:

cd ..
sudo dpkg -i freetype-infinality/*.deb fontconfig-infinality/*.deb

You'll need to reboot after installing the deb files. Enjoy the better
looking fonts!


Thanks to Xiao-Long Chen.

I have linked the debian binaries for some who don't prefer to build it on your system.
Its amd64 based packages.

http://dl.dropbox.com/u/106654446/infin ... -1_all.deb
http://dl.dropbox.com/u/106654446/infin ... -1_all.deb
http://dl.dropbox.com/u/106654446/infin ... _amd64.deb

Download these packages and install with dpkg.
Last edited by hadrons123 on 2013-03-25 19:00, edited 1 time in total.
ACER 5740:INTEL DUAL CORE|2 GB|160GB | Debian Wheezy

Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
User avatar
hadrons123
 
Posts: 44
Joined: 2012-01-31 09:58
Location: chennai

Re: HOWTO install infinality for Debian Wheezy i386, amd64

Postby bwat47 » 2013-03-18 01:30

thank you for the guide, I did it in wheezy and it worked great :) infinality font rendering is essential to me, can't stand using any linux distro without it.
bwat47
 
Posts: 20
Joined: 2013-03-17 22:33

Re: HOWTO install infinality for Debian Wheezy i386, amd64

Postby hadrons123 » 2013-03-18 01:43

Do you see any error messages in your bash terminal after you input your commands?
ACER 5740:INTEL DUAL CORE|2 GB|160GB | Debian Wheezy

Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
User avatar
hadrons123
 
Posts: 44
Joined: 2012-01-31 09:58
Location: chennai

Re: HOWTO install infinality for Debian Wheezy i386, amd64

Postby bwat47 » 2013-03-18 03:09

haven't seen any errors so far, do any type of commands in particular generate them?
bwat47
 
Posts: 20
Joined: 2013-03-17 22:33

Re: HOWTO install infinality for Debian Wheezy i386, amd64

Postby hadrons123 » 2013-03-18 05:08

If you don't see errors, its OK. Its been dicussed already in this thread too.
ACER 5740:INTEL DUAL CORE|2 GB|160GB | Debian Wheezy

Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
User avatar
hadrons123
 
Posts: 44
Joined: 2012-01-31 09:58
Location: chennai

Re: HOWTO install infinality for Debian Wheezy i386, amd64

Postby hadrons123 » 2013-03-18 05:11

If you don't see errors, its OK. Its been dicussed already in this http://www.infinality.net/forum/viewtopic.php?f=2&t=206&p=1974&e=1974d too.
ACER 5740:INTEL DUAL CORE|2 GB|160GB | Debian Wheezy

Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
User avatar
hadrons123
 
Posts: 44
Joined: 2012-01-31 09:58
Location: chennai

Re: HOWTO install infinality for Debian Wheezy i386, amd64

Postby kcanbe » 2013-03-20 18:32

Subpixel-hinting and Font-smoothing

http://wiki.debian.org/Fonts#Infinality_for_Debian

A lot of things about the cairo package has changed recently in wheezy and unstable which have brought almost the same font setup to Debian (But not Squeeze or old) but you have to set it up to your liking. You can create a .fonts.conf file to any user account home folder to set this up. Patching and rebuilding of Cairo packages are not needed any more.


Here's a fonts file that works very well without infinality if anyone wants to go the native Debian way...

Image

$HOME/.fonts.conf

Code: Select all
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font">
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="autohint" >
   <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="rgba" >
   <const>rgb</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>
kcanbe
 
Posts: 10
Joined: 2013-03-06 03:14

Re: HOWTO install infinality for Debian Wheezy i386, amd64

Postby hadrons123 » 2013-03-21 00:38

Still not as smooth as infinality.
Thanks for the input, anyway.

Image
ACER 5740:INTEL DUAL CORE|2 GB|160GB | Debian Wheezy

Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
User avatar
hadrons123
 
Posts: 44
Joined: 2012-01-31 09:58
Location: chennai

Re: HOWTO install infinality for Debian Wheezy i386, amd64

Postby kcanbe » 2013-03-21 04:40

Infinality is clearly better, but look how close native Debian (with a proper fonts.conf) is to Infinality ...

Image
kcanbe
 
Posts: 10
Joined: 2013-03-06 03:14

Re: HOWTO install infinality for Debian Wheezy i386, amd64

Postby hadrons123 » 2013-03-25 18:54

When you have higher resolution screen with more pixel density you can make a clear difference. Even though adding just a .fonts.conf file is easy. The benefits of infinality on your eyes are clearly better.
ACER 5740:INTEL DUAL CORE|2 GB|160GB | Debian Wheezy

Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
User avatar
hadrons123
 
Posts: 44
Joined: 2012-01-31 09:58
Location: chennai

Re: HOWTO install infinality for Debian Wheezy i386, amd64

Postby bwat47 » 2013-04-11 23:39

EDIT: NVM
bwat47
 
Posts: 20
Joined: 2013-03-17 22:33


Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable