Re: icon theme weight query ... (fwd)

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

 



Dirk Mueller wrote:
> On Monday, 6. February 2006 15:22, Patrick Lam wrote:
> 
> 
>>Hopefully Dirk will have a patch soon.  It should only need to change
>>FcCacheReadString.  There's a convenient 'len' parameter to
>>FcCacheReadString which would be useful in deciding how much to read, so
>>it should be something like this:
>>
>>read (fd, dest, len);
>>// iterate though and replace \\ with \, etc
>>lseek (fd, strlen(dest)-len, SEEK_SET);
> 
> 
> Yes, except that the de-escaping isn't needed, since we don't escape anyway in 
> FcCacheWriteString(). See patch below (survived my testing):

Right, I fixed a C++-ism (stmt; int foo;) and committed.

pat
_______________________________________________
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