Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HOWTO install infinality font-settings for Debian

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
DebbyIan
Posts: 158
Joined: 2013-05-09 12:12

Re: HOWTO install infinality font-settings for Debian

#121 Post by DebbyIan »

Why are you posting Arch material on this forum? Debian is not Arch.
This is the sort of attitude you get from Arch.

Second the overwhelming view expressed in the latter part of these forum posts is that Infinality is no longer necessary as the results from the standard package are 'good enough'. Personally I am fine with this.

Don't post another Arch link in this forum.

jim_p
Posts: 28
Joined: 2008-02-07 14:07
Been thanked: 1 time

Re: HOWTO install infinality font-settings for Debian

#122 Post by jim_p »

I am posting links on aur to prove that infinality patches DO exist for freetype 2.7 and 2.8, since there are NO changelogs, patches or something similar on infinality's github repo*, which in turn has been dead for a year now.

* https://github.com/bohoomil/fontconfig-ultimate

And no, the results on plain freetype are not good for me. Here is an image to prove how bad white text renders on black background on plain freetype. If that is not a problem for you, please do not read my posts.

Image

---edit
Ok, the image shows the font rendering in its absolute worse, I admit it.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: HOWTO install infinality font-settings for Debian

#123 Post by debiman »

jim_p wrote:I am posting links on aur to prove that infinality patches DO exist for freetype 2.7 and 2.8
you can always look at the PKGBUILD and try to reproduce the compiling procedure on a debian system.

msimsek
Posts: 2
Joined: 2017-05-12 11:52

Re: HOWTO install infinality font-settings for Debian

#124 Post by msimsek »

Infinality patches are now in mainstream, you just need to enable them. Which is pretty easy to do actually.

Just download the source of 2.8, get the dependencies (you can check PKGBUILD for that), compile and checkinstall. This will also install development headers, so just create a empty package for libfreetype6-dev. You can also do things the Debian way and seperate the packages and all, but you don't really need that for your own use.

Configuration is simple and done from one file. Check here: https://www.freetype.org/freetype2/docs ... tml#builds

jim_p
Posts: 28
Joined: 2008-02-07 14:07
Been thanked: 1 time

Re: HOWTO install infinality font-settings for Debian

#125 Post by jim_p »

@debiman
I can't. Before finding bubuxp's debs on google drive, I had tried many, MANY times to build a proper package and failed. So I have used his ever since. And when freetype on the main repo was updated and broke infinality, I mailed bubuxp, literally BEGGING for an update.
And yes, packaging for debian is hard, at least for me.

@msimsek
Where are the infinality patches inside the source of 2.8? I can not find anything, neither inside the original freetype source*, nor on the one provided by packages.debian.org**

* https://download.savannah.gnu.org/relea ... 2.8.tar.gz
** http://http.debian.net/debian/pool/main ... rig.tar.gz

I insist on a working, infinality patched, freetype because good looking fonts are part of my setup which I use to do my everyday work. That's why I provided the aur links for infinality patched freetype 2.7 and 2.8. And I admit I almost lost my mind when I read on github that there will be no infinality patches from freetype 2.7 and on

https://github.com/bohoomil/fontconfig- ... issues/171

And for the screenshot above. I did not remember how to change opera to its dark theme in order to show the "white text on black background" problem, so I used its private mode which has white text on black background for the inactive tabs.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: HOWTO install infinality font-settings for Debian

#126 Post by debiman »

jim_p wrote:I can't.
the absolute lack of detail in this answer tells me that you haven't even tried...
I insist on a working etc. etc.
you know what the answer to that is, in the open source community, don't you?
roll up your sleeves and start working.
because good looking fonts are part of my setup which I use to do my everyday work.
so the implication is that you cannot do your work without infinality. amusing.
have you explored all avenues to make your existing, standard freetype installation look better?
methinks not.
here's a sample of typeface with vanilla freetype:
Image
good enough for me.

also, did you see & read this?
note that these instructions are for archlinux, but can easily be applied to debian.

