You are not logged in.

#1001 2014-03-26 14:10:57

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

Re: infinality-bundle: good looking fonts made (even) easier

It can also be done via 35-repl-custom.conf with the following snippet:

  <!-- monospace => PragmataPro -->
  <alias>
    <family>monospace</family>
    <prefer>
      <family>PragmataPro</family>
    </prefer>
  </alias>

:: Registered Linux User No. 223384

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

Offline

#1002 2014-03-26 14:13:08

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: infinality-bundle: good looking fonts made (even) easier

progandy wrote:
MindfulMonk wrote:

I want to replace all monospace fonts with PragmataPro can someone give me some hints how to do that?

/etc/fonts/local.conf

<alias>
    <family>monospace</family>
    <prefer>
      <family>PragmataPro</family>
    </prefer>
</alias>

If you only want to replace for a single user, you can put that in $XDG_CONFIG_HOME/fontconfig/fonts.conf instead.

Offline

#1003 2014-03-26 14:26:38

MindfulMonk
Member
Registered: 2013-12-02
Posts: 8

Re: infinality-bundle: good looking fonts made (even) easier

Thank you all.

I see bohoomil, the repo changed to your own domain, which is great! You are doing an amazing job wink

Offline

#1004 2014-03-26 18:09:49

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: infinality-bundle: good looking fonts made (even) easier

Thank you for the awesome contribution!


I can't get past:

