You are not logged in.

#1 2018-05-25 15:28:13

karcher
Member
Registered: 2018-01-09
Posts: 140

[SOLVED] Font rendering issue & freetype2-infinality

Hi all,

I've reinstalled Arch with KDE Plasma and i3wm and experienced a font rendering issue after that. After some attempts to improve font rendering I came across this post:
https://www.reddit.com/r/archlinux/comm … ul_easily/
and followed the steps mentioned. Now I see a significant improvement but I was reading good things about infinality and found the package freetype2-infinality on the AUR. I want to give it try but I haven't found any instructions how to use it. I've tried to install it and I'm getting this:

$ aurman -S freetype2-infinality freetype2-docs-infinality freetype2-demos-infinality
~~ initializing aurman...
~~ calculating solutions...

:: The following 3 package(s) are getting installed:
   aur/freetype2-demos-infinality  /               ->  2.9.1-1
   aur/freetype2-docs-infinality   /               ->  2.9.1-1
   aur/freetype2-infinality        /               ->  2.9.1-1

:: The following 42 package(s) are getting removed:
   aur/4kvideodownloader           4.4.6.2295-2    ->  /
   extra/akregator                 18.04.1-1       ->  /
   community/atom                  1.27.0-1        ->  /
   extra/baloo                     5.46.0-1        ->  /
   extra/baloo-widgets             18.04.1-1       ->  /
   extra/digikam                   5.9.0-1         ->  /
   extra/dolphin                   18.04.1-2       ->  /
   aur/drawio-desktop              8.6.8-1         ->  /
   community/electron              1.8.4-2         ->  /
   aur/etcher                      1.4.4-1         ->  /
   extra/ffmpeg                    1:4.0-2         ->  /
   aur/ffmpeg2.8                   2.8.14-1        ->  /
   extra/ffmpegthumbnailer         2.2.0-2         ->  /

   community/freerdp               1:2.0.0_rc2-2   ->  /
   extra/freetype2                 2.9.1-1         ->  /
   extra/geeqie                    1.4-2           ->  /
   community/gscan2pdf             2.0.3-1         ->  /
   community/handbrake             1.1.0-1         ->  /
   aur/insync-dolphin              1.3.12.36116-1  ->  /
   extra/java-openjfx              8.u172-2        ->  /
   extra/k3b                       1:18.04.1-3     ->  /
   aur/kde-services                3.0.2-1         ->  /
   extra/kfilemetadata             5.46.0-1        ->  /
   extra/libass                    0.14.0-1        ->  /
   extra/libbluray                 1.0.2-1         ->  /
   extra/mencoder                  38101-1         ->  /
   extra/messagelib                18.04.1-1       ->  /
   extra/mpd                       0.20.20-1       ->  /
   extra/mplayer                   38101-1         ->  /
   community/mpv                   1:0.28.2-2      ->  /
   extra/opencv                    3.4.1-3         ->  /
   community/pdfsam                3.3.5-1         ->  /
   aur/peek                        1.3.1-2         ->  /
   extra/plasma-desktop            5.12.5-1        ->  /
   extra/qt5-webengine             5.10.1-2        ->  /
   extra/qt5-webview               5.10.1-1        ->  /
   extra/qtav                      1.12.0-3        ->  /
   community/qutebrowser           1.3.0-1         ->  /
   community/transcode             1.1.7-27        ->  /
   community/unpaper               6.1-6           ->  /
   extra/vlc                       3.0.2-1         ->  /
   extra/xine-lib                  1.2.9-7         ->  /