DebbyIan
Posts: 158
Joined: 2013-05-09 12:12

Re: HOWTO install infinality font-settings for Debian

#127 Post by DebbyIan »

Has he even read the differences in features between 2.7 and 2.8? The new release largely brings completion of Open Type variations. Unless you're using OT faces you're not going to see any useful differences between the two releases.

If he gives me $79 I will send him a cracked DVD of Microsoft Windows Vista Ultimate Edition. Inside it there is Microsoft Clear Type technology (the best yet) which has been making all the difference in font display tech since like 2006.

User avatar
hadrons123
Posts: 59
Joined: 2012-01-31 09:58
Location: NYC

Re: HOWTO install infinality font-settings for Debian

#128 Post by hadrons123 »

The infinality font setup is obsolete and its not compatible with any recent versions of freetype. Please refrain from using infinality.
LENOVO Y580 CORE i7 3630QM|8 GB RAM |16GB Sandisk SSD| Debian, Fedora, ARCH

Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

jim_p
Posts: 28
Joined: 2008-02-07 14:07
Been thanked: 1 time

Re: HOWTO install infinality font-settings for Debian

#129 Post by jim_p »

As of July 6th 2017, freetype 2.8 is now on testing. What do I need to do before upgrading to it? I guess I have to remove fontconfig-infinality and the infinality patched libfreetype6. Anything else? Some file or folder? I see there is "/etc/X11/Xsession.d/99infinality-settings" which will probably remain...

Can I also remove the fonts which were installed as dependencies of fontconfig-infinality?

Code: Select all

$ apt-cache depends fontconfig-infinality
  Depends: fontconfig-config
  Depends: fonts-dejavu
  Depends: fonts-liberation
  Depends: fonts-noto-hinted
  Depends: fonts-noto-unhinted
  Depends: fonts-noto-mono
...
Do I have to run "dpkg-reconfigure fontconfig-config again? If so, what do I choose?

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: HOWTO install infinality font-settings for Debian

#130 Post by bester69 »

I keep using old version with stretch, They works great in KDE5 with "Segoe UI" (Win10) (didnt like last version)
fontconfig-infinality_1-2_all.deb
freetype-infinality_2.4.12-1_all.deb
libfreetype-infinality6_2.4.12-1_amd64.deb
Fonts looks perfect with this infinality version.
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

jim_p
Posts: 28
Joined: 2008-02-07 14:07
Been thanked: 1 time

Re: HOWTO install infinality font-settings for Debian

#131 Post by jim_p »

Why would you do such a thing? Freetype 2.4 (patched or not) is from wheezy's era. I think it will cause problems on your system because every single app will be compiled against libfreetype 2.6 that is on the repo.

jim_p
Posts: 28
Joined: 2008-02-07 14:07
Been thanked: 1 time

Re: HOWTO install infinality font-settings for Debian

#132 Post by jim_p »

So, ~24 hours without infinality. First of all, i removed fontconfig-infinality and the patched libfreetype6 as described in bubuxp's instructions, like so

Code: Select all

# dpkg --purge --force-depends libfreetype6 fontconfig-infinality
# apt-get install libfreetype6
then deleted /etc/X11/Xsession.d/99infinality-settings by hand and rebooted. I kept the fonts which were listed as dependencies for fontconfig-infinality because they are kodi's dependencies as well. First thing I noticed after the reboot is that all text looks a little bit taller and the font on the terminal (andale mono 10, black or colored text on white background) looks fatter. White text on dark background looks good enough and white text on black background looks as crappy as on my screenshot some posts ago (that was freetype 2.7 or 2.8 from experimental) . Black text on white background however looks great. On web pages, in general, text seems a bit bigger, unless it is on pages, eg facebook, where 9pt or smaller size is forced, where it is small enough to be unreadable unless I move my head closer to the monitor. Plus, text on some pages is rendered completely un-antialiased and appears blocky.