error: failed retrieving file 'infinality-bundle.db' from ibn.net63.net : Resolving timed out after 10520 milliseconds
error: failed to update infinality-bundle (download library error)
 infinality-bundle-fonts                                          146.0   B  0.00B/s 00:00 [#####################################################] 100%
 infinality-bundle-fonts.sig                                      146.0   B  0.00B/s 00:00 [#####################################################] 100%
error: GPGME error: No data
error: failed to update infinality-bundle-fonts (invalid or corrupted database (PGP signature))
 infinality-bundle-multilib                                       146.0   B  0.00B/s 00:00 [#####################################################] 100%
 infinality-bundle-multilib.sig                                   146.0   B  0.00B/s 00:00 [#####################################################] 100%
error: GPGME error: No data
error: failed to update infinality-bundle-multilib (invalid or corrupted database (PGP signature))
error: database 'infinality-bundle' is not valid (invalid or corrupted database (PGP signature))
error: database 'infinality-bundle-fonts' is not valid (invalid or corrupted database (PGP signature))
error: database 'infinality-bundle-multilib' is not valid (invalid or corrupted database (PGP signature))

What I've tried:
0. rm -R /var/lib/pacman/sync , rm /var/lib/pacman/sync/*db.sig*
1. Changing my mirrors from the default set to a set of six of highest score and status.
2. Everything from post https://bbs.archlinux.org/viewtopic.php … 1#p1363711
3. Adding the repos to my test clean arch install. The update went fine.
4. pacman-key -r 962DDE58 , pacman-key --lsign-key 962DDE58 for the signed infinality-bundle repo.


pacman -Syu --debug
debug: pacman v4.1.2 - libalpm v8.0.2
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: x86_64
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: config: new section 'infinality-bundle'
debug: config: finish section 'infinality-bundle'
debug: config: new section 'infinality-bundle-fonts'
debug: config: finish section 'infinality-bundle-fonts'
debug: config: new section 'infinality-bundle-multilib'
debug: config: finish section 'infinality-bundle-multilib'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'core': http://ftp.vectranet.pl/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.unitedcolo.de/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://ftp.hosteurope.de/mirror/ftp.archlinux.org/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.netcologne.de/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.selfnet.de/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.mirror.dkm.cz/pub/archlinux/core/os/x86_64
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'extra': http://ftp.vectranet.pl/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.unitedcolo.de/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://ftp.hosteurope.de/mirror/ftp.archlinux.org/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.netcologne.de/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.selfnet.de/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.mirror.dkm.cz/pub/archlinux/extra/os/x86_64
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'community': http://ftp.vectranet.pl/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.unitedcolo.de/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://ftp.hosteurope.de/mirror/ftp.archlinux.org/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.netcologne.de/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.selfnet.de/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.mirror.dkm.cz/pub/archlinux/community/os/x86_64
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'multilib': http://ftp.vectranet.pl/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirror.unitedcolo.de/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://ftp.hosteurope.de/mirror/ftp.archlinux.org/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirror.netcologne.de/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirror.selfnet.de/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://archlinux.mirror.dkm.cz/pub/archlinux/multilib/os/x86_64
debug: config: new section 'infinality-bundle'
debug: config: finish section 'infinality-bundle'
debug: registering sync database 'infinality-bundle'
debug: database path for tree infinality-bundle set to /var/lib/pacman/sync/infinality-bundle.db
debug: GPGME version: 1.4.3
debug: GPGME engine info: file=/usr/bin/gpg2, home=/etc/pacman.d/gnupg/
debug: checking signature for /var/lib/pacman/sync/infinality-bundle.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig : gpgme error
debug: signature check failed
debug: adding new server URL to database 'infinality-bundle': http://ibn.net63.net/infinality-bundle/x86_64
debug: config: new section 'infinality-bundle-fonts'
debug: config: finish section 'infinality-bundle-fonts'
debug: registering sync database 'infinality-bundle-fonts'
debug: database path for tree infinality-bundle-fonts set to /var/lib/pacman/sync/infinality-bundle-fonts.db
debug: checking signature for /var/lib/pacman/sync/infinality-bundle-fonts.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig : gpgme error
debug: signature check failed
debug: adding new server URL to database 'infinality-bundle-fonts': http://ibn.net63.net/infinality-bundle-fonts
debug: config: new section 'infinality-bundle-multilib'
debug: config: finish section 'infinality-bundle-multilib'
debug: registering sync database 'infinality-bundle-multilib'
debug: database path for tree infinality-bundle-multilib set to /var/lib/pacman/sync/infinality-bundle-multilib.db
debug: checking signature for /var/lib/pacman/sync/infinality-bundle-multilib.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig : gpgme error
debug: signature check failed
debug: adding new server URL to database 'infinality-bundle-multilib': http://ibn.net63.net/infinality-bundle-multilib/x86_64
debug: config: finished parsing /etc/pacman.conf
:: Synchronising package databases...
debug: url: http://ftp.vectranet.pl/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: using time condition: 1395749893
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
 core is up to date
debug: url: http://ftp.vectranet.pl/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: using time condition: 1395684874
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
 extra is up to date
debug: url: http://ftp.vectranet.pl/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: using time condition: 1395776706
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
 community is up to date
debug: url: http://ftp.vectranet.pl/archlinux/multilib/os/x86_64/multilib.db
debug: maxsize: 26214400
debug: using time condition: 1395776709
debug: opened tempfile for download: /var/lib/pacman/sync/multilib.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
 multilib is up to date
debug: url: http://ibn.net63.net/infinality-bundle/x86_64/infinality-bundle.db
debug: maxsize: 26214400
debug: using time condition: 1395781751
debug: opened tempfile for download: /var/lib/pacman/sync/infinality-bundle.db.part (wb)
downloading infinality-bundle.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://ibn.net63.net/infinality-bundle/x86_64/infinality-bundle.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/infinality-bundle.db.sig.part (wb)
downloading infinality-bundle.db.sig...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: checking signature for /var/lib/pacman/sync/infinality-bundle.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig : gpgme error
debug: signature check failed
error: failed to update infinality-bundle (invalid or corrupted database (PGP signature))
debug: url: http://ibn.net63.net/infinality-bundle-fonts/infinality-bundle-fonts.db
debug: maxsize: 26214400
debug: using time condition: 1395781752
debug: opened tempfile for download: /var/lib/pacman/sync/infinality-bundle-fonts.db.part (wb)
downloading infinality-bundle-fonts.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://ibn.net63.net/infinality-bundle-fonts/infinality-bundle-fonts.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/infinality-bundle-fonts.db.sig.part (wb)
downloading infinality-bundle-fonts.db.sig...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: checking signature for /var/lib/pacman/sync/infinality-bundle-fonts.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig : gpgme error
debug: signature check failed
error: failed to update infinality-bundle-fonts (invalid or corrupted database (PGP signature))
debug: url: http://ibn.net63.net/infinality-bundle-multilib/x86_64/infinality-bundle-multilib.db
debug: maxsize: 26214400
debug: using time condition: 1395781753
debug: opened tempfile for download: /var/lib/pacman/sync/infinality-bundle-multilib.db.part (wb)
downloading infinality-bundle-multilib.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://ibn.net63.net/infinality-bundle-multilib/x86_64/infinality-bundle-multilib.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/infinality-bundle-multilib.db.sig.part (wb)
downloading infinality-bundle-multilib.db.sig...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: checking signature for /var/lib/pacman/sync/infinality-bundle-multilib.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig : gpgme error
debug: signature check failed
error: failed to update infinality-bundle-multilib (invalid or corrupted database (PGP signature))
error: database 'infinality-bundle' is not valid (invalid or corrupted database (PGP signature))
error: database 'infinality-bundle-fonts' is not valid (invalid or corrupted database (PGP signature))
error: database 'infinality-bundle-multilib' is not valid (invalid or corrupted database (PGP signature))
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'
debug: unregistering database 'infinality-bundle'
debug: unregistering database 'infinality-bundle-fonts'
debug: unregistering database 'infinality-bundle-multilib'

Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#1005 2014-03-26 18:13:05

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

Re: infinality-bundle: good looking fonts made (even) easier

Are you using the correct repository?


:: Registered Linux User No. 223384

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

Offline

#1006 2014-03-27 22:09:55

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: infinality-bundle: good looking fonts made (even) easier

bohoomil wrote:

Are you using the correct repository?

No, I've missed the update! How do I stay up-to-date with such changes? I thought they get announced at https://www.archlinux.org/ even for unofficial repos.


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#1007 2014-03-27 23:09:39

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: infinality-bundle: good looking fonts made (even) easier

bbarcher wrote:
bohoomil wrote:

Are you using the correct repository?

No, I've missed the update! How do I stay up-to-date with such changes? I thought they get announced at https://www.archlinux.org/ even for unofficial repos.

The front page announcements are for warnings that will affect 100% of the arch user base and are only for warnings derived from the actual Arch Linux distro.  Unofficial repos are created and maintained by the community and have no central update news page.  The only way to keep abreast of the situation would be to subscribe to this thread and double check the first page of the thread.  These kinds of changes don't happen frequently though.  Also, there is a page for all unofficial repos entered at the wiki, https://wiki.archlinux.org/index.php/un … positories

tldr; no pain no gain smile

Offline

#1008 2014-03-28 00:04:33

r2b2
Member
Registered: 2013-08-12
Posts: 14

Re: infinality-bundle: good looking fonts made (even) easier

I'm getting issues with downloading the infinality repos. Here's what I'm seeing:

error: infinality-bundle: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
error: infinality-bundle-multilib: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
error: infinality-bundle-fonts: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
:: Synchronizing package databases...
 infinality-bundle                                                                             48.0 KiB   361K/s 00:00 [#######################################################################] 100%
 infinality-bundle.sig                                                                        287.0   B  0.00B/s 00:00 [#######################################################################] 100%
error: infinality-bundle: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
error: failed to update infinality-bundle (invalid or corrupted database (PGP signature))
 infinality-bundle-multilib                                                                    14.0 KiB   667K/s 00:00 [#######################################################################] 100%
 infinality-bundle-multilib.sig                                                               287.0   B  0.00B/s 00:00 [#######################################################################] 100%
error: infinality-bundle-multilib: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
error: failed to update infinality-bundle-multilib (invalid or corrupted database (PGP signature))
 infinality-bundle-fonts                                                                      376.5 KiB   326K/s 00:01 [#######################################################################] 100%
 infinality-bundle-fonts.sig                                                                  287.0   B  0.00B/s 00:00 [#######################################################################] 100%
error: infinality-bundle-fonts: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
error: failed to update infinality-bundle-fonts (invalid or corrupted database (PGP signature))
error: database 'infinality-bundle' is not valid (invalid or corrupted database (PGP signature))
error: database 'infinality-bundle-multilib' is not valid (invalid or corrupted database (PGP signature))
error: database 'infinality-bundle-fonts' is not valid (invalid or corrupted database (PGP signature))

I'm using the new repo URLs and also have refreshed keys etc. but to no avail. Does anyone have and ideas?

Offline

#1009 2014-03-28 00:14:15

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: infinality-bundle: good looking fonts made (even) easier

frank604 wrote:

The front page announcements are for warnings that will affect 100% of the arch user base and are only for warnings derived from the actual Arch Linux distro.  Unofficial repos are created and maintained by the community and have no central update news page.  The only way to keep abreast of the situation would be to subscribe to this thread and double check the first page of the thread.  These kinds of changes don't happen frequently though.  Also, there is a page for all unofficial repos entered at the wiki, https://wiki.archlinux.org/index.php/un … positories

tldr; no pain no gain smile

OK, thanks!


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#1010 2014-03-29 00:34:24

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: infinality-bundle: good looking fonts made (even) easier

I'm having issues with font rendering in webkitgtk browsers (tested with epiphany and midori).
I'm not really sure if this is related to your bundle or infinality in any way, but I thought I'd ask here anyway in case this is a known issue.

here's a comparison screenshot of epiphany (left) and chromium: https://www.dropbox.com/s/2uf5afh9owxec … adface.png
you can clearly see how the edges on Lobster font look pixelated, and Raleway looks just horrible. Some fonts aren't that bad but you can still tell the difference.

I've previously had issues with Raleway unless I set INFINALITY_FT_USE_VARIOUS_TWEAKS="false" in infinality-settings.sh, so I was thinking maybe webkitgtk doesn't import infinality settings for some reason.

From what I gathered webkitgtk should respect fontconfig settings, but I'm not sure if that's still the case.
I have the following in ~/.config/fontconfig/fonts.conf, and I haven't noticed any issues with other applications.

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="font">
    <edit name="rgba" mode="assign">
      <const>rgb</const>
    </edit>
    <edit mode="assign" name="lcdfilter">
      <const>lcddefault</const>
    </edit>
    <edit name="hintstyle" mode="assign">
      <const>hintslight</const>
    </edit>
  </match>
</fontconfig>

Is anybody using webkitgtk browser successfully with infinality bundle? Or have any ideas what could cause this? any help appreciated..

Last edited by ooo (2014-03-29 00:51:59)

Offline

#1011 2014-03-29 12:00:18

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

Re: infinality-bundle: good looking fonts made (even) easier

ooo wrote:

Is anybody using webkitgtk browser successfully with infinality bundle?

Including myself? wink

Just for the record, this is what things look like to me: dwb vs Chromium (all settings are ib's default, the preset is set to 'free' and there are no rendering tweaks at ~/.config/fontconfig).

Does anything like this happen with default ib settings & clean user fontconfig directory? Which preset are you using (combi / free / ms)?


:: Registered Linux User No. 223384

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

Offline

#1012 2014-03-30 05:10:38

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: infinality-bundle: good looking fonts made (even) easier

I did further comparing and apparently dwb, midori and midori-gtk3 all render the fonts identical to your screenshot, and the issue only exists in epiphany.
I think I'll just wait and hope that 3.12 fixes this issue. If not, I'll try to find a solution and report back if I figure it out.
If anyone has ideas what could be causing this, let me know smile

for the record, I have nearly the default settings for infinality apart from the WHATEVER_VARIOUS_TWEAKS so I don't think it matters.
I also tried removing ~/.config/fontconfig/fonts.conf and running fc-cache -fr
Can't remember the preset and I'm too tired to figure out how to find it, but it's probably whatever is the default.

However I noticed that fonts still look less crisp in webkigtk than chromium and firefox, even in the screenshot you posted.
Comparing more closely with gimp I noticed that webkitgtk doesn't use argb antialiasing, but only grayscale (this is visible in your screenshot as well)

Last edited by ooo (2014-03-30 06:37:58)

Offline

#1013 2014-03-30 09:09:07

topyli
Member
Registered: 2013-11-30
Posts: 14

Re: infinality-bundle: good looking fonts made (even) easier

FWIW, I'm seeing this problem in Epiphany as well, using default Infinality settings. Just to confirm that you're not alone, ooo.

Offline

#1014 2014-03-30 14:13:08

flannelhead
Member
From: Finland
Registered: 2014-03-30
Posts: 55
Website

Re: infinality-bundle: good looking fonts made (even) easier

Hi bohoomil.

First, thank you very much for the excellent repo, configuration and all. It's a pleasure to have proper font rendering (except for the occasional eyesore I now get every time I have to look at Windows' subpar rendering).

Second, I'd like to report one minor problem I have with Chromium and mathematical glyphs. Sorry if this has been discussed already, but I didn't find any information about the particular problem. So, I've got the newest version of infinality-bundle and ibfonts-meta-extended and set the free preset with fc-preset. I haven't touched any configuration files nor have any fontconfig tweaks in .config.

The problem is that in Chromium certain mathematical glyphs such as "nabla" or the dot (as in product) get only displayed as boxes (the dummy Unicode replacement character?), while in Firefox and Midori they show properly. In all the browsers, I have chosen the fonts "Serif", "Sans" and "Monospace". "fc-match serif" gives me "Noto Serif" and "fc-match sans" gives Noto Sans. However, when I choose the DejaVu font family as the default fonts in Chromium, "nabla" and other symbols show properly. See http://en.wikipedia.org/wiki/Nabla_symbol and the big nabla on the right to see what I mean.

Now how come is this an infinality-bundle problem? When using the vanilla freetype2, fontconfig and cairo packages, the symbols get displayed in Chromium. Also, when using freetype2-infinality and fontconfig-infinality from AUR, there's no problem with Chromium either. Firefox and Midori work well in all situations. I think there's something going on with Chromium not finding the proper replacement font to display the special symbols if the default font doesn't provide them, but as I said, it's also linked to infinality-bundle.

Am I missing something fundamental here? Even though this is just a minor annoyance, I would be very grateful to receive at least some pointers to narrow down the issue.

Offline

#1015 2014-03-30 19:03:54

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

Re: infinality-bundle: good looking fonts made (even) easier

@ooo

I have nearly the default settings

Sigh. Thank goodness we are not talking about some military device.

Philosophically speaking, the problem could be discussed in terms of différance and/or the Other.

Techically, it means that

WebKit != WebKit (by Google)

Practically, avoid extreme magnifications and do not avoid the benefits of common sense. You can also try changing INFINALITY_FT_FILTER_PARAMS to "07 23 34 23 07": this should produce a slightly crisper screen effect.

(Sorry for all the possible cynical bits of mine: this sort of scrutiny would make me spend twice as much time on developing the bundle than I do, and it already consumes several hours a day. wink )

@flannelhead

Now how come is this an infinality-bundle problem?

Long story short: if /etc/fonts/conf.d/65-non-latin{-foo}.conf were treated by all web browsers equally, or if we had an option to define per-application settings in fontconfig, we could get rid of 93-final-lang-spec-foo.conf from fontconfig-iu and enjoy the beauty of font rendering.

The quick fix: remove 93-final-lang-spec-foo.conf from /etc/fonts/conf.d.

What it (still) means to me: I have to try to rework the concept of rendering the non-Latin content.

By the way, thanks for reporting this sort of issues. I use dwb and Firefox on a daily basis, so even if I test the content with Chromium and other browsers, it is almost impossible to notice all possible nuances in them.


:: Registered Linux User No. 223384

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

Offline

#1016 2014-03-30 19:22:32

flannelhead
Member
From: Finland
Registered: 2014-03-30
Posts: 55
Website

Re: infinality-bundle: good looking fonts made (even) easier

bohoomil wrote:

The quick fix: remove 93-final-lang-spec-foo.conf from /etc/fonts/conf.d.

Worked like a charm! Thank you for the quick reply. I really appreciate your hard work on this complex topic.

Offline

#1017 2014-03-30 19:49:14

progandy
Member
Registered: 2012-05-17
Posts: 5,266

Re: infinality-bundle: good looking fonts made (even) easier

bohoomil wrote:

Long story short: if /etc/fonts/conf.d/65-non-latin{-foo}.conf were treated by all web browsers equally, or if we had an option to define per-application settings in fontconfig, we could get rid of 93-final-lang-spec-foo.conf from fontconfig-iu and enjoy the beauty of font rendering.

You could try to load specific configuration files depending on /proc/self/exe.
e.g. change FcConfigFilename like this:

if no url given
    url = replace( $FONTCONFIG_FILE_PERAPP, %exe%, slashes_to_dots( realpath( /proc/self/exe ) ) )
    if not url exists url = $FONTCONFIG_FILE
    if not url exists url = FONTCONFIG_FILE # hardcoded path
 

Last edited by progandy (2014-03-30 19:51:09)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#1018 2014-03-30 21:05:30

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: infinality-bundle: good looking fonts made (even) easier

bohoomil wrote:

(Sorry for all the possible cynical bits of mine: this sort of scrutiny would make me spend twice as much time on developing the bundle than I do, and it already consumes several hours a day. wink )

No worries, I know what it's like. Apologies if my last message was uninformative and/or unclear.

Basically, since all the other webkit browsers render fonts fine apart from epiphany. I consider this is issue with the browser and not infinality patches or your bundle. As said I'll try to figure it out if this is stil the case in 3.12.
I didn't go on further detail testing of my config, as I thought it wouldn't matter if the issue only exists in only one browser. But the only thing that I had changed from the default were the INFINALITY_FT_USE_VARIOUS_TWEAKS="false" and Xft.hintstyle: from hintfull to hintslight.

Anyway I went on and tried the default configuration, and that broke font rendering for every webkitgtk browser exactly the same way as for epiphany previously. Even reverting to my old config doesn't seem to help (I logged out and back in after changing the config if that matters)., so I think that's enough testing this for today.

But if we can still go back to the point when webkit browsers worked for me apart from epiphany for a minute. As I said even then there seemed to be only a slight difference compared to chromium or firefox. I compared the screenshots and the only thing that was different was that font rendering in webkit didn't use argb antialiasing.
I did the same comparison with the screenshot you posted and there was the same thing, so unless you actually aren't using argb antialiasing in your system and chromium is just forcing it anyway, it seems like I'm not the only one.

I know there could be differences in how web browsers render fonts, but here the only difference seems to be webkitgtk not using argb antialiasing, even though I've enabled it for my system, and it works everywhere else. Correct me if this is something that actually should happen.

@topyli

sorry to hear that, but kinda glad that I'm not alone. Are other webkitgtk browsers working for you?

Last edited by ooo (2014-03-30 21:07:15)

Offline

#1019 2014-03-31 09:17:07

topyli
Member
Registered: 2013-11-30
Posts: 14

Re: infinality-bundle: good looking fonts made (even) easier

ooo wrote:

@topyli

sorry to hear that, but kinda glad that I'm not alone. Are other webkitgtk browsers working for you?

I installed Midori-gtk3 and checked. I think Midori does slightly better. Epiphany on the left, Midori on the right:
http://topyli.kapsi.fi/epiphany-midori-fonts.png

Offline

#1020 2014-04-01 09:09:36

r2b2
Member
Registered: 2013-08-12
Posts: 14

Re: infinality-bundle: good looking fonts made (even) easier

r2b2 wrote:

I'm getting issues with downloading the infinality repos. Here's what I'm seeing:

error: infinality-bundle: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
error: infinality-bundle-multilib: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
error: infinality-bundle-fonts: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
:: Synchronizing package databases...
 infinality-bundle                                                                             48.0 KiB   361K/s 00:00 [#######################################################################] 100%
 infinality-bundle.sig                                                                        287.0   B  0.00B/s 00:00 [#######################################################################] 100%
error: infinality-bundle: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
error: failed to update infinality-bundle (invalid or corrupted database (PGP signature))
 infinality-bundle-multilib                                                                    14.0 KiB   667K/s 00:00 [#######################################################################] 100%
 infinality-bundle-multilib.sig                                                               287.0   B  0.00B/s 00:00 [#######################################################################] 100%
error: infinality-bundle-multilib: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
error: failed to update infinality-bundle-multilib (invalid or corrupted database (PGP signature))
 infinality-bundle-fonts                                                                      376.5 KiB   326K/s 00:01 [#######################################################################] 100%
 infinality-bundle-fonts.sig                                                                  287.0   B  0.00B/s 00:00 [#######################################################################] 100%
error: infinality-bundle-fonts: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
error: failed to update infinality-bundle-fonts (invalid or corrupted database (PGP signature))
error: database 'infinality-bundle' is not valid (invalid or corrupted database (PGP signature))
error: database 'infinality-bundle-multilib' is not valid (invalid or corrupted database (PGP signature))
error: database 'infinality-bundle-fonts' is not valid (invalid or corrupted database (PGP signature))

I'm using the new repo URLs and also have refreshed keys etc. but to no avail. Does anyone have and ideas?

Bumping this topic - I'm still getting this issue and clearing out all my keys and reimporting them doesn't seem to fix it. Am I the only one who is getting this or have others set the SigLevel to Never?

Offline

#1021 2014-04-01 10:12:18

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: infinality-bundle: good looking fonts made (even) easier

No problems here with the package signing, looks like even the database is signed (which is not the case for the official repos). Run pacman with --debug, and post the corresponding parts.

edit: is your system fully updated and pacnew files merged (especially pacman.conf)?

Last edited by hokasch (2014-04-01 10:14:19)

Offline

#1022 2014-04-01 10:40:49

r2b2
Member
Registered: 2013-08-12
Posts: 14

Re: infinality-bundle: good looking fonts made (even) easier

hokasch wrote:

No problems here with the package signing, looks like even the database is signed (which is not the case for the official repos). Run pacman with --debug, and post the corresponding parts.

edit: is your system fully updated and pacnew files merged (especially pacman.conf)?

Thanks - all up-to-date and no pacman.conf or other .pacnew files I can find at the moment. Here's an excerpt of the debug:

debug: url: http://bohoomil.com/repo/x86_64/infinality-bundle.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/infinality-bundle.db.part (wb)
downloading infinality-bundle.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://bohoomil.com/repo/x86_64/infinality-bundle.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/infinality-bundle.db.sig.part (wb)
downloading infinality-bundle.db.sig...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: checking signature for /var/lib/pacman/sync/infinality-bundle.db
debug: 1 signatures returned
debug: fingerprint: AE6866C7962DDE58
debug: summary: red
debug: status: Bad signature
debug: timestamp: 0
debug: exp_timestamp: 0
debug: validity: unknown; reason: Success
debug: key: A9244FB5E93F11F0E975337FAE6866C7962DDE58, bohoomil (dev key) <bohoomil@zoho.com>, owner_trust unknown, disabled 0
debug: signature is not valid
error: infinality-bundle: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
error: failed to update infinality-bundle (invalid or corrupted database (PGP signature))

Seems the fingerprint and key don't match which I'm guessing is why it isn't working but not sure why it wouldn't work so any pointers for things to check on next would be greatly appreciated!

Offline

#1023 2014-04-01 10:52:14

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: infinality-bundle: good looking fonts made (even) easier

That looks all well for the repo side, now please check if bohoomil's key is properly added to your keyring with "pacman-key -f 962DDE58" (sorry, forgot in post above).

Offline

#1024 2014-04-01 11:03:12

r2b2
Member
Registered: 2013-08-12
Posts: 14

Re: infinality-bundle: good looking fonts made (even) easier

hokasch wrote:

That looks all well for the repo side, now please check if bohoomil's key is properly added to your keyring with "pacman-key -f 962DDE58" (sorry, forgot in post above).

I'm assuming it is based on:

pub   2048R/962DDE58 2013-04-22
      Key fingerprint = A924 4FB5 E93F 11F0 E975  337F AE68 66C7 962D DE58
uid                  bohoomil (dev key) <bohoomil@zoho.com>
sub   2048R/C83B4AD8 2013-04-22

but I might be proved wrong!

Offline

#1025 2014-04-01 11:27:53

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: infinality-bundle: good looking fonts made (even) easier

debug: checking signature for /var/lib/pacman/sync/infinality-bundle.db
debug: 1 signatures returned
debug: fingerprint: AE6866C7962DDE58

Sorry, this is indeed the wrong signature, or at least it seems to be only part of it, however the repo URL is correct. Shot in the dark, but try to remove /var/lib/pacman/sync/infinality-bundle.db* and run -Syy again? Here is how a -Syy looks in my log:

debug: checking signature for /var/lib/pacman/sync/infinality-bundle.db
debug: 1 signatures returned
debug: fingerprint: A9244FB5E93F11F0E975337FAE6866C7962DDE58

Last edited by hokasch (2014-04-01 11:31:02)

Offline

Board footer

Powered by FluxBB