commit 73fa326d1e791b587da93b795f962c3405b7a96d Author: Akira TAGOH Date: Fri Mar 29 16:10:15 2013 +0900 Bump version to 2.10.92 README | 65 +++++++++++++++++++++++++++++++++++++++++++++++-- configure.ac | 2 +- fontconfig/fontconfig.h | 2 +- 3 files changed, 65 insertions(+), 4 deletions(-) commit c842412c079e781d53f023616d9758223fb68323 Author: Akira TAGOH Date: Fri Mar 29 16:07:30 2013 +0900 Minor fix new-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b3b435b87f1aec1b2779fd7edbbff5571c3c61a2 Author: Akira TAGOH Date: Fri Mar 29 16:02:34 2013 +0900 Bump libtool revision configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3fc22cfe756fcb2d6c5a64aa305957c417c6cecd Author: Akira TAGOH Date: Fri Mar 29 12:46:04 2013 +0900 Minor cleanup Makefile.am | 1 + 1 file changed, 1 insertion(+) commit b561ff2016ce84eef3c81f16dfb0481be6a13f9b Author: Akira TAGOH Date: Fri Jan 18 11:30:10 2013 +0900 Bug 38737 - Wishlist: support FC_POSTSCRIPT_NAME Add the PostScript name into the cache and the matcher. Scoring the better font against the PostScript name by the forward-matching. fontconfig/fontconfig.h | 1 + src/fcfreetype.c | 49 +++++++++++++++++++++++++++- src/fcint.h | 6 ++++ src/fcmatch.c | 21 ++++++++++++ src/fcobjs.h | 1 + src/fcstr.c | 85 ++++++++++++++++++++++++++++--------------------- 6 files changed, 125 insertions(+), 38 deletions(-) commit c758206e8c0e5b572bd34183b184ef4361745333 Author: Akira TAGOH Date: Thu Mar 21 11:58:06 2013 +0900 Fix a SIGSEGV on FcPatternGet* with NULL pattern src/fcpat.c | 2 ++ 1 file changed, 2 insertions(+) commit bdf1581e3de5528f397f19bfd4ca9caaf9e7fe4a Author: Behdad Esfahbod Date: Fri Mar 8 05:53:27 2013 -0500 Fix crash with FcConfigSetCurrent(NULL) src/fccfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aad4d6f6c68d06415333f5d0d3e4b4870114f11d Author: Akira TAGOH Date: Thu Mar 7 13:19:50 2013 +0900 Do not copy FC_*LANG_OBJECT even if it's not available on the pattern those objects are linked to the corresponding string objects. this may causes inconsistency that those objects has more values than them. src/fcmatch.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit e96d7760886a3781a46b3271c76af99e15cb0146 Author: Akira TAGOH Date: Wed Feb 6 19:35:30 2013 +0900 Bug 59456 - Adding a --sysroot like option to fc-cache Add an ability to set the system root to generate the caches. In order to do this, new APIs, FcConfigGetSysRoot() and FcConfigSetSysRoot() is available. doc/fcconfig.fncs | 21 +++++++++++ fc-cache/fc-cache.c | 38 +++++++++++++------ fontconfig/fontconfig.h | 7 ++++ src/fccache.c | 99 +++++++++++++++++++++++++++++++++---------------- src/fccfg.c | 57 ++++++++++++++++++++++++++++ src/fcinit.c | 30 ++++++++++----- src/fcint.h | 15 +++++++- src/fcstr.c | 62 ++++++++++++++++++++++++++++++- 8 files changed, 275 insertions(+), 54 deletions(-) commit 569657a24ca11aedfd3b588984344d7ab97fe09f Author: Akira TAGOH Date: Tue Mar 5 12:46:01 2013 +0900 Fix a memory leak src/fclang.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 612ee2a5c91b8929b2cc5abce4af84d8d7e66bd0 Author: Akira TAGOH Date: Fri Mar 1 22:21:25 2013 +0900 Fix broken sort order with FcFontSort() which was introduced by 4eab908c8679a797ac7016b77a93ee41bb11b0fc src/fcmatch.c | 7 +++++++ 1 file changed, 7 insertions(+) commit ea4ebd59377d3dff3616bd20381f308a92781ae6 Author: Akira TAGOH Date: Fri Mar 1 19:38:21 2013 +0900 Fix a crash when the object is non-builtin object src/fcmatch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 10230497675fa4fcbb427efe8dd2883839ddaec0 Author: Akira TAGOH Date: Fri Mar 1 18:41:27 2013 +0900 Fix a typo conf.d/30-metric-aliases.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit db69bf6ecd0da4d23bdfe38652bb53d2daa655a2 Author: Akira TAGOH Date: Fri Mar 1 18:31:01 2013 +0900 Bug 60783 - Add Liberation Sans Narrow to 30-metric-aliases.conf Add Liberation Sans Narrow as an alias for Arial Narrow conf.d/30-metric-aliases.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 2c696255749683e9a084f797eb033d222510a275 Author: Akira TAGOH Date: Mon Feb 18 13:17:53 2013 +0900 Bug 60748 - broken conf.d/10-autohint.conf and conf.d/10-unhinted.conf Move the target of recipes to the "pattern" from the "font". This is to ensure the targeted objects is updated by them prior to FcDefaultSubstitute() so that it can adds the default values properly. conf.d/10-autohint.conf | 2 +- conf.d/10-no-sub-pixel.conf | 2 +- conf.d/10-sub-pixel-bgr.conf | 2 +- conf.d/10-sub-pixel-rgb.conf | 2 +- conf.d/10-sub-pixel-vbgr.conf | 2 +- conf.d/10-sub-pixel-vrgb.conf | 2 +- conf.d/10-unhinted.conf | 2 +- conf.d/11-lcdfilter-default.conf | 2 +- conf.d/11-lcdfilter-legacy.conf | 2 +- conf.d/11-lcdfilter-light.conf | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) commit 83f679ce558de736ef1a095a362397da0ac3417f Author: Behdad Esfahbod Date: Fri Feb 15 09:48:38 2013 -0500 Accept digits as part of OpenType script tags They've been used since 2005. src/fcfreetype.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 72b0480a21958f0f8c115d8e0a5bfbd8d358b5c3 Author: Akira TAGOH Date: Thu Feb 7 17:56:17 2013 +0900 Add Culmus foundry to the vendor list Maps fonts produced by the Culmus project to the XLFD foundry name culmus. For TrueType fonts, maps the vendor code CLM from the TrueType vendor id field. For Type1 fonts, which use heuristics to guess mappings to XLFD foundries from words in the copyright notice, add the names of the main contributors to the Culmus product to recognize the fonts under their copyright. Patch from Maxim Iorsh src/fcfreetype.c | 67 +++++++++++++++++++------------------------------------- 1 file changed, 23 insertions(+), 44 deletions(-) commit 96220a5ed9d1d761b14a7ac516ac6786c132f280 Author: Quentin Glidic Date: Sat Feb 2 17:01:07 2013 +0100 Use LOG_COMPILER and AM_TESTS_ENVIRONMENT TESTS_ENVIRONMENT is deprecated and should be reserved to the user to override the test environment _LOG_COMPILER is meant to contain the program that runs the test with extension LOG_COMPILER is for extensionless tests AM_TESTS_ENVIRONMENT is meant to set the environment for the tests https://bugs.freedesktop.org/show_bug.cgi?id=60192 Signed-off-by: Quentin Glidic Makefile.am | 1 - configure.ac | 2 +- doc/Makefile.am | 5 ++++- test/Makefile.am | 12 +++++++++++- 4 files changed, 16 insertions(+), 4 deletions(-) commit 62b7d764ce994bb32e7614337fdfa0854445c380 Author: Akira TAGOH Date: Wed Feb 6 19:14:51 2013 +0900 Bump the cache version to 4 fontconfig/fontconfig.h | 2 +- src/fcint.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4eab908c8679a797ac7016b77a93ee41bb11b0fc Author: Akira TAGOH Date: Wed Feb 6 19:02:07 2013 +0900 Update _FcMatchers definition logic to make it easier to maintain. also added FC_HASH_OBJECT to be matched in the pattern, prior to FC_FILE_OBJECT. src/fcint.h | 2 +- src/fcmatch.c | 184 +++++++++++++++++++++++-------------------------- src/fcname.c | 2 +- src/fcobjs.h | 90 ++++++++++++------------ src/fcobjshash.gperf.h | 2 +- 5 files changed, 134 insertions(+), 146 deletions(-) commit 52b2b5c99268d5ad28dc0972c5f136720d55f21b Author: Akira TAGOH Date: Tue Feb 5 20:44:18 2013 +0900 Bug 60312 - DIST_SUBDIRS should never appear in a conditional As it is documented like this: If SUBDIRS is defined conditionally using Automake conditionals, Automake will define DIST_SUBDIRS automatically from the possible values of SUBDIRS in all conditions. So we don't need to re-define DIST_SUBDIRS in Makefile.am unless we use AC_SUBST to define SUBDIRS. Patch from Quentin Glidic Makefile.am | 3 --- 1 file changed, 3 deletions(-) commit 95af7447dba7c54ed162b667c0bb2ea6500e8f32 Author: Akira TAGOH Date: Mon Feb 4 16:03:29 2013 +0900 Bug 50733 - Add font-file hash? Add "hash" object which contains SHA256 hash value (so far) computed from the font file. fontconfig/fontconfig.h | 1 + src/Makefile.am | 1 + src/fcfreetype.c | 9 ++ src/fchash.c | 265 ++++++++++++++++++++++++++++++++++++++++++++++++ src/fcint.h | 7 ++ src/fcobjs.h | 1 + 6 files changed, 284 insertions(+) commit d34643894f2dff7eec35345e8e9b32a9a32fa113 Author: Akira TAGOH Date: Tue Feb 5 14:17:16 2013 +0900 Use AM_MISSING_PROG instead of hardcoding missing Makefile.am | 2 +- configure.ac | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 241cd53ff62599ecf557c6a4f975fc427dad9700 Author: Akira TAGOH Date: Tue Feb 5 11:33:47 2013 +0900 Revert "test: Use SH_LOG_COMPILER and AM_TESTS_ENVIRONMENT" This reverts commit 2146b0307a3476892723104481f27f8484451c52. That change introduces incompatibility and seems not working with older releases of automake, including automake 1.12.2. test/Makefile.am | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) commit 2146b0307a3476892723104481f27f8484451c52 Author: Quentin Glidic Date: Sat Feb 2 17:01:07 2013 +0100 test: Use SH_LOG_COMPILER and AM_TESTS_ENVIRONMENT TESTS_ENVIRONMENT is deprecated and should be reserved to the user to override the test environment _LOG_COMPILER is meant to contain the program that runs the test with extension AM_TESTS_ENVIRONMENT is meant to set the environment for the tests https://bugs.freedesktop.org/show_bug.cgi?id=60192 Signed-off-by: Quentin Glidic test/Makefile.am | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit da0946721af3ab2dff3cd903065336b93592d067 Author: Akira TAGOH Date: Mon Feb 4 17:57:00 2013 +0900 Use AM_MISSING_PROG instead of hardcoding missing configure.ac | 2 ++ src/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 786ead52015573e7b60a53d79abc26d611f1fe93 Author: Akira TAGOH Date: Mon Feb 4 17:20:03 2013 +0900 Modernize configure.ac configure.ac | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 20191810d1fea7c2f49b65ffee3e4d5e2bc0bac3 Author: Akira TAGOH Date: Tue Jan 29 20:19:36 2013 +0900 Bug 23757 - Add mode="delete" to Add two edit mode, "delete" and "delete_all". what values are being deleted depends on as documented. if the target object is same to what is tested, matching value there will be deleted. otherwise all of values in the object will be deleted. so this would means both edit mode will not take any expressions. e.g. Given that the testing is always true here, the following rules: bar will removes "bar" string from "foo" object. and: foo will removes all of values in "bar" object. doc/fontconfig-user.sgml | 2 ++ fonts.dtd | 2 +- src/fccfg.c | 10 ++++++++++ src/fcdbg.c | 6 ++++-- src/fcint.h | 1 + src/fcxml.c | 11 +++++++++++ 6 files changed, 29 insertions(+), 3 deletions(-) commit c1d9588890798e389d0f0ba633b704dee1ea8bf5 Author: Colin Walters Date: Thu Jan 31 21:32:46 2013 -0500 build: Only use PKG_INSTALLDIR if available It's only in pkg-config 0.27 or newer, but 0.25 at least is still fairly widespread. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e11f15628cff04c4a742f88abee22f440edcce52 Author: Christoph J. Thompson Date: Fri Feb 1 02:27:32 2013 +0100 Use the PKG_INSTALLDIR macro. modified: Makefile.am modified: configure.ac Makefile.am | 1 - configure.ac | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) commit d26fb23c41abd87422778bb38eea39f25ba3dc4a Author: Akira TAGOH Date: Fri Jan 25 20:01:24 2013 +0900 Bug 59385 - Do the right thing for intermixed edit and test elements This changes allows to have multiple mathcing rules in one block in the same order. After this changes, the following thing will works as two matching rules: foo foo foo bar fonts.dtd | 2 +- src/fcxml.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) commit fb3b410998aba8835999e2ca7003a180431cfaf4 Author: Akira TAGOH Date: Wed Jan 23 12:37:51 2013 +0900 remove the unnecessary code src/fccompat.c | 6 ------ 1 file changed, 6 deletions(-) commit 5400bb4fb43dc811b813f11d5b0c023db727f543 Author: Akira TAGOH Date: Wed Jan 23 12:32:37 2013 +0900 Add another approach to FC_PRGNAME for Solaris 10 or before Patch from Raimund Steger configure.ac | 2 +- src/fcdefault.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) commit 000ca9ccb03013a5b151f0d21148ab0ca4c2f2de Author: Akira TAGOH Date: Tue Jan 22 12:11:56 2013 +0900 Fix installation on MinGW32 Patch from LRN src/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 6363193a0575cf6f58baf7f0a772ad8f92b7b904 Author: Akira TAGOH Date: Tue Jan 22 12:03:28 2013 +0900 Fix mkstemp absence for some platform Patch from LRN and modified to make more generic. src/fccache.c | 57 ---------------------------- src/fccompat.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/fcint.h | 3 ++ 3 files changed, 119 insertions(+), 57 deletions(-) commit 9dbc282796e9a4d5a2a8cc7d1c8e29b9154e91c0 Author: Akira TAGOH Date: Tue Jan 22 10:26:41 2013 +0900 Add missing file descriptor to F_DUPFD_CLOEXEC Patch from Matthieu Herrb src/fccompat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6118781f7f5dba672d19a841cc231661bf5fb59d Author: Behdad Esfahbod Date: Thu Jan 17 19:27:20 2013 -0600 Fix readlink failure As reported by Raimund Steger. src/fcdefault.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 671bcb34e23ed03b1f564af35560db81f8b12b96 Author: Akira TAGOH Date: Thu Jan 17 12:49:16 2013 +0900 Better fix for 2fe5ddfd Drop realpath() and fix breakage on Win32 configure.ac | 2 +- src/fcdefault.c | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) commit 2fe5ddfdae6be80db5b7e622ab6c1ab985377542 Author: Behdad Esfahbod Date: Wed Jan 16 21:01:28 2013 -0600 Fix FC_PRGNAME default As reported by Raimund Steger. src/fcdefault.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) commit 55d39bcad0737e92e1207fabbd8c65fa9e5e0482 Author: Behdad Esfahbod Date: Wed Jan 16 07:30:44 2013 -0600 Fix fc-cache crash caused by looking up NULL object incorrectly We were returning a skiplist node when looking up NULL! src/fccache.c | 7 +++++-- src/fccfg.c | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) commit 106c4f73119e00a7804ef79ee556f1111d680e32 Author: Behdad Esfahbod Date: Wed Jan 16 07:05:07 2013 -0600 Minor src/fcfreetype.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1a5d0daea0173e2cc47d76d2022467f0dbd423f0 Author: Behdad Esfahbod Date: Wed Jan 16 04:52:06 2013 -0600 Remove unused checks for common functions The check results of these were never actually used. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f9ac4c84c90cbb57afbf1fa3a5c9ff3bfc4f537e Author: Akira TAGOH Date: Wed Jan 16 16:35:28 2013 +0900 Improve FcGetPrgname() to work on BSD configure.ac | 2 +- src/fcdefault.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) commit ec5ca08c807585a9230f83c95f7cca6b7065b142 Author: Behdad Esfahbod Date: Tue Jan 15 20:41:26 2013 -0600 Bug 59379 - FC_PRGNAME Can be used for per-application configuration. configure.ac | 2 +- doc/fontconfig-devel.sgml | 3 +- doc/fontconfig-user.sgml | 1 + fontconfig/fontconfig.h | 1 + src/fccfg.c | 7 ++++ src/fcdefault.c | 85 +++++++++++++++++++++++++++++++++++++++++++++-- src/fcint.h | 3 ++ src/fcobjs.h | 1 + 8 files changed, 99 insertions(+), 4 deletions(-) commit 3f84695104b169fe25742ba3b91d04467f5debc4 Author: Akira TAGOH Date: Tue Sep 4 12:39:48 2012 +0900 Bug 50497 - RFE: Add OpenType feature tags support Add FC_FONT_FEATURES to store the feature tags to be enabled. doc/fontconfig-devel.sgml | 2 ++ doc/fontconfig-user.sgml | 1 + fontconfig/fontconfig.h | 1 + src/fcobjs.h | 1 + 4 files changed, 5 insertions(+) commit dffb69ed8c7cf2e707bc692f94b51108b772d9d8 Author: Akira TAGOH Date: Tue Jan 15 17:26:27 2013 +0900 Fix the build fail on MinGW Reported at http://lists.freedesktop.org/archives/fontconfig/2013-January/004601.html just warn at the runtime instead of the compile time. it somewhat works on even MinGW since FcMakeTempfile() isn't used on Win32 so far. src/fccompat.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 8b8f0d21534aa9b82276815c84429ffca8941d2a Author: Behdad Esfahbod Date: Mon Jan 14 14:39:12 2013 -0600 Minor src/fcmatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8828fffd93c6b19bcfd7626ddc472aa8f055d034 Author: Behdad Esfahbod Date: Mon Jan 14 14:36:38 2013 -0600 Copy all values from pattern to font if the font doesn't have the element Bug 59376 - FcFontRenderPrepare enhancement src/fcmatch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 0831c1770e4bac7269a190936bbb0529d747e233 Author: Behdad Esfahbod Date: Thu Jan 10 09:01:52 2013 -0600 Ensure we find the uninstalled fontconfig header Patch from Colin Walters. test/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 1527c395cbe0bbab9e66a42213ef3ac5ce1c0383 Author: Behdad Esfahbod Date: Thu Jan 10 09:00:18 2013 -0600 Resepct $NOCONFIGURE Patch from Colin Walters. autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)