You are not logged in.

#1476 2014-11-12 17:35:03

CharBar
Member
Registered: 2011-05-27
Posts: 10

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

I'm having trouble getting my custom settings recognized after an update of the ultimate packages. I copied my infinality-settings.sh file from /etc/profile.d/ to /etc/X11/xinit/xinitrc.d/ . I've tried naming the file both infinality-settings and infinality-settings.sh . I've also run fc-cache -fr and fc-presets set, as well. Am I missing something? I've also looked at Bohoomil's Google+ page, where he said the following:

Bohoomil wrote:

You can use fontconfig-infinality-ultimate with any Infinality settings, including non-ultimate. Please remember that by doing so you may need to update rendering instructions in relevant fontconfig conf files, these being:

* 90-tt-foo.conf
* 90-non-tt-foo.conf
* 92-selective-rendering-foo.conf
* 93-final-rendering.conf
* 94-no-synthetic.conf

It may have something to do with this, though I'm not sure how to update rendering instructions in these files.

Offline

#1477 2014-11-12 21:48:05

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

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

@CharBar When you run `grep INFINALITY <(env)`, does the output reflect your custom infinality-settings? Are there any broken symlinks in /etc/fonts/conf.d? When you run an application in the terminal emulator, does it return any fontconfig errors?


:: Registered Linux User No. 223384

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

Offline

#1478 2014-11-13 02:33:55

CharBar
Member
Registered: 2011-05-27
Posts: 10

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

bohoomil wrote:

When you run `grep INFINALITY <(env)`, does the output reflect your custom infinality-settings?

No, unfortunately it doesn't.

bohoomil wrote:

Are there any broken symlinks in /etc/fonts/conf.d?

No, no broken symlinks.

bohoomil wrote:

When you run an application in the terminal emulator, does it return any fontconfig errors?

No, there aren't any fontconfig errors.

Offline

#1479 2014-11-13 03:46:53

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

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

How do you start an X-session? Are you using a DE or WM only? Do you have a generic .xinitrc and .xsession in your home directory?


:: Registered Linux User No. 223384

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

Offline

#1480 2014-11-13 04:38:02

CharBar
Member
Registered: 2011-05-27
Posts: 10

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

I start my X session (Openbox only, no DE) from .xinitrc in my home directory. I don't have an .xsession file.

Offline

#1481 2014-11-13 05:56:22

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

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

