Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO]Freetype subpixel font rendering - lcd monitors Pt 2
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 20, 21, 22 ... 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Ormaaj
Guru
Guru


Joined: 28 Jan 2008
Posts: 319

PostPosted: Fri Aug 12, 2011 4:12 am    Post subject: Reply with quote

Thanks my fonts look amazing now! I used these lcdfiltering patches a year ago and it broke since then and forgot that I can't live without it.

I edited your wiki a bit to be more copy/paste friendly. The text wrapping is ugly but it copys from the page to my clipboard correctly anyway.
Back to top
View user's profile Send private message
Desti²
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2003
Posts: 127

PostPosted: Wed Aug 31, 2011 1:48 am    Post subject: Reply with quote

bi3l wrote:
The LCD-filtering overlay has been updated.


Thank you! ;)

But why are this things not in the main portage?
_________________
Linux Users Everywhere @ climateprediction.net
Back to top
View user's profile Send private message
RealNC
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2008
Posts: 148

PostPosted: Mon Sep 12, 2011 1:06 pm    Post subject: Reply with quote

The freetype ebuild is out of sync with the portage one.

Edit:
Also, the "cleartype" USE flag does nothing and should be removed from the ebuild.
Back to top
View user's profile Send private message
Odysseus
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 250
Location: Miami, FL. I miss San Francisco!!!

PostPosted: Thu Oct 13, 2011 2:44 pm    Post subject: Reply with quote

I'm editing this post to reflect that I erred in my statements below in regards to disabling the auto hinter. I have now come to find that several of the features of the "infinality" patch set REQUIRES the auto hinter enabled in conjunction with the BCI hinter.

If one follows the steps outlined on the "lcdfilter" layman page and on the infinality.net page, and adjusts '/etc/env.d/99lcdfilter' to personal taste; they will discover the beauty of the best font rendering I've ever seen on Linux! I thought my fonts looked great in my previous configuration, but couldn't have been more wrong! I highly recommend installing this overlay!

I've left the the rest of this post unedited..................

RealNC wrote:
The freetype ebuild is out of sync with the portage one.

Edit:
Also, the "cleartype" USE flag does nothing and should be removed from the ebuild.


Very true and hasn't done anything for some time.

Some observations and things I've discovered while trying to improve the look of my fonts that I'd like to pass on to those reading this thread in the future.

The instructions at the lcdfilter webpage are wrong for one of their recommended fontconfig options.

DO NOT enable '10-autohint.conf' if you plan on enabling any of the 'sub-pixel' rgb settings and or lcdfilter. They were not designed to work together and work at cross ends. Having both enabled causes problems with many fonts rendering correctly.

The autohinter invokes the "free" hinter that was the old default when the BCI hinter was having licensing issues. Enabling '10-hinting.conf' invokes the BCI hinter which is what you want when using quality TTfonts like those from Windows. When using this hinter with an lcd monitor, be sure to enable '10-hinting-slight.conf', '10-antaliasing.conf', one of the 'sub-pixel' rgb settings and or lcdfilter.conf. The result will be cleartype font rendering on par if not better than windows.


Last edited by Odysseus on Mon Oct 17, 2011 6:13 pm; edited 2 times in total
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Thu Oct 13, 2011 2:46 pm    Post subject: Reply with quote

Odysseus wrote:
The instructions at the lcdfilter webpage are wrong for one of their recommended fontconfig options.

Feel free to fix them.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Thu Oct 13, 2011 2:51 pm    Post subject: Reply with quote

RealNC wrote:
The freetype ebuild is out of sync with the portage one.

Was in sync last time I checked. I'll check again asap.

Odysseus wrote:
Very true and hasn't done anything for some time

Do nothing if there is nothing to do.

RealNC wrote:
Also, the "cleartype" USE flag does nothing and should be removed from the ebuild.

Was removed, actually.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
Odysseus
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 250
Location: Miami, FL. I miss San Francisco!!!

PostPosted: Thu Oct 13, 2011 8:30 pm    Post subject: Reply with quote

I edited my post above to correct an error..... and I'm editing this to emphasize how thrilled I am with font rendering using this patchset.

bi3l wrote:
Odysseus wrote:
Very true and hasn't done anything for some time

Do nothing if there is nothing to do.


I was referring to the cleartype USE flag doing nothing anymore, not to the fine work you folks have done applying the patch set to the various applications that need them, and in maintaining the overlay.

I hope this clears things up!

Ciao
Odysseus
Back to top
View user's profile Send private message
Odysseus
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 250
Location: Miami, FL. I miss San Francisco!!!

PostPosted: Fri Nov 18, 2011 11:19 am    Post subject: Reply with quote

Version bump please to stay in sync with the portage tree.... TIA
Back to top
View user's profile Send private message
golagoda
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2011
Posts: 105
Location: Australia

PostPosted: Fri Nov 18, 2011 11:37 am    Post subject: Reply with quote

Agreed with the above, this is the only way fonts are tolerable so it would be great for it to be updated.

Thank you so much for all your work so far.
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Sat Nov 19, 2011 10:42 am    Post subject: Reply with quote

Done.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
tallica
Apprentice
Apprentice


Joined: 27 Jul 2007
Posts: 152
Location: Lublin, POL

PostPosted: Sat Nov 19, 2011 10:12 pm    Post subject: Reply with quote

