View previous topic :: View next topic |
Author |
Message |
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri May 02, 2008 6:53 pm Post subject: |
|
|
The warning isn't always shown - I think it depends on the app. IIRC, wine will moan about it. |
|
Back to top |
|
|
r0shi n00b
Joined: 20 Jul 2004 Posts: 62
|
Posted: Sun May 04, 2008 12:45 am Post subject: |
|
|
Is the link in the first post for a howto on using the cleartype patches?
Its offline at the moment, is there a mirror? |
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Sun May 04, 2008 11:48 am Post subject: |
|
|
PaulBredbury wrote: | The warning isn't always shown - I think it depends on the app. IIRC, wine will moan about it. |
Just realized I'm on 64bit, and wine is ofcourse using 32bit libraries
Gonna do a ABI=x86 and replace my 32bit libraries |
|
Back to top |
|
|
creidiki Apprentice
Joined: 23 Mar 2007 Posts: 283 Location: Varese (Italy)
|
Posted: Sun May 04, 2008 2:26 pm Post subject: |
|
|
Ah, that would be it.
Because I'm pretty sure lcdfilter* is in fact supposed to go in fonts.conf. It certainly works here _________________ '((eINIT) (soor overlay)) |
|
Back to top |
|
|
deno Guru
Joined: 13 Sep 2006 Posts: 411
|
Posted: Wed May 07, 2008 12:23 am Post subject: |
|
|
Hi,
I am trying to compile fontconfig-2.5.0-r1 from soor overlay ant it simply fails (no error messages) with and without ubuntu USE flag enabled on running autoconf. Any hints? |
|
Back to top |
|
|
creidiki Apprentice
Joined: 23 Mar 2007 Posts: 283 Location: Varese (Italy)
|
Posted: Wed May 07, 2008 5:08 am Post subject: |
|
|
deno wrote: | Hi,
I am trying to compile fontconfig-2.5.0-r1 from soor overlay ant it simply fails (no error messages) with and without ubuntu USE flag enabled on running autoconf. Any hints? |
I am aware of the issue.
I need to collect the libtool/autoconf/automake patches that have been recently applied to the font packages in portage to build with the latest versions of the above toolchain packages. I'll do it when I'm done updating qt-copy in preparation of 4.4.0 final, which was released last night.
You can either wait till tonight/tomorrow, or use stable autoconf. _________________ '((eINIT) (soor overlay)) |
|
Back to top |
|
|
deno Guru
Joined: 13 Sep 2006 Posts: 411
|
Posted: Wed May 07, 2008 10:53 am Post subject: |
|
|
Thanks creidiki. I'll wait. btw. I tried stable autoconf last night but got message that >=2.6(hm, that's maybe not the right version, but cannot check now as I am not using gentoo atm.) is required. |
|
Back to top |
|
|
creidiki Apprentice
Joined: 23 Mar 2007 Posts: 283 Location: Varese (Italy)
|
Posted: Wed May 07, 2008 3:46 pm Post subject: |
|
|
latest stable autoconf is 2.61-r2. 2.62 breaks a number of packages.
same situation for libtool 2.2 vs libtool 1.5
I haven't heard anything about automake, it might even be ok since its just a revbump but with GNU tools im not taking the risk _________________ '((eINIT) (soor overlay)) |
|
Back to top |
|
|
deno Guru
Joined: 13 Sep 2006 Posts: 411
|
Posted: Wed May 07, 2008 8:28 pm Post subject: |
|
|
Here it compiles with autoconf-2.62 and libtool-2.2.4. |
|
Back to top |
|
|
creidiki Apprentice
Joined: 23 Mar 2007 Posts: 283 Location: Varese (Italy)
|
Posted: Thu May 08, 2008 12:59 pm Post subject: |
|
|
*cough* thats cause I added the libtool patch from portage yesterday evening >_> _________________ '((eINIT) (soor overlay)) |
|
Back to top |
|
|
deno Guru
Joined: 13 Sep 2006 Posts: 411
|
Posted: Thu May 08, 2008 1:59 pm Post subject: |
|
|
Thanks I got it. |
|
Back to top |
|
|
Snaury n00b
Joined: 21 Jul 2004 Posts: 2
|
Posted: Mon May 12, 2008 2:23 pm Post subject: qt-3.3.8-r4 problem |
|
|
Creidiki, your repository has qt-3.3.8-r4 marked as ~x86, official is x86. This causes qt to downgrade to qt-3.3.4-r8, which pulls freetype-2.1. Could you please maybe make a separate fonts overlay? Your new soor overlay has just too many packages, unrelated to fonts as it seems... |
|
Back to top |
|
|
natros n00b
Joined: 26 Sep 2003 Posts: 70
|
Posted: Mon May 12, 2008 7:33 pm Post subject: Re: qt-3.3.8-r4 problem |
|
|
Snaury wrote: | Creidiki, your repository has qt-3.3.8-r4 marked as ~x86, official is x86. This causes qt to downgrade to qt-3.3.4-r8, which pulls freetype-2.1. Could you please maybe make a separate fonts overlay? Your new soor overlay has just too many packages, unrelated to fonts as it seems... |
I agree with you _________________ -=[abit ip35 pro core2quad q6600 (oc 3.0 ghz) 8 gb ram 2x320 raid0 ext4 xfx8800gt 512mb]=- |
|
Back to top |
|
|
treellama n00b
Joined: 08 Feb 2004 Posts: 10
|
Posted: Mon May 12, 2008 7:52 pm Post subject: |
|
|
I just symlinked the four fonts packages in question into my local overlay, without bothering to add gentoo-soor-overlay to PORTDIR_OVERLAY. Seems like an easy enough solution. |
|
Back to top |
|
|
creidiki Apprentice
Joined: 23 Mar 2007 Posts: 283 Location: Varese (Italy)
|
Posted: Tue May 13, 2008 5:52 am Post subject: Re: qt-3.3.8-r4 problem |
|
|
Snaury wrote: | Creidiki, your repository has qt-3.3.8-r4 marked as ~x86, official is x86. This causes qt to downgrade to qt-3.3.4-r8, which pulls freetype-2.1. Could you please maybe make a separate fonts overlay? Your new soor overlay has just too many packages, unrelated to fonts as it seems... |
I'll change the keywords on the qt packages.
but that's it, managing 3 overlays was too much of a pain.
anyway, you can just change your keywords for that one package, you know ... _________________ '((eINIT) (soor overlay)) |
|
Back to top |
|
|
kaildio n00b
Joined: 14 May 2008 Posts: 3
|
Posted: Wed May 14, 2008 11:31 am Post subject: |
|
|
From fonts/conf.d/53-monospace-lcd-filter.conf
Code: |
<edit name="lcd_filter" mode="assign">
<const>lcdfilterlegacy</const>
</edit>
|
in other parts i've seen lcdfilter instead of lcd_filter as filter name.
Which one is correct? |
|
Back to top |
|
|
GoofyX Tux's lil' helper
Joined: 23 Feb 2005 Posts: 84 Location: Greece
|
Posted: Sun May 25, 2008 8:21 am Post subject: |
|
|
Hey guys, boniek seems to have not replied to this thread for some time now. What's the status with the font rendering patches? I'm still using boniek's overlay, but during the latest weeks, it has been unable to sync, since the host is down. Should I use a new overlay (although the current one seems to work pretty fine)? _________________ ... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain... |
|
Back to top |
|
|
aronparsons Tux's lil' helper
Joined: 04 Oct 2004 Posts: 117 Location: Virginia
|
Posted: Tue May 27, 2008 11:55 pm Post subject: |
|
|
kaildio wrote: | From fonts/conf.d/53-monospace-lcd-filter.conf
Code: |
<edit name="lcd_filter" mode="assign">
<const>lcdfilterlegacy</const>
</edit>
|
in other parts i've seen lcdfilter instead of lcd_filter as filter name.
Which one is correct? |
The fontconfig portion of this is committed upstream as of commit 53aec111074cf7b46d15eb84a55791d3c95bc15e included in release 2.5.92. The filter names changed; your fontconfig files will need to use 'lcddefault' instead of 'lcdfilter_default'. |
|
Back to top |
|
|
paladin-zero Guru
Joined: 19 May 2004 Posts: 322
|
Posted: Mon Jun 02, 2008 6:32 pm Post subject: |
|
|
I found that after following the directions in this thread, xrdb -query showed that my Xft.hintstyle was medium and Xft.rgba was none. I'm using kde-3.5.9. I tried setting these properties in ~/.Xresources, but they were ignored. I think kde must be overriding the settings. Anyway, I added a file to .kde/Autostart:
#!/bin/bash
xrdb -merge ~/.Xresources
Ok, its a hack, but now the settings really do stick, even after logging out and back in. I finally have beautiful fonts in emacs! |
|
Back to top |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Wed Jun 04, 2008 5:23 pm Post subject: |
|
|
Could anyone please write some short howto what is needed to get that working again? Earlier I used xeffects overlay, but now its gone and the howto too, so that would be damn nice! Or maybe someone has the text and can put it on gentoo wiki?
Thanks in advance
/edit: Here is the original article from xeffects:
http://web.archive.org/web/20070816222614/http://wiki.gentoo-xeffects.org/Font_Rendering
That should go into the wiki right? _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
|
GoofyX Tux's lil' helper
Joined: 23 Feb 2005 Posts: 84 Location: Greece
|
Posted: Thu Jun 05, 2008 4:52 pm Post subject: |
|
|
Hey people, I haven't kept up with the progress of this thread and it now seems that the soor-overlay has all the ebuilds for the packages that boniek maintained in his local overlay. Is that the case? Is there a howto for this? I added soor-overlay and there is a ubuntu USE flag now, what's the deal with it? _________________ ... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain... |
|
Back to top |
|
|
aronparsons Tux's lil' helper
Joined: 04 Oct 2004 Posts: 117 Location: Virginia
|
Posted: Fri Jun 06, 2008 12:14 am Post subject: |
|
|
GoofyX wrote: | Hey people, I haven't kept up with the progress of this thread and it now seems that the soor-overlay has all the ebuilds for the packages that boniek maintained in his local overlay. Is that the case? Is there a howto for this? I added soor-overlay and there is a ubuntu USE flag now, what's the deal with it? |
Enable "ubuntu" and "newspr" USE flags. Emerge cairo, freetype and libXft from soor-overlay. fontconfig 2.60 is in Portage and has the ability to use the new filters.
Add the following to /etc/fonts/local.conf and make sure it is enabled (eselect fontconfig list).
Code: | <?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</fontconfig> |
Enjoy. |
|
Back to top |
|
|
anli Tux's lil' helper
Joined: 08 Sep 2006 Posts: 80
|
Posted: Fri Jun 06, 2008 12:53 am Post subject: |
|
|
Code: | * You need to rebuild fontconfig with ubuntu USE enabled
* before you can compile libXft with newspr.
*
* ERROR: x11-libs/libXft-2.1.12 failed.
* Call stack:
* ebuild.sh, line 49: Called pkg_setup
* libXft-2.1.12.ebuild, line 34: Called die
* The specific snippet of code:
* die "Please rebuild fontconfig with ubuntu enabled."
|
But fontconfig has not ubuntu flag:
Code: | emerge -pv fontconfig cairo freetype libXft
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] media-libs/freetype-2.3.5-r2 USE="X ubuntu -bindist -debug -doc -utils" 0 kB [1]
[ebuild R ] media-libs/fontconfig-2.6.0-r1 USE="xml -doc" 0 kB
[ebuild R ] x11-libs/libXft-2.1.12 USE="newspr -debug" 0 kB [1]
[ebuild R ] x11-libs/cairo-1.6.4 USE="X glitz newspr opengl svg -debug -directfb -doc -test -xcb" 0 kB [1]
|
|
|
Back to top |
|
|
bi3l Apprentice
Joined: 06 Feb 2003 Posts: 268 Location: France
|
Posted: Sat Jun 07, 2008 10:13 am Post subject: |
|
|
aronparsons wrote: | fontconfig 2.60 is in Portage and has the ability to use the new filters. |
Wrong, cairo from soor does not build with fontconfig-2.6.0 from portage because lcd filtering is missing. |
|
Back to top |
|
|
IvanMajhen Guru
Joined: 10 Jun 2006 Posts: 392 Location: Croatia
|
Posted: Sat Jun 07, 2008 7:45 pm Post subject: |
|
|
Fontconfig 2.6 has lcd patches in it, but cairo patch needs to be updated.
Ubuntu patches for fontconfig were calling this fontconfig functions in cairo:
Code: | switch (xft_lcdfilter) {
case FC_LCD_FILTER_NONE:
lcd_filter = CAIRO_LCD_FILTER_NONE;
break;
case FC_LCD_FILTER_LIGHT:
lcd_filter = CAIRO_LCD_FILTER_LIGHT;
break;
case FC_LCD_FILTER_LEGACY:
lcd_filter = CAIRO_LCD_FILTER_LEGACY;
break;
case FC_LCD_FILTER_DEFAULT:
default:
lcd_filter = CAIRO_LCD_FILTER_DEFAULT;
break;
} |
New fontconfig functions names are:
Code: | switch (xft_lcdfilter) {
case FC_LCD_NONE:
lcd_filter = CAIRO_LCD_FILTER_NONE;
break;
case FC_LCD_LIGHT:
lcd_filter = CAIRO_LCD_FILTER_LIGHT;
break;
case FC_LCD_LEGACY:
lcd_filter = CAIRO_LCD_FILTER_LEGACY;
break;
case FC_LCD_DEFAULT:
default:
lcd_filter = CAIRO_LCD_FILTER_DEFAULT;
break;
} |
FC_LCD_FILTER_LIGHT now becomes FC_LCD_LIGHT
Fontconfig options are also changed:
Code: | <edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
<!-- lcdnone, lcddefault, lcdlight, lcdlegacy -->
|
If somebody needs ebuilds PM. |
|
Back to top |
|
|
|