Installing infinality freetype/fontconfig in debian 7


Recommended Posts

I'm loving debian wheezy so far, but the font rendering was making my eyes bleed :). I set out to find out how I could install the wonderful infinality packages in debian (http://www.infinality.net/blog/) so I could get awesome font rendering. Unfortunately I did not find any repository for these packages for debian, but I did find a quick way to build some .deb packages for debian wheezy, and it worked great for me (source: http://forums.debian...hp?f=16&t=88545)

1. Clone the git repo and cd to the directory:


git clone https://github.com/chenxiaolong/Debian-Packages.git
[/CODE]

[CODE]
cd Debian-Packages/
[/CODE]

2. Install the build dependencies and tools needed to build the packages. first do: [b]sudo apt-get install build-essential devscripts[/b]. next, run the following command and install the packages it lists using apt-get or synaptic

[CODE]
cd freetype-infinality/
dpkg-checkbuilddeps
cd ../fontconfig-infinality/
dpkg-checkbuilddeps[/CODE]

3. Build the packages:

[CODE]cd ../freetype-infinality/
./build.sh
cd ../fontconfig-infinality/
./build.sh[/CODE]

4. Install the deb files:

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

You have to reboot to see any changes. If you want to customize the rendering you can:

[CODE]
cd /etc/fonts/infinality
sudo ./infctl.sh setstyle [yourpreferredstyle]
[/CODE]

available styles are: infinality, linux, osx, osx2, win7, win98, winxp

You can tweak additional settings in the file: [b]/etc/profile.d/infinality-settings.sh[/b]. the file is very well commented.

On my machine I like to use the linux style, and then use the "ubuntu" preset in infinality-settings.sh to get the following results:post-159052-0-85284300-1369011566.png

[i]edit 1: edited git clone command because ipb destroyed it with url tags :p[/i]

While the font rendering in Wheezy doesn't bother me, I wouldn't mind trying to make it better. I may have to try this sometime soon. If I like it enough I might even add it to my personal APT repository.

On a completely unrelated note, I have been considering making a guide for installing and configuring Debian. I have answered numerous questions from other Neowin members about specific configuration details, and I think I have a fairly good understanding of common misconceptions, common setup problems, and general system mechanics. As fellow Linux enthusiasts, what is your opinion? Should I attempt to make (1) a general Debian installation guide, (2) a comprehensive installation guide, (3) a general installation guide with separate sections for the specifics (like an FAQ or Troubleshooting section), or (4) is it not worth my time because there are enough guides available elsewhere?

As an ancillary to the last question, would it be worthwhile for me to attempt to whip my personal APT repository into a releasable state? It would take a significant amount of work - much more so than any version of the guide I proposed - but it would generally make it easier for others to mimic my Debian setup. I realize that this proposal would be bordering on distribution territory - I really have no desire to compete with Shift 2 or any other distro - but it might be worth my effort if enough other members are interested.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • My Photos app is version 2026.11050.1001.0 and it remembers the window size and position. My Snipping Tool is version 11.2602.49.0 and it can capture the taskbar.
    • MusicBee 3.6.9668 by Razvan Serea MusicBee is an application geared toward managing extensive music collections, easy to use and with a comprehensive feature set. It makes it easy to organize, find, and play music files on your computer, on portable devices, and on the Web. It provides playback of a wide range of audio formats, smart playlists with the ability to discover and play new music from the web, advanced tag editing with automated artwork and tag look up, folder monitoring, automated file re-organization, portable device synchronization, and secure CD ripping with AccurateRip verification. MusicBee features: Supported formats: MP3, AAC, M4A, MPC, OGG, FLAC, APE, TAK, WV, WMA and WAV. Audio CDs: Audio CD playback and ripping (with CD-Text capabilities) is supported. CD tracks can be ripped (in fast or secure mode) as individual files or as a single album with embedded cuesheet. Conversion: Conversion from and to all supported formats as metadata are preserved. Synchronization of tags only (in case that the output file already exists) instead of reencoding is possible. ReplayGain support: both playback and calculation. File Organization: Organization and renaming of music files into folders and files based on tag values such as artist, album, name, track number, etc. that can be specified. MusicBee can do this automatically for all files in a music library or the user can choose the files or folders themselves. Web Browsing: Browsing of the web using Mozilla's XULRunner environment. Scrobbling: Tracks played from MusicBee can optionally be scrobbled to Last.fm. Customizable user interface layout. Customizable keyboard shortcuts. MiniLyrics support Download: MusicBee 3.6.9668 | MusicBee Portable | ~9.0 MB (Freeware) Download: Windows Store Edition View: MusicBee Home page | Release Notes | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • On xiaomi hyperos there's also an option to disable google assistant. I've got everything disabled. Only thing I do have installed is a web wrapped for duck.ai which claims to let you use various AIs anonymously
    • I need to understand the rationale of not shipping all of these K2 improvements in a single update/release. It's giving "we will fix Windows 11 but no commitments". It seems to me that they just announce these improvements just to appease the community.
    • The term "RTM" is long gone starting with Windows 10. Every current release is a GA build. This is the result of MS making Windows as a Service (WaaS).
  • Recent Achievements

    • Conversation Starter
      sumytbe earned a badge
      Conversation Starter
    • One Year In
      B4dM1k3 earned a badge
      One Year In
    • One Year In
      DarkWun earned a badge
      One Year In
    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      515
    2. 2
      +Edouard
      186
    3. 3
      PsYcHoKiLLa
      87
    4. 4
      Michael Scrip
      80
    5. 5
      Steven P.
      73
  • Tell a friend

    Love Neowin? Tell a friend!