Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10028 - XFree86 4.2.1 + fontconfig mangles fonts
Summary: XFree86 4.2.1 + fontconfig mangles fonts
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 9438 12242 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-10-31 14:13 UTC by Andrew Mahone
Modified: 2003-11-13 20:40 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to correct XFree4.2.1 + fontconfig (fontconfig-matrix.patch,575 bytes, patch)
2002-10-31 14:15 UTC, Andrew Mahone
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Mahone 2002-10-31 14:13:49 UTC
The default fonts.conf file that comes with the fontconfig distribution  
attempts to provide italic versions of fonts for which there is no italic font  
file by applying a matrix transform.  Unfortunately, the matrix provided in the  
configuration file is incorrect, and results in fonts slanting up instead of  
right.  Several others have seen this problem, as reported in forums here: 
http://forums.gentoo.org/viewtopic.php?t=19268 
 
Was unable to find another bug for this problem, will attach patch to correct 
fontconfig
Comment 1 Andrew Mahone 2002-10-31 14:15:56 UTC
Created attachment 5245 [details, diff]
patch to correct XFree4.2.1 + fontconfig

This patch alters the matrix applied to non-italic fonts when no italic font
file is present to generate correct italic fonts.
Comment 2 SpanKY gentoo-dev 2002-10-31 14:24:39 UTC
*** Bug 9438 has been marked as a duplicate of this bug. ***
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-05 09:23:53 UTC
Fixed.
Comment 4 Bartosch Pixa (RETIRED) gentoo-dev 2002-11-27 13:20:17 UTC
strange, for me reverting this patch fixes the problem
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-27 14:09:42 UTC
I am sad to say he is right.  Foser, can you think of anything that could have
'fixed' the problem ?
Maybe latest patches to freetype ?
Comment 6 foser (RETIRED) gentoo-dev 2002-12-01 19:47:33 UTC
I'm not even CC on this bug (and just by accident ended up here ;)).

But no not really a clue but im drowsy right now, that doesn't help either :)
Some of the freetype patches look like they could be fixing this sort of problem.

Can't be xfree really, that uses its own freetype isn't it ?
Comment 7 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-16 19:38:23 UTC
*** Bug 12242 has been marked as a duplicate of this bug. ***
Comment 8 delta407 2003-01-15 14:22:02 UTC
Just had this happen to me with the latest version of everything and a Gentoo install less than 
three weeks old. The patch worked, but isn't included in the latest packages.
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-17 05:49:36 UTC
What versions of freetype, xft, fontconfig ?
Comment 10 foser (RETIRED) gentoo-dev 2003-01-17 07:50:14 UTC
And with what fonts does this happen exactly ?
Comment 11 foser (RETIRED) gentoo-dev 2003-04-09 08:38:18 UTC
just found this open with questions long enough
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2003-11-13 20:40:26 UTC
Looks like this was closed before. Reclosing.