View previous topic :: View next topic |
Author |
Message |
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sun Jul 01, 2012 2:05 pm Post subject: |
|
|
Using MeisterP's overlay, w/ infinality setting "Linux" and DejaVu fonts -- suitable replacement for ClearType, which I liked quite a bit.
Had to remember to enable infinality.conf with 'eselect fontconfig' . _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sun Jul 01, 2012 3:45 pm Post subject: |
|
|
One issue: on dark backgrounds (e.g., my terminal) my lowercase "m"'s have a reddish tinge them, I suppose because the stems are thinner than my pixels. However, I did not observe this with ClearType -- any solutions?
(See PNG image.) _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Jul 01, 2012 4:42 pm Post subject: |
|
|
Hypnos wrote: | reddish tinge |
You probably want a rule using e.g. (as a bit of it):
Code: | <test name="pixelsize" compare="less_eq">
<double>12</double>
</test>
<edit mode="assign" name="rgba">
<const>none</const>
</edit> |
|
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sun Jul 01, 2012 9:55 pm Post subject: |
|
|
I added the following to /etc/fonts/local.conf:
Code: | <match target="font">
<test name="pixelsize" compare="less_eq">
<double>12</double>
</test>
<edit mode="assign" name="rgba">
<const>none</const>
</edit>
</match> |
to no avail. Logging out/in did not change the result.
During the day the problem is not as apparent; I'll check again tonight. (In fact, during the day, the infinality font rendering is gorgeous.) _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Mon Jul 02, 2012 4:54 am Post subject: |
|
|
Also, tried the Ubuntu preset in 99lcdfilter. Predictably, this one is more ClearType-like: less crisp/impressive, but also less apparent color fringing for white text on black backgrounds. Still, I never noticed any color fringing with ClearType, whereas I do notice some on the Ubuntu preset.
Finally, while fonts in the main Skype window and chat windows are fine, in the menus they are gigantic. I chalk this up to using precompiled 32-bit Qt emulation libraries inducing some incompatibility. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Wed Jul 04, 2012 4:25 am Post subject: |
|
|
If I use the "Linux" settings in infinality config as well as in /etc/env.d/99lcdfilter, then in the latter set the following custom values:
Code: | INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH=30
INFINALITY_FT_FRINGE_FILTER_STRENGTH=100 |
I cut most of the color fringing/harshness, at the cost of a little bit of crispness.
Easier on the eyes in artificial light, while still being more than adequate in sunlight.
If I only set the fringe filter strength, I get bad glyph shapes.
YMMV.
********
EDIT:
Found the holy grail -- '"linux" eselect infinality setting, with "INFINALITY" presets in /etc/env.d/99lcdfilter .
Gorgeous rending of larger/bold text, ClearType-like readability of smaller text, and no color fringing in my terminals. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
angry_vincent n00b
Joined: 21 Feb 2010 Posts: 30
|
Posted: Sat Jul 14, 2012 7:00 am Post subject: |
|
|
app-text/poppler included in overlay but it's outdated, any particular reason? _________________ http://www.funtoo.org |
|
Back to top |
|
|
angry_vincent n00b
Joined: 21 Feb 2010 Posts: 30
|
Posted: Sun Jul 15, 2012 10:20 am Post subject: |
|
|
Another issue, in wiki suggested to set -cleartype flag, however in cairo and fontconfig ebuilds +cleartype IUSE is set. I think, it's better to make flag optional? And vice versa set +lcdfilter as it makes sense. _________________ http://www.funtoo.org |
|
Back to top |
|
|
angry_vincent n00b
Joined: 21 Feb 2010 Posts: 30
|
Posted: Wed Jul 18, 2012 12:25 pm Post subject: |
|
|
Next issue, libXft-2.3.1 has no IUSE, lcdfilter is supposed to be there, no one bother about +cleartype, which is set in older revisions of libXft. _________________ http://www.funtoo.org |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Wed Jul 18, 2012 12:44 pm Post subject: |
|
|
angry_vincent,
Are you sure you're looking at the right overlay? I'm using fontconfig, libXft and poppler from the Gentoo tree, as they are most up-to-date; cairo is from infinality. None of these ebuilds have either the lcdfilter or cleartype USE flags. The only ebuild that should/needs to have lcdfilter enabled is freetype from infinality (required by the infinality cairo ebuild). _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
angry_vincent n00b
Joined: 21 Feb 2010 Posts: 30
|
Posted: Wed Jul 18, 2012 1:03 pm Post subject: |
|
|
it is what lcd-filtering providing, all issues about that overlay. _________________ http://www.funtoo.org |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
|
Back to top |
|
|
bi3l Apprentice
Joined: 06 Feb 2003 Posts: 268 Location: France
|
Posted: Thu Jul 19, 2012 6:45 pm Post subject: |
|
|
angry_vincent wrote: | Next issue, libXft-2.3.1 has no IUSE, lcdfilter is supposed to be there, no one bother about +cleartype, which is set in older revisions of libXft. |
Fixed the wiki.
angry_vincent wrote: | Another issue, in wiki suggested to set -cleartype flag, however in cairo and fontconfig ebuilds +cleartype IUSE is set. I think, it's better to make flag optional? And vice versa set +lcdfilter as it makes sense. |
Ok, I'll change that.
angry_vincent wrote: | app-text/poppler included in overlay but it's outdated, any particular reason? |
No, it should be removed. _________________ OGMRip - LCD filtering (Wiki) |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Mon Jul 23, 2012 2:24 pm Post subject: |
|
|
I have added the ebuilds from MeisterP's infinality-overlay to the betagarden overlay (this is the official dev playground) for more exposure. I will discuss with the relevant package maintainers on getting these into the official tree. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Thu Jul 26, 2012 5:53 am Post subject: |
|
|
I have taken over maintainership of cairo, so the necessary patches have been applied to 1.10.2-r3 and 1.12.2-r2 in the official portage tree. So you can drop cairo from your overlays.
Next I want to apply the freetype patches, but I will probably "hide" them behind an "infinality" useflag, so as not to upset dev and users who prefer to keep vanilla freetype. Obviously I also will add fontconfig-infinality then, and MeisterP's eselect module. But first I would like to impove the latter, so users don't need to edit /etc/env.d/99lcdfilter by hand. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
shad0w_GR n00b
Joined: 06 Apr 2011 Posts: 16
|
Posted: Fri Jul 27, 2012 11:17 am Post subject: |
|
|
Is overlay down?I cannot since yesterday add locally the repo.
Edited: Seems that git wasnt pulled by layman.Now it is ok. |
|
Back to top |
|
|
danilo2 Tux's lil' helper
Joined: 01 Oct 2010 Posts: 75
|
|
Back to top |
|
|
Mr. Tao Tux's lil' helper
Joined: 20 Jul 2007 Posts: 147
|
Posted: Sat Jul 28, 2012 11:16 pm Post subject: |
|
|
I couldn’t find MeisterP’s overlay in layman’s list of overlays, therefore I wrote local definition. /etc/layman/infinality-overlay.xml: | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE repositories SYSTEM "/dtd/repositories.dtd">
<repositories xmlns="" version="1.0">
<repo quality="experimental" status="unofficial">
<name><![CDATA[ infinality ]]></name>
<description lang="en"><![CDATA[ MeisterP's Infinality patches overlay ]]></description>
<homepage>https://github.com/MeisterP/infinality-overlay.git</homepage>
<owner type="person">
<email>poncho@spahan.ch</email>
<name><![CDATA[ Poncho ]]></name>
</owner>
<source type="git">git://github.com/MeisterP/infinality-overlay.git</source>
<feed>https://github.com/MeisterP/infinality-overlay/commits/master.atom</feed>
</repo>
</repositories> | To use it, add something like file:///etc/layman/infinality-overlay.xml to overlays section of /etc/layman.cfg. |
|
Back to top |
|
|
danilo2 Tux's lil' helper
Joined: 01 Oct 2010 Posts: 75
|
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sun Jul 29, 2012 1:32 am Post subject: |
|
|
Here's how I got my font setup working with MeisterP's overlay:
1) Followed these instructions
2) Then I experimented with combinations of the "eselect infinality" setting and the style in /etc/env.d/99lcdfilter. My best combination so far is "Linux" eselect plus the "infinality" style. You may have to manually restart some applications (or log out/back in) in order to see the changes. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Jul 29, 2012 9:43 am Post subject: |
|
|
yngwin wrote: | necessary patches have been applied |
I wait years, bitching as appropriate, then ya spell my name wrong |
|
Back to top |
|
|
danilo2 Tux's lil' helper
Joined: 01 Oct 2010 Posts: 75
|
Posted: Sun Jul 29, 2012 10:57 am Post subject: |
|
|
1) Hypnos -> while emerging from this overlay I get circular dependency problem (which cannot besolved by disabling some use flags )
Code: | (media-libs/fontconfig-infinality-20120615::infinality-overlay, ebuild scheduled for merge) depends on
(media-libs/freetype-2.4.10::infinality-overlay, ebuild scheduled for merge) (runtime)
(media-libs/fontconfig-infinality-20120615::infinality-overlay, ebuild scheduled for merge) (runtime)
|
2) Do you know how can I fix my not antialiased fonts (the problem is described in my previous post)? |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Sun Jul 29, 2012 11:22 am Post subject: |
|
|
PaulBredbury wrote: | yngwin wrote: | necessary patches have been applied |
I wait years, bitching as appropriate, then ya spell my name wrong | _________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sun Jul 29, 2012 11:54 am Post subject: |
|
|
danilo2 wrote: | 1) Hypnos -> while emerging from this overlay I get circular dependency problem (which cannot besolved by disabling some use flags )
Code: | (media-libs/fontconfig-infinality-20120615::infinality-overlay, ebuild scheduled for merge) depends on
(media-libs/freetype-2.4.10::infinality-overlay, ebuild scheduled for merge) (runtime)
(media-libs/fontconfig-infinality-20120615::infinality-overlay, ebuild scheduled for merge) (runtime)
|
|
Since they are each run-time, not build-time, dependencies of one another, it's okay to instruct your package manager to ignore one of the dependencies to break the cycle and install them one by one . I use Paludis, so invoked
Code: | # cave-resolve -1x freetype fontconfig-infinality --no-dependencies-from fontconfig-infinality |
Quote: | 2) Do you know how can I fix my not antialiased fonts (the problem is described in my previous post)? |
I bet the fonts are just there, just not enabled. Your fontconfig list shows terminus.conf is there, but not activated. I think if you successfully install MeisterP's package set, and select "linux" under "eselect infinality", the fonts will come back. If not, you can try reinstalling the fonts.
If none of these work we'll have to investigate. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Jul 29, 2012 12:08 pm Post subject: |
|
|
danilo2 wrote: | All fonts that was not supposed to be antialiased (like proggy, terminus etc) dissappeared from my system and were replaced by other fonts. |
You have 70-no-bitmaps.conf enabled. Proggy is a bitmap font. So tweak the rule so it doesn't apply to Proggy. |
|
Back to top |
|
|
|