There's a brand new release of the Infinality Freetype Patches.
http://www.infinality.net/blog/infinality-freetype-patches/
_________________
Gentoo ~AMD64 | Audacious
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Sun Nov 20, 2011 12:53 pm    Post subject: Reply with quote

Updated to the latest patchset from infinality but there are a few issues I must investigate.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
poncho
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2011
Posts: 88

PostPosted: Sun Nov 20, 2011 4:14 pm    Post subject: Reply with quote

bi3l wrote:
Updated to the latest patchset from infinality but there are a few issues I must investigate.


I have a modified version of your ebuilds in my overlay and they work fine for me.
http://poncho.spahan.ch/public/overlay/lcd-filtering-infinality/media-libs/freetype/freetype-2.4.8.ebuild

The most important change is

Code:
if use lcdfilter; then
   insinto /etc/profile.d
   newins "${FILESDIR}"/infinality-settings.sh-${INFINALITY} infinality-settings.sh
   insinto /etc/fonts/
   newins "${FILESDIR}"/local.conf-${INFINALITY} local.conf
fi
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Sun Nov 20, 2011 4:33 pm    Post subject: Reply with quote

Thanks for the info, but infinality-settings.sh is done through /etc/env.d/99lcdfilter and local.conf doesn't fix my issues.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
poncho
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2011
Posts: 88

PostPosted: Sun Nov 20, 2011 4:38 pm    Post subject: Reply with quote

bi3l wrote:
Thanks for the info, but infinality-settings.sh is done through /etc/env.d/99lcdfilter and local.conf doesn't fix my issues.


I think this part of infinality-settings.sh

Code:
if [ "$SET_XFT_SETTINGS" = "true" ]; then
  echo "$XFT_SETTINGS" | xrdb -merge > /dev/null 2>&1
fi


doesn't work if you put the file into env.d

I got a parsing error on env-update.

It works fine if you put it in profile.d
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Sun Nov 20, 2011 4:43 pm    Post subject: Reply with quote

Yes, I've striped this part from 99lcdfilter, it's in my .Xresources.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
tallica
Apprentice
Apprentice


Joined: 27 Jul 2007
Posts: 152
Location: Lublin, POL

PostPosted: Sun Nov 20, 2011 5:01 pm    Post subject: Reply with quote

2011-11-20 – Updated zip and infinality-settings package to remove Canwell replacements. These were making Cantarell render as Arial.
edit:
2011-11-20 – Updated zip and freetype-infinality package to modify internal Courier New rules that were causing rendering issues.

http://www.infinality.net/fedora/linux/zips/infinality-patches-20111120-2.tar.gz
_________________
Gentoo ~AMD64 | Audacious
Back to top
View user's profile Send private message
Odysseus
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 250
Location: Miami, FL. I miss San Francisco!!!

PostPosted: Sat Nov 26, 2011 5:15 am    Post subject: Reply with quote

I don't know where to post bug reports for the lcdfilter overlay...... so I'll post here....

The new version of freetype has several rendering issues not present in the previous versions.

If freetype is compiled with the lcdfilter use flag it now causes major problems with mozilla-firefox. On some webboards and sites I frequent, some fonts are being rendered infinitesimally small and impossible to read. If I un-check "Allow pages to choose their own fonts, instead of my selection above" then they render correctly. However, even after doing this some fonts in drop-down menus and selection buttons still are rendering too small to read.

The only solution to correcting this behavior was to downgrade back to the previous version.

I hope this issue can soon be resolved.

Thanks again for your good work on this project.
Back to top
View user's profile Send private message
niblifar
n00b
n00b


Joined: 01 Nov 2009
Posts: 11

PostPosted: Sat Nov 26, 2011 6:06 am    Post subject: Reply with quote

I have the same issue using the Liberation Sans font except only the m's are rendered much smaller than the other letters. It's quite odd.
Back to top
View user's profile Send private message
Odysseus
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 250
Location: Miami, FL. I miss San Francisco!!!

PostPosted: Sat Nov 26, 2011 6:21 am    Post subject: Reply with quote

niblifar wrote:
I have the same issue using the Liberation Sans font except only the m's are rendered much smaller than the other letters. It's quite odd.

This is also an issue I was having, but forgot to mention in my post above. I don't have installed Liberation Sans fonts. I use the microsoft corefonts with Arial as my default, but the tiny "m" issue is also present with the latest version of freetype from the overlay.
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Sat Nov 26, 2011 9:30 am    Post subject: Reply with quote

This is a known issue, see here. A new patchset should be released soon.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Sat Nov 26, 2011 11:20 am    Post subject: Reply with quote

Fixed with the latest version of the patch. You can update the repository and reemerge freetype.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Sun Dec 04, 2011 12:35 pm    Post subject: Reply with quote

I've spent quite some time working on LCD filtering lately, adding many configuration files and tweaking a few things. You should reinstall all the packages and follow the wiki to get better font rendering.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
Doorbreath
n00b
n00b


Joined: 27 May 2010
Posts: 35

PostPosted: Tue Dec 13, 2011 8:45 am    Post subject: Reply with quote

If we put infinality's local.conf in /etc/fonts/local.conf with whatever rendering style we like defined as he says on the website will it be the same results as following the lcd-filtering wiki with all the eselect fontconfig stuff?
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Tue Dec 13, 2011 9:48 pm    Post subject: Reply with quote

Yes, more or less.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 20, 21, 22 ... 27, 28, 29  Next
Page 21 of 29

 
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