Hi! I noticed that Qt always uses a different font than fc-match advertises. Debugging the issue, I found that a call that looks pretty innocent is changing all weak bindings to strong bindings and as such changes the semantic of the match: FcPatternDuplicate. So please consider the following patch. Greetings, Stephan -- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG N?rnberg) -------------- next part -------------- A non-text attachment was scrubbed... Name: fix-pattern-duplicate.diff Type: text/x-diff Size: 644 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20070312/c40d4254/fix-pattern-duplicate.bin
Le lundi 12 mars 2007 ? 15:15 +0100, Stephan Kulow a ?crit :> Hi! > > I noticed that Qt always uses a different font than fc-match advertises. > Debugging the issue, I found that a call that looks pretty innocent is > changing all weak bindings to strong bindings and as such changes the > semantic of the match: FcPatternDuplicate. > > So please consider the following patch.Any hope of getting a review for this patch ? -- Frederic Crozat <fcrozat at mandriva.com> Mandriva
On Mon, 2007-10-15 at 19:54 +0200, Frederic Crozat wrote:> Le lundi 12 mars 2007 ? 15:15 +0100, Stephan Kulow a ?crit : > > Hi! > > > > I noticed that Qt always uses a different font than fc-match advertises. > > Debugging the issue, I found that a call that looks pretty innocent is > > changing all weak bindings to strong bindings and as such changes the > > semantic of the match: FcPatternDuplicate. > > > > So please consider the following patch. > > Any hope of getting a review for this patch ?I reviewed and committed this patch back in March. I guess I should do a fontconfig release containing it. -- keith.packard at intel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20071016/daede8cd/attachment.pgp
Le mardi 16 octobre 2007 ? 07:59 +0800, Keith Packard a ?crit :> On Mon, 2007-10-15 at 19:54 +0200, Frederic Crozat wrote: > > Le lundi 12 mars 2007 ? 15:15 +0100, Stephan Kulow a ?crit : > > > Hi! > > > > > > I noticed that Qt always uses a different font than fc-match advertises. > > > Debugging the issue, I found that a call that looks pretty innocent is > > > changing all weak bindings to strong bindings and as such changes the > > > semantic of the match: FcPatternDuplicate. > > > > > > So please consider the following patch. > > > > Any hope of getting a review for this patch ? > > I reviewed and committed this patch back in March. I guess I should do a > fontconfig release containing it.Oops, sorry about the false alarm, I missed it in git log. However, there is still another patch from Mike for a parsing crash fix which is not applied (Patch: avoid crashes is config files contain junk). It would be great to have it in the next release. -- Frederic Crozat <fcrozat at mandriva.com> Mandriva
On Tue, 2007-10-16 at 10:34 +0200, Frederic Crozat wrote:> However, there is still another patch from Mike for a parsing crash fix > which is not applied (Patch: avoid crashes is config files contain > junk). It would be great to have it in the next release.I''m going to do a bug scrub and release a new version soonish; if you had a list of bugs you wanted fixed, please make sure there are bugzilla entries. -- keith.packard at intel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20071016/7d11888b/attachment.pgp