View previous topic :: View next topic |
Author |
Message |
fau n00b
Joined: 01 Apr 2010 Posts: 74
|
Posted: Sat May 09, 2015 11:23 am Post subject: |
|
|
kernelOfTruth: Thanks. I think we made a good use of your LINGUAS suggestion
It's in the main portage tree and some new fonts too - Signika (fantasy/Comic Sans), Courier Prime (Courier New) and TeX Gyre (cursive/others)!
Basically, as described here, we've got full base, partial extended set coverate and almost all non-latin fonts from extended-extra.
The package you want to add to your world set is media-fonts/infinality-ultimate-meta now.
If you've got any problems with config protection while updating use CONFIG_PROTECT_MASK="/etc/fonts/" env var.
Here are screenshots (with all LINGUAS enabled, which I strongly do NOT recommend. You are gonna get most scripts covered by noto fonts anyway). I've been using it for a week or so and there are noticeable improvements over previous version.
http://postimg.org/gallery/wwci2312/
I'm gonna add a wiki entry soon. Again thanks to yngwin who let me proxy maintain it and helped with updating ebuild.
PS This topic doesn't belong to "Unsupported Software" anymore. |
|
Back to top |
|
|
The Main Man Veteran
Joined: 27 Nov 2014 Posts: 1165 Location: /run/user/1000
|
Posted: Wed Aug 12, 2015 1:17 am Post subject: |
|
|
Thanks for the package, really makes a difference.
How's Wiki going, is it up yet ? |
|
Back to top |
|
|
yagami Apprentice
Joined: 12 May 2002 Posts: 269 Location: Leiria, Portugal
|
|
Back to top |
|
|
mrpdaemon Tux's lil' helper
Joined: 23 Aug 2004 Posts: 134
|
Posted: Wed Jul 27, 2016 4:57 am Post subject: |
|
|
Does this still work with freetype 2.6.5 ? I'm getting pretty bad font rendering with infinality-ultimate on freetype-2.6.5 (but everything looks great on freetype 2.6.3). |
|
Back to top |
|
|
yagami Apprentice
Joined: 12 May 2002 Posts: 269 Location: Leiria, Portugal
|
Posted: Wed Jul 27, 2016 9:12 am Post subject: |
|
|
mrpdaemon wrote: | Does this still work with freetype 2.6.5 ? I'm getting pretty bad font rendering with infinality-ultimate on freetype-2.6.5 (but everything looks great on freetype 2.6.3). |
Well, at least my package, no. I am currently using 2.6.5 with USE="cleartype_hinting -infinality" |
|
Back to top |
|
|
The Main Man Veteran
Joined: 27 Nov 2014 Posts: 1165 Location: /run/user/1000
|
Posted: Wed Jul 27, 2016 12:51 pm Post subject: |
|
|
In my case I masked freetype 2.6.5 and I'm using fontconfig-ultimate-9999.ebuild
Looks better than with freetype 2.6.5
I dunno, interesting situation... bohoomil seems to be MIA since freetype 2.6.5 came out, some say there's no reason at all to run infinality now since it's included in freetype 2.6.5, but some disagree. |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1768 Location: PB, Germany
|
Posted: Thu Sep 15, 2016 1:13 pm Post subject: |
|
|
So today, there is no recommendation for fontconfig-infinality anymore? And infinality-ultimate-meta, as infinality is part of freetype 2.6.5 when USE="infinality" is enabled? Why do you have USE="cleartype_hinting -infinality"? _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Thu Sep 15, 2016 3:53 pm Post subject: |
|
|
Newer freetype hinting improvements have rendered infinality obsolete. The built in code is also much faster. |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1768 Location: PB, Germany
|
Posted: Fri Sep 16, 2016 6:13 am Post subject: |
|
|
Sounds good. Though this information has not arrived in https://wiki.gentoo.org/wiki/Fontconfig#Infinality yet.
But then we need to summarize what setup is required to use that, differing from the initial howto text.
Before there was eselect fontconfig with 52-infinality.conf only, and eselect infinality and eselect lcdfilter.
Without infinality all the 52-infinality.conf and eselect infinality don't exist anymore. Should I just go back to enable just one single favourite font in eselect fontconfig? What does that actually do? Fonts not enabled there are just not available to desktop environments?
Then which USE flags for freetype are recommended? Only "cleartype_hinting" and disabled "-infinality" as infinality is obsolete? _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1768 Location: PB, Germany
|
Posted: Fri Sep 16, 2016 7:06 am Post subject: |
|
|
After reading https://wiki.archlinux.org/index.php/Infinality was told by people on #archlinux that infinality today just ships a set of configurations, that can still be useful. I'm confused. So following out initial howto would that make use of the faster code in latest freetype?
Update: https://lists.nongnu.org/archive/html/freetype-devel/2016-07/msg00091.html
After reading that, is my guess correct, that USE="cleartype_hinting" is the new v40, while USE="infinality" is the older v38? While the can only be enabled XOR? _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
The Main Man Veteran
Joined: 27 Nov 2014 Posts: 1165 Location: /run/user/1000
|
Posted: Fri Sep 16, 2016 5:53 pm Post subject: |
|
|
I switched today from infinality to clear type hinting, can't say it's better, it's not worse either, but it's different and I think I like it more !
@Massimo B. , I'm not sure but I think that fonts which are enabled with eselect fontconfig will use font hinting. |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1768 Location: PB, Germany
|
Posted: Wed Sep 21, 2016 8:47 am Post subject: |
|
|
I have to admit, after switching to clear type, the hinting is more sharp but has more edges, looking like MS Windows. The infinality was very smooth, but a bit blurry. Can't tell for now which I prefer. But switching seems to be harder as it requires a new compilation and X restart. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1768 Location: PB, Germany
|
Posted: Thu Sep 29, 2016 7:59 am Post subject: |
|
|
Hi, I switched back to the guide of this thread, emerged freetype with USE="infinality -cleartype_hinting" : Code: | # eselect infinality show ; eselect lcdfilter show
Current style symlink:
/etc/fonts/infinality/styles.conf.avail/ultimate-free
Current lcdfilter style symlink:
/usr/share/eselect-lcdfilter/env.d/ultimate | I prefer that hinting more than cleartype. Looks quite sharp, but the only con is that some characters like ']' in some small sizes have coloured edges that I can't get fixed changing the subpixel type:
https://picload.org/image/rddoacla/hinting.png
As for the performance I have not idea where an impact could be noticed.
About firefox: There seems to be no USE="system-cairo" anymore today but I see Firefox already using the set hinting after restart. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
papu l33t
Joined: 25 Jan 2008 Posts: 709 Location: Sota algun pi o alzina...
|
Posted: Thu Dec 08, 2016 1:50 pm Post subject: |
|
|
i have changed from media-libs/fontconfig-ultimate to media-libs/freetype-2.7-r2 but i didn't save my default fontconfig.
somebody can paste your default eselect fontconfig list? this is mine and don't know if is possible to getting it better...
Code: | eselect fontconfig list
Available fontconfig .conf files (* is enabled):
[1] 10-autohint.conf
[2] 10-hinting-full.conf
[3] 10-hinting-medium.conf
[4] 10-hinting-none.conf
[5] 10-hinting-slight.conf
[6] 10-no-sub-pixel.conf
[7] 10-scale-bitmap-fonts.conf *
[8] 10-sub-pixel-bgr.conf
[9] 10-sub-pixel-rgb.conf *
[10] 10-sub-pixel-vbgr.conf
[11] 10-sub-pixel-vrgb.conf
[12] 10-unhinted.conf
[13] 11-lcdfilter-default.conf *
[14] 11-lcdfilter-legacy.conf
[15] 11-lcdfilter-light.conf
[16] 20-unhint-small-vera.conf *
[17] 25-unhint-nonlatin.conf
[18] 30-metric-aliases.conf *
[19] 30-urw-aliases.conf *
[20] 40-nonlatin.conf
[21] 45-latin.conf *
[22] 49-sansserif.conf *
[23] 50-user.conf *
[24] 51-local.conf *
[25] 60-latin.conf *
[26] 60-liberation.conf
[27] 65-fonts-persian.conf *
[28] 65-khmer.conf
[29] 65-nonlatin.conf *
[30] 69-unifont.conf *
[31] 70-no-bitmaps.conf
[32] 70-yes-bitmaps.conf *
[33] 80-delicious.conf *
[34] 90-roboto-regular.conf *
[35] 90-synthetic.conf *
[36] 99pdftoopvp.conf |
What are the benefits of harfbuzz support?
https://i.imgur.com/hv7IwOg.png
Code: | Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r3, 4.8.12-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.8.12-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-6600_CPU_@_3.30GHz-with-gentoo-2.3
KiB Mem: 16360352 total, 9504440 free
KiB Swap: 17301500 total, 17301500 free
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash: 4.4_p5-r1::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.24.1_rc4::gentoo
dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake: 3.7.1::gentoo
dev-util/pkgconfig: 0.29.1::gentoo
sys-apps/baselayout: 2.3::gentoo
sys-apps/openrc: 0.22.4::gentoo
sys-apps/sandbox: 2.10-r2::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake: 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.27::gentoo
sys-devel/gcc: 4.9.3::gentoo, 5.4.0::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r2::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.8::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r3::gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
L10N="ca"
LANG="ca_ES.UTF-8"
LANGUAGE="ca"
|
thanks you! _________________ "~amd64" --cpu 7700 non-x --DDR5 2x16GB 6000MHz --gpu RX 470 |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1768 Location: PB, Germany
|
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 723 Location: /home
|
Posted: Wed Mar 14, 2018 10:24 am Post subject: |
|
|
Well, this is a matter of taste I believe more than anything. In my opinion in that bug report the "ugly fonts" picture is a lot better than the "nice fonts" one. Letterspacing is more even and to me its easier to read the text.
However I do agree that something changed when updating fontconfig from 2.12.6 to 2.13.0. For me, the 'serif' type of text became unreadable. Everything else pretty much looked the same. So yea, I think it's time to get rid of infinality going forward. I gotta say, I always thought infinality patches were merged to upstream freetype anyway a long time ago, but maybe thats not the case then.
Following your link, https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671 it wasnt that complicated to get rid of infinality.
First I 'forked' media-fonts/infinality-ultimate-meta to my local overlay and removed the dependency for media-libs/fontconfig-ultimate because that pulls a package that depends on freetype[infinality]. I wanted to keep infinality-ultimate-meta installed because it installs so many fonts needed to browse the web these days.
Code: |
--- /usr/portage/media-fonts/infinality-ultimate-meta/infinality-ultimate-meta-1.ebuild 2018-03-10 09:08:28.185702243 +0200
+++ ./infinality-ultimate-meta-1-r1.ebuild 2018-03-14 10:43:24.817087715 +0200
@@ -18,7 +18,7 @@
done
unset lang LANGS
-RDEPEND="media-libs/fontconfig-ultimate
+RDEPEND="
free? (
media-fonts/noto
media-fonts/heuristica
|
and removed 'infinality' use flag from my make.conf and removed this line from package.use
Quote: |
media-libs/freetype -cleartype_hinting infinality
|
ran emerge -ND world and --depclean -a after.
Then I enabled the settings mentioned in your guide with eselect fontconfig enable
Code: |
10-sub-pixel-rgb.conf *
11-lcdfilter-default.conf *
51-local.conf *
|
make sure infinality.conf isnt in your list anymore, and if it is, disable it. Then edit /etc/fonts/local.conf with the file included in that guide ( https://gist.github.com/cryzed/4f64bb79e80d619866ee0b18ba2d32fc with the updated lines below in that link )
Relog to X session and fonts look good with fontconfig-2.13.0. Especially the face with serif-type fonts has gotten better. However I do think adding that local.conf does miracles even with infinality enabled.
However as they say in that guide, its better to migrate away now because sooner or later everyone will have to. |
|
Back to top |
|
|
|