You are not logged in.
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:
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
@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
When you run `grep INFINALITY <(env)`, does the output reflect your custom infinality-settings?
No, unfortunately it doesn't.
Are there any broken symlinks in /etc/fonts/conf.d?
No, no broken symlinks.
When you run an application in the terminal emulator, does it return any fontconfig errors?
No, there aren't any fontconfig errors.
Offline
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
I start my X session (Openbox only, no DE) from .xinitrc in my home directory. I don't have an .xsession file.
Offline
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
That did it! Many thanks for your prompt assistance and for all of the great work you do with the Infinality fonts!
Offline
@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
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
@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
@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
Offline
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
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
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
Maybe he meant https://addons.mozilla.org/en-US/firefo … /fontinfo/
Offline
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
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
@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
artwiz-fonts are broken too. Can you create an infinality package for those as well?
Offline
@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!
Offline
@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
@bohoomil Awesome! Thank you!
Offline
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