summaryrefslogtreecommitdiff
path: root/fc-match
Commit message (Collapse)AuthorAgeFilesLines
* Convert more tabs to spaces in docsAkira TAGOH2022-12-131-19/+19
| | | | Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/343
* Fix leaks in fcxml.c, fc-match.c, and tests.Ben Wagner2020-12-141-1/+7
| | | | Fix leaks reported by AddressSanitizer when running 'make check'.
* Add examples section in fc-match(1)Akira TAGOH2020-11-281-0/+26
| | | | Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/233
* Make more clearer the license termsAkira TAGOH2020-09-031-0/+22
| | | | | | COPYING is missing non-expat license terms for some files and some files is also missing license terms. This is changes to makes it clearer and update. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/219
* Add Meson build systemTim-Philipp Müller2020-07-311-0/+8
| | | | See https://mesonbuild.com
* fccompat: fix build on Windows without unistd.hTim-Philipp Müller2020-07-071-1/+4
| | | | https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/access-waccess?view=vs-2019
* call setlocaleAkira TAGOH2018-03-151-0/+2
|
* Add the ruleset description supportAkira TAGOH2017-11-071-19/+27
| | | | | | | | | | | | | | | Trying to address what these configuration files really do. This change allows to see the short description that mention the purpose of the content in the config file and obtain them through API. This change also encourage one who want to make some UI for the user-specific configuration management. it is the main purpose of this change for me though. Aside from that, I've also made programs translatable. so we see more dependencies on the build time for gettext, and itstool to generate PO from xml.
* [fc-match/fc-list/fc-query/fc-scan] Add --brief that is like --verbose ↵Behdad Esfahbod2017-09-201-4/+16
| | | | without charset
* exit with the error code when FcNameParse() failedAkira TAGOH2013-10-031-0/+5
|
* build-chain, replace INCLUDES directive by AM_CPPFLAGSSebastian Freundt2013-04-081-1/+1
| | | | | | | | As of automake-13.1 the INCLUDES directive is no longer supported. An automake run will return with an error. This changeset simply follows automake's advice to replace INCLUDES by AM_CPPFLAGS.
* Remove FcInit() calls from toolsBehdad Esfahbod2013-01-031-5/+0
| | | | | Library is supposed to automatically initialize itself. If it doesn't, it's a bug.
* Switch .gitignore to git.mkBehdad Esfahbod2013-01-021-0/+2
|
* Use automake variable instead of cleaning files in clean-localAkira TAGOH2012-10-261-4/+3
| | | | just for git.mk coming up from Behdad's threadsafe branch
* Fix the wrong estimation for the memory usage information in fontconfigAkira TAGOH2012-06-011-1/+1
|
* Fix a build issue due to the use of non-portable variablesAkira TAGOH2012-03-161-2/+2
| | | | | | | | $< isn't supported in BSD make say. $(RM) is pre-defined in GNU make though, not in BSD make say. so changed to check on configure if it's pre-defined by make, otherwise set the appropriate command to $(RM). This would be a workaround until it has the certain pre-defined value.
* Revert "Fix a build fail on some environment."Akira TAGOH2012-03-161-4/+4
| | | | | | | | This reverts commit 0fdfddf2ac93c1c0238b70a265998fd6b5ffe7af. Conflicts: doc/Makefile.am
* Fix a build fail on some environment.Akira TAGOH2012-03-101-4/+4
|
* fc-{list,match}: constify format stringMike Frysinger2012-02-211-11/+11
| | | | | | | | | | | | | | | | | We don't free this string anywhere, so mark it const to avoid gcc warnings and possible bugs in the future (if people did try freeing it). fc-list.c: In function 'main': fc-list.c:161:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] fc-match.c: In function 'main': fc-match.c:201:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] fc-match.c:203:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Bug 40452 - Running 'fc-match --all' core dumps when no fonts are installedAkira TAGOH2012-02-211-0/+5
| | | | | This would changes the behavior of FcFontSort(). it won't returns NULL afterward.
* Switch fc-match to use FcPatternFormat()Behdad Esfahbod2011-06-201-29/+9
| | | | | Fix small bug in FcPatternFormat that was letting element-default to consume the convertor sequence.
* Cleanup copyright notices to replace "Keith Packard" with "the author(s)"Behdad Esfahbod2010-11-102-4/+4
|
* Add fc-pattern cmdline toolBehdad Esfahbod2010-04-201-0/+1
|
* [doc] Fix typoBehdad Esfahbod2009-11-301-1/+1
|
* Fix doc syntax (#22902)Behdad Esfahbod2009-07-241-1/+2
|
* Replace 'KEITH PACKARD' with 'THE AUTHOR(S)' in license text in all filesBehdad Esfahbod2009-03-132-4/+4
|
* [fcformat] Add element filtering and deletionBehdad Esfahbod2009-02-151-1/+5
| | | | | | | | | The filtering, '%{+elt1,elt2,elt3{subexpr}}' will evaluate subexpr with a pattern only having the listed elements from the surrounding pattern. The deletion, '%{-elt1,elt2,elt3{subexpr}}' will evaluate subexpr with a the surrounding pattern sans the listed elements.
* Cleanup all manpage.* filesBehdad Esfahbod2009-02-131-1/+1
| | | | Recent doc2man generates files called manpage.log. This was breaking build.
* [fc-match] Accept list of elements like fc-list (bug #13017)Behdad Esfahbod2009-02-132-20/+57
| | | | | Also make --verbose not ignore list of elements and only print those. Update docs.
* Add fc-scan too that runs FcFileScan/FcDirScanBehdad Esfahbod2009-02-131-3/+4
| | | | | This is quite similar to fc-query, but calling FcFileScan/FcDirScan instead of FcFreeTypeQuery.
* Implement FcPatternFormat and use it in cmdline tools (bug #17107)Behdad Esfahbod2009-02-132-23/+55
| | | | | Still need to add more features, but the API is there, and used by cmdline tools with -f or --format.
* Handle -h and --help according to GNU Coding Standards (#17104)Behdad Esfahbod2009-02-132-22/+26
| | | | | | | | Added -h instead of -?. And upon -h and --help, write usave to stdout instead of stdin, and return 0 instead of 1. -? still works like before as that's what getopt returns upon unknown arguments.
* Get rid of $Id$ tagsBehdad Esfahbod2009-02-131-1/+1
|
* Add fc-query (#13019)Behdad Esfahbod2009-02-131-0/+1
|
* Update man pagesBehdad Esfahbod2009-02-131-7/+23
|
* [fc-match] Fix list of getopt options in --helpBehdad Esfahbod2009-02-131-2/+2
|
* Replace RCS Id tags with the file nameBehdad Esfahbod2009-02-131-1/+1
|
* Make fc-match behave better when style is unknown (bug 15332)Keith Packard2008-05-031-1/+1
|
* Add --all flag to fc-match to show the untrimmed list. Bug 13018.Keith Packard2008-05-031-6/+12
|
* Fix build with !ENABLE_DOCS and no built manpages.Eric Anholt2008-04-181-2/+6
|
* Eliminate references to freetype from utility Makefile.am'sKeith Packard2008-01-081-2/+2
| | | | | The utility programs don't use any freetype interfaces, so they don't need to directly refer to freetype headers or libraries.
* Make fc-match --sort call FcFontRenderPrepare.Behdad Esfahbod2007-10-251-2/+18
| | | | This makes the --sort and regular output the same for each font.
* Distribute man source files for command line programs (bug 9678).Keith Packard2007-10-251-3/+3
| | | | | For systems on whch DOCBOOK is unavailable, distribute command line program manual pages in .man format.
* Remove all .cvsignore filesKeith Packard2006-09-031-6/+0
|
* Skip broken caches. Cache files are auto-written, don't rewrite in fc-cache.Keith Packard2006-08-301-0/+1
| | | | | | | | | | | | | | | | | Validate cache contents and skip broken caches, looking down cache path for valid ones. Every time a directory is scanned, it will be written to a cache file if possible, so fc-cache doesn't need to re-write the cache file. This makes detecting when the cache was generated a bit tricky, so we guess that if the cache wasn't valid before running and is valid afterwards, the cache file was written. Also, allow empty charsets to be serialized with null leaves/numbers. Eliminate a leak in FcEdit by switching to FcObject sooner. Call FcFini from fc-match to make valgrind happy.
* Include $(top_srcdir), $(top_srcdir)/src before anything else.Patrick Lam2006-04-251-5/+6
| | | | | Shuffle order of includes for building out of srcdir on win32. reviewed by: plam
* Fix double free (spotted by Coverity, CID #1965).Patrick Lam2006-04-101-2/+4
| | | | | | | | Check if pattern is not null before using it (Coverity defect #1883). Fix memory leak with hash collision (Coverity defect #1829). Fix memory leak when bail cases (Coverity defect #1828). Don't leak directory name (Coverity defect #1827). reviewed by: plam
* LD_ADD missing dependencies for binaries. Reported by Edson Alves Pereira.Patrick Lam2006-04-071-1/+1
| | | | reviewed by: plam
* Update documentation for fc-match (SGML-ize it). (reported by IlyaPatrick Lam2006-04-064-39/+195
| | | | Konstantinov)
* Fix intel compiler warnings: make many variables static, eliminatePatrick Lam2006-04-061-1/+1
| | | | | | duplicate names, reduce variable scopes, unsigned/signed printf formatting. reviewed by: plam