Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Replacement for media-libs/fontconfig-ultimate and friends?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
NightMonkey
Guru
Guru


Joined: 21 Mar 2003
Posts: 356
Location: Philadelphia, PA

PostPosted: Tue Mar 30, 2021 7:36 pm    Post subject: Replacement for media-libs/fontconfig-ultimate and friends? Reply with quote

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! :)
_________________
:D
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Tue Mar 30, 2021 7:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Tue Mar 30, 2021 11:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 724
Location: /home

PostPosted: Wed Mar 31, 2021 5:51 am    Post subject: Reply with quote

After infinality, settings provided by https://blog.aktsbot.in/better-font-rendering-linux.html got me enjoyable fonts. I use ubuntu for general font.
Back to top
View user's profile Send private message
NightMonkey
Guru
Guru


Joined: 21 Mar 2003
Posts: 356
Location: Philadelphia, PA

PostPosted: Wed Mar 31, 2021 3:21 pm    Post subject: Reply with quote

Juippisi wrote:
After infinality, settings provided by https://blog.aktsbot.in/better-font-rendering-linux.html got me enjoyable fonts. I use ubuntu for general font.


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. :(
_________________
:D
Back to top
View user's profile Send private message
dewke
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 77
Location: The sunshine state

PostPosted: Mon May 10, 2021 2:39 pm    Post subject: Reply with quote

NightMonkey wrote:
Juippisi wrote:
After infinality, settings provided by https://blog.aktsbot.in/better-font-rendering-linux.html got me enjoyable fonts. I use ubuntu for general font.


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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum