Skip to content

Instantly share code, notes, and snippets.

@akemrir
Forked from cryzed/fix-infinality.md
Created November 15, 2019 16:08
Show Gist options
  • Save akemrir/38c3fea43c56fda0e60ce95d15d244dc to your computer and use it in GitHub Desktop.
Save akemrir/38c3fea43c56fda0e60ce95d15d244dc to your computer and use it in GitHub Desktop.

Revisions

  1. @cryzed cryzed revised this gist Jan 23, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -88,7 +88,7 @@ Modify (or create) `/etc/fonts/local.conf` to contain [these contents](https://g

    2) Now we need to actually make sure that we have all fonts on the system that were defined as substitutions earlier. Install the package [fonts-meta-extended-lt](https://aur.archlinux.org/packages/fonts-meta-extended-lt/) from the AUR, which will help us install and keep track of which fonts are required to do this. Fonts that are defined as optional dependencies for this PKGBUILD are those that are not yet available in the AUR. A big thanks to [DoctorJellyface](https://github.com/DoctorJellyface) for creating these AUR packages and maintaining them!

    Install all optional dependencies of the `fonts-meta-base` and `fonts-meta-extended-lt` package. Do this by running `pacman -Qi fonts-meta-base fonts-meta-extended-lt` and noting the entries listed unter "Optional Deps". Then install them using `pacman -S <optdep1> <optdep2> ... --asdeps`. Currently missing optional font packages in the AUR are and `t1-cursor-ib` and `ttf-gelasio-ib`. Mirrors to these packages (exactly as they were contained in the, now offline, bohoomil font repository) are here:
    Install all optional dependencies of the `fonts-meta-base` and `fonts-meta-extended-lt` package. Do this by running `pacman -Qi fonts-meta-base fonts-meta-extended-lt` and noting the entries listed unter "Optional Deps". Then install them using `pacman -S <optdep1> <optdep2> ... --asdeps`. Currently missing optional font packages in the AUR are `t1-cursor-ib` and `ttf-gelasio-ib`. Mirrors to these packages (exactly as they were contained in the, now offline, `infinality-bundle-fonts` repository) are here:

    * [t1-cursor-ib-1.0.4-2-any.pkg.tar.xz](https://mega.nz/#!Nks0iJAb!8nSMQMtmvHfnMXH1TJ7-QIMNQWOMdgpH803WVgg2qWI)
    * [ttf-gelasio-ib-1.00-7-any.pkg.tar.xz](https://mega.nz/#!Bt0hRaSZ!zv0liCiAfLaw6_oewcwoG5TsXP9Ruu-HNUfrRVYfYDg)
  2. @cryzed cryzed revised this gist Jan 23, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -93,6 +93,8 @@ Install all optional dependencies of the `fonts-meta-base` and `fonts-meta-exten
    * [t1-cursor-ib-1.0.4-2-any.pkg.tar.xz](https://mega.nz/#!Nks0iJAb!8nSMQMtmvHfnMXH1TJ7-QIMNQWOMdgpH803WVgg2qWI)
    * [ttf-gelasio-ib-1.00-7-any.pkg.tar.xz](https://mega.nz/#!Bt0hRaSZ!zv0liCiAfLaw6_oewcwoG5TsXP9Ruu-HNUfrRVYfYDg)

    You can install these using `pacman -U <filename> --asdeps`.

    3) Modify `/etc/profile.d/jre.sh` if you had the patched openjdk/openjre packages installed to look like this:

    ```bash
  3. @cryzed cryzed revised this gist Jan 23, 2017. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -33,6 +33,7 @@ below `<fontconfig>` in `/etc/fonts/local.conf`. Here's the [old look](http://i.
    * 11.01.2017 15:22: Added some screenshots at the very top of the gist.
    * 11.01.2017 21:44: Fixed typos in the symlink-creation part
    * 15.01.2017 22:06: Added alternative instructions on how to symlink the infinality-substitution snippet to `/etc/fonts/conf.d`, since it is now part of the `fonts-meta-extended-lt` package.
    * 23.01.2017 16:41: Added mirror links to missing optional fonts in step 2 in the "Creating an Infinality-like fontconfig Configuration"-section, since bohoomil's font repository seems to be offline now.

    General
    =======
    @@ -87,7 +88,10 @@ Modify (or create) `/etc/fonts/local.conf` to contain [these contents](https://g

    2) Now we need to actually make sure that we have all fonts on the system that were defined as substitutions earlier. Install the package [fonts-meta-extended-lt](https://aur.archlinux.org/packages/fonts-meta-extended-lt/) from the AUR, which will help us install and keep track of which fonts are required to do this. Fonts that are defined as optional dependencies for this PKGBUILD are those that are not yet available in the AUR. A big thanks to [DoctorJellyface](https://github.com/DoctorJellyface) for creating these AUR packages and maintaining them!

    Getting these missing optional fonts is no big issue, since they are still available in the `infinality-bundle-fonts` repository for now: Enable the `infinality-bundle-fonts` repository again and install all optional dependencies of the `fonts-meta-base` and `fonts-meta-extended-lt` package. Do this by running `pacman -Qi fonts-meta-base fonts-meta-extended-lt` and noting the entries listed unter "Optional Deps". Then install them using `pacman -S <optdep1> <optdep2> ... --asdeps`. Afterwards disable the repository again.
    Install all optional dependencies of the `fonts-meta-base` and `fonts-meta-extended-lt` package. Do this by running `pacman -Qi fonts-meta-base fonts-meta-extended-lt` and noting the entries listed unter "Optional Deps". Then install them using `pacman -S <optdep1> <optdep2> ... --asdeps`. Currently missing optional font packages in the AUR are and `t1-cursor-ib` and `ttf-gelasio-ib`. Mirrors to these packages (exactly as they were contained in the, now offline, bohoomil font repository) are here:

    * [t1-cursor-ib-1.0.4-2-any.pkg.tar.xz](https://mega.nz/#!Nks0iJAb!8nSMQMtmvHfnMXH1TJ7-QIMNQWOMdgpH803WVgg2qWI)
    * [ttf-gelasio-ib-1.00-7-any.pkg.tar.xz](https://mega.nz/#!Bt0hRaSZ!zv0liCiAfLaw6_oewcwoG5TsXP9Ruu-HNUfrRVYfYDg)

    3) Modify `/etc/profile.d/jre.sh` if you had the patched openjdk/openjre packages installed to look like this:

  4. @cryzed cryzed revised this gist Jan 16, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -32,7 +32,7 @@ below `<fontconfig>` in `/etc/fonts/local.conf`. Here's the [old look](http://i.

    * 11.01.2017 15:22: Added some screenshots at the very top of the gist.
    * 11.01.2017 21:44: Fixed typos in the symlink-creation part
    * 15.02.2017 22:06: Added alternative instructions on how to symlink the infinality-substitution snippet to `/etc/fonts/conf.d`, since it is now part of the `fonts-meta-extended-lt` package.
    * 15.01.2017 22:06: Added alternative instructions on how to symlink the infinality-substitution snippet to `/etc/fonts/conf.d`, since it is now part of the `fonts-meta-extended-lt` package.

    General
    =======
  5. @cryzed cryzed revised this gist Jan 15, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -32,6 +32,7 @@ below `<fontconfig>` in `/etc/fonts/local.conf`. Here's the [old look](http://i.

    * 11.01.2017 15:22: Added some screenshots at the very top of the gist.
    * 11.01.2017 21:44: Fixed typos in the symlink-creation part
    * 15.02.2017 22:06: Added alternative instructions on how to symlink the infinality-substitution snippet to `/etc/fonts/conf.d`, since it is now part of the `fonts-meta-extended-lt` package.

    General
    =======
  6. @cryzed cryzed revised this gist Jan 15, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -82,11 +82,11 @@ From this clean slate we can now create a similar fontconfig configuration to th
    * `ln -s /etc/fonts/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d`
    * `/etc/fonts/conf.avail/10-hinting-slight.conf` should already be linked to `/etc/fonts/conf.d`

    Modify (or create) `/etc/fonts/local.conf` to contain [these contents](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc). These are all [font substitutions originally made by Infinality's fontconfig configuration](http://bohoomil.com/doc/05-fonts/). A big thanks to [tylerswagar](https://github.com/tylerswagar) for creating the font substitution snippet!
    Modify (or create) `/etc/fonts/local.conf` to contain [these contents](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc). These are all [font substitutions originally made by Infinality's fontconfig configuration](http://bohoomil.com/doc/05-fonts/). A big thanks to [tylerswagar](https://github.com/tylerswagar) for creating the font substitution snippet! **Alternatively** run: `ln -s /etc/fonts/conf.avail/30-infinality-aliases.conf /etc/fonts/conf.d` _after_ installing `fonts-meta-extended-lt` in step 2; [DoctorJellyFace](https://github.com/DoctorJellyface), the maintainer of the `fonts-meta-extended-lt` package, decided to make the substitution snippet part of the package.

    2) Now we need to actually make sure that we have all fonts on the system that were defined as substitutions earlier. Install the package [fonts-meta-extended-lt](https://aur.archlinux.org/packages/fonts-meta-extended-lt/) from the AUR, which will help us install and keep track of which fonts are required to do this. Fonts that are defined as optional dependencies for this PKGBUILD are those that are not yet available in the AUR. A big thanks to [DoctorJellyface](https://github.com/DoctorJellyface) for creating these AUR packages and maintaining them!

    Getting these fonts is no issue, since they are still available in the `infinality-bundle-fonts` repository for now: Enable the `infinality-bundle-fonts` repository again and install all optional dependencies of the `fonts-meta-base` and `fonts-meta-extended-lt` package. Do this by running `pacman -Qi fonts-meta-base fonts-meta-extended-lt` and noting the entries listed unter "Optional Deps". Then install them using `pacman -S <optdep1> <optdep2> ... --asdeps`. Afterwards disable the repository again.
    Getting these missing optional fonts is no big issue, since they are still available in the `infinality-bundle-fonts` repository for now: Enable the `infinality-bundle-fonts` repository again and install all optional dependencies of the `fonts-meta-base` and `fonts-meta-extended-lt` package. Do this by running `pacman -Qi fonts-meta-base fonts-meta-extended-lt` and noting the entries listed unter "Optional Deps". Then install them using `pacman -S <optdep1> <optdep2> ... --asdeps`. Afterwards disable the repository again.

    3) Modify `/etc/profile.d/jre.sh` if you had the patched openjdk/openjre packages installed to look like this:

  7. @cryzed cryzed revised this gist Jan 11, 2017. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -31,6 +31,7 @@ Changelog
    below `<fontconfig>` in `/etc/fonts/local.conf`. Here's the [old look](http://i.imgur.com/8jR9lUI.png) and the [new look](http://i.imgur.com/P6ZFvJn.png), I urge you to test it on more sites to get a feel for the differences. There are advantages and disadvantages to both, though in general I feel that the new look preserves more of the actual shape.

    * 11.01.2017 15:22: Added some screenshots at the very top of the gist.
    * 11.01.2017 21:44: Fixed typos in the symlink-creation part

    General
    =======
    @@ -78,8 +79,8 @@ From this clean slate we can now create a similar fontconfig configuration to th

    1) Create the following symlinks using root to instruct freetype2 to use good-looking rendering defaults:
    * `ln -s /etc/fonts/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d`
    * `ln -s /etc/fonts/conf.d/10-sub-pixel-rgb.conf /etc/fonts/conf.d`
    * `/etc/fonts/conf.d/10-sub-pixel-rgb.conf` should already be linked
    * `ln -s /etc/fonts/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d`
    * `/etc/fonts/conf.avail/10-hinting-slight.conf` should already be linked to `/etc/fonts/conf.d`

    Modify (or create) `/etc/fonts/local.conf` to contain [these contents](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc). These are all [font substitutions originally made by Infinality's fontconfig configuration](http://bohoomil.com/doc/05-fonts/). A big thanks to [tylerswagar](https://github.com/tylerswagar) for creating the font substitution snippet!

  8. @cryzed cryzed revised this gist Jan 11, 2017. 1 changed file with 12 additions and 0 deletions.
    12 changes: 12 additions & 0 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,17 @@

    **Check the gist's comments for any further tips and instructions, especially if you are running into problems!**


    Screenshots
    ===========
    Results after following the guide as of 11.01.2017 13:08:

    * [This page](http://i.imgur.com/P6ZFvJn.png)
    * [Linux - Wikipedia](http://i.imgur.com/SM1gH6p.png)
    * [Arch Linux Website](http://i.imgur.com/NgXzDTA.png)
    * [Eevee's Article about Fontconfig](http://i.imgur.com/XH1kUCC.png)


    Changelog
    =========

    @@ -19,6 +30,7 @@ Changelog
    ```
    below `<fontconfig>` in `/etc/fonts/local.conf`. Here's the [old look](http://i.imgur.com/8jR9lUI.png) and the [new look](http://i.imgur.com/P6ZFvJn.png), I urge you to test it on more sites to get a feel for the differences. There are advantages and disadvantages to both, though in general I feel that the new look preserves more of the actual shape.

    * 11.01.2017 15:22: Added some screenshots at the very top of the gist.

    General
    =======
  9. @cryzed cryzed revised this gist Jan 11, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -62,7 +62,7 @@ After taking care of all packages, no packages should be installed anymore when
    Creating an Infinality-like fontconfig Configuration
    ====================================================

    From this clean slate we can now create a similar fontconfig configuration to the infinality-bundle's without having to use the patched packages. Thanks to a few comments on previous versions of this article, it is now possible to easily get [great-looking results](http://i.imgur.com/8jR9lUI.png) with the default freetype2 truetype interpreter.
    From this clean slate we can now create a similar fontconfig configuration to the infinality-bundle's without having to use the patched packages. Thanks to a few comments on previous versions of this article, it is now possible to easily get [great-looking results](http://i.imgur.com/P6ZFvJn.png) with the default freetype2 truetype interpreter.

    1) Create the following symlinks using root to instruct freetype2 to use good-looking rendering defaults:
    * `ln -s /etc/fonts/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d`
  10. @cryzed cryzed revised this gist Jan 11, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,7 @@ Changelog
    </edit>
    </match>
    ```
    below `<fontconfig>` in `/etc/fonts/local.conf`.
    below `<fontconfig>` in `/etc/fonts/local.conf`. Here's the [old look](http://i.imgur.com/8jR9lUI.png) and the [new look](http://i.imgur.com/P6ZFvJn.png), I urge you to test it on more sites to get a feel for the differences. There are advantages and disadvantages to both, though in general I feel that the new look preserves more of the actual shape.


    General
  11. @cryzed cryzed revised this gist Jan 11, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ Changelog

    * 10.01.2017 23:22: Changed typo `Windings` to `Wingdings` in the [/etc/fonts/local.conf template](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc), users are advised to update their files.
    * 11.01.2017 00:42: Fixed [another bug](https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671#gistcomment-1967788) in `/etc/fonts/local.conf`, thank you [edgard](https://github.com/edgard).
    * 11.01.2017 13:08: Instruct users to symlink configuration files in `/etc/fonts/conf.avail` instead of setting interpreter instructions in `/etc/fonts/local.conf` instead. This prevents the overwriting of specialized fontconfig instructions in lower prefixes and might change the looks slightly. To restore the old behavior you can simply insert:
    * 11.01.2017 13:08: Instruct users to symlink configuration from `/etc/fonts/conf.avail` instead of setting interpreter instructions in `/etc/fonts/local.conf`. This prevents the overwriting of specialized fontconfig instructions in lower prefixes and might change the looks slightly. To restore the old behavior you can simply insert:
    ```xml
    <match target="font">
    <edit name="hintstyle" mode="assign">
  12. @cryzed cryzed revised this gist Jan 11, 2017. 1 changed file with 16 additions and 1 deletion.
    17 changes: 16 additions & 1 deletion fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,16 @@ Changelog

    * 10.01.2017 23:22: Changed typo `Windings` to `Wingdings` in the [/etc/fonts/local.conf template](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc), users are advised to update their files.
    * 11.01.2017 00:42: Fixed [another bug](https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671#gistcomment-1967788) in `/etc/fonts/local.conf`, thank you [edgard](https://github.com/edgard).
    * 11.01.2017 13:08: Instruct users to symlink configuration files in `/etc/fonts/conf.avail` instead of setting interpreter instructions in `/etc/fonts/local.conf` instead. This prevents the overwriting of specialized fontconfig instructions in lower prefixes and might change the looks slightly. To restore the old behavior you can simply insert:
    ```xml
    <match target="font">
    <edit name="hintstyle" mode="assign">
    <const>hintslight</const>
    </edit>
    </match>
    ```
    below `<fontconfig>` in `/etc/fonts/local.conf`.


    General
    =======
    @@ -54,7 +64,12 @@ Creating an Infinality-like fontconfig Configuration

    From this clean slate we can now create a similar fontconfig configuration to the infinality-bundle's without having to use the patched packages. Thanks to a few comments on previous versions of this article, it is now possible to easily get [great-looking results](http://i.imgur.com/8jR9lUI.png) with the default freetype2 truetype interpreter.

    1) Modify (or create) `/etc/fonts/local.conf` to contain [these contents](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc). It instructs freetype2 to use good-looking rendering defaults and all [font substitutions originally made by Infinality's fontconfig configuration](http://bohoomil.com/doc/05-fonts/). A big thanks to [tylerswagar](https://github.com/tylerswagar) for creating the font substitution snippet!
    1) Create the following symlinks using root to instruct freetype2 to use good-looking rendering defaults:
    * `ln -s /etc/fonts/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d`
    * `ln -s /etc/fonts/conf.d/10-sub-pixel-rgb.conf /etc/fonts/conf.d`
    * `/etc/fonts/conf.d/10-sub-pixel-rgb.conf` should already be linked

    Modify (or create) `/etc/fonts/local.conf` to contain [these contents](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc). These are all [font substitutions originally made by Infinality's fontconfig configuration](http://bohoomil.com/doc/05-fonts/). A big thanks to [tylerswagar](https://github.com/tylerswagar) for creating the font substitution snippet!

    2) Now we need to actually make sure that we have all fonts on the system that were defined as substitutions earlier. Install the package [fonts-meta-extended-lt](https://aur.archlinux.org/packages/fonts-meta-extended-lt/) from the AUR, which will help us install and keep track of which fonts are required to do this. Fonts that are defined as optional dependencies for this PKGBUILD are those that are not yet available in the AUR. A big thanks to [DoctorJellyface](https://github.com/DoctorJellyface) for creating these AUR packages and maintaining them!

  13. @cryzed cryzed revised this gist Jan 11, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -7,8 +7,8 @@
    Changelog
    =========

    * 10.02.2017 23:22: Changed typo `Windings` to `Wingdings` in the [/etc/fonts/local.conf template](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc), users are advised to update their files.
    * 11.02.2017 00:42: Fixed [another bug](https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671#gistcomment-1967788) in `/etc/fonts/local.conf`, thank you [edgard](https://github.com/edgard).
    * 10.01.2017 23:22: Changed typo `Windings` to `Wingdings` in the [/etc/fonts/local.conf template](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc), users are advised to update their files.
    * 11.01.2017 00:42: Fixed [another bug](https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671#gistcomment-1967788) in `/etc/fonts/local.conf`, thank you [edgard](https://github.com/edgard).

    General
    =======
  14. @cryzed cryzed revised this gist Jan 10, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,7 @@ Changelog
    =========

    * 10.02.2017 23:22: Changed typo `Windings` to `Wingdings` in the [/etc/fonts/local.conf template](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc), users are advised to update their files.
    * 11.02.2017 00:42: Fixed [another bug](https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671#gistcomment-1967788) in `/etc/fonts/local.conf`, thank you [edgard](https://github.com/edgard).

    General
    =======
  15. @cryzed cryzed revised this gist Jan 10, 2017. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,11 @@

    **Check the gist's comments for any further tips and instructions, especially if you are running into problems!**

    Changelog
    =========

    * 10.02.2017 23:22: Changed typo `Windings` to `Wingdings` in the [/etc/fonts/local.conf template](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc), users are advised to update their files.

    General
    =======

  16. @cryzed cryzed revised this gist Jan 10, 2017. No changes.
  17. @cryzed cryzed revised this gist Jan 10, 2017. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,8 @@
    **Disclaimer**: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.

    **Attention**: After following all the steps run `gdk-pixbuf-query-loaders --update-cache` as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc. **Also check the gist's comments for any further tips and instructions!**
    **Attention**: After following all the steps run `gdk-pixbuf-query-loaders --update-cache` as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.

    **Check the gist's comments for any further tips and instructions, especially if you are running into problems!**

    General
    =======
  18. @cryzed cryzed revised this gist Jan 10, 2017. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -41,10 +41,10 @@ After doing this, refresh the view in pkgbrowser using F5 and sort again by stat
    After taking care of all packages, no packages should be installed anymore when you check `infinality-bundle`, `infinality-bundle-multilib` and `infinality-bundle-fonts` in the sidebar. Your system should now be in a pre-infinality-bundle state.


    Setting up an Infinality-like fontconfig Configuration
    ======================================================
    Creating an Infinality-like fontconfig Configuration
    ====================================================

    From this clean slate we can now restore a similar fontconfig to what it used to be with the infinality-bundle. Thanks to a few comments on previous versions of this article, it is now possible to easily get [great-looking resultss](http://i.imgur.com/8jR9lUI.png) with the default freetype2 truetype interpreter.
    From this clean slate we can now create a similar fontconfig configuration to the infinality-bundle's without having to use the patched packages. Thanks to a few comments on previous versions of this article, it is now possible to easily get [great-looking results](http://i.imgur.com/8jR9lUI.png) with the default freetype2 truetype interpreter.

    1) Modify (or create) `/etc/fonts/local.conf` to contain [these contents](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc). It instructs freetype2 to use good-looking rendering defaults and all [font substitutions originally made by Infinality's fontconfig configuration](http://bohoomil.com/doc/05-fonts/). A big thanks to [tylerswagar](https://github.com/tylerswagar) for creating the font substitution snippet!

  19. @cryzed cryzed revised this gist Jan 10, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -41,8 +41,8 @@ After doing this, refresh the view in pkgbrowser using F5 and sort again by stat
    After taking care of all packages, no packages should be installed anymore when you check `infinality-bundle`, `infinality-bundle-multilib` and `infinality-bundle-fonts` in the sidebar. Your system should now be in a pre-infinality-bundle state.


    Creating an infinality-like fontconfig
    =======================================
    Setting up an Infinality-like fontconfig Configuration
    ======================================================

    From this clean slate we can now restore a similar fontconfig to what it used to be with the infinality-bundle. Thanks to a few comments on previous versions of this article, it is now possible to easily get [great-looking resultss](http://i.imgur.com/8jR9lUI.png) with the default freetype2 truetype interpreter.

  20. @cryzed cryzed revised this gist Jan 10, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@
    General
    =======

    If you installed infinality-bundle or the patched freetype2-infinality you'll most likely recently have run into an error relating to the `harfbuzz` package (>= 1.4.1-1), specifically something like: `/usr/lib/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates`.
    If you installed infinality-bundle or the patched `freetype2-infinality(-ultimate)` package, you'll most likely recently have run into an error relating to the `harfbuzz` package (>= 1.4.1-1), specifically something like: `/usr/lib/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates`.

    This is because the packages provided by the [Infinality](https://wiki.archlinux.org/index.php/Infinality) repositories or even the [freetype2-infinality](https://aur.archlinux.org/packages/freetype2-infinality/) on AUR are and have been outdated for quite some time, since infinality-bundle's creator, [bohoomil](http://bohoomil.com/), has been missing/unresponsive for the past few months. freetype2 since has gotten new features and a changed ABI, one of which is a symbol named `FT_Get_Var_Blend_Coordinates` which the updated libharfbuzz tries to reference.

    @@ -67,4 +67,4 @@ This will enable font anti-aliasing for Java applications according to the instr

    4) After having done all this, restarting the X-server by logging in and out should apply all changes. Try to get used to them, because the future of the infinality-bundle is unknown for now. Keep an eye on [this](https://github.com/bohoomil/fontconfig-ultimate/issues/171) and [this](https://aur.archlinux.org/packages/freetype2-infinality/) and maybe this "guide" if you are curious about changes.

    You should also consider checking `/etc/fonts/conf.d/` for broken symlinks pointing to `/etc/fonts/conf.avail.infinality/...`, that might have been left by the `fc-preset` script if you ran it, and removing them to be thorough. Finally, you can remove the various `infinality-bundle*` repositories from your `/etc/pacman.conf`.
    You should also consider checking `/etc/fonts/conf.d/` for broken symlinks pointing to `/etc/fonts/conf.avail.infinality/...`, that might have been left by the `fc-presets` script if you ran it, and removing them to be thorough. Finally, you can remove the various `infinality-bundle*` repositories from your `/etc/pacman.conf`.
  21. @cryzed cryzed revised this gist Jan 10, 2017. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,9 @@ What this means for you is: you'll need a freetype2 version >= 2.7.1 where this
    Removing the infinality-bundle
    ==============================

    A useful tool to remove all traces of the infinality-bundle will be [pkgbrowser](https://aur.archlinux.org/packages/pkgbrowser/). To prevent problems with using pkgbrowser down the line, start by doing the most important thing first: replacing the various packages from the `infinality-bundle` repository which caused the problem in the first place. Replace all packages listed below (as long as they are installed on your system) with their original versions (make sure to replace the packages all in one go to prevent potential dependency errors: `pacman -S <package1> <package2> ...`):
    If you still have the infinality-bundle installed, specifically `fontconfig-infinality-ultimate`, run `sudo fc-presets set`, choose option 4) to reset and then 5) to quit `fc-presets` -- this will save you some work of removing dead symlinks in step 4) of the guide. If the package is already removed, that is no problem: removing broken symlinks isn't hard and there's only 4 of them.

    A useful tool to remove all traces of the infinality-bundle will be [pkgbrowser](https://aur.archlinux.org/packages/pkgbrowser/). To prevent problems with using pkgbrowser down the line, start by doing the most important thing first: replacing the various packages from the infinality-bundle repository which caused the problem in the first place. Replace all packages listed below (as long as they are installed on your system) with their original versions (make sure to replace the packages all in one go to prevent potential dependency errors: `pacman -S <package1> <package2> ...`):

    * `freetype2-infinality-ultimate` -> `freetype2`
    * `lib32-freetype2-infinality-ultimate` -> `lib32-freetype2`
    @@ -31,7 +33,7 @@ If for some reason you don't want to install pkgbrowser, you can also use `pacma

    If you explicitly installed fonts or font groups (for example `ibfonts-meta-extended`) from the `infinality-bundle-fonts` repository it is advised that you remove these, since some of them were specifically patched to work with the modifications the infinality-bundle made to the various packages mentioned above. The pkgbrowser tool is useful during this process: mark the `infinality-bundle-fonts` in the sidebar and sort using the `Status` column, remove those that were explicitly installed using: `pacman -Rns <package>`. If you simply installed `ibfonts-meta-extended` or a similar group of fonts, `pacman -Rns ibfonts-meta-extended` will have the expected effect.

    After doing this, refresh the view in pkgbrowser using F5 and sort again by status. It is quite possible that still some packages are left which are marked as dependencies: these are packages that were most likely installed as dependencies by other packages, before you started using the infinality-bundle and subsequently replaced by infinality-specific versions. For these, select them and search for the fields "Conflicts with" which should give you a good idea which package they originally replaced. The goal is to replace the infinality-specific versions (ending in -ibx) with the original ones. For example:
    After doing this, refresh the view in pkgbrowser using F5 and sort again by status. It is quite possible that still some packages are left which are marked as dependencies: these are packages that were most likely installed as dependencies by other packages, before you started using the infinality-bundle and subsequently replaced by Infinality-specific versions. For these, select them and search for the fields "Conflicts with" which should give you a good idea which package they originally replaced. The goal is to replace the Infinality-specific versions (ending in -ibx) with the original ones. For example:

    * `t1-urw-fonts-ib` conflicts with `gsfonts`: `pacman -S gsfonts` (answer yes to replace)
    * `ttf-dejavu-ib` conflicts with `ttf-dejavu`: `pacman -S ttf-dejavu` (answer yes to replace)
    @@ -63,6 +65,6 @@ export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true'

    This will enable font anti-aliasing for Java applications according to the instructions found [here](https://wiki.archlinux.org/index.php/java#Better_font_rendering). Without these, fonts in Java applications will look completely aliased, unless a different provider for `java-environment` is used which might implement different font rendering.

    After having done all this, restarting the X-server by logging in and out should apply all changes. Try to get used to them, because the future of the infinality-bundle is unknown for now. Keep an eye on [this](https://github.com/bohoomil/fontconfig-ultimate/issues/171) and [this](https://aur.archlinux.org/packages/freetype2-infinality/) and maybe this "guide" if you are curious about changes.
    4) After having done all this, restarting the X-server by logging in and out should apply all changes. Try to get used to them, because the future of the infinality-bundle is unknown for now. Keep an eye on [this](https://github.com/bohoomil/fontconfig-ultimate/issues/171) and [this](https://aur.archlinux.org/packages/freetype2-infinality/) and maybe this "guide" if you are curious about changes.

    You should also consider checking `/etc/fonts/conf.d/` for broken symlinks pointing to `/etc/fonts/conf.avail.infinality/...`, that might have been left by the `fc-preset` script if you ran it, and removing them to be thorough. Finally, you can remove the various `infinality-bundle*` repositories from your `/etc/pacman.conf`.
  22. @cryzed cryzed revised this gist Jan 10, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    **Disclaimer**: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.

    **Attention**: After following all the steps run `gdk-pixbuf-query-loaders --update-cache` as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc. Also check the comments for any further tips and instructions!
    **Attention**: After following all the steps run `gdk-pixbuf-query-loaders --update-cache` as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc. **Also check the gist's comments for any further tips and instructions!**

    General
    =======
  23. @cryzed cryzed revised this gist Jan 10, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -48,7 +48,7 @@ From this clean slate we can now restore a similar fontconfig to what it used to

    2) Now we need to actually make sure that we have all fonts on the system that were defined as substitutions earlier. Install the package [fonts-meta-extended-lt](https://aur.archlinux.org/packages/fonts-meta-extended-lt/) from the AUR, which will help us install and keep track of which fonts are required to do this. Fonts that are defined as optional dependencies for this PKGBUILD are those that are not yet available in the AUR. A big thanks to [DoctorJellyface](https://github.com/DoctorJellyface) for creating these AUR packages and maintaining them!

    Getting these fonts is no issue, since they are still available in the `infinality-bundle-fonts` repository for now: Enable the `infinality-bundle-fonts` repository again and install all optional dependencies of the `fonts-meta-base` and `fonts-meta-extended-lt` package. Do this by running `pacman -Qi fonts-meta-base fonts-meta-extended-lt` and noting the entries listed unter "Optional Deps". Then install them using `pacman -S <optdep1> <optdep2> ... --asdeps`.
    Getting these fonts is no issue, since they are still available in the `infinality-bundle-fonts` repository for now: Enable the `infinality-bundle-fonts` repository again and install all optional dependencies of the `fonts-meta-base` and `fonts-meta-extended-lt` package. Do this by running `pacman -Qi fonts-meta-base fonts-meta-extended-lt` and noting the entries listed unter "Optional Deps". Then install them using `pacman -S <optdep1> <optdep2> ... --asdeps`. Afterwards disable the repository again.

    3) Modify `/etc/profile.d/jre.sh` if you had the patched openjdk/openjre packages installed to look like this:

  24. @cryzed cryzed revised this gist Jan 10, 2017. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -44,9 +44,9 @@ Creating an infinality-like fontconfig

    From this clean slate we can now restore a similar fontconfig to what it used to be with the infinality-bundle. Thanks to a few comments on previous versions of this article, it is now possible to easily get [great-looking resultss](http://i.imgur.com/8jR9lUI.png) with the default freetype2 truetype interpreter.

    1) Modify (or create) `/etc/fonts/local.conf` to contain [these contents](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc). It instructs freetype2 to use good-looking rendering defaults and all [font substitutions originally made by Infinality's fontconfig configuration](http://bohoomil.com/doc/05-fonts/). A big thanks to @tylerswagar for creating the font substitution snippet!
    1) Modify (or create) `/etc/fonts/local.conf` to contain [these contents](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc). It instructs freetype2 to use good-looking rendering defaults and all [font substitutions originally made by Infinality's fontconfig configuration](http://bohoomil.com/doc/05-fonts/). A big thanks to [tylerswagar](https://github.com/tylerswagar) for creating the font substitution snippet!

    2) Now we need to actually make sure that we have all fonts on the system that were defined as substitutions earlier. Install the package [fonts-meta-extended-lt](https://aur.archlinux.org/packages/fonts-meta-extended-lt/) from the AUR, which will help us install and keep track of which fonts are required to do this. Fonts that are defined as optional dependencies for this PKGBUILD are those that are not yet available in the AUR. A big thanks to @DoctorJellyface for creating these AUR packages and maintaining them!
    2) Now we need to actually make sure that we have all fonts on the system that were defined as substitutions earlier. Install the package [fonts-meta-extended-lt](https://aur.archlinux.org/packages/fonts-meta-extended-lt/) from the AUR, which will help us install and keep track of which fonts are required to do this. Fonts that are defined as optional dependencies for this PKGBUILD are those that are not yet available in the AUR. A big thanks to [DoctorJellyface](https://github.com/DoctorJellyface) for creating these AUR packages and maintaining them!

    Getting these fonts is no issue, since they are still available in the `infinality-bundle-fonts` repository for now: Enable the `infinality-bundle-fonts` repository again and install all optional dependencies of the `fonts-meta-base` and `fonts-meta-extended-lt` package. Do this by running `pacman -Qi fonts-meta-base fonts-meta-extended-lt` and noting the entries listed unter "Optional Deps". Then install them using `pacman -S <optdep1> <optdep2> ... --asdeps`.

    @@ -65,4 +65,4 @@ This will enable font anti-aliasing for Java applications according to the instr

    After having done all this, restarting the X-server by logging in and out should apply all changes. Try to get used to them, because the future of the infinality-bundle is unknown for now. Keep an eye on [this](https://github.com/bohoomil/fontconfig-ultimate/issues/171) and [this](https://aur.archlinux.org/packages/freetype2-infinality/) and maybe this "guide" if you are curious about changes.

    You should also consider checking `/etc/fonts/conf.d/` for broken symlinks pointing to `/etc/fonts/conf.avail.infinality/...`, that might have been left by the `fc-preset` script if you ran it, and removing them to be thorough. Finally, you can remove the various `infinality-bundle*` repositories from your `/etc/pacman.conf`.
    You should also consider checking `/etc/fonts/conf.d/` for broken symlinks pointing to `/etc/fonts/conf.avail.infinality/...`, that might have been left by the `fc-preset` script if you ran it, and removing them to be thorough. Finally, you can remove the various `infinality-bundle*` repositories from your `/etc/pacman.conf`.
  25. @cryzed cryzed revised this gist Jan 10, 2017. 1 changed file with 13 additions and 89 deletions.
    102 changes: 13 additions & 89 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -2,12 +2,19 @@

    **Attention**: After following all the steps run `gdk-pixbuf-query-loaders --update-cache` as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc. Also check the comments for any further tips and instructions!

    General
    =======

    If you installed infinality-bundle or the patched freetype2-infinality you'll most likely recently have run into an error relating to the `harfbuzz` package (>= 1.4.1-1), specifically something like: `/usr/lib/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates`.

    This is because the packages provided by the [Infinality](https://wiki.archlinux.org/index.php/Infinality) repositories or even the [freetype2-infinality](https://aur.archlinux.org/packages/freetype2-infinality/) on AUR are and have been outdated for quite some time, since infinality-bundle's creator, [bohoomil](http://bohoomil.com/), has been missing/unresponsive for the past few months. freetype2 since has gotten new features and a changed ABI, one of which is a symbol named `FT_Get_Var_Blend_Coordinates` which the updated libharfbuzz tries to reference.

    What this means for you is: you'll need a freetype2 version >= 2.7.1 where this change was initially [introduced](https://sourceforge.net/projects/freetype/files/freetype2/2.7.1/). Since the future of the infinality-bundle is uncertain this is a good time as any to bite the bullet and remove it completely from your system until more is known. The font rendering won't be exactly the same, but with a few tweaks it will at least be similar.


    Removing the infinality-bundle
    ==============================

    A useful tool to remove all traces of the infinality-bundle will be [pkgbrowser](https://aur.archlinux.org/packages/pkgbrowser/). To prevent problems with using pkgbrowser down the line, start by doing the most important thing first: replacing the various packages from the `infinality-bundle` repository which caused the problem in the first place. Replace all packages listed below (as long as they are installed on your system) with their original versions (make sure to replace the packages all in one go to prevent potential dependency errors: `pacman -S <package1> <package2> ...`):

    * `freetype2-infinality-ultimate` -> `freetype2`
    @@ -31,64 +38,20 @@ After doing this, refresh the view in pkgbrowser using F5 and sort again by stat

    After taking care of all packages, no packages should be installed anymore when you check `infinality-bundle`, `infinality-bundle-multilib` and `infinality-bundle-fonts` in the sidebar. Your system should now be in a pre-infinality-bundle state.

    To get back at least similar font rendering to that what it used to be with the infinality-bundle there are a few things you can do (check at the bottom for an alternative approach to step 2) using the new default freetype2 truetrype interpreter):

    1) Modify `/etc/profile.d/freetype2.sh` to look like this:
    Creating an infinality-like fontconfig
    =======================================

    ```bash
    # Subpixel hinting mode can be chosen by setting the right TrueType interpreter
    # version. The available settings are:
    #
    # truetype:interpreter-version=35 # Classic mode (default in 2.6)
    # truetype:interpreter-version=38 # Infinality mode
    # truetype:interpreter-version=40 # Minimal mode (default in 2.7)
    #
    # There are more properties that can be set, separated by whitespace. Please
    # refer to the FreeType documentation for details.

    # Uncomment and configure below
    export FREETYPE_PROPERTIES="truetype:interpreter-version=38"
    ```
    From this clean slate we can now restore a similar fontconfig to what it used to be with the infinality-bundle. Thanks to a few comments on previous versions of this article, it is now possible to easily get [great-looking resultss](http://i.imgur.com/8jR9lUI.png) with the default freetype2 truetype interpreter.

    This will enable the infinality interpreter that was recently added to the official freetype2 project. It takes selected patches that Infinality originally made to freetype2 and uses them -- although the behaviour is not 100% identical.

    2) Modify (or create) `/etc/fonts/local.conf` to look like this (consider commenting out the "autohint"-section: I've since read a few times that it shouldn't be needed and that Infinality only enabled it for fonts that weren't properly hinted):

    ```xml
    <?xml version='1.0'?>
    <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
    <fontconfig>
    <match target="font">
    <edit name="rgba" mode="assign">
    <const>rgb</const>
    </edit>
    <edit name="hinting" mode="assign">
    <bool>true</bool>
    </edit>
    <edit name="autohint" mode="assign">
    <bool>true</bool>
    </edit>
    <edit name="antialias" mode="assign">
    <bool>true</bool>
    </edit>
    <edit name="hintstyle" mode="assign">
    <const>hintslight</const>
    </edit>
    <edit name="lcdfilter" mode="assign">
    <const>lcddefault</const>
    </edit>
    </match>
    </fontconfig>
    ```
    1) Modify (or create) `/etc/fonts/local.conf` to contain [these contents](https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc). It instructs freetype2 to use good-looking rendering defaults and all [font substitutions originally made by Infinality's fontconfig configuration](http://bohoomil.com/doc/05-fonts/). A big thanks to @tylerswagar for creating the font substitution snippet!

    These are the base-settings that were applied by `/etc/fonts/conf.d/10-base-rendering.conf`, installed by the package
    `fontconfig-infinality-ultimate`. There are of course other ways to configure these or instruct freetype2 to load them, however if you are aware of them you probably know what you are doing and this guide is most likely useless to you.
    2) Now we need to actually make sure that we have all fonts on the system that were defined as substitutions earlier. Install the package [fonts-meta-extended-lt](https://aur.archlinux.org/packages/fonts-meta-extended-lt/) from the AUR, which will help us install and keep track of which fonts are required to do this. Fonts that are defined as optional dependencies for this PKGBUILD are those that are not yet available in the AUR. A big thanks to @DoctorJellyface for creating these AUR packages and maintaining them!

    (Check at the bottom for an alternative approach, using the default interpreter mode)
    Getting these fonts is no issue, since they are still available in the `infinality-bundle-fonts` repository for now: Enable the `infinality-bundle-fonts` repository again and install all optional dependencies of the `fonts-meta-base` and `fonts-meta-extended-lt` package. Do this by running `pacman -Qi fonts-meta-base fonts-meta-extended-lt` and noting the entries listed unter "Optional Deps". Then install them using `pacman -S <optdep1> <optdep2> ... --asdeps`.

    3) Modify `/etc/profile.d/jre.sh` if you had the patched openjdk/openjre packages installed to look like this:


    ```bash
    # Do not change this unless you want to completely by-pass Arch Linux' way
    # of handling Java versions and vendors. Instead, please use script `archlinux-java`
    @@ -103,42 +66,3 @@ This will enable font anti-aliasing for Java applications according to the instr
    After having done all this, restarting the X-server by logging in and out should apply all changes. Try to get used to them, because the future of the infinality-bundle is unknown for now. Keep an eye on [this](https://github.com/bohoomil/fontconfig-ultimate/issues/171) and [this](https://aur.archlinux.org/packages/freetype2-infinality/) and maybe this "guide" if you are curious about changes.

    You should also consider checking `/etc/fonts/conf.d/` for broken symlinks pointing to `/etc/fonts/conf.avail.infinality/...`, that might have been left by the `fc-preset` script if you ran it, and removing them to be thorough. Finally, you can remove the various `infinality-bundle*` repositories from your `/etc/pacman.conf`.

    **Important**: Now, check out [this](https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671#gistcomment-1966050) comment (and those below it) on how to get back the various fonts and font replacements that infinality used to use, which are responsible for 99% of the nice font rendering that you were used to.

    ---

    After doing some more research, here's a way to also get sane and good-looking defaults using the default freetype2 truetype interpreter:

    * Edit `/etc/profile.d/freetype2.sh` and make sure that either all lines are commented (since version 40 is the default) or that `FREETYPE_PROPERTIES` is set to `truetype:interpreter-version=40`.
    * Edit `/etc/fonts/local.conf` to look like this:

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

    That's it. It looks pretty good to me.

    ---

    [This](https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671#gistcomment-1966336) is what my configuration looks like now (after a few more changes), yielding results extremely close to the old infinality-bundle configuration.
  26. @cryzed cryzed revised this gist Jan 9, 2017. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -137,4 +137,8 @@ After doing some more research, here's a way to also get sane and good-looking d
    </fontconfig>
    ```

    That's it. It looks pretty good to me.
    That's it. It looks pretty good to me.

    ---

    [This](https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671#gistcomment-1966336) is what my configuration looks like now (after a few more changes), yielding results extremely close to the old infinality-bundle configuration.
  27. @cryzed cryzed revised this gist Jan 9, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.
    **Disclaimer**: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.

    **Attention**: After following all the steps run `gdk-pixbuf-query-loaders --update-cache` as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.
    **Attention**: After following all the steps run `gdk-pixbuf-query-loaders --update-cache` as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc. Also check the comments for any further tips and instructions!

    If you installed infinality-bundle or the patched freetype2-infinality you'll most likely recently have run into an error relating to the `harfbuzz` package (>= 1.4.1-1), specifically something like: `/usr/lib/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates`.

  28. @cryzed cryzed revised this gist Jan 9, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -104,7 +104,7 @@ After having done all this, restarting the X-server by logging in and out should

    You should also consider checking `/etc/fonts/conf.d/` for broken symlinks pointing to `/etc/fonts/conf.avail.infinality/...`, that might have been left by the `fc-preset` script if you ran it, and removing them to be thorough. Finally, you can remove the various `infinality-bundle*` repositories from your `/etc/pacman.conf`.

    Now, optionally, check out [this](https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671#gistcomment-1966050) comment on how to get back the various fonts and font replacements that infinality used to use, which are responsible for a big part of the font rendering that you were used to.
    **Important**: Now, check out [this](https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671#gistcomment-1966050) comment (and those below it) on how to get back the various fonts and font replacements that infinality used to use, which are responsible for 99% of the nice font rendering that you were used to.

    ---

  29. @cryzed cryzed revised this gist Jan 9, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -104,6 +104,8 @@ After having done all this, restarting the X-server by logging in and out should

    You should also consider checking `/etc/fonts/conf.d/` for broken symlinks pointing to `/etc/fonts/conf.avail.infinality/...`, that might have been left by the `fc-preset` script if you ran it, and removing them to be thorough. Finally, you can remove the various `infinality-bundle*` repositories from your `/etc/pacman.conf`.

    Now, optionally, check out [this](https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671#gistcomment-1966050) comment on how to get back the various fonts and font replacements that infinality used to use, which are responsible for a big part of the font rendering that you were used to.

    ---

    After doing some more research, here's a way to also get sane and good-looking defaults using the default freetype2 truetype interpreter:
  30. @cryzed cryzed revised this gist Jan 9, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-infinality.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.

    **Attention**: If Cinnamon should fail to start after having applied these steps, try reinstalling `gdk-pixbuf2` and `lib32-gdk-pixbuf2`. Check the comments of this gist for more information.
    **Attention**: After following all the steps run `gdk-pixbuf-query-loaders --update-cache` as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.

    If you installed infinality-bundle or the patched freetype2-infinality you'll most likely recently have run into an error relating to the `harfbuzz` package (>= 1.4.1-1), specifically something like: `/usr/lib/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates`.