
Code: Select all
# equery l emul-
[ Searching for package 'emul-' in all categories among: ]
* installed packages
[I--] [ ~] app-emulation/emul-linux-x86-baselibs-10.2 (0)
[I--] [ -] app-emulation/emul-linux-x86-compat-1.0-r1 (0)
[I--] [ ~] app-emulation/emul-linux-x86-gtklibs-10.0 (0)
[I--] [ -] app-emulation/emul-linux-x86-java-1.4.2.03-r2 (1.4.2)
[I--] [ -] app-emulation/emul-linux-x86-java-1.5.0.10 (1.5)
[I--] [ ~] app-emulation/emul-linux-x86-medialibs-10.2 (0)
[I--] [ -] app-emulation/emul-linux-x86-qtlibs-10.0 (0)
[I--] [ ~] app-emulation/emul-linux-x86-sdl-10.1 (0)
[I--] [ ~] app-emulation/emul-linux-x86-soundlibs-10.0 (0)
[I--] [ ~] app-emulation/emul-linux-x86-xlibs-10.0 (0)Code: Select all
# cp -a /usr/lib32/libfreetype.so.6.3.8 /tmp/Code: Select all
# mv -i /tmp/libfreetype.so.6.3.8 /usr/lib32/
I did this and it fixed the ugly fonts within firefox, thunderbird and openoffice, but then I got a new problem: the save file dialogues for firefox and thunderbird now show fonts made entirely of squares (sort of like placeholders for a font).overkll wrote: To summarize, freetype is the cause. The freetype package included with emul-linux-x86-xlibs-10.0 was compiled with USE=bindist due to licensing issues. This mucks up the fonts.
The way I see it, there are options:
1. If already downgraded to 7.0-r8, just copy /usr/lib32/libfreetype.so.6.3.8 to a temp location:Upgrade to 10.0 and move /tmp/libfreetype.so.6.3.8 back to /usr/lib32/Code: Select all
# cp -a /usr/lib32/libfreetype.so.6.3.8 /tmp/2. If 10.0 is already installed, one could download 7.0-r8, extract libfreetype.so.6.3.8, and replace /usr/lib32/libfreetype.so.6.3.8.Code: Select all
# mv -i /tmp/libfreetype.so.6.3.8 /usr/lib32/
I did step one and it solved the font issue.
I don't have a ~/.fonts.conf file.STrRedWolf wrote:Check your ~/.fonts.conf file, and see if there's any references to antialiasing. If there isn't, you may want to rename the file to a backup, and see if it gives you a better configuration. I noticed this between my desktop's LCD monitor and my laptop which didn't recycle old configurations.
I ended up making my own 32bit freetype-2.1.10-r2.tbz2 package from my 32bit Athlon64 machine, then copied that to /usr/portage/distfiles/ on my 64bit Athlon64 machine. Using an ebuild overlay for emul-linux-x86-xlibs-10.0 with no changes, I then installed the xlibs pkg. I only had to change /usr/lib to /usr/lib32 in the tbz2 package.spaceLem wrote:I did this and it fixed the ugly fonts within firefox, thunderbird and openoffice, but then I got a new problem: the save file dialogues for firefox and thunderbird now show fonts made entirely of squares (sort of like placeholders for a font).
I can't figure out what would cause that. Anyone got any ideas?
Code: Select all
[ebuild R ] media-libs/freetype-2.1.10-r2 USE="zlib -bindist -doc"
What about removing the USE=bindist from the ebuild, rebuilding the digest and recompiling freetype-2.3.1 instead?overkll wrote:The freetype package included with emul-linux-x86-xlibs-10.0 was compiled with USE=bindist due to licensing issues. This mucks up the fonts.
The way I see it, there are options:
Method 2 worked for me - thanks.overkll wrote: The way I see it, there are options:
1. If already downgraded to 7.0-r8, just copy /usr/lib32/libfreetype.so.6.3.8 to a temp location:Upgrade to 10.0 and move /tmp/libfreetype.so.6.3.8 back to /usr/lib32/Code: Select all
# cp -a /usr/lib32/libfreetype.so.6.3.8 /tmp/2. If 10.0 is already installed, one could download 7.0-r8, extract libfreetype.so.6.3.8, and replace /usr/lib32/libfreetype.so.6.3.8.Code: Select all
# mv -i /tmp/libfreetype.so.6.3.8 /usr/lib32/
This is a huge hack that is bound to cause breakage. All that you are doing is upgrading the rest of the binaries in emul-linux-x86-xlibs while not upgrading the freetype. Anything that depends on the new version of freetype will cause problems. I would not recommend doing this.1. If already downgraded to 7.0-r8, just copy /usr/lib32/libfreetype.so.6.3.8 to a temp location:
Code:
# cp -a /usr/lib32/libfreetype.so.6.3.8 /tmp/
Upgrade to 10.0 and move /tmp/libfreetype.so.6.3.8 back to /usr/lib32/
Code:
# mv -i /tmp/libfreetype.so.6.3.8 /usr/lib32/
2. If 10.0 is already installed, one could download 7.0-r8, extract libfreetype.so.6.3.8, and replace /usr/lib32/libfreetype.so.6.3.8.
I agree that's all it is. And yeah, there's a pretty good chance it'll break something. On the other hand I don't think I have much that depends on 32-bit xlibs.slithy wrote:This is a huge hack that is bound to cause breakage.All that you are doing is upgrading the rest of the binaries in emul-linux-x86-xlibs while not upgrading the freetype.
1. Yes, its a hack.slithy wrote:This is a huge hack that is bound to cause breakage. All that you are doing is upgrading the rest of the binaries in emul-linux-x86-xlibs while not upgrading the freetype. Anything that depends on the new version of freetype will cause problems. I would not recommend doing this.
I was not aware of the fact that the version of freetype was the same in both versions. Why was the bindist USE flag added in the new version?AFAIK, the same version of freetype is in both xlibs-7.0.r8 and 10.0. If freetype is upgraded in subsequent versions of xlibs, I can compile in a matching version of freetype in 32bit mode w/o the "bindist" use flag and replace libfreetype again.
The bug link here:overkll wrote:There is already a bug filed for this issue - bug 167632
To summarize, freetype is the cause. The freetype package included with emul-linux-x86-xlibs-10.0 was compiled with USE=bindist due to licensing issues. This mucks up the fonts.
Code: Select all
use bindist || append-flags -DTT_CONFIG_OPTION_BYTECODE_INTERPRETERThe TrueType bytecode interpreter is disabled in all public releases
of the FreeType packages for patents reasons (see
http://www.freetype.org/patents.html for more details).
Never mind... I just compiled freetype in my 32 bit chroot environment and reinstalled it in my 64 bit environment... Worked like a charm...bjorntj wrote:Can anyone tell me exactly how to change the ebuild and how to compile it afterwards? I have not yet the knowledge on how to do this....
Regards,
BTJ
It would be great if an overlay ebuild was created to compile freetype in 32 bit mode and replace the emul-linux-x86-xlibs freetype library. I know this is possible. emul-linux-x86-compat supplies 32 bit glibc and gcc, along with other necessary 32bit libs. In fact. app-emulation/wine compiles in 32 bit mode on amd64 machines using such a method.bjorntj wrote:Never mind... I just compiled freetype in my 32 bit chroot environment and reinstalled it in my 64 bit environment... Worked like a charm...![]()

I am confirm that this doesn't fix the issue. The problem is that the 32-bit freetype was compiled with the bindist USE flag.kristoffer wrote:I too had this problem after upgrading some emul-linux-x86 libs. My fix was to deactivate anti-aliasing and then re-activate them again through kcontrol (for KDE users, but I guess it is possible without it some how). Might be worth a try.
slithy wrote:I am confirm that this doesn't fix the issue. The problem is that the 32-bit freetype was compiled with the bindist USE flag.kristoffer wrote:I too had this problem after upgrading some emul-linux-x86 libs. My fix was to deactivate anti-aliasing and then re-activate them again through kcontrol (for KDE users, but I guess it is possible without it some how). Might be worth a try.
I am currently using the 10.0 xlibs with a recompiled version of freetype. I then ran into the problem of the firefox gtk file picker having squares for fonts. Not really liking the gtk file picker anyways, I just changed the file picker to one which I think is the firefox built in one. I did this by going to about:config and changing the ui.allow_platform_file_picker boolen to false.