View previous topic :: View next topic |
Author |
Message |
NightMonkey Guru
Joined: 21 Mar 2003 Posts: 356 Location: Philadelphia, PA
|
Posted: Tue Mar 30, 2021 7:36 pm Post subject: Replacement for media-libs/fontconfig-ultimate and friends? |
|
|
Howdy. I just set up a new Gentoo laptop, which is working great. I had been using this package 'media-libs/fontconfig-ultimate' to make it easy to get readable, well-formed fonts on Gentoo (or the best I could get), and used this approach again with my new laptop. Saw the Portage notice today that this package is masked, is dead, and scheduled for removal. Looks like media-libs/fontconfig-infinality is set to go, too (which is referenced here: https://wiki.gentoo.org/wiki/Fontconfig ). Does anyone have a reference to other methods to easily get decent fonts and typography in Gentoo? I see the Wiki has instructions for how to use the various tools, but I've not found a modern approach that just gets you what people have come to expect from other desktop OSes (Linux or otherwise).
Code: |
!!! The following installed packages are masked:
- media-libs/fontconfig-ultimate-2015.08.01::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2021-03-27)
# Dead upstream. Bugs #437056, #453964, #550592, #768303
# Removal on 2021-04-26.
- app-eselect/eselect-lcdfilter-2::gentoo (masked by: package.mask)
- app-eselect/eselect-infinality-1.1::gentoo (masked by: package.mask)
- media-libs/fontconfig-infinality-20130404::gentoo (masked by: package.mask)
|
Thanks in advance! _________________
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Tue Mar 30, 2021 7:59 pm Post subject: |
|
|
Maybe this
Code: | $ eix media-fonts/fonts-meta
* media-fonts/fonts-meta
Available versions: ~1-r2 {+free +latin ms L10N="as bn bo brx doi dz gu hi ja km kn ko kok ks mai ml mr ne or pa sa sat sd si syc ta te zh"}
Homepage: https://wiki.gentoo.org/wiki/No_homepage
Description: Meta package for fonts to cover most needs |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Tue Mar 30, 2021 11:34 pm Post subject: |
|
|
I use the settings below:
Code: | <?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file to configure system font access -->
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign"><bool>true</bool></edit>
<edit name="autohint" mode="assign"><bool>false</bool></edit>
<edit name="hinting" mode="assign"><bool>true</bool></edit>
<edit name="hintstyle" mode="assign"><const>hintslight</const></edit>
<edit name="rgba" mode="assign"><const>none</const></edit>
<edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
</match>
<match target="pattern">
<edit name="dpi" mode="assign">
<double>96</double>
</edit>
</match>
<!--- more rules here --->
</fontconfig> |
Either configure those settings using 'eselect fontconfig' OR write the block above to /etc/fonts/local.conf AND disable all corresponding settings in 'eselect fontconfig'.
Some desktop environments have their own font configuration dialogs. You may have to configure the settings above there as well. |
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 724 Location: /home
|
|
Back to top |
|
|
NightMonkey Guru
Joined: 21 Mar 2003 Posts: 356 Location: Philadelphia, PA
|
Posted: Wed Mar 31, 2021 3:21 pm Post subject: |
|
|
Thank you for this. Yes, I'm running Fluxbox, so I am in the 'chances: zero' category the post you linked mentions. However, since Infinality is being removed from Portage, this is bittersweet to see this helpful post become less so. _________________
|
|
Back to top |
|
|
dewke Tux's lil' helper
Joined: 01 Jun 2004 Posts: 77 Location: The sunshine state
|
Posted: Mon May 10, 2021 2:39 pm Post subject: |
|
|
NightMonkey wrote: |
Thank you for this. Yes, I'm running Fluxbox, so I am in the 'chances: zero' category the post you linked mentions. However, since Infinality is being removed from Portage, this is bittersweet to see this helpful post become less so. |
I use fluxbox too. I've been able to cobble together decent looking fonts, but would love to compare notes. _________________ Oderint dum metuant
-Caligula |
|
Back to top |
|
|
|