-
-
Save akemrir/38c3fea43c56fda0e60ce95d15d244dc to your computer and use it in GitHub Desktop.
Revisions
-
cryzed revised this gist
Jan 23, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 `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) -
cryzed revised this gist
Jan 23, 2017 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
cryzed revised this gist
Jan 23, 2017 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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! 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: -
cryzed revised this gist
Jan 16, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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.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 ======= -
cryzed revised this gist
Jan 15, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 ======= -
cryzed revised this gist
Jan 15, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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! **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 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: -
cryzed revised this gist
Jan 11, 2017 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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.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! -
cryzed revised this gist
Jan 11, 2017 . 1 changed file with 12 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 ======= -
cryzed revised this gist
Jan 11, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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/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` -
cryzed revised this gist
Jan 11, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Changelog </edit> </match> ``` 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 -
cryzed revised this gist
Jan 11, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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"> -
cryzed revised this gist
Jan 11, 2017 . 1 changed file with 16 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) 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! -
cryzed revised this gist
Jan 11, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,8 +7,8 @@ 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). General ======= -
cryzed revised this gist
Jan 10, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 ======= -
cryzed revised this gist
Jan 10, 2017 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 ======= -
cryzed revised this gist
Jan 10, 2017 . No changes.There are no files selected for viewing
-
cryzed revised this gist
Jan 10, 2017 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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. **Check the gist's comments for any further tips and instructions, especially if you are running into problems!** General ======= -
cryzed revised this gist
Jan 10, 2017 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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. 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! -
cryzed revised this gist
Jan 10, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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. 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. -
cryzed revised this gist
Jan 10, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ General ======= 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-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`. -
cryzed revised this gist
Jan 10, 2017 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 ============================== 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: * `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. 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`. -
cryzed revised this gist
Jan 10, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 gist's comments for any further tips and instructions!** General ======= -
cryzed revised this gist
Jan 10, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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`. 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: -
cryzed revised this gist
Jan 10, 2017 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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](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! 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`. -
cryzed revised this gist
Jan 10, 2017 . 1 changed file with 13 additions and 89 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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. 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! 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! 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`. -
cryzed revised this gist
Jan 9, 2017 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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. --- [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. -
cryzed revised this gist
Jan 9, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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! 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`. -
cryzed revised this gist
Jan 9, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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`. **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. --- -
cryzed revised this gist
Jan 9, 2017 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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: -
cryzed revised this gist
Jan 9, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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. 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`.
NewerOlder