So, I thought of changing my fonts after all these years. A friend advised me to switch to noto 10 or roboto 10. They look good, but they are slimmer than verdana 10 and they have a small issue. Although they are both sans serif fonts, they do have serifs for greek letters (screenshots here*).
So I rejected them. I also changed my terminal's font to hack 12. I can not use inconsolata there because it does not support greek encoding.

What else can I do? I do not have an ~/.Xresources file and xrdb -query now only returns this

Code: Select all

$ xrdb -query
*customization:	-color
Do I have to make one now? And on dpkg-reconfigure fontconfig-config I have selected native, automatic and yes for the options provided.

* https://imgur.com/a/7MjIa
Last edited by jim_p on 2017-07-08 06:05, edited 2 times in total.

rhy7s
Posts: 104
Joined: 2010-02-28 23:43

Re: HOWTO install infinality font-settings for Debian

#133 Post by rhy7s »

debiman wrote: here's a sample of typeface with vanilla freetype:
Image
good enough for me.
I understand your response to the attitude of the poster you're replying to, but the Ubuntu font with that many pixels to play with isn't much of a test of rendering quality.

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: HOWTO install infinality font-settings for Debian

#134 Post by bester69 »

jim_p wrote:Why would you do such a thing? Freetype 2.4 (patched or not) is from wheezy's era. I think it will cause problems on your system because every single app will be compiled against libfreetype 2.6 that is on the repo.
I usually dont know what im doing, I just check it works!. Ive both installed libfreetype-infinality6_v2.4.12 and libfreetype6_v2.6,

All apps works greats with libfreetype-infinality6_v2.4.12 installed, So why to change it if it works perfect??
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

julialbert
Posts: 1
Joined: 2017-09-27 05:06

Re: HOWTO install infinality font-settings for Debian

#135 Post by julialbert »

bester69 wrote:
jim_p wrote:Why would you do such a thing? Freetype 2.4 (patched or not) is from wheezy's era. I think it will cause problems on your system because every single app will be compiled against libfreetype 2.6 that is on the repo.
I usually dont know what im doing, I just check it works!. Ive both installed libfreetype-infinality6_v2.4.12 and libfreetype6_v2.6,

All apps works greats with libfreetype-infinality6_v2.4.12 installed, So why to change it if it works perfect??
Yes "bester69" is right, these all apps works perfectly after installed libfreetype-infinality6_v2.4.12.

runs
Posts: 30
Joined: 2018-04-24 21:29

Re: HOWTO install infinality font-settings for Debian

#136 Post by runs »

Well the default compilation for Debian unstable is cool, improves the v0.6.x a lot. But because I want more crispness in my fonts I've compiled a freetype2 v0.8.1 for using in Debian Stretch.

It includes the full Infinality patch set & the Microsoft Clear Type technology.

Download


Feel free to test it.

Remember to make a system backup before using it!!!

DebbyIan
Posts: 158
Joined: 2013-05-09 12:12

Re: HOWTO install infinality font-settings for Debian

#137 Post by DebbyIan »

You didn't use dsc. Norty, norty.

runs
Posts: 30
Joined: 2018-04-24 21:29

Re: HOWTO install infinality font-settings for Debian

#138 Post by runs »

what is dsc?!

runs
Posts: 30
Joined: 2018-04-24 21:29

Re: HOWTO install infinality font-settings for Debian

#139 Post by runs »

If you meant direct-source-code, is here:

Download

TO COMPILE

1) Firstly create the '/usr/include/freetype2' dir and inside it another: '/usr/include/freetype2/freetype'.

2)

Code: Select all

./configure --prefix=/usr
3)

Code: Select all

make

TO MAKE THE .DEB PACKAGE

Code: Select all

sudo checkinstall

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: HOWTO install infinality font-settings for Debian

#140 Post by GarryRicketson »

Remember to read , before installing using anything: https://wiki.debian.org/DontBreakDebian
On Debian installing software from random websites is a bad habit.
and definitely:
Remember to make a system backup before using it!!!

Post Reply