Re: CVS version unusable: wrong filename

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Behdad Esfahbod <behdad@xxxxxxxxxxxxxx> さんは書きました:

> Hi,
>
> I'm still observing the behavior already described on the list,
> I'm getting "/usr/share/fonts/Vera.ttf" as the filename in cairo,
> where it should be "/usr/share/fonts/bitstream-vera/Vera.ttf".
>
> Any chance we can get this fixed soon?  Humm, I don't know what
> the schedule for 2.4 is, but the GNOME 2.14 release is
> approaching rather fast...

I still need the attached patch to fix the problem.

Patrick somehow didn't like this patch but I still think it is
necessary.

diff -ru fontconfig-2.3.93.20060110.orig/src/fccache.c fontconfig-2.3.93.20060110/src/fccache.c
--- fontconfig-2.3.93.20060110.orig/src/fccache.c	2006-01-11 13:23:52.000000000 +0100
+++ fontconfig-2.3.93.20060110/src/fccache.c	2006-01-11 15:09:40.000000000 +0100
@@ -309,7 +309,7 @@
 	if (strncmp (d->name, dir, strlen(dir)) == 0)
 	{
 	    lseek (cache->fd, d->offset, SEEK_SET);
-	    if (!FcDirCacheConsume (cache->fd, dir, set, config))
+	    if (!FcDirCacheConsume (cache->fd, d->name, set, config))
 		return FcFalse;
             if (strcmp (d->name, dir) == 0)
 		ret = FcTrue;
-- 
Mike FABIAN   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux