View previous topic :: View next topic |
Author |
Message |
Infinality n00b
Joined: 12 Aug 2010 Posts: 24 Location: Wisconsin, USA
|
|
Back to top |
|
|
illuminated n00b
Joined: 28 Dec 2010 Posts: 48
|
|
Back to top |
|
|
bi3l Apprentice
Joined: 06 Feb 2003 Posts: 268 Location: France
|
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Mon Dec 26, 2011 2:25 pm Post subject: |
|
|
Thank you very much for your fantastic work!
May I ask you whether you have any plans to implement the new fontconfig
structure as Infinality introduced it with the new release from 23-12-2011?
Kindly yours
swimmer |
|
Back to top |
|
|
bi3l Apprentice
Joined: 06 Feb 2003 Posts: 268 Location: France
|
Posted: Mon Dec 26, 2011 4:31 pm Post subject: |
|
|
[quote="swimmer"] bi3l wrote: | May I ask you whether you have any plans to implement the new fontconfig
structure as Infinality introduced it with the new release from 23-12-2011? |
Yes, but I have to analyze what infinality did. _________________ OGMRip - LCD filtering (Wiki) |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Mon Dec 26, 2011 4:36 pm Post subject: |
|
|
bi3l wrote: | Yes, but I have to analyze what infinality did. |
Good to hear And please don't feel any pressure and take your time to
analyze that beast ... |
|
Back to top |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Fri Jan 13, 2012 3:18 pm Post subject: |
|
|
Did anyone noticed that small fonts are unreadable small? For example size 8 is uber small but something about 12 is smaller than 11, after reverting the patches everything is all right. Openbox's menu and qt4 apps was unreadable. |
|
Back to top |
|
|
^marcs Apprentice
Joined: 09 Mar 2005 Posts: 169
|
Posted: Thu Feb 09, 2012 5:24 pm Post subject: |
|
|
Ay there!
Just wanted to ask when we could expect patched cairo-1.10.2-r2 in overlay?
cairo-1.10.2-r1 is blocking qt-4.8 update due to some important patches being added in r2 rev.
Thanks for great job. |
|
Back to top |
|
|
Helmering n00b
Joined: 13 Dec 2011 Posts: 63 Location: Italy
|
Posted: Fri Feb 10, 2012 4:21 pm Post subject: |
|
|
^marcs wrote: | Ay there!
cairo-1.10.2-r1 is blocking qt-4.8 update due to some important patches being added in r2 rev. |
The only difference beetween r1 and r2 is the qt-surface patch.
here's the patch for the ebuild:
Code: | 77a78
> epatch "${FILESDIR}"/${P}-qt-surface.patch |
The "cairo-1.10.2-qt-surface.patch" has to be copied into the files directory of the lcdfilter overlay
Is working fine here
bye, Ralf |
|
Back to top |
|
|
^marcs Apprentice
Joined: 09 Mar 2005 Posts: 169
|
Posted: Fri Feb 10, 2012 5:36 pm Post subject: |
|
|
Thanks for the tip! |
|
Back to top |
|
|
zhou13 n00b
Joined: 18 Nov 2010 Posts: 22
|
Posted: Sat Feb 11, 2012 2:06 pm Post subject: |
|
|
Could you make an upgrade to r2 please? The overlay is out of date. |
|
Back to top |
|
|
bi3l Apprentice
Joined: 06 Feb 2003 Posts: 268 Location: France
|
Posted: Sat Feb 11, 2012 7:20 pm Post subject: |
|
|
zhou13 wrote: | Could you make an upgrade to r2 please? The overlay is out of date. |
Done. _________________ OGMRip - LCD filtering (Wiki) |
|
Back to top |
|
|
Ld.dD n00b
Joined: 18 Feb 2012 Posts: 3
|
Posted: Sun Feb 19, 2012 1:18 am Post subject: |
|
|
Among all font rendering I've seen on Linux so far I like what's Ubuntu doing the most. I'm trying to match that in Gentoo, without success.
My settings:
overlay set up according to wiki http://gitorious.org/lcd-filtering
usage: source ft-settings.sh ubuntu (but tried most of the others as well)
# eselect fontconfig list
[1] 10-antialias.conf *
[2] 10-autohint.conf * (tried disabling as well)
[3] 10-hinting-full.conf (tried as well)
[4] 10-hinting-medium.conf *
[5] 10-hinting-slight.conf (tried as well)
[6] 10-hinting.conf *
[7] 10-no-sub-pixel.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-lcd-filter-lcddefault.conf *
[14] 20-fix-globaladvance.conf *
[15] 20-hinting-small-fonts-slight.conf *
[16] 20-unhint-small-dejavu-sans-mono.conf
[17] 20-unhint-small-dejavu-sans.conf
[18] 20-unhint-small-dejavu-serif.conf
[19] 20-unhint-small-vera.conf *
[20] 21-hinting-small-aquabase-slight.conf *
[21] 21-hinting-small-arial-black-slight.conf
[22] 21-hinting-small-browallia-slight.conf *
[23] 22-hinting-courier-italic-slight.conf *
[24] 25-hinting-non-tt-instructed-slight.conf
[25] 25-hinting-tt-instructed-full.conf
[26] 25-hinting-tt-instructed-none.conf
[27] 25-hinting-tt-instructed-slight.conf
[28] 25-unhint-nonlatin.conf
[29] 30-metric-aliases.conf *
[30] 30-urw-aliases.conf *
[31] 40-nonlatin.conf *
[32] 45-latin.conf *
[33] 49-sansserif.conf *
[34] 50-user.conf *
[35] 51-local.conf *
[36] 53-monospace-lcd-filter.conf *
[37] 57-dejavu-sans-mono.conf *
[38] 57-dejavu-sans.conf *
[39] 57-dejavu-serif.conf *
[40] 60-latin.conf *
[41] 60-liberation.conf
[42] 65-fonts-persian.conf *
[43] 65-khmer.conf
[44] 65-nonlatin.conf *
[45] 69-unifont.conf *
[46] 70-no-bitmaps.conf *
[47] 70-yes-bitmaps.conf
[48] 80-delicious.conf *
[49] 90-embolden.conf (tried as well)
[50] 90-synthetic.conf
Screenshots:
http://imgur.com/a/sApjC
Ubuntu: vanilla
"default": Gentoo without patches, dejavu, PaulBredbury's "old" ~/.font.config from the forum (lost the link)
"infernality": above settings, dejavu and ubuntu font
The default "looks" close but subpixel rendering is quite different from ubuntu (and the result worse, imo). Inifinality is bolder and blurrier but close up subpixel rendering appears to be the same in principle. Changing the profile to default, osx or inifinality didn't help with that. "windows" is thinner, but jagged.
Is there a way to get exactly the same rendering (or better of course;) as in Ubuntu? In case I just had to change config files, I think those should be part of the default settings because well, ubuntu is supposed to look like ubuntu, right?
Another question:
Several patches that used to be required have been upstreamed. Apart from config files, what patches do I need if I just want to copy the Ubuntu rendering but don't want Infinality? Does the overlay even support that and contain all the necessary patches or are we all supposed to use infinality?
There's libXft-2.2.0-ubuntu.patch and cairo-1.10.2-ubuntu.patch but they are only required if apps depend on cairo and libXft
fontconfig-2.8.0-ubuntu.patch is only config related.
http://gitorious.org/lcd-filtering/lcd-filtering/trees/master/media-libs/freetype/files doesn't contain anything obviously coming from Ubuntu. Does that mean for non cairo apps Gentoo already uses the same rendering as Ubuntu and the only difference is configuration?
Edit:
I replaced the whole /etc/fonts with the content of an Ubuntu installation. That did not take care of the bolder ubuntu font. I only conclude it's not "just edit your .fontsconfig".
Another screenshot, Firefox chrome, very subtle except for some characters like the "w". http://imgur.com/a/FxbTK (upper one is gentoo, click to zoom)
So close, but not perfect |
|
Back to top |
|
|
^marcs Apprentice
Joined: 09 Mar 2005 Posts: 169
|
Posted: Mon Feb 20, 2012 7:59 pm Post subject: |
|
|
Infinality's patches are the world saver, but still ubuntu's sharpness and perfect shapes beats it - I tried to get ubuntu font settings into gentoo too - no luck tho.
Have You tried sourcing /usr/lib64/ft-settings.sh with ubuntu parameter? Maybe that will get You somewhat closer. |
|
Back to top |
|
|
Ld.dD n00b
Joined: 18 Feb 2012 Posts: 3
|
Posted: Mon Feb 20, 2012 8:29 pm Post subject: |
|
|
^marcs wrote: |
Have You tried sourcing /usr/lib64/ft-settings.sh with ubuntu parameter? Maybe that will get You somewhat closer. |
I did, see "my settings" in the post above, in my case it's /usr/lib/ft-settings. Their wiki should probably mention that you most likely need the full path. |
|
Back to top |
|
|
duderonomy Guru
Joined: 20 Mar 2004 Posts: 349 Location: SF Bay Area
|
Posted: Wed Feb 22, 2012 3:41 am Post subject: |
|
|
Wow this is a long thread...
Many thanks to PaulBredbury (and others too).
It's been 1 year, 5 months, 8 days since this (apparently) very useful summary:
https://forums.gentoo.org/viewtopic-p-6422790.html#6422790
Is it still considered relevant or is it obsolete by now?
Also... for purpose of improving font rendering in firefox:
Is compiling firefox with --enable-system-cairo relevant in Feb 2012?
If so, what is best way to do it?
I tried modifying the ebuild and then running
`ebuild firefox-10.0.1.ebuild manifest`
to satsify the integrity check for firefox-10.0.1 ebuild, but then had to wait forever.
It took a very long time as it appeared to have download the source for every
firefox ebuild in the /usr/portage/www-client/firefox directory.
(I would like to avoid that next time)
Can I update a single ebuild's integrity check more quickly (next time) or was this the only way?
Thank you!!!
|
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Feb 22, 2012 8:35 am Post subject: |
|
|
duderonomy wrote: | Is it still considered relevant |
Yes - it's what I still do.
Also with /etc/profile.d/infinality-settings.sh (or whatever dir Gentoo uses)
Quote: | Is compiling firefox with --enable-system-cairo relevant |
Yes, still needed. |
|
Back to top |
|
|
Odysseus Apprentice
Joined: 23 Jun 2004 Posts: 250 Location: Miami, FL. I miss San Francisco!!!
|
Posted: Sun Mar 11, 2012 2:31 am Post subject: |
|
|
The LCD-filtering overlay needs updating.
The current versions for media-libs/freetype-2.4.9 and x11-libs/libXft-2.3.0-r1 now in ~ arches.
TIA
Ciao |
|
Back to top |
|
|
Helmering n00b
Joined: 13 Dec 2011 Posts: 63 Location: Italy
|
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Mar 18, 2012 6:28 pm Post subject: |
|
|
Freetype 2.4.9 seems buggy anyway. |
|
Back to top |
|
|
Spinmc n00b
Joined: 06 Sep 2010 Posts: 39 Location: Ruvo di Puglia (BA) Italy
|
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu Apr 05, 2012 12:20 am Post subject: Updates |
|
|
Freetype
For freetype 2.4.9, here's Infinality's RPM (from dir).
Apply all its patches, except maybe -more-demos and -multilib. Happily, it includes 2.4.9 bugfixes.
infinality-settings.sh in the RPM has some new options:
Code: | # Experimental emboldening values for OSX mode
export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE=0
export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE=0
export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE=0
export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE=0 |
libXft
There's also a new libXft RPM, but it's just a rebuild - no code changes.
Cairo
With cairo 1.12.0, no Ubuntu patches are required (none are available for 1.12.0 yet anyway). Still apply cairo-respect-fontconfig.patch and cairo-1.10.0-buggy_gradients.patch
Edit: Arch has a git-fixes patch.
Compile cairo with: --disable-static --disable-xlib-xcb --enable-tee
--disable-xlib-xcb prevents usage of the poor xcb, apparently.
cairo-1.10.2-qt-surface.patch doesn't seem to be needed.
Fontconfig
Before touching fontconfig 2.9.0, I'll wait for Ubuntu to produce patches for it.
Pango
Pango 1.30.0 needs glib 2.32.0 rather than 2.30.3, so personally I'll ignore it for now.
Are we done yet?
As a reminder, the compilation order is:
freetype2 fontconfig libXft cairo pango |
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Sun Apr 08, 2012 1:00 pm Post subject: |
|
|
I use this howto http://gitorious.org/lcd-filtering/pages
Everything is fine and look beautiful, except for Chromium browser.
I have the feeling that Chromium do not take into account lcdfilter settings. While with Firefox everything is ok.
Is someone here has the same problem as me ? |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Apr 08, 2012 1:37 pm Post subject: |
|
|
Who wrote http://gitorious.org/lcd-filtering/pages/Install ?
The compilation order is wrong. Should be:
Code: | emerge -uNav freetype fontconfig cairo libXft |
Since fontconfig's configure contains "You must have freetype installed". |
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
|
Back to top |
|
|
|