First of all, make sure you have only your custom infinality-settings in /etc/X11/xinit/xinitrc.d (of course, leave all unrelated files there). Next, add the following snippet:

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for rcd in /etc/X11/xinit/xinitrc.d/* ; do
    [ -x "$rcd" ] && . "$rcd"
  done
  unset rcd
fi

to your .xinitrc, and just in case create an .xsession file with the following content:

#!/bin/sh

/bin/bash --login -i ~/.xinitrc

Make sure both are set executable.


:: Registered Linux User No. 223384

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

Offline

#1482 2014-11-13 08:36:16

CharBar
Member
Registered: 2011-05-27
Posts: 10

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

That did it! Many thanks for your prompt assistance and for all of the great work you do with the Infinality fonts!

Offline

#1483 2014-11-13 09:39:59

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

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

@bohoomil

Here you stated:

Edit 3 And now it should be really OK in all web browsers. I fixed wrong weight values in Lato Thin (was: 275, should be: 200) and Lato Hairline (was: 250, should be: 100). Without it, all three (i.e. Light, Thin and Hairline) were recognized as Light (i.e. 300, which translates into 50 in fontconfig's values).

However, I still face poor font rendering with Firefox on some websites such as:

Website: http://zotfile.com/index.html#changelog
Screenshot: http://i.imgur.com/zv4I95H.jpg

Installed version:

cairo-infinality-ultimate 1.14.0-2
fontconfig-infinality-ultimate 2.11.1-22
freetype2-infinality-ultimate 2.5.3-14
lib32-cairo-infinality-ultimate 1.14.0-2
lib32-fontconfig-infinality-ultimate 2.11.1-3
lib32-freetype2-infinality-ultimate 2.5.3-14

Do you have a suggestion for me how I could improve rendering?

Thank you.

Last edited by orschiro (2014-11-13 09:40:34)

Offline

#1484 2014-11-13 11:47:34

brebs
Member
Registered: 2007-04-03
Posts: 3,742

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

orschiro wrote:

poor font rendering with Firefox on some websites

Looks fine on my setup - that's Lato Light, for me (I use Infinality, but not bohoomil's fontconfig rules).

$ fc-match "lato light"
Lato-Lig.pfb: "Lato Light" "Regular"

Which is from texlive 2014 (in a different distro):  /usr/share/texmf-dist/fonts/type1/public/lato/Lato-Lig.pfb

Offline

#1485 2014-11-13 11:58:01

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

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

@brebs

I don't use "Regular". Might that cause the issue?

~ fc-match "lato light"
Lato-Light.ttf: "Lato" "Light"

Offline

#1486 2014-11-13 15:57:40

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

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

@orschiro With all things default, straight from the ib repo, Lato should look like this, more or less. If you're using custom settings (freetype2, fontconfig or both), try reverting to default ones (don't forget to disable per-user configs in $XDG_CONFIG_HOME/fontconfig). Besides, just like in the previous case, make certain there's only one infinality-settings file active and it gets sourced properly.


:: Registered Linux User No. 223384

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

Offline

#1487 2014-11-14 09:17:42

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

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

@bohoomil

Apologise for my question. I realised that I simply didn't have Lato on my system yet.

Installed ttf-lato-ibx-2.007-11 from infinality-bundle-fonts-extra.

Now it is rendering fine.

Thanks for the hint!

Offline

#1488 2014-11-18 14:25:12

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

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

A quick question: How can I generally find out the name of the font that I am missing?

Like in the last post, how was I able to find out that I had been missing Lato?

Offline

#1489 2014-11-18 15:32:56

brebs
Member
Registered: 2007-04-03
Posts: 3,742

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

orschiro wrote:

Like in the last post, how was I able to find out that I had been missing Lato?

To find a *missing* font, you'd have to examine the HTML to see what fonts it tries to use.

To identify a font, I use the "font finder" and "font information" add-ons for firefox.

Offline

#1490 2014-11-18 15:46:38

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

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

I find Font Inspector extremely useful, too. It adds extra functionality to Firefox devtools (Inspect Element => Inspector => Fonts).


:: Registered Linux User No. 223384

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

Offline

#1491 2014-11-18 15:54:20

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

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

To identify a font, I use the "font finder" and "font information" add-ons for firefox.

Thanks brebs. I couldn't find "font information" but font finder is brilliant!

Offline

#1492 2014-11-18 16:40:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

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

Offline

#1493 2014-11-20 03:57:19

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

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

Hi

I have a problems with a MKV videos with embedded fonts

infinality changing completely the behavior of those fonts, change one for others, breaking the sub typesetting and softsub signs edition (used instead of a hardsub (paste directly in the video))

how to disable all preset to use real font supplied by the MKV?

'ms' preset change the fonts to ms fonts (if installed), 'free' preset change all license fonts like a MS core fonts to a free fonts, and 'combi' preset  make a mix of both..... but no exist any preset to use a real font (disable all font substitutions) (like a vanilla fontconfig (?))

greetings

Offline

#1494 2014-11-24 13:47:26

cippaciong
Member
Registered: 2010-06-21
Posts: 104
Website

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

Today I upgraded freetype2-infinality and fontconfig-infinality and now the font I use for my terminal and for i3 is not working anymore (Tamsyn). It is not detected by lxappearance either and the same apply to other fontsets like termsyn and stlarch-font.

[2014-11-24 13:04] [PACMAN] upgraded freetype2-infinality-ultimate (2.5.3-14 -> 2.5.3-15)
[2014-11-24 13:04] [ALPM-SCRIPTLET] Updating font cache... 
[2014-11-24 13:04] [ALPM-SCRIPTLET] Done.
[2014-11-24 13:04] [PACMAN] upgraded fontconfig-infinality-ultimate (2.11.1-22 -> 2.11.1-23)

I already run the xset fp commands with no succes:

xset +fp /usr/share/fonts/local/
xset fp rehash

Any idea? Let me know if you need more informations.

Offline

#1495 2014-11-24 17:53:20

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

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

@cippaciong Thanks for the feedback. Here's what you may need to do:

1. Create a config file in /etc/fonts/conf.avail.infinality/75-yes-tamsyn.conf with the following content:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

  <!-- Accept Tamsyn font -->
  <selectfont>
    <acceptfont>
      <pattern>
        <patelt name="family">
          <string>Tamsyn</string>
        </patelt>
      </pattern>
    </acceptfont>
  </selectfont>

</fontconfig>

2. Add the file to your fontconfig configuration:

# cd /etc/fonts/conf.d
# ln -s ../conf.avail.infinality/75-yes-tamsyn.conf .

3. If necessary, restart your X session and enjoy.

Edit I created a tamsyn-font-ibx package which replaces tamsyn-font from [community]. You don't need to create any files manually: just let pacman do the job.

Last edited by bohoomil (2014-11-24 18:24:08)


:: Registered Linux User No. 223384

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

Offline

#1496 2014-11-24 19:53:07

dz
Member
Registered: 2013-08-21
Posts: 16

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

artwiz-fonts are broken too.  Can you create an infinality package for those as well?

Offline

#1497 2014-11-24 20:28:15

cippaciong
Member
Registered: 2010-06-21
Posts: 104
Website

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

@bohoomil Your package worked like a charm. I tried to use the same workaround for the stlarch font set but strangely, it didn't work (I even restarted X), would you mind creating a package for that font too?
Thanks again! smile

Offline

#1498 2014-11-24 21:26:15

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

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

@dz Sure -- done.

@cippaciong You're welcome. You need to gzip the pcf font first. ;-) Anyway -- stlarch-font-ibx is waiting for you. :-)


:: Registered Linux User No. 223384

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

Offline

#1499 2014-11-24 22:08:00

cippaciong
Member
Registered: 2010-06-21
Posts: 104
Website

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

@bohoomil Awesome! Thank you! big_smile

Offline

#1500 2014-11-25 09:55:40

X-dark
Member
From: France
Registered: 2009-10-25
Posts: 142
Website

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

Do we need to do this for any specific font? envypn is not working either (without adding the conf file and gzipping).

Last edited by X-dark (2014-11-25 09:59:45)


Cedric Girard

Offline

Board footer

Powered by FluxBB