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

diff -ru fontconfig- fontconfig-
--- fontconfig-	2006-01-11 13:23:52.000000000 +0100
+++ fontconfig-	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>
Fontconfig mailing list

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

  Powered by Linux