summaryrefslogtreecommitdiff
path: root/fc-match
AgeCommit message (Collapse)AuthorFilesLines
2018-03-15call setlocaleAkira TAGOH1-0/+2
2017-11-07Add the ruleset description supportAkira TAGOH1-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.
2017-09-20[fc-match/fc-list/fc-query/fc-scan] Add --brief that is like --verbose ↵Behdad Esfahbod1-4/+16
without charset
2013-10-03exit with the error code when FcNameParse() failedAkira TAGOH1-0/+5
2013-04-08build-chain, replace INCLUDES directive by AM_CPPFLAGSSebastian Freundt1-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.
2013-01-03Remove FcInit() calls from toolsBehdad Esfahbod1-5/+0
Library is supposed to automatically initialize itself. If it doesn't, it's a bug.
2013-01-02Switch .gitignore to git.mkBehdad Esfahbod1-0/+2
2012-10-26Use automake variable instead of cleaning files in clean-localAkira TAGOH1-4/+3
just for git.mk coming up from Behdad's threadsafe branch
2012-06-01Fix the wrong estimation for the memory usage information in fontconfigAkira TAGOH1-1/+1
2012-03-16Fix a build issue due to the use of non-portable variablesAkira TAGOH1-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.
2012-03-16Revert "Fix a build fail on some environment."Akira TAGOH1-4/+4
This reverts commit 0fdfddf2ac93c1c0238b70a265998fd6b5ffe7af. Conflicts: doc/Makefile.am
2012-03-10Fix a build fail on some environment.Akira TAGOH1-4/+4
2012-02-21fc-{list,match}: constify format stringMike Frysinger1-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>
2012-02-21Bug 40452 - Running 'fc-match --all' core dumps when no fonts are installedAkira TAGOH1-0/+5
This would changes the behavior of FcFontSort(). it won't returns NULL afterward.
2011-06-20Switch fc-match to use FcPatternFormat()Behdad Esfahbod1-29/+9
Fix small bug in FcPatternFormat that was letting element-default to consume the convertor sequence.
2010-11-10Cleanup copyright notices to replace "Keith Packard" with "the author(s)"Behdad Esfahbod2-4/+4
2010-04-20Add fc-pattern cmdline toolBehdad Esfahbod1-0/+1
2009-11-30[doc] Fix typoBehdad Esfahbod1-1/+1
2009-07-24Fix doc syntax (#22902)Behdad Esfahbod1-1/+2
2009-03-13Replace 'KEITH PACKARD' with 'THE AUTHOR(S)' in license text in all filesBehdad Esfahbod2-4/+4
2009-02-15[fcformat] Add element filtering and deletionBehdad Esfahbod1-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.
2009-02-13Cleanup all manpage.* filesBehdad Esfahbod1-1/+1
Recent doc2man generates files called manpage.log. This was breaking build.
2009-02-13[fc-match] Accept list of elements like fc-list (bug #13017)Behdad Esfahbod2-20/+57
Also make --verbose not ignore list of elements and only print those. Update docs.
2009-02-13Add fc-scan too that runs FcFileScan/FcDirScanBehdad Esfahbod1-3/+4
This is quite similar to fc-query, but calling FcFileScan/FcDirScan instead of FcFreeTypeQuery.
2009-02-13Implement FcPatternFormat and use it in cmdline tools (bug #17107)Behdad Esfahbod2-23/+55
Still need to add more features, but the API is there, and used by cmdline tools with -f or --format.
2009-02-13Handle -h and --help according to GNU Coding Standards (#17104)Behdad Esfahbod2-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.
2009-02-13Get rid of $Id$ tagsBehdad Esfahbod1-1/+1
2009-02-13Add fc-query (#13019)Behdad Esfahbod1-0/+1
2009-02-13Update man pagesBehdad Esfahbod1-7/+23
2009-02-13[fc-match] Fix list of getopt options in --helpBehdad Esfahbod1-2/+2
2009-02-13Replace RCS Id tags with the file nameBehdad Esfahbod1-1/+1
2008-05-03Make fc-match behave better when style is unknown (bug 15332)Keith Packard1-1/+1
2008-05-03Add --all flag to fc-match to show the untrimmed list. Bug 13018.Keith Packard1-6/+12
2008-04-18Fix build with !ENABLE_DOCS and no built manpages.Eric Anholt1-2/+6
2008-01-08Eliminate references to freetype from utility Makefile.am'sKeith Packard1-2/+2
The utility programs don't use any freetype interfaces, so they don't need to directly refer to freetype headers or libraries.
2007-10-25Make fc-match --sort call FcFontRenderPrepare.Behdad Esfahbod1-2/+18
This makes the --sort and regular output the same for each font.
2007-10-25Distribute man source files for command line programs (bug 9678).Keith Packard1-3/+3
For systems on whch DOCBOOK is unavailable, distribute command line program manual pages in .man format.
2006-09-03Remove all .cvsignore filesKeith Packard1-6/+0
2006-08-30Skip broken caches. Cache files are auto-written, don't rewrite in fc-cache.Keith Packard1-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.
2006-04-25Include $(top_srcdir), $(top_srcdir)/src before anything else.Patrick Lam1-5/+6
Shuffle order of includes for building out of srcdir on win32. reviewed by: plam
2006-04-10Fix double free (spotted by Coverity, CID #1965).Patrick Lam1-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
2006-04-07LD_ADD missing dependencies for binaries. Reported by Edson Alves Pereira.Patrick Lam1-1/+1
reviewed by: plam
2006-04-06Update documentation for fc-match (SGML-ize it). (reported by IlyaPatrick Lam4-39/+195
Konstantinov)
2006-04-06Fix intel compiler warnings: make many variables static, eliminatePatrick Lam1-1/+1
duplicate names, reduce variable scopes, unsigned/signed printf formatting. reviewed by: plam
2006-01-30Remove references to dead fontconfig(3) manpages in other fontconfigPatrick Lam1-2/+0
manpages. reviewed by: plam
2005-11-232005-11-23 Frederic Crozat <fcrozat@mandriva.com>: reviewed by: plamPatrick Lam1-1/+1
Make getopt_long accept -s parameter to fc-match as well.
2005-09-11Merge with HEAD and finish the GCC 4 cleanups (no more warnings!)Patrick Lam1-4/+4
2004-12-07Change files from ISO-Latin-1 to UTF-8Keith Packard3-3/+3
2004-04-14Add instructions for doing a releasefc-2_2_93Keith Packard1-1/+1
clean up .spec file; perhaps this will be useful to somebody... Update to 2.2.93 Make 'scanopen' static so GCC doesn't whine about lacking prototype Add WARN_CFLAGS to pass -W flags for GCC systems Change various char types around to match across function calls. Fixed bug in using available_sizes[i].height which is in pixels, not 64ths of a pixel.
2003-10-27Yet more cleanups to finish getting 'make distcheck' working This has beenKeith Packard1-1/+1
tested to ensure that it even works from a _build directory.