Bug 13019 - add fc-query
Summary: add fc-query
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.4
Hardware: Other All
: low enhancement
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
: 18728 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-30 16:21 UTC by Behdad Esfahbod
Modified: 2009-06-24 12:36 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Behdad Esfahbod 2007-10-30 16:21:53 UTC
it will take a dir or filename, scan all fonts in there, and list them pretty much like fc-list does, or fc-cat does, but without caching them.  Useful for packaging fonts, etc.
Comment 1 Keith Packard 2008-01-13 17:06:47 UTC
I'd love to see the code for this enhancement...
Comment 2 Behdad Esfahbod 2008-08-12 22:32:42 UTC
Added to my tree:

Created commit 7b88695: Add fc-query (#13019)
 10 files changed, 407 insertions(+), 1 deletions(-)
 create mode 100644 fc-query/Makefile.am
 create mode 100644 fc-query/fc-query.c
 create mode 100644 fc-query/fc-query.sgml


It doesn't handle directories as directory recursion is tricky and fontconfig doesn't provide any functions to do that for us :P.  There's always find(1).
Comment 3 Nicolas Spalinger 2008-11-01 12:26:36 UTC
Sounds very useful. But I can't seem to build it. Is this on track for 2.7?
Comment 4 Behdad Esfahbod 2008-12-28 00:22:09 UTC
*** Bug 18728 has been marked as a duplicate of this bug. ***
Comment 5 Behdad Esfahbod 2009-06-24 12:36:06 UTC
I believe I've fixed this in 2.7.0.  Please reopen otherwise.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.