:: Package freetype2 will be removed due to a conflict with freetype2-infinality
:: Dependency libfreetype.so=6-64 of package libbluray is not fulfilled
:: Dependency libfreetype.so=6-64 of package ffmpeg is not fulfilled
:: Dependency libfreetype.so=6-64 of package libass is not fulfilled
:: Dependency libfreetype.so=6-64 of package ffmpeg2.8 is not fulfilled
:: Dependency ffmpeg of package unpaper is not fulfilled
:: Dependency libass of package handbrake is not fulfilled
:: Dependency ffmpeg of package java-openjfx is not fulfilled
:: Dependency ffmpeg of package mpd is not fulfilled
:: Dependency ffmpeg of package electron is not fulfilled
:: Dependency ffmpeg of package xine-lib is not fulfilled
:: Dependency ffmpeg of package freerdp is not fulfilled
:: Dependency ffmpeg of package kfilemetadata is not fulfilled
:: Dependency ffmpeg of package vlc is not fulfilled
:: Dependency ffmpeg of package mpv is not fulfilled
:: Dependency ffmpeg of package qtav is not fulfilled
:: Dependency ffmpeg of package transcode is not fulfilled
:: Dependency ffmpeg of package mencoder is not fulfilled
:: Dependency ffmpeg of package ffmpegthumbnailer is not fulfilled
:: Dependency ffmpeg of package mplayer is not fulfilled
:: Dependency ffmpeg of package qt5-webengine is not fulfilled
:: Dependency ffmpeg of package kde-services is not fulfilled
:: Dependency ffmpeg2.8 of package 4kvideodownloader is not fulfilled
:: Dependency ffmpeg of package peek is not fulfilled
:: Dependency kfilemetadata of package baloo is not fulfilled
:: Dependency ffmpegthumbnailer of package geeqie is not fulfilled
:: Dependency kfilemetadata of package k3b is not fulfilled
:: Dependency electron of package atom is not fulfilled
:: Dependency qt5-webengine of package qt5-webview is not fulfilled
:: Dependency java-openjfx>=8 of package pdfsam is not fulfilled
:: Dependency xine-lib of package opencv is not fulfilled
:: Dependency qtav of package digikam is not fulfilled
:: Dependency qt5-webengine of package qutebrowser is not fulfilled
:: Dependency qt5-webengine of package messagelib is not fulfilled
:: Dependency unpaper of package gscan2pdf is not fulfilled
:: Dependency electron of package etcher is not fulfilled
:: Dependency electron of package drawio-desktop is not fulfilled
:: Dependency baloo of package baloo-widgets is not fulfilled
:: Dependency baloo of package plasma-desktop is not fulfilled
:: Dependency messagelib of package akregator is not fulfilled
:: Dependency baloo-widgets of package dolphin is not fulfilled
:: Dependency dolphin of package insync-dolphin is not fulfilled

?? Do you want to continue? Y/n:

Is there any way to install freetype2-infinality without breaking my system? Is it a good idea in the first place?

Last edited by karcher (2018-05-25 22:05:25)

Offline

#2 2018-05-25 15:38:12

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Font rendering issue & freetype2-infinality

Not a good idea.

Infinality stopped being developed a couple of years ago and is no longer compatible with Arch - also most of the functionality has been merged into upstream fontconfig2.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-05-25 15:54:29

karcher
Member
Registered: 2018-01-09
Posts: 140

Re: [SOLVED] Font rendering issue & freetype2-infinality

Slithery wrote:

Infinality stopped being developed a couple of years ago and is no longer compatible with Arch - also most of the functionality has been merged into upstream fontconfig2.

Well, I've read that but the package is last updated on 2018-05-09.
https://aur.archlinux.org/packages/free … nfinality/

What does that mean?

Offline

#4 2018-05-25 16:21:07

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] Font rendering issue & freetype2-infinality

@karcher what do you think https://aur.archlinux.org/cgit/aur.git/ … infinality is doing that https://git.archlinux.org/svntogit/pack … /freetype2 is not doing.
Hint look at the checksums.
Edit:

freetype2
55f0c00edc13016288e905b41be6c03ac28b05c3aee8e0924ff3680d1cfb580e  0001-Enable-table-validation-modules.patch
be3fc13ef3532e1ace9804148fff3357de6298efb80fe37494974017f3076756  0002-Enable-infinality-subpixel-hinting.patch
7d681ac3002909cee93385c75b191b9fae2a6d052b5b0083e926f1a7c0e724b7  0003-Enable-long-PCF-family-names.patch
36484db4b926ed026e7f32570573493b5a9793a129f08d54383a26d65a6af89b  0005-freetype-2.5.2-more-demos.patch
db8d87ea720ea9d5edc5388fc7a0497bb11ba9fe972245e0f7f4c7e8b1e1e84d  freetype-2.9.1.tar.bz2
66c969db33261e5d943eb160604463c512f62d865ec83bcc99e447412b61ab8a  freetype-2.9.1.tar.bz2.sig
c606d0870a2c403005c6fbbf623f6c1d709a92a2e28f9914fdd6cf6f89ca5f70  freetype2.install
f7f8e09c44f7552c883846e9a6a1efc50377c4932234e74adc4a8ff750606467  freetype2.sh
aa2f835ef8f50072630ddc48b9eb65f1f456014ffa3b5adddcb6bf390a3c5828  freetype-doc-2.9.1.tar.bz2
e9b24185ec151ee66c2a7b611583f14b9f2370c37e2e239dc8b5c2c8ad9f31ba  freetype-doc-2.9.1.tar.bz2.sig
806eb6363ee5963174a6740f9b7893377912165899c2c1f6372c422aab818c6a  ft2demos-2.9.1.tar.bz2
8d8c89a4ec622a433c56d9fa86a8bb8bb84352f2e895f3a504cf5f18080980ca  ft2demos-2.9.1.tar.bz2.sig

freetype2-infinality
55f0c00edc13016288e905b41be6c03ac28b05c3aee8e0924ff3680d1cfb580e  0001-Enable-table-validation-modules.patch
be3fc13ef3532e1ace9804148fff3357de6298efb80fe37494974017f3076756  0002-Enable-infinality-subpixel-hinting.patch
7d681ac3002909cee93385c75b191b9fae2a6d052b5b0083e926f1a7c0e724b7  0003-Enable-long-PCF-family-names.patch
36484db4b926ed026e7f32570573493b5a9793a129f08d54383a26d65a6af89b  0005-freetype-2.5.2-more-demos.patch
ec391504e55498adceb30baceebd147a6e963f636eb617424bcfc47a169898ce  freetype-2.9.1.tar.gz
4d4b8248d399f75e8b1a803b6af1d4a08d723f5b5eebb4c5f2681686ce614f0b  freetype-2.9.1.tar.gz.sig
f7f8e09c44f7552c883846e9a6a1efc50377c4932234e74adc4a8ff750606467  freetype2.sh
f57c1297f5ad2ad4764f491317fa0f548bd307c4513185d4a0602412e83b1dc9  freetype-doc-2.9.1.tar.gz
84f88cb22a87bae7184de063b7d6d648bb4d34140fef21db8b0d6fda3277651f  freetype-doc-2.9.1.tar.gz.sig
3d440aad3481285c7455f1593577e375c9d5792c800bbaba68d46fd75130fab9  ft2demos-2.9.1.tar.gz
cd460f0fb00dd8ae43e1d241a83e97d22779b3d825061296c08f90b852c7e764  ft2demos-2.9.1.tar.gz.sig

The same patches,  freetype2 provides an install file and the upstream sources do not match due to gz vs bz2 compression

from freetype2
./configure --prefix=/usr --disable-static
Library configuration:
  external zlib: yes (pkg-config)
  bzip2:         yes (autoconf test)
  libpng:        yes (pkg-config)
  harfbuzz:      yes (pkg-config)
....
from freetype2-infinality
./configure --prefix=/usr --disable-static  --with-harfbuzz --with-png
Library configuration:
  external zlib: yes (pkg-config)
  bzip2:         yes (autoconf test)
  libpng:        yes (pkg-config)
  harfbuzz:      yes (pkg-config)

Last edited by loqs (2018-05-25 16:44:29)

Offline

#5 2018-05-25 16:50:59

karcher
Member
Registered: 2018-01-09
Posts: 140

Re: [SOLVED] Font rendering issue & freetype2-infinality

OK. Thanks! I'm sticking to freetype2...

Offline

#6 2018-05-25 17:02:33

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] Font rendering issue & freetype2-infinality

https://aur.archlinux.org/cgit/aur.git/ … e468085385
I think this is the commit that removed the infinality specific patch.

Offline

#7 2018-05-26 00:17:06

weilinear
Member
Registered: 2017-12-28
Posts: 12

Re: [SOLVED] Font rendering issue & freetype2-infinality

As a side note, I think infinality patches do not work with the new version of libharfbuzz.

Offline

Board footer

Powered by FluxBB