View previous topic :: View next topic |
Author |
Message |
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Wed Jan 23, 2008 1:29 am Post subject: |
|
|
Hmpf my fault - should have mentioned that :-/
Sorry about that
swimmer |
|
Back to top |
|
|
m.s.w Apprentice
Joined: 19 Sep 2004 Posts: 190 Location: Kraków, Poland
|
Posted: Sat Jan 26, 2008 8:48 pm Post subject: |
|
|
boniek, thank you very much. It works.
Sorry, for the polish language below, but I don't know how to say it in english.
Stary, jesteś zajebisty. _________________ Mark Twain said it best:
"If you have to swallow a frog, don't stare at it too long!" |
|
Back to top |
|
|
Hell-Razor Guru
Joined: 10 Jun 2004 Posts: 458
|
Posted: Sat Jan 26, 2008 9:26 pm Post subject: |
|
|
Stary, jesteś zajebisty
something about an old man not being (something) _________________ Don't ever tell anybody anything. If you do, you start missing everybody. |
|
Back to top |
|
|
deepb n00b
Joined: 03 Jul 2006 Posts: 5
|
Posted: Sat Feb 09, 2008 11:30 am Post subject: |
|
|
Thank you so much for creating the overlay.. I manually patched libXft & cairo many months ago, and became very accustomed to beautiful fonts. Then, quite recently, I went into shock after accidentally upgrading cairo with the regular portage version. I was so distracted by the ugliness, I could barely get any work done.
Cheers. |
|
Back to top |
|
|
Lori Guru
Joined: 30 Mar 2004 Posts: 338 Location: Barcelona, Spain
|
Posted: Fri Feb 15, 2008 5:54 pm Post subject: |
|
|
Thanks boniek for maintaining the overlay! I just reinstalled libXft and cairo with newspr and I am very happy with the result! Keep up the good work!
Regards,
Lori _________________ "The hunt is sweeter then the kill."
Registered Linux User #176911 |
|
Back to top |
|
|
soya Guru
Joined: 29 Jan 2004 Posts: 429
|
Posted: Sat Feb 16, 2008 2:03 am Post subject: |
|
|
I'm getting this error (after adding the layman overlay and running layman -a font-overlay)
emerge cairo
Code: |
[ebuild U ] x11-libs/cairo-1.5.6 [1.4.14] USE="X directfb glitz newspr%* opengl svg* -debug -doc -test% -xcb" 0 kB [0=>1]
Total: 1 package (1 upgrade), Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
[1] /usr/local/layman/font-overlay |
Code: | * Failed Patch: cairo-1.5.2-newspr.patch.bz2 !
* ( /var/tmp/portage/x11-libs/cairo-1.5.6/temp/15271.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/x11-libs/cairo-1.5.6/temp/cairo-1.5.2-newspr.patch.bz2-15271.out
*
* ERROR: x11-libs/cairo-1.5.6 failed.
* Call stack:
* ebuild.sh, line 49: Called src_unpack
* environment, line 2669: Called epatch 'src_unpack'
* environment, line 1515: Called die
* The specific snippet of code:
* die "Failed Patch: ${patchname}!";
* The die message:
* Failed Patch: cairo-1.5.2-newspr.patch.bz2!
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/x11-libs:cairo-1.5.6:20080216-020115.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/cairo-1.5.6/temp/environment'.
* This ebuild is from an overlay: '/usr/local/layman/font-overlay/ |
Don't know why i'm gettin the error when aplying the patch. i think emerge is messing cairo from the overlay with the one from the gentoo portage
That doesn't exist:
/var/tmp/portage/x11-libs/cairo-1.5.6/temp/15271.patch
/var/tmp/portage/x11-libs/cairo-1.5.6/temp/cairo-1.5.2-newspr.patch.bz2-15271.out
neither /var/tmp/portage/x11-libs/
PD:Do someone know what's the difference betwen the patch on the post here and the ones from here http://bugs.freedesktop.org/show_bug.cgi?id=10301 ? _________________ Si el tonto te alaba laméntalo, si el listo te censura piénsalo. |
|
Back to top |
|
|
estar n00b
Joined: 01 Dec 2007 Posts: 20
|
Posted: Sat Feb 23, 2008 1:57 pm Post subject: |
|
|
Gah, people still use that thing I posted? Well, it’s not quite working for 1.5.10 anymore, so I’ve modified it so it at least applies successfully: cairo-1.5.10-newspr.patch (download this). Compatibility with 1.5.10 entirely untested, use at your own risk.
If somebody’s studied the patch(set?) soya’s referring to, I’d like to know what it does, too. |
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Mon Mar 03, 2008 12:53 pm Post subject: |
|
|
I went ahead and reinstalled cairo with the new overlay, but I don't see a change yet. The how to link is dead, can someone tell me what to do to make the new font quality take effect? |
|
Back to top |
|
|
estar n00b
Joined: 01 Dec 2007 Posts: 20
|
Posted: Mon Mar 03, 2008 2:02 pm Post subject: |
|
|
You can find the HOWTO here. Iirc, the major configuration step is that of creating ~/.fonts.conf.
By the way, there were no patch-relevant changes from 1.5.10 to 1.5.12, I think. |
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Mon Mar 03, 2008 2:36 pm Post subject: |
|
|
Thanks! After reading the How To, I see no mention of the Boniek's font-overlay that I installed with Cairo. Does the overlay eliminate any of these steps? Or do I do the whole How To in addition to adding the overlay to Cairo? |
|
Back to top |
|
|
estar n00b
Joined: 01 Dec 2007 Posts: 20
|
Posted: Mon Mar 03, 2008 3:10 pm Post subject: |
|
|
The HOWTO was part of the xeffects overlay/project which is now dead. Boniek’s overlay supersedes those packages of that overlay which were relevant to subpixel rendering. Therefore, ignore the HOWTO steps until the section on ‘Changing font settings’ and proceed from there. |
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Thu Mar 06, 2008 9:03 am Post subject: |
|
|
I don't think the .font.conf file is taking effect. I have a couple of questions:
1). when I make the .font.conf file, do I need to make it an executable file?
2). Where the doc saids "change rgb to subpixel order of your monitor)", I did not know what they were talking about so I made the line "<edit mode="assign" name="rgba" > <const>rgb</const> </edit>" exactly as it is.
What else could be wrong for this file not to take effect?
Thanks,
-Darin |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu Mar 06, 2008 9:06 am Post subject: |
|
|
Notice the name:
Code: | $ ll ~/.fonts.conf
-rw-r--r-- 1 brebs brebs 4411 2008-03-05 00:00 /home/brebs/.fonts.conf |
|
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Thu Mar 06, 2008 9:23 am Post subject: |
|
|
ya, that's what i have. I wanted to make sure I have the over-lay installed. So, I did a emerge -pv cairo and this is what I got:
Total: 1 package (1 reinstall), Size of downloads :0 kb
Portage tree and overlays:
[0] /usr/portage
[1] /usr/portage/local/layman/font-overlay
To me, it looks like the overlay is installed properly. Am I reading it correctly? |
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Thu Mar 06, 2008 9:29 am Post subject: |
|
|
dman777 wrote: | ya, that's what i have. I wanted to make sure I have the over-lay installed. So, I did a emerge -pv cairo and this is what I got:
Total: 1 package (1 reinstall), Size of downloads :0 kb
Portage tree and overlays:
[0] /usr/portage
[1] /usr/portage/local/layman/font-overlay
To me, it looks like the overlay is installed properly. Am I reading it correctly? |
.fonts.conf not .font.conf |
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Thu Mar 06, 2008 10:26 am Post subject: |
|
|
that was just a typo in my message..sorry...i do have ".fonts.conf ".
UPDATE: I renamed my .fonts.conf file to .fonts.conf.bck so it wouldn't load. Afterwards I went into x server and loaded firefox and I don't see a change in the fonts. So I don't think the file is taking effect. Any ideas? |
|
Back to top |
|
|
estar n00b
Joined: 01 Dec 2007 Posts: 20
|
Posted: Thu Mar 06, 2008 4:37 pm Post subject: |
|
|
Hmm, check if you have a symlink called /etc/fonts/conf.d/50-user.conf pointing to /etc/fonts/conf.avail/50-user.conf. If not, Code: | cd /etc/fonts/conf.d && sudo ln -s ../conf.avail/50-user.conf . | That’s the configuration file which includes ~/fonts.conf. |
|
Back to top |
|
|
vonr Guru
Joined: 23 Mar 2006 Posts: 300
|
Posted: Fri Mar 07, 2008 5:43 pm Post subject: |
|
|
estar wrote: | If somebody’s studied the patch(set?) soya’s referring to, I’d like to know what it does, too. |
It's basically the same patch, but with some slight changes: it adds some documentation and has some code-cleanup. The most important change is that it adds an option ("lcdfilter") specifying the filtering-type: the values it may contain are "lcdnone", "lcddefault" (for David Turner's filter), "lcdlight" (David Turner's filter, but less agressive), and "lcdlegacy" (the default cairo filter). This option is set through fontconfig, which has to be patched with the patch from freedesktop #13566. Also please note that the option needs to be set for sub-pixel filtering to work; or, at least, not use the cairo default filter.
The most interesting thing about this whole story is that upstream seems to accept these patches; fontconfig-2.6 will contain the patch from freedesktop #13566, and the inclusion of the patch from freedesktop #10301 in cairo is being discussed.
For those interested I've modified the patch from freedesktop #10301 to apply to cairo-1.5.12; it can be found here. The fontconfig patch from freedesktop #13566 applies to fontconfig-2.5 just fine. |
|
Back to top |
|
|
IvanMajhen Guru
Joined: 10 Jun 2006 Posts: 392 Location: Croatia
|
Posted: Tue Mar 11, 2008 6:16 pm Post subject: |
|
|
I'm using ubuntu patches and they work great. They also patch fontconfig. It is nice to have option to turn off
lcdfilter for some over bold fonts.
Openoffice will from 2.4 release use cairo to render text.
Here is screenshot to prove it:
http://img223.imageshack.us/my.php?image=office2ao5.png
//EDIT:
I was wrong. It will not go in mainline. |
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Tue Mar 11, 2008 10:55 pm Post subject: |
|
|
estar wrote: | Hmm, check if you have a symlink called /etc/fonts/conf.d/50-user.conf pointing to /etc/fonts/conf.avail/50-user.conf. If not, Code: | cd /etc/fonts/conf.d && sudo ln -s ../conf.avail/50-user.conf . | That’s the configuration file which includes ~/fonts.conf. |
Ya, I check it and the link is correct. I don't think this file is getting loaded when I go into the X server enviroment or any other time. Reason being, to test to see if this file is getting loaded I went into the ../conf avail/ directory and renamed the 50-user.conf to 50-user.conf .bck so it wouldn't get loaded when I execute xinit. Well, after changeing the name I exited and went back into the X server environment and there was no change in fonts and no error messages. So I am think this file isn't getting loaded, which means the .fonts.conf won't get loaded ether. What should I do? |
|
Back to top |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
|
Back to top |
|
|
IvanMajhen Guru
Joined: 10 Jun 2006 Posts: 392 Location: Croatia
|
|
Back to top |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
|
Back to top |
|
|
IvanMajhen Guru
Joined: 10 Jun 2006 Posts: 392 Location: Croatia
|
Posted: Fri Mar 14, 2008 4:32 pm Post subject: |
|
|
It works with 2.3 also!
If you need ebuild PM me.
I wish i found this patch before... |
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Sat Mar 15, 2008 10:39 am Post subject: |
|
|
I would love to try these patches! Is there a tutorial on how to apply these patches? |
|
Back to top |
|
|
|