[Fontconfig] robustness of the mmap cache branch

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

 



On Fri, 2005-09-09 at 04:11 -0400, James Cloos wrote:
> Incidently, it would be useful to have a program that can read in a
> specified fonts.cache-2 (ui a la cat(1)'s ui) and print the equivalent
> fonts.cache-1.  
> 
> The easiest way, currently, to determine the name needed to get a font
> known by filename is to grep for the filename in fonts.cache-1; it'd
> be a shame to loose that.

fc-list : family style file | grep <filename> 

works reasonably well...

> I'll look into how hard that'll be to write, but if you can whip it up
> w/o thinking please do so. :-)

It would be easy to do, and might be useful to test for regressions.
Use FcNameUnparse to generate a suitable string for each font pattern.

-keith

-------------- 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/20050910/d2bc9bee/attachment.pgp

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

  Powered by Linux