You are not logged in.
Okay, trying it now.
Edit: Things look pretty good. Though suddenly the font in rxvt-unicode got HUGE! But I just had to change the font size and all was well. In reality, I had been wondering for quite some time why my fonts in URxvt were so damn small. But I didn't really know enough about fonts to really figure it out either (nor did I try). So thanks... things seem okay on this end with those settings.
Let me know if you make any changes, and I will continue to test.
Last edited by WonderWoofy (2013-05-10 02:39:46)
Offline
A quick question bohoomil, looking at the 'pure' infinality packages at AUR, they don't come with a patched cairo (only freetype2, fontconfig), but Ubuntu and Cleartype indeed has patched Cairo packages.
So I'm wondering what the impact is when rendering using non-patched and patched Cairo packages? Does Cairo ignore some font settings unless it's patched or is it something else?
Offline
@Grinch: Cairo is used to render text in applications relying on it as their back-end (like Gtk toolkit; Firefox utilizes Mozilla's own cairo branch by default, but the ultimate version comes with expose patch just in case one wishes to use FF with the locally installed cairo). Patching cairo integrates it better with fontconfig (credits for this little big improvement go to brebs; this patch remains most significant for the ultimate bundle), while the role of Ubuntu LCD patches has been varying depending on changes introduced to the following mainstream releases of cairo (browsing the launchpad should cast light on some specific aspects). As I cannot tell for sure whether or not Ubuntu modifications will remain a core part of cairo-ultimate, it therefore wasn't named to indicate such a mutual relationship. However, I'm going to make use of any vital improvements if they are found handy for our purposes.
@WonderWoofy: thank you for taking your time to play with it. I'll certainly let you know about further changes.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
patched Cairo
There are some good reasons to patch cairo:
1. Fedora has 2 0-sized bugfix patches.
2. Nvidia (and maybe others) is faster with server_side_gradients.patch (also called "buggy gradients"), from Ubuntu.
3. Historically (may be better these days):
a. cairo needed patching so that firefox could be compiled with --enable-system-cairo, to use the decent system rendering.
b. cairo did not follow fontconfig's rules fully.
Embarrasingly, I'm still stuck on cairo 1.12.2, because it's the last version that renders text properly and fast on Nvidia. There seems to be one other person, in the whole world, with the same problem as me - very strange.
Offline
Thanks for the info bohoomil and brebs, are these patches likely to ever make it upstream or will there continue to be a need for patched Cairo versions when you use alternative font rendering packages?
Offline
Offline
more smooth
Look at INFINALITY_FT_FILTER_PARAMS
# Strong Extra Smooth "15 20 30 20 15" (extra smooth, natural weight)
# Extra Smooth "20 20 30 20 20" (extra smooth, extra weight)
# Smooth "15 20 32 20 15" (smooth, natural weight)
Edit: Values I'm currently liking, to be smooth but not blurry, are: "13 20 32 20 13"
Last edited by brebs (2013-05-11 04:29:38)
Offline
you going to build next version (released today) whit CFF by ADOBE enabled or not??
Well, I suppose that this is somekind of signature, no?
Offline
The next freetype2-infinality-ultimate release will be available as soon as we have Infinality patches for freetype2 2.4.12, and I believe they will support new freetype features. The only thing we have to do is wait a little bit.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
New settings look better than ever.
Offline
Thanks. There are already more recent ones with at least a dozen of further tweaks. I will make them available later today for even more testing.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
The most recent configuration is available for testing. As always, keep a backup of your /etc/fonts or re-install fontconfig-infinality-ultimate if you want to revert to the previous version.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
The most recent configuration is available for testing. As always, keep a backup of your /etc/fonts or re-install fontconfig-infinality-ultimate if you want to revert to the previous version.
Very nice! Thanks for your work!
Offline
Thanks for taking time to do this. I just switched from freetype2-ubuntu to ultimate. Overall fonts look great but I was wondering if there is a way to make fonts more smooth.
Actually I've been testing a slightly tweaked run time file for a while and I believe it does the job: fonts are a tad bit smoother, darker, 'warmer' I'd say. Just like before, but… hmm… better? Anyway, I'd suggest that the bundle users check it and see on their own.
1. Backup the current Infinality settings:
$ sudo mv /etc/profile.d/infinality-settings.sh{,.bkp}
2. Move the new file to its destination:
$ sudo mv infinaility-settings.sh /etc/profile.d
3. Profit.
This should become default with the new freetype2-infinality-ultimate release.
And here is the guy: infinality-settings.sh.
Thanks.
Edit: I added one more set of parameters for setting darkness / softness balance. Now you have three options to choose from: 1) the original brighter and sharper, 2) the darker and smoother (the default one), 3) something in between the two. Wanna even more? Sure, it's all up to you. Since the file won't be overwritten during update, whatever you set is going to be there.
Last edited by bohoomil (2013-05-13 16:29:12)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Wow, I thought that it couldn't get any better than what you were already having me test here... that new infinality-settings.sh is feakin awesome!
Thanks bohoomil.
Offline
@brebs @bohoomil Thanks I will get back to you guys with those settings.
Banshee is wanting me to replace cairo-infinality-ultimate with cairo. Cairo isn't even a Banshee dependency.
sudo pacman -S banshee
[sudo] password for donnie:
resolving dependencies...
looking for inter-conflicts...
:: cairo and cairo-infinality-ultimate are in conflict. Remove cairo-infinality-ultimate? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: cairo and cairo-infinality-ultimate are in conflict
Offline
I updated cairo with a little fixed that may get rid of the issues like yours. Run pacman -Syu and see what happens then.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Wow, the new config really looks better, I think I'll keep it :3
Ps.- It seems that after your last change with the cairo package I'm not running into weird issues about cairo anymore.
Geeks & Linux Atelier
An eye for an eye ... ends in making everybody blind -- Mahatma Gandhi
dotfiles
Offline
The final stage of forking fontconfig has been reached and version 2.10.92-10 is available for download. The summary of changes:
The default fontconfig-infinality configuration style has been entirely abandoned -- from now on fontconfig-infinality-ultimate follows the generic fontconfig configuration model.
$XDG_CONFIG_HOME/fontconfig should work as expected.
A new configuration parameter was added for use during compilation:
--with-templateinfdir=DIR
Use DIR to store the Infinality compliant
configuration template files
[default=DATADIR/fontconfig/conf.avail.infinality]
The location has to be set manually when running ./configure script (in case of Arch Linux, infinality templates are located in /etc/fonts/conf.avail.infinality).
A couple of new templates for customization purposes has been added (see /usr/share/doc/fontconfig-infinality-ultimate/fontconfig).
Various issues reported by users should now be resolved.
The updated infinality-settings.sh file can be found in /usr/share/doc/fontonfig-infinality-ultimate/freetype. It offers two additional presets plus the original one for adjusting fonts' brightness / darkness / smoothness. Please, copy it to /etc/profile.d and set it to your liking.
See also the updated infinality-bundle user notes for details.
<snip>
As we already know, the new freetype2 has been released. I have tested it with new infinality patches (and bugs), with and without CFF enabled. From what I can tell, the 2.4.11 version with the default rendering engine plus my settings still offers an overall better experience (with less issues). Although freetype2-infinality-ultimate will be eventually upgraded, there is no urgent need to hurry and immediately move to the new release I cannot support properly. Briefly and frankly, I do not want to release a potential troublemaker unless I am sure it has been tamed. I believe this is a sane approach. Thanks for understanding.
Last edited by bohoomil (2013-05-15 16:09:15)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Wow, the update made everything look really really bad. I had to revert back to what it was before.
Okay, it must have been something with my setup (because I was testing your stuffs before). I removed all the extraneous crap and then reinstalled the whole bundle. Things look great again.
Thanks bohoomil.
Last edited by WonderWoofy (2013-05-15 15:42:17)
Offline
Would you mind providing a bit more info (the content of /etc/fonts/* with subdirectories, the run-time file you are using in /etc/profile.d)? This is basically everything that has been already made public, so if you have been using the testing semi-releases, you shouldn't even notice that an upgrade to the package has been performed…
Edit: OK, thanks for the updated info.
Last edited by bohoomil (2013-05-15 15:45:52)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
My font's look really bad (blurry) after installing your bundle. Here's example:
$ tree /etc/fonts/
/etc/fonts/
|-- conf.avail
| |-- 10-autohint.conf
| |-- 10-no-sub-pixel.conf
| |-- 10-scale-bitmap-fonts.conf
| |-- 10-sub-pixel-bgr.conf
| |-- 10-sub-pixel-rgb.conf
| |-- 10-sub-pixel-vbgr.conf
| |-- 10-sub-pixel-vrgb.conf
| |-- 10-unhinted.conf
| |-- 11-lcdfilter-default.conf
| |-- 11-lcdfilter-legacy.conf
| |-- 11-lcdfilter-light.conf
| |-- 20-unhint-small-vera.conf
| |-- 21-cantarell-hinting.conf
| |-- 25-unhint-nonlatin.conf
| |-- 30-metric-aliases.conf
| |-- 30-urw-aliases.conf
| |-- 31-cantarell.conf
| |-- 40-nonlatin.conf
| |-- 45-latin.conf
| |-- 49-sansserif.conf
| |-- 50-user.conf
| |-- 51-local.conf
| |-- 60-latin.conf
| |-- 65-fonts-persian.conf
| |-- 65-khmer.conf
| |-- 65-nonlatin.conf
| |-- 69-unifont.conf
| |-- 70-no-bitmaps.conf
| |-- 70-yes-bitmaps.conf
| |-- 80-delicious.conf
| `-- 90-synthetic.conf
|-- conf.avail.infinality
| |-- 10-base-rendering.conf
| |-- 15-tt-monospace-fonts.conf
| |-- 20-fix-cantarell.conf
| |-- 21-non-tt-rendering.conf
| |-- 21-tt-rendering.conf
| |-- 30-non-tt-fonts.conf
| |-- 30-tt-fonts.conf
| |-- 32-tt-traced-bitmap-rendering.conf
| |-- 35-droid-sans-group.conf
| |-- 35-droid-serif-group.conf
| |-- 37-repl-global.conf
| |-- 38-repl-tt-traced-bitmap.conf
| |-- 39-repl-corrective.conf
| |-- 40-nonlatin.conf
| |-- 45-latin.conf
| |-- 49-sansserif.conf
| |-- 50-user.conf
| |-- 51-local.conf
| |-- 60-latin.conf
| |-- 65-non-latin.conf
| |-- 66-override.conf
| |-- 67-aliases-wine.conf
| |-- 70-no-bitmaps.conf
| |-- 70-yes-bitmaps.conf
| |-- 71-postscript.conf
| |-- 72-embedded-bitmaps.conf
| |-- 73-ttf-as-bitmap.conf
| |-- 74-force-autohint.conf
| |-- 75-qt-subpixel-positioning.conf
| |-- 76-forced-synthetic.conf
| |-- 80-selective-rendering.conf
| |-- 81-final-rendering.conf
| |-- 82-final-lang-spec.conf
| |-- 90-no-synthetic.conf
| `-- 95-reject.conf
|-- conf.d
| |-- 10-base-rendering.conf -> /etc/fonts/conf.avail.infinality/10-base-rendering.conf
| |-- 15-tt-monospace-fonts.conf -> /etc/fonts/conf.avail.infinality/15-tt-monospace-fonts.conf
| |-- 20-fix-cantarell.conf -> /etc/fonts/conf.avail.infinality/20-fix-cantarell.conf
| |-- 21-non-tt-rendering.conf -> /etc/fonts/conf.avail.infinality/21-non-tt-rendering.conf
| |-- 21-tt-rendering.conf -> /etc/fonts/conf.avail.infinality/21-tt-rendering.conf
| |-- 30-non-tt-fonts.conf -> /etc/fonts/conf.avail.infinality/30-non-tt-fonts.conf
| |-- 30-tt-fonts.conf -> /etc/fonts/conf.avail.infinality/30-tt-fonts.conf
| |-- 35-droid-sans-group.conf -> /etc/fonts/conf.avail.infinality/35-droid-sans-group.conf
| |-- 35-droid-serif-group.conf -> /etc/fonts/conf.avail.infinality/35-droid-serif-group.conf
| |-- 37-repl-global.conf -> /etc/fonts/conf.avail.infinality/37-repl-global.conf
| |-- 38-repl-tt-traced-bitmap.conf -> /etc/fonts/conf.avail.infinality/38-repl-tt-traced-bitmap.conf
| |-- 39-repl-corrective.conf -> /etc/fonts/conf.avail.infinality/39-repl-corrective.conf
| |-- 40-nonlatin.conf -> /etc/fonts/conf.avail.infinality/40-nonlatin.conf
| |-- 45-latin.conf -> /etc/fonts/conf.avail.infinality/45-latin.conf
| |-- 49-sansserif.conf -> /etc/fonts/conf.avail.infinality/49-sansserif.conf
| |-- 50-user.conf -> /etc/fonts/conf.avail.infinality/50-user.conf
| |-- 51-local.conf -> /etc/fonts/conf.avail.infinality/51-local.conf
| |-- 60-latin.conf -> /etc/fonts/conf.avail.infinality/60-latin.conf
| |-- 65-non-latin.conf -> /etc/fonts/conf.avail.infinality/65-non-latin.conf
| |-- 66-override.conf -> /etc/fonts/conf.avail.infinality/66-override.conf
| |-- 67-aliases-wine.conf -> /etc/fonts/conf.avail.infinality/67-aliases-wine.conf
| |-- 70-no-bitmaps.conf -> /etc/fonts/conf.avail.infinality/70-no-bitmaps.conf
| |-- 72-embedded-bitmaps.conf -> /etc/fonts/conf.avail.infinality/72-embedded-bitmaps.conf
| |-- 73-ttf-as-bitmap.conf -> /etc/fonts/conf.avail.infinality/73-ttf-as-bitmap.conf
| |-- 74-force-autohint.conf -> /etc/fonts/conf.avail.infinality/74-force-autohint.conf
| |-- 75-qt-subpixel-positioning.conf -> /etc/fonts/conf.avail.infinality/75-qt-subpixel-positioning.conf
| |-- 76-forced-synthetic.conf -> /etc/fonts/conf.avail.infinality/76-forced-synthetic.conf
| |-- 80-selective-rendering.conf -> /etc/fonts/conf.avail.infinality/80-selective-rendering.conf
| |-- 81-final-rendering.conf -> /etc/fonts/conf.avail.infinality/81-final-rendering.conf
| |-- 82-final-lang-spec.conf -> /etc/fonts/conf.avail.infinality/82-final-lang-spec.conf
| |-- 90-no-synthetic.conf -> /etc/fonts/conf.avail.infinality/90-no-synthetic.conf
| |-- 95-reject.conf -> /etc/fonts/conf.avail.infinality/95-reject.conf
| `-- README
|-- fonts.conf
`-- fonts.dtd
3 directories, 101 files
/etc/profile.d/infinality-settings.sh
###################################################################
### INFINALITY ENVIRONMENT VARIABLES FOR EXTRA RUN-TIME OPTIONS ###
################### custom settings by bohoomil ###################
###################################################################
SET_XFT_SETTINGS=true
XFT_SETTINGS="
Xft.antialias: 1
Xft.autohint: 0
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintfull
Xft.lcdfilter: lcddefault
Xft.rgba: rgb
"
if [ "$SET_XFT_SETTINGS" = "true" ]; then
echo "$XFT_SETTINGS" | xrdb -merge > /dev/null 2>&1
fi
export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11"
export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0"
export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0"
export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10"
export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25"
export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="0"
export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="35"
export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25"
export INFINALITY_FT_STEM_FITTING_STRENGTH="25"
export INFINALITY_FT_GAMMA_CORRECTION="0 100"
export INFINALITY_FT_BRIGHTNESS="20"
export INFINALITY_FT_CONTRAST="40"
export INFINALITY_FT_USE_VARIOUS_TWEAKS="true"
export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true"
export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="50"
export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="30"
export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true"
$ tree ~/.config/fontconfig/
.config/fontconfig/
`-- conf.d
`-- 10-powerline-symbols.conf
1 directory, 1 file
Prior to installing your packages I've been using *-ubuntu packages from AUR, if that matters.
Edit: fixed image size...
Last edited by silenc3r (2013-05-15 17:34:50)
Offline
I'm not sure if this is the right place to ask, but what is the cairo-nvidia package from the AUR for? I've read about performance issues whit fontrendering when using CS-Drivers, is this still the case? Does someone has infos about this?
Last edited by Thorsten Reinbold (2013-05-15 17:59:43)
Offline
My font's look really bad (blurry) after installing your bundle. Here's example:
Please, start with this:
The updated infinality-settings.sh file can be found in /usr/share/doc/fontonfig-infinality-ultimate/freetype. It offers two additional presets plus the original one for adjusting fonts' brightness / darkness / smoothness. Please, copy it to /etc/profile.d and set it to your liking.
…as well as checking the content of your /etc/fonts/conf.d, which by default should contain:
10-base-rendering.conf@
15-tt-monospace-fonts.conf@
20-fix-cantarell.conf@
21-non-tt-rendering.conf@
21-tt-rendering.conf@
30-non-tt-fonts.conf@
30-tt-fonts.conf@
35-droid-sans-group.conf@
35-droid-serif-group.conf@
37-repl-global.conf@
38-repl-tt-traced-bitmap.conf@
39-repl-corrective.conf@
40-nonlatin.conf@
45-latin.conf@
49-sansserif.conf@
50-user.conf@
51-local.conf@
60-latin.conf@
65-non-latin.conf@
66-override.conf@
67-aliases-wine.conf@
70-no-bitmaps.conf@
72-embedded-bitmaps.conf@
73-ttf-as-bitmap.conf@
74-force-autohint.conf@
75-qt-subpixel-positioning.conf@
76-forced-synthetic.conf@
80-selective-rendering.conf@
81-final-rendering.conf@
82-final-lang-spec.conf@
90-no-synthetic.conf@
95-reject.conf@
README
Last edited by bohoomil (2013-05-15 18:08:34)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline