Use the glob matching for filename
Regex is expensive to compare filenames. we already have the glob
matching
and it works enough in this case.
Prior to this change, renaming FcConfigGlobMatch() to FcStrGlobMatch()
and moving to fcstr.c
src/fccfg.c | 46 +---------------------------------------------
src/fcint.h | 4 ++++
src/fcmatch.c | 6 ++----
src/fcstr.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 51 insertions(+), 49 deletions(-)
Bug 63329 - make check fails: .. contents:: :depth: 2
Add back FcHashGetSHA256DigestFromFile() and fall back to it
when font isn't SFNT-based font because FT_Load_Sfnt_Table
fails with FT_Err_Invalid_Face_Handle.
src/fcfreetype.c | 32 ++++++++++++++++++++---------
src/fchash.c | 62
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/fcint.h | 4 ++++
3 files changed, 88 insertions(+), 10 deletions(-)
documented FC_HASH and FC_POSTSCRIPT_NAME
doc/fontconfig-devel.sgml | 3 +++
1 file changed, 3 insertions(+)
Revert the previous change and rework to not export freetype API
outside fcfreetype.c
src/fcfreetype.c | 23 ++++++++++++++++++++---
src/fchash.c | 47 ++++++++++++-----------------------------------
src/fcint.h | 5 ++---
3 files changed, 34 insertions(+), 41 deletions(-)
Obtain fonts data via FT_Face instead of opening a file directly
src/fcfreetype.c | 2 +-
src/fchash.c | 50 +++++++++++++++++++++++++++++++++-----------------
src/fcint.h | 4 +++-
3 files changed, 37 insertions(+), 19 deletions(-)
Ensure closing fp on error
src/fchash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
build-chain, replace INCLUDES directive by AM_CPPFLAGS
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.
Tools.mk | 4 ++--
fc-cache/Makefile.am | 2 +-
fc-cat/Makefile.am | 2 +-
fc-list/Makefile.am | 2 +-
fc-match/Makefile.am | 2 +-
fc-pattern/Makefile.am | 2 +-
fc-query/Makefile.am | 2 +-
fc-scan/Makefile.am | 2 +-
fc-validate/Makefile.am | 2 +-
src/Makefile.am | 2 +-
10 files changed, 11 insertions(+), 11 deletions(-)
Bug 62980 - matching native fonts with even :lang=en
Fix the matcher modified by 4eab908c8679a797ac7016b77a93ee41bb11b0fc
to deal with both strong and weak of FC_LANG as the same location
in the score
src/fcmatch.c | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
Bump version to 2.10.92
README | 65
+++++++++++++++++++++++++++++++++++++++++++++++--
configure.ac | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 65 insertions(+), 4 deletions(-)
Minor fix
new-version.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Bump libtool revision
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Minor cleanup
Makefile.am | 1 +
1 file changed, 1 insertion(+)
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(-)
Fix a SIGSEGV on FcPatternGet* with NULL pattern
src/fcpat.c | 2 ++
1 file changed, 2 insertions(+)
Fix crash with FcConfigSetCurrent(NULL)
src/fccfg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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(-)
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(-)
Fix a memory leak
src/fclang.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Fix broken sort order with FcFontSort()
which was introduced by 4eab908c8679a797ac7016b77a93ee41bb11b0fc
src/fcmatch.c | 7 +++++++
1 file changed, 7 insertions(+)
Fix a crash when the object is non-builtin object
src/fcmatch.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Fix a typo
conf.d/30-metric-aliases.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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(+)
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(-)
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(-)
Add Culmus foundry to the vendor list
Maps fonts produced by the Culmus project
<http://culmus.sourceforge.net>
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(-)
Use LOG_COMPILER and AM_TESTS_ENVIRONMENT
TESTS_ENVIRONMENT is deprecated and should be reserved to the user to
override the test environment
<ext>_LOG_COMPILER is meant to contain the program that runs the test
with <ext> 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 <sardemff7+git@sardemff7.net>
Makefile.am | 1 -
configure.ac | 2 +-
doc/Makefile.am | 5 ++++-
test/Makefile.am | 12 +++++++++++-
4 files changed, 16 insertions(+), 4 deletions(-)
Bump the cache version to 4
fontconfig/fontconfig.h | 2 +-
src/fcint.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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(-)
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(-)
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(+)
Use AM_MISSING_PROG instead of hardcoding missing
Makefile.am | 2 +-
configure.ac | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
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(-)
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
<ext>_LOG_COMPILER is meant to contain the program that runs the test
with <ext> 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 <sardemff7+git@sardemff7.net>
test/Makefile.am | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
Use AM_MISSING_PROG instead of hardcoding missing
configure.ac | 2 ++
src/Makefile.am | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
Modernize configure.ac
configure.ac | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Bug 23757 - Add mode="delete" to <edit>
Add two edit mode, "delete" and "delete_all".
what values are being deleted depends on <test> 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:
<match>
<test name="foo" compare="eq">
<string>bar</string>
</test>
<edit name="foo" mode="delete"/>
</match>
will removes "bar" string from "foo" object. and:
<match>
<test name="foo" compare="eq">
<string>foo</string>
</test>
<edit name="bar" mode="delete"/>
</match>
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(-)
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(-)
Use the PKG_INSTALLDIR macro.
modified: Makefile.am
modified: configure.ac
Makefile.am | 1 -
configure.ac | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
Bug 59385 - Do the right thing for intermixed edit and test elements
This changes allows to have multiple mathcing rules in one <match>
block
in the same order.
After this changes, the following thing will works as two matching
rules:
<match>
<!-- rule 1 -->
<test name="family" compare="eq">
<string>foo</string>
</test>
<edit name="foo" mode="append">
<string>foo</string>
</edit>
<!-- rule 2 -->
<test name="foo" compare="eq">
<string>foo</string>
</test>
<edit name="foo" mode="append">
<string>bar</string>
</edit>
</match>
fonts.dtd | 2 +-
src/fcxml.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+), 1 deletion(-)
remove the unnecessary code
src/fccompat.c | 6 ------
1 file changed, 6 deletions(-)
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(-)
Fix installation on MinGW32
Patch from LRN
src/Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
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(-)
Add missing file descriptor to F_DUPFD_CLOEXEC
Patch from Matthieu Herrb
src/fccompat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix readlink failure
As reported by Raimund Steger.
src/fcdefault.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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(-)
Fix FC_PRGNAME default
As reported by Raimund Steger.
src/fcdefault.c | 36 +++++++++++++++++++-----------------
1 file changed, 19 insertions(+), 17 deletions(-)
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(-)
Minor
src/fcfreetype.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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(-)
Improve FcGetPrgname() to work on BSD
configure.ac | 2 +-
src/fcdefault.c | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
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(-)
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(+)
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(-)
Minor
src/fcmatch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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(-)
Ensure we find the uninstalled fontconfig header
Patch from Colin Walters.
test/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
Resepct $NOCONFIGURE
Patch from Colin Walters.
autogen.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Bump version to 2.10.91
README | 105
+++++++++++++++++++++++++++++++++++++++++++++++-
configure.ac | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 105 insertions(+), 4 deletions(-)
Update the date in README properly
new-version.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Make linker happy
fc-validate/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add atomic ops for Solaris
Patch from Raimund Steger.
configure.ac | 22 ++++++++++++++++++++--
src/fcatomic.h | 12 ++++++++++++
2 files changed, 32 insertions(+), 2 deletions(-)
Bug 29312 - RFE: feature to indicate which characters are missing
to satisfy the language support
Add fc-validate to check the language coverage in a font.
Makefile.am | 2 +-
configure.ac | 1 +
doc/fclangset.fncs | 8 ++
fc-validate/Makefile.am | 60 +++++++++++
fc-validate/fc-validate.c | 242
+++++++++++++++++++++++++++++++++++++++++++
fc-validate/fc-validate.sgml | 182 ++++++++++++++++++++++++++++++++
fontconfig/fontconfig.h | 3 +
src/fcint.h | 3 -
8 files changed, 497 insertions(+), 4 deletions(-)
Fix a typo in the manpages template
doc/func.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add pthread test
Not enabled by default since it requires config and fonts.
test/Makefile.am | 9 ++++++
test/test-pthread.c | 79
+++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
Fix memory corruption!
In FcStrListCreate() we were increasing reference count of set,
however, if set had a const reference (which is the case for list
of languages), and with multiple threads, the const ref (-1) was
getting up to 1 and then a decrease was destroying the set. Ouch.
Here's the valgrind error, which took me quite a few hours of
running to catch:
==4464== Invalid read of size 4
==4464== at 0x4E58FF3: FcStrListNext (fcstr.c:1256)
==4464== by 0x4E3F11D: FcConfigSubstituteWithPat (fccfg.c:1508)
==4464== by 0x4E3F8F4: FcConfigSubstitute (fccfg.c:1729)
==4464== by 0x4009FA: test_match (simple-pthread-test.c:53)
==4464== by 0x400A6E: run_test_in_thread (simple-pthread-test.c:68)
==4464== by 0x507EE99: start_thread (pthread_create.c:308)
==4464== Address 0x6bc0b44 is 4 bytes inside a block of size
24 free'd
==4464== at 0x4C2A82E: free (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4464== by 0x4E58F84: FcStrSetDestroy (fcstr.c:1236)
==4464== by 0x4E3F0C6: FcConfigSubstituteWithPat (fccfg.c:1507)
==4464== by 0x4E3F8F4: FcConfigSubstitute (fccfg.c:1729)
==4464== by 0x4009FA: test_match (simple-pthread-test.c:53)
==4464== by 0x400A6E: run_test_in_thread (simple-pthread-test.c:68)
==4464== by 0x507EE99: start_thread (pthread_create.c:308)
Thread test is running happily now. Will add the test in a moment.
src/fcstr.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
Fix a build fail on mingw
Regarding the change of 596931c8b4a7a35cbff9c33437d3cd44395d9c3f
configure.ac | 2 +-
src/fccompat.c | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
missing header file to declare _mkdir
src/fccache.c | 1 +
1 file changed, 1 insertion(+)
Bug 47705 - Using O_CLOEXEC
configure.ac | 4 ++-
src/Makefile.am | 1 +
src/fcatomic.c | 3 +-
src/fccache.c | 6 ++--
src/fccompat.c | 103
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/fcint.h | 7 ++++
src/fcstat.c | 2 +-
src/fcxml.c | 2 +-
8 files changed, 120 insertions(+), 8 deletions(-)
Fix pthreads setup
As reported by Raimund Steger.
configure.ac | 3 +++
1 file changed, 3 insertions(+)
Oops, add the actual file
conf.d/10-scale-bitmap-fonts.conf | 81
+++++++++++++++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
Add 10-scale-bitmap-fonts.conf and enable by default
conf.d/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
Clean up the unused variable
fc-query/fc-query.c | 1 -
1 file changed, 1 deletion(-)
Remove FcInit() calls from tools
Library is supposed to automatically initialize itself. If it
doesn't,
it's a bug.
fc-list/fc-list.c | 5 -----
fc-match/fc-match.c | 5 -----
fc-pattern/fc-pattern.c | 5 -----
fc-query/fc-query.c | 6 ------
fc-scan/fc-scan.c | 6 ------
5 files changed, 27 deletions(-)
Don't use blanks for fc-query
fc-query is supposed to be config-independent.
fc-query/fc-query.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Missing header file for _mkdir declaration
src/fcatomic.c | 1 +
1 file changed, 1 insertion(+)
Minor
src/fcobjs.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Ugh, add Tools.mk
Tools.mk | 64
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
Second try to make Sun CPP happy
src/Makefile.am | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
Really fix cross-compiling and building of tools this time
configure.ac | 1 +
fc-case/Makefile.am | 47 +++++----------------------
fc-glyphname/Makefile.am | 47 +++++----------------------
fc-glyphname/fc-glyphname.c | 2 +-
fc-lang/Makefile.am | 44 +++++---------------------
fc-lang/fc-lang.c | 8 ++---
m4/ax_cc_for_build.m4 | 77
+++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 107 insertions(+), 119 deletions(-)
Work around Sun CPP
According to Raimund Steger:
> [...]
> diff --git a/src/Makefile.am b/src/Makefile.am
> index dc082b7..57c34a2 100644
> [...]
> +fcobjshash.gperf: fcobjshash.gperf.h fcobjs.h
> + $(AM_V_GEN) $(CPP) -I$(top_srcdir) $< | $(GREP) '^[^#]' |
awk ' \
> + /CUT_OUT_BEGIN/ { no_write=1; next; }; \
> + /CUT_OUT_END/ { no_write=0; next; }; \
> + { if (!no_write) print; next; }; \
> + ' - > $@.tmp && \
> + mv -f $@.tmp $@
Sun Studio CPP seems to insert whitespace in a different way than
GCC's CPP.
GCC generates in src/fcobjshash.gperf:
[...]
"family", FC_FAMILY_OBJECT
"familylang", FC_FAMILYLANG_OBJECT
[...]
Sun Studio generates:
[...]
"family" , FC_FAMILY_OBJECT
"familylang" , FC_FAMILYLANG_OBJECT
[...]
leading to:
[...]
Making all in src
gmake[2]: Entering directory
`/home/rs/src/fontconfig-git/fontconfig/src'
GEN fcobjshash.gperf
GEN fcobjshash.h
Key link: " " = " ", with key set "".
1 input keys have identical hash values,
use option -D.
gmake[2]: *** [fcobjshash.h] Error 1
gmake[2]: Leaving directory
`/home/rs/src/fontconfig-git/fontconfig/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/rs/src/fontconfig-git/fontconfig'
gmake: *** [all] Error 2
...maybe we could tuck in an additional sed to remove the whitespace,
like:
[...]
fcobjshash.gperf: fcobjshash.gperf.h fcobjs.h
$(AM_V_GEN) $(CPP) -I$(top_srcdir) $< | \
$(SED) 's/^\s*//;s/\s*,\s*/,/;' | \
$(GREP) '^[^#]' | \
$(AWK) '/CUT_OUT_BEGIN/,/CUT_OUT_END/ { next; }; { print; };' \
> $@.tmp && \
mv -f $@.tmp $@
[...]
though I'm not sure what kind of guarantee CPP can give us/what
easier option I might have missed...
src/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Fix build around true/false
src/fcatomic.h | 4 ++--
src/fcinit.c | 10 ++++++++++
2 files changed, 12 insertions(+), 2 deletions(-)
Trying to fix distcheck
Doesn't work though :(. Building docs is very fragile...
At least, if docbook is present, distcheck passes now.
Makefile.am | 11 +++++++++--
configure.ac | 4 ----
doc/Makefile.am | 8 ++++++++
3 files changed, 17 insertions(+), 6 deletions(-)
Fix more warnings.
Linux build and mingw32 cross build warning-free now.
src/fcobjs.c | 10 ++++++++--
src/fcobjshash.gperf.h | 2 +-
2 files changed, 9 insertions(+), 3 deletions(-)
Use CC_FOR_BUILD to generate source files
Previously we were failing if CROSS_COMPILING and the generated
headers
were not present. It works just fine now.
One caveat: the fix is not fully correct since config.h is being
included in the files built with CC_FOR_BUILD, but config.h has config
for the host system, not the build system. Should be fine though.
configure.ac | 1 +
doc/Makefile.am | 6 +-----
fc-case/Makefile.am | 8 +-------
fc-glyphname/Makefile.am | 9 ++++-----
fc-lang/Makefile.am | 9 +++------
5 files changed, 10 insertions(+), 23 deletions(-)
Fix build and warnings on win32
src/Makefile.am | 1 +
src/fcatomic.h | 9 +++------
src/fccache.c | 2 +-
src/fccfg.c | 17 ++++++-----------
src/fcint.h | 7 +------
src/fcmutex.h | 5 ++---
src/fcstat.c | 3 ---
src/fcstr.c | 3 ---
src/fcwindows.h | 44 ++++++++++++++++++++++++++++++++++++++++++++
src/fcxml.c | 18 +++++++++---------
10 files changed, 67 insertions(+), 42 deletions(-)
Minor
fc-glyphname/fc-glyphname.c | 46
++++++++++++++++++++++-----------------------
1 file changed, 23 insertions(+), 23 deletions(-)
Fix compiler warnings
src/fcobjs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Remove FcSharedStr*
src/fccfg.c | 2 +-
src/fcdefault.c | 6 +++---
src/fcint.h | 9 +++------
src/fclist.c | 6 +++---
src/fcname.c | 2 +-
src/fcobjs.c | 2 +-
src/fcpat.c | 25 +++----------------------
src/fcstr.c | 11 +----------
src/fcxml.c | 10 +++++-----
9 files changed, 21 insertions(+), 52 deletions(-)
Fixup fcobjs.c
Ouch!
src/fcobjs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Warn about undefined/invalid attributes during config parsing
src/fcxml.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
Make fcobjs.c thread-safe
With this, the library should be threadsafe as far as my analysis
goes!
src/fcobjs.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Make FcDirCacheDispose() threadsafe
src/fccache.c | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Make cache hash threadsafe
This concludes my first pass at making fontconfig threadsafe. Now to
testing and actually fixing it!
src/fccache.c | 37 ++++++++++++++++++++++++++++++-------
1 file changed, 30 insertions(+), 7 deletions(-)
Make random-state initialization threadsafe
src/fccache.c | 5 +++++
1 file changed, 5 insertions(+)
Add a big cache lock
Not used yet.
src/fccache.c | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Make cache refcounting threadsafe
src/fcatomic.h | 1 +
src/fccache.c | 13 ++++++-------
2 files changed, 7 insertions(+), 7 deletions(-)
Minor
src/fccfg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Make FcCacheIsMmapSafe() threadsafe
src/fccache.c | 38 ++++++++++++++++++++++----------------
1 file changed, 22 insertions(+), 16 deletions(-)
Minor
src/fcinit.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Make default-FcConfig threadsafe
src/fccfg.c | 60
+++++++++++++++++++++++++++++++++++++--------------------
src/fcdefault.c | 3 +--
2 files changed, 40 insertions(+), 23 deletions(-)
Minor
src/fccfg.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Refactor; contain default config in fccfg.c
src/fccfg.c | 26 ++++++++++++++++++++++++--
src/fcinit.c | 14 ++------------
src/fcint.h | 8 ++++++--
src/fcxml.c | 4 ++--
4 files changed, 34 insertions(+), 18 deletions(-)
Make FcDefaultFini() threadsafe
src/fcdefault.c | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
Make FcInitDebug() idempotent
src/fcdbg.c | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
Make FcGetDefaultLang and FcGetDefaultLangs thread-safe
src/fcdefault.c | 83
+++++++++++++++++++++++++++++++++++++++++----------------
src/fcinit.c | 1 +
src/fcint.h | 3 +++
src/fcstr.c | 4 +++
4 files changed, 68 insertions(+), 23 deletions(-)
Make refcounts, patterns, charsets, strings, and FcLang thread-safe
src/fcatomic.h | 18 +++++++++---------
src/fccfg.c | 29 +++++++++++++++--------------
src/fccharset.c | 24 ++++++++++++------------
src/fcdefault.c | 2 +-
src/fcint.h | 26 ++++++++++++++++++++------
src/fclang.c | 43 ++++++++++++++++++++++++-------------------
src/fcmatch.c | 4 ----
src/fcmutex.h | 2 ++
src/fcpat.c | 25 ++++++++++++-------------
src/fcstr.c | 24 +++++++++++++-----------
10 files changed, 108 insertions(+), 89 deletions(-)
Add thread-safety primitives
COPYING | 1 +
src/Makefile.am | 2 +
src/fcatomic.h | 123
++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/fcint.h | 4 +-
src/fcmutex.h | 126
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 254 insertions(+), 2 deletions(-)
Add build stuff for threadsafety primitives
Copied over from HarfBuzz.
configure.ac | 38 ++++++-
m4/ax_pthread.m4 | 309
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 346 insertions(+), 1 deletion(-)
Fix build stuff
src/Makefile.am | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Remove shared-str pool
We used to have a shared-str pool. Removed to make thread-safety
work easier. My measurements show that the extra overhead is not
significant by any means.
src/fcpat.c | 58
+++++++---------------------------------------------------
1 file changed, 7 insertions(+), 51 deletions(-)
Switch .gitignore to git.mk
.gitignore | 100 ---------------------
Makefile.am | 2 +
conf.d/Makefile.am | 2 +
doc/Makefile.am | 2 +
fc-cache/Makefile.am | 2 +
fc-case/Makefile.am | 2 +
fc-cat/Makefile.am | 2 +
fc-glyphname/Makefile.am | 2 +
fc-lang/Makefile.am | 2 +
fc-list/Makefile.am | 2 +
fc-match/Makefile.am | 2 +
fc-pattern/Makefile.am | 2 +
fc-query/Makefile.am | 2 +
fc-scan/Makefile.am | 2 +
fontconfig/Makefile.am | 2 +
git.mk | 227
+++++++++++++++++++++++++++++++++++++++++++++++
src/Makefile.am | 2 +
test/Makefile.am | 2 +
18 files changed, 259 insertions(+), 100 deletions(-)
Use a static perfect hash table for object-name lookup
The hash table is generated by gperf. For runtime element types,
we use
a append-only linked list.
A bit clumsy, but I think I got it right.
src/Makefile.am | 26 +++-
src/fcinit.c | 1 -
src/fcint.h | 79 ++++---------
src/fcname.c | 315
+++++++------------------------------------------
src/fcobjs.c | 130 ++++++++++++++++++++
src/fcobjs.h | 44 +++++++
src/fcobjshash.gperf.h | 26 ++++
7 files changed, 291 insertions(+), 330 deletions(-)
Deprecate FcName(Un)RegisterObjectTypes / FcName(Un)RegisterConstants
These never worked as intended. The problem is, if Fontconfig
tries to
read config files when these new types / constants are not registered,
it errs. As a result, no defined types / constants are usable from
config files. Which makes these really useless. Xft was the
only user
of this API and even there it's not really used. Just kill it.
One inch closer to thread-safety since we can fix the object-type hash
table at compile time.
doc/fcconstant.fncs | 8 +---
doc/fcobjecttype.fncs | 6 +--
fontconfig/fontconfig.h | 10 +++--
src/fcname.c | 100
++++++------------------------------------------
4 files changed, 23 insertions(+), 101 deletions(-)
Whitespace
fontconfig/fontconfig.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Minor
src/fcname.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Don't crash in FcPatternFormat() with NULL pattern
src/fcformat.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Don't crash in FcPatternDestroy with NULL pattern
src/fcpat.c | 3 +++
1 file changed, 3 insertions(+)
Add NULL check
src/fcformat.c | 3 +++
1 file changed, 3 insertions(+)
Refuse to set value to unsupported types during config too
src/fccfg.c | 34 ++++++++++++++++++++++++++++------
1 file changed, 28 insertions(+), 6 deletions(-)
Make FC_DBG_OBJTYPES debug messages into warnings
And remove FC_DBG_OBJTYPES since it has no use now.
src/fcdbg.c | 30 +++++++++++++++++++-----------
src/fcint.h | 5 ++++-
src/fcpat.c | 21 +++++++++------------
3 files changed, 32 insertions(+), 24 deletions(-)
Warn if <name target="font"> appears in <match target="pattern">
src/fccfg.c | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
Adjust docs for recent changes
doc/fontconfig-user.sgml | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Initialize matrix during name parsing
Before:
$ fc-match sans:matrix=2 -v | grep matrix
matrix: [2 6.95183e-310; 0 0](s)
After:
$ fc-match sans:matrix=2 -v | grep matrix
matrix: [2 0; 0 1](s)
src/fcname.c | 1 +
1 file changed, 1 insertion(+)
Make tests run on Windows
test/Makefile.am | 2 +-
test/run-test.sh | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Enable fcarch assert checks even when FC_ARCHITECTURE is explicitly
given
After all, if the asserts fail, the resulting library simply can't be
working correctly.
src/fcarch.c | 9 ---------
1 file changed, 9 deletions(-)
Remove unneeded stuff
fc-cat/fc-cat.c | 10 ++++------
fc-lang/fc-lang.c | 11 -----------
2 files changed, 4 insertions(+), 17 deletions(-)
Unbreak build when FC_ARCHITECTURE is defined
src/fcarch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Don't warn if an unknown element is used in an expression
The type will be resolved at runtime...
For example, we can do this now without getting a warning:
<match target="font">
<test name="scalable" compare="eq">
<bool>false</bool>
</test>
<edit name="pixelsizefixupfactor" mode="assign">
<divide>
<name target="pattern">pixelsize</name>
<name target="font" >pixelsize</name>
</divide>
</edit>
<edit name="matrix" mode="assign">
<times>
<name>matrix</name>
<matrix>
<name>pixelsizefixupfactor</name> <double>0</double>
<double>0</double> <name>pixelsizefixupfactor</name>
</matrix>
</times>
</edit>
<edit name="size" mode="assign">
<divide>
<name>size</name>
<name>pixelsizefixupfactor</name>
</divide>
</edit>
</match>
Previously the last edit was generating:
Fontconfig warning:
"/home/behdad/.local/etc/fonts/conf.d/00-scale-bitmap-fonts.conf",
line 29: saw unknown, expected number
src/fcxml.c | 4 ++++
1 file changed, 4 insertions(+)
Allow target="font/pattern/default" in <name> elements
Based on idea from Raimund Steger.
For example, one can do something like this:
<match target="font">
<test name="scalable" compare="eq">
<bool>false</bool>
</test>
<edit name="pixelsizefixupfactor" mode="assign">
<divide>
<name target="pattern">pixelsize</name>
<name target="font" >pixelsize</name>
</divide>
</edit>
<edit name="matrix" mode="assign">
<times>
<name>matrix</name>
<matrix>
<name>pixelsizefixupfactor</name> <double>0</double>
<double>0</double> <name>pixelsizefixupfactor</name>
</matrix>
</times>
</edit>
</match>
Part of work to make bitmap font scaling possible. See thread
discussion:
http://lists.freedesktop.org/archives/fontconfig/2012-December/004498.html
fonts.dtd | 3 ++-
src/fccfg.c | 57 +++++++++++++++++++++++++++----------------------
src/fcdbg.c | 19 ++++++++++++-----
src/fcint.h | 9 +++++++-
src/fcxml.c | 71
++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
5 files changed, 118 insertions(+), 41 deletions(-)
Remove memory accounting and reporting
That belongs in tools like cairo/util/malloc-stat.so
src/fcatomic.c | 6 ----
src/fcblanks.c | 8 -----
src/fccfg.c | 16 ---------
src/fccharset.c | 36 -------------------
src/fcfs.c | 8 -----
src/fcinit.c | 105
--------------------------------------------------------
src/fcint.h | 45 ------------------------
src/fclang.c | 17 +--------
src/fclist.c | 10 ------
src/fcmatrix.c | 4 ---
src/fcname.c | 2 --
src/fcpat.c | 20 +----------
src/fcstr.c | 21 ------------
src/fcxml.c | 22 ------------
14 files changed, 2 insertions(+), 318 deletions(-)
Fixup from 4f6767470f52b287a2923e7e6d8de5fae1993f67
src/fcxml.c | 5 -----
1 file changed, 5 deletions(-)
Fix more warnings
src/fcserialize.c | 1 -
src/ftglue.c | 1 -
2 files changed, 2 deletions(-)
Fix warning
src/fcstat.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Fix sign-compare warnings
src/fccache.c | 6 +++---
src/fcfreetype.c | 6 +++---
src/fcint.h | 4 ++--
src/fclang.c | 6 +++---
src/fcname.c | 6 +++---
src/fcxml.c | 4 ++--
src/ftglue.c | 2 +-
7 files changed, 17 insertions(+), 17 deletions(-)
Fix more warnings
src/fcstr.c | 2 --
src/fcxml.c | 2 --
2 files changed, 4 deletions(-)
Fix unused-parameter warnings
src/fcarch.c | 2 +-
src/fccache.c | 2 +-
src/fccfg.c | 2 +-
src/fccharset.c | 4 ++--
src/fcdir.c | 6 +++---
src/fcformat.c | 6 +++---
src/fcint.h | 6 ++++++
src/fcmatch.c | 9 ++++-----
src/fcxml.c | 10 +++++-----
9 files changed, 26 insertions(+), 21 deletions(-)
Fix compiler warnings
src/fccfg.c | 44 ++++++++++++++++++++++----------------------
src/fcformat.c | 2 +-
src/fcfreetype.c | 6 ++----
src/fcmatch.c | 14 +++++++-------
src/fcname.c | 6 +++---
src/fcpat.c | 16 ++++++++--------
src/fcxml.c | 20 ++++++++++----------
7 files changed, 53 insertions(+), 55 deletions(-)
Parse matrices of expressions
Previously a <matrix> element could only accept four <double>
literals.
It now accepts full expressions, which can in turn poke into the
pattern, do math, etc.
fonts.dtd | 2 +-
src/fccfg.c | 24 +++++++++++++--
src/fcdbg.c | 16 ++++++----
src/fcint.h | 6 +++-
src/fcxml.c | 97
+++++++++++++++++++++++++++++++++++--------------------------
5 files changed, 94 insertions(+), 51 deletions(-)
Fix typo
Ouch, this has been wrong since 2004... I guess no one uses <patelt>
stuff.
src/fcxml.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Check the system font to be initialized
config->fonts is an array and checking if config->fonts is a null
will not be useful.
src/fccfg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix a memory leak
src/fcxml.c | 1 +
1 file changed, 1 insertion(+)
Fix a typo that accessing to the out of array
src/fcstr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
clean up
ret won't be -1 if HAVE_STRUCT_DIRENT_D_TYPE isn't defined.
src/fcstat.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Remove the dead code
fc-cache/fc-cache.c | 7 -------
1 file changed, 7 deletions(-)
Remove the duplicate null-check
src/fcinit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix the wrong estimation for the memory usage information in
fontconfig
src/fccfg.c | 2 ++
src/fcinit.c | 16 ++++++++++------
src/fclang.c | 26 ++++++++++++++++++++++++--
src/fcstr.c | 5 ++---
src/fcxml.c | 28 ++++++++++++++++------------
5 files changed, 54 insertions(+), 23 deletions(-)
Fix a typo
src/fcdir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Do not show the deprecation warning if it is a symlink
conf.d/50-user.conf | 7 ++++++-
configure.ac | 2 +-
src/fcdir.c | 14 ++++++++++++++
src/fcint.h | 3 +++
src/fcxml.c | 6 ++++--
5 files changed, 28 insertions(+), 4 deletions(-)
Fix build issues on clean tree
doc/Makefile.am | 9 ++-------
fc-case/Makefile.am | 7 +++++--
fc-glyphname/Makefile.am | 9 ++++++---
fc-lang/Makefile.am | 9 ++++++---
4 files changed, 19 insertions(+), 15 deletions(-)
Fix build when srcdir != builddir
When ./configure'd in a directory other than the srcdir, we need
to look
in ${top_builddir)/src for the generated header fcstdint.h
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
fc-case/Makefile.am | 2 +-
fc-glyphname/Makefile.am | 2 +-
fc-lang/Makefile.am | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Fix a potability issue about stdint.h
configure.ac | 1 +
m4/ax_create_stdint_h.m4 | 695
+++++++++++++++++++++++++++++++++++++++++++++++
src/Makefile.am | 11 +-
src/fcint.h | 9 +-
4 files changed, 707 insertions(+), 9 deletions(-)
Bump version to 2.10.2
README | 25 ++++++++++++++++++++++++-
configure.ac | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 26 insertions(+), 3 deletions(-)
Bug 57286 - Remove UnBatang and Baekmuk Batang from monospace in
65-nonlatin.conf
Those two fonts are serif fonts. shouldn't be added to monospace.
conf.d/65-nonlatin.conf | 2 --
1 file changed, 2 deletions(-)
Update CaseFolding.txt to Unicode 6.2
No real updates between 6.1 and 6.2, but anyway.
fc-case/CaseFolding.txt | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Bug 57114 - regression on FcFontMatch with namelang
After 7587d1c99d9476b6dd4dbe523c0204da700fed8d applied, family,
style, and fullname is localized against current locale or lang
if any though, the string in other languages were dropped from
the pattern. this caused unexpected mismatch on the target="font"
rules.
This fix adds other strings at the end of the list.
src/fcint.h | 22 +++++++++
src/fcmatch.c | 63 +++++++++++++++++--------
src/fcpat.c | 146
++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
3 files changed, 210 insertions(+), 21 deletions(-)
Bug 56531 - autogen.sh fails due to missing 'm4' directory
Keep m4 directory in git.
m4/.gitkeep | 0
1 file changed, 0 insertions(+), 0 deletions(-)
Use automake variable instead of cleaning files in clean-local
just for git.mk coming up from Behdad's threadsafe branch
fc-cache/Makefile.am | 7 +++----
fc-cat/Makefile.am | 7 +++----
fc-list/Makefile.am | 7 +++----
fc-match/Makefile.am | 7 +++----
fc-pattern/Makefile.am | 7 +++----
fc-query/Makefile.am | 7 +++----
fc-scan/Makefile.am | 7 +++----
7 files changed, 21 insertions(+), 28 deletions(-)
autogen.sh: Add -I option to tell aclocal a place for external
m4 files
autogen.sh | 1 +
1 file changed, 1 insertion(+)
Fix syntax errors in fonts.dtd.
Patch from Steve Simpson
fonts.dtd | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Fix wrongly squashing for the network path on Win32.
Patch from Diego Santa Cruz
src/fcstr.c | 4 ++++
1 file changed, 4 insertions(+)
deal with warnings as errors for the previous change
missed this change to commit. doh!
configure.ac | 3 +++
1 file changed, 3 insertions(+)
Bug 52573 - patch required to build 2.10.x with oldish GNU C library
headers
On older libc, _POSIX_C_SOURCE didn't satisfy to use posix_fadvise()
and AC_CHECK_FUNCS doesn't check a header file if the function is
declared there properly. so use AC_LINK_IFELSE instead.
configure.ac | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
Bug 54138 - X_OK permission is invalid for win32 access(..) calls
X_OK checking was added back in
8ae1e3d5dc323542e7def06a42deea62c7ba7027
which was removed due to the same reason in
238489030a64fa883f8f9fc3d73247b7f7257899.
apparently the test case in Bug#18934 still works without it.
so I'm removing it again to get this working on Windows.
src/fccache.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Remove _CONFIG_FIXUPS_H_ guards, so multiple includes of "config.h"
result in the correct values
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
config-fixups.h | 4 ----
1 file changed, 4 deletions(-)
Fix for libtoolize's warnings
Makefile.am | 1 +
configure.ac | 1 +
2 files changed, 2 insertions(+)
Fix N'ko orthography
fc-lang/nqo.orth | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Bug 53585 - Two highly-visible typos in src/fcxml.c
src/fcxml.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Bump version to 2.10.1
README | 8 +++++++-
configure.ac | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 9 insertions(+), 3 deletions(-)
Install config files first
Use install-data-hook instead of install-data-local.
This allows on the real installation to create a symlink with
the broken ln command though, still not work with the pseudo
installation by using DESTDIR say.
conf.d/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix a typo in fontconfig.pc
Reported by Daniel Macks
fontconfig.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
correct version
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Bump version to 2.10
README | 11 ++++++++++-
configure.ac | 2 +-
fontconfig/fontconfig.h | 4 ++--
3 files changed, 13 insertions(+), 4 deletions(-)
Update INSTALL
INSTALL | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Bump libtool revision
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix a build fail with gcc 2.95, not supporting the flexible array
members.
configure.ac | 2 ++
src/fcint.h | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
Update CaseFolding.txt to Unicode 6.1
fc-case/CaseFolding.txt | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
Bug 34266 - configs silently ignored if libxml2 doesn't support
SAX1 interface
Check if libxml2 has built with --with-sax1
configure.ac | 12 ++++++++++++
1 file changed, 12 insertions(+)
Bump version to 2.9.92
README | 19 ++++++++++++++++++-
configure.ac | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 20 insertions(+), 3 deletions(-)
Update INSTALL
INSTALL | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Bump libtool revision
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Bug 18726 - RFE: help write locale-specific tests
Add an example matching rule for the language specific
doc/fontconfig-user.sgml | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Fix warning about deprecated, non-existent config includes
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 8:
reading configurations from ~/.fonts.conf.d is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9:
reading configurations from ~/.fonts.conf is deprecated.
Be polite and do not issue the warning if deprecated config includes
(e.g. ~/.fonts.conf.d and/or ~/.fonts.conf) do not exist.
src/fcxml.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
Fix newline in warning about deprecated config includes
src/fcxml.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Rename configure.in to configure.ac
configure.ac | 615
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in | 615
---------------------------------------------------------
new-version.sh | 4 +-
3 files changed, 617 insertions(+), 617 deletions(-)
clean up the lock file properly on even hardlink-not-supported
filesystem.
src/fcatomic.c | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
Fix the fail of make install with --disable-shared on Win32
.gitignore | 1 +
configure.in | 1 +
src/Makefile.am | 2 ++
3 files changed, 4 insertions(+)
Fix a build fail on MINGW
src/fcatomic.c | 7 ++++---
src/fccfg.c | 18 +++++++++---------
src/fcint.h | 4 +++-
src/fcstat.c | 16 ++++++++++------
src/fcstr.c | 6 +++---
src/fcxml.c | 24 ++++++++++++------------
6 files changed, 41 insertions(+), 34 deletions(-)
Fix a typo and build fail.
doc/Makefile.am | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Bug 50835 - Deprecate FC_GLOBAL_ADVANCE
FC_GLOBAL_ADVANCE is deprecated. this flag is simply ignored on
freetype 2.4.5 or later.
conf.d/20-fix-globaladvance.conf | 28 ----------------------------
conf.d/Makefile.am | 2 --
doc/fontconfig-devel.sgml | 2 +-
doc/fontconfig-user.sgml | 2 +-
fontconfig/fontconfig.h | 1 +
src/fcdefault.c | 1 +
src/fcint.h | 2 +-
src/fcname.c | 4 ++--
8 files changed, 7 insertions(+), 35 deletions(-)
Bump version to 2.9.91
README | 81
++++++++++++++++++++++++++++++++++++++++++++++++-
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 82 insertions(+), 3 deletions(-)
fix building for WIN32
8c255fb185d5651b57380b0a9443001e8051b29d moved some code out of switch
but did not declare 'buffer'. Also, replacing the "break" with
"goto bail" neglected the WIN32 specific code.
src/fcxml.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Generate bzip2-compressed tarball too
Makefile.am | 2 ++
1 file changed, 2 insertions(+)
doc: Fix distcheck error again...
doc/Makefile.am | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
Bump libtool revision
configure.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Bug 50525 - superfluous whitespace in the style
src/fcfreetype.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
fcdefault: Add the lang object at FcConfigSubstituteWithPat() only
when kind is FcMatchPattern
src/fccfg.c | 33 ++++++++++++++++-----------------
1 file changed, 16 insertions(+), 17 deletions(-)
fcdefault: no need to set FC_LANG in FcDefaultSubstitute() anymore
src/fcdefault.c | 4 ----
1 file changed, 4 deletions(-)
Add the default language to the pattern prior to do build the
substitution
the default language is referred from the FC_LANG environment variable
or the current locale
src/fccfg.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
fcdefault: fallback if the environment variables are empty
try to fallback if FC_LANG, LC_ALL, LC_CTYPE and LANG is empty
src/fcdefault.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Bug 32853 - Export API to get the default language
Add a new API FcGetDefaultLangs() to export the string sets of
the default
languages.
doc/fclangset.fncs | 9 +++
fc-lang/fc-lang.c | 6 ++
fontconfig/fontconfig.h | 3 +
src/fcdefault.c | 102 ++++++++++---------------------
src/fcint.h | 6 ++
src/fclang.c | 159
++++++++++++++++++++++++++++++++++++++++++++++++
src/fcstr.c | 44 ++++++++++++++
7 files changed, 260 insertions(+), 69 deletions(-)
Fix the wrong estimation for the memory usage information in
fontconfig
fc-cat/fc-cat.c | 2 +-
fc-list/fc-list.c | 2 +-
fc-match/fc-match.c | 2 +-
fc-pattern/fc-pattern.c | 2 +-
fc-query/fc-query.c | 2 +-
fc-scan/fc-scan.c | 2 +-
src/fccfg.c | 12 ++++++++----
src/fcformat.c | 4 ++--
src/fcpat.c | 3 ++-
src/fcstr.c | 3 +--
src/fcxml.c | 11 +++++++++--
11 files changed, 28 insertions(+), 17 deletions(-)
Fix a typo and polish the previous change
src/fcstat.c | 21 ++++++++-------------
1 file changed, 8 insertions(+), 13 deletions(-)
Fix the build fail on Solaris
It's introduced by 0ac6c98294d666762960824d39329459b22b48b7.
Use lstat() and S_ISDIR() to check if it's the directory or not
if there are no d_type in struct dirent.
configure.in | 2 ++
src/fcstat.c | 61
++++++++++++++++++++++++++++++++++++++++++++++++++++--------
2 files changed, 55 insertions(+), 8 deletions(-)
Fix cache aging for fonts on FAT filesystem under Linux
Windows does not update mtime of directory on FAT filesystem when
file is added to it or removed from it. Fontconfig uses mtime of
directory to check cache file aging and hence fails to detect
newly added or recently removed files.
This changeset detects FAT filesystem (currently implemented for
Linux) and adds generating checksum of directory entries instead
of using mtime which guarantees proper cache rebuild.
For non-FAT filesystems this patch adds single syscall per directory
which is negligeable overhead.
This fixes bug https://bugs.freedesktop.org/show_bug.cgi?id=25535
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
src/fccache.c | 14 +++++-----
src/fcdir.c | 2 +-
src/fcint.h | 5 +++-
src/fcstat.c | 84
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 96 insertions(+), 9 deletions(-)
Move statfs/statvfs wrapper to fcstat.c and add a test for the mtime
broken fs
just rework to share the efforts between FcIsFsMmapSafe() and
FcIsFsMtimeBroken().
src/fccache.c | 50 +--------------------------
src/fcint.h | 13 +++++++
src/fcstat.c | 108
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 122 insertions(+), 49 deletions(-)
Move FcStat to separate compilation unit
FcStat() logic is quite complicated in presence of various semi-broken
operating
systems and filesystems, split it out in order to make it a bit
easier.
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
src/Makefile.am | 1 +
src/fccache.c | 88 ------------------------------------------
src/fcint.h | 8 ++--
src/fcstat.c | 116
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 122 insertions(+), 91 deletions(-)
fcatomic: fallback to create a directory with FcAtomicLock
link(2) might be failed on the filesystem that doesn't support
the hard link. e.g. FcAtomicLock() always fails on FAT filesystem
when link(2) is available.
So that may be a good idea to fallback if link(2) is failed.
src/fcatomic.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Bug 33644 - Fontconfig doesn't match correctly in <test>
Warn if the multiple values is set to <test>, including the case of
in <alias> because the behavior isn't intuitive since so many users
is asking for a help to get things working for their expectation.
Use multiple <match>s or <alias>es for OR operator and
multiple <test>s for AND operator.
doc/fontconfig-user.sgml | 23 +++++++++++++++++++++++
src/fcxml.c | 5 +++++
2 files changed, 28 insertions(+)
Correct the example
Enclose the string with <string> in <test>
doc/fontconfig-user.sgml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Bug 20411 - fontconfig doesn't match FreeDesktop directories specs
Allows reading configuration files, fonts and cache files from
the directories where the XDG Base Directory Specification defines.
the old directories are still in the configuration files for
the backward compatibility.
conf.d/50-user.conf | 7 +-
doc/fontconfig-user.sgml | 37 ++---
fonts.conf.in | 4 +
fonts.dtd | 10 +-
src/fccfg.c | 78 ++++++++++-
src/fcinit.c | 20 ++-
src/fcint.h | 11 ++
src/fcstr.c | 5 +-
src/fcxml.c | 344
++++++++++++++++++++++++++++++-----------------
9 files changed, 366 insertions(+), 150 deletions(-)
Bug 19128 - Handling whitespace in aliases
Add a new attribute `ignore-blanks' to <test>.
When this is set to "true", any blanks in the string will be ignored
on comparison. This takes effects for compare="eq" or "not_eq" only.
Also changed the behavior of the comparison on <alias> too.
conf.d/20-fix-globaladvance.conf | 8 ++++----
conf.d/20-unhint-small-vera.conf | 6 +++---
conf.d/25-unhint-nonlatin.conf | 30 +++++++++++++++---------------
conf.d/30-urw-aliases.conf | 7 +------
conf.d/65-fonts-persian.conf | 14 +++++++-------
conf.d/80-delicious.conf | 2 +-
doc/fontconfig-user.sgml | 3 ++-
fonts.dtd | 1 +
src/fccfg.c | 35 ++++++++++++++++++++++-------------
src/fcdbg.c | 27 ++++++++++++++++++---------
src/fcint.h | 8 ++++++++
src/fclist.c | 2 +-
src/fcxml.c | 24 ++++++++++++++++++++----
13 files changed, 103 insertions(+), 64 deletions(-)
fcarch.c: get rid of the duplicate definition of FC_MAX
FC_MAX is also available in src/fcint.h
src/fcarch.c | 2 --
1 file changed, 2 deletions(-)
fonts.conf: keeps same binding for alternatives
Since the binding is affected to the score, the replacement should
have same binding to avoid the unexpected estimation.
fonts.conf.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Deal with architectures where ALIGNOF_DOUBLE < 4
This patch isn't really tested as I don't have such a machine, but I
have a bug report that on m68k machines, double values are aligned on
smaller than 4 byte boundaries. If ALIGNOF_DOUBLE < sizeof(int),
the "expected" sizeof of FcValue is miscomputed. Use the maximum of 4
(sizeof (int)) and ALIGNOF_DOUBLE when computing the expected size of
FcValue.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/fcarch.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Extra ',' in AC_ARG_WITH(arch causes arch to never be autodetected
Commit 87d7b82a98780223422a829b6bb1a05fd753ae5e reformatted this
part of the configure script, accidentally introducing a spurious
comma.
Signed-off-by: Keith Packard <keithp@keithp.com>
configure.in | 1 -
1 file changed, 1 deletion(-)
Output more verbose debugging log to show where to insert the element
into the value list
src/fccfg.c | 2 +-
src/fcdbg.c | 79
+++++++++++++++++++++++++++++++++++++++++++------------------
src/fcint.h | 8 ++++++-
3 files changed, 64 insertions(+), 25 deletions(-)
Bug 39278 - make usage of mmap optional
Stop using mmap() if the cache file is stored on NFS.
also added FONTCONFIG_USE_MMAP environment variable to enforce the
use of
or not the use of mmap(2) regardless of what the filesystem the
cache files
are stored on.
configure.in | 24 +++++++++++++--
doc/fontconfig-user.sgml | 20 ++++++++++++-
src/fccache.c | 77
++++++++++++++++++++++++++++++++++++++++++++++--
3 files changed, 116 insertions(+), 5 deletions(-)
Disable iconv support anyway...
configure.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Bug 27765 - FcMatch() returns style in wrong language
Add "namelang" object to obtain the localized name in the font
regardless
of the lang object. it's applied to "familylang", "stylelang" and
"fullnamelang" alltogether. this would helps if one wants to enforce
selecting them in the specific language if any. the default value for
the namelang object is determined from current locale.
doc/fontconfig-devel.sgml | 3 ++
fontconfig/fontconfig.h | 1 +
src/fcdefault.c | 37 ++++++++++++++-
src/fcint.h | 3 +-
src/fclist.c | 47 +++++++++++++++----
src/fcmatch.c | 113
+++++++++++++++++++++++++++++++++++++++-------
src/fcname.c | 1 +
7 files changed, 178 insertions(+), 27 deletions(-)
Add --enable-iconv option to configure
Disable iconv support by default, which provide a feature to convert
non-Unicode SFNT names to UTF-8.
configure.in | 64
++++++++++++++++++++++++++++++++----------------------------
1 file changed, 34 insertions(+), 30 deletions(-)
Create CACHEDIR.TAG when fc-cache is run or only when the cache
directory is created at the runtime.
Also add FcCacheCreateTagFile() API to do create CACHEDIR.TAG on
the cache
directory.
doc/fccache.fncs | 9 ++++++
doc/fcconfig.fncs | 2 +-
fc-cache/fc-cache.c | 73 +-----------------------------------------
fontconfig/fontconfig.h | 5 ++-
src/fccache.c | 85
+++++++++++++++++++++++++++++++++++++++++++++++++
src/fccfg.c | 2 +-
src/fcint.h | 3 ++
7 files changed, 104 insertions(+), 75 deletions(-)
Bug 47721 - Add ChromeOS fonts to 30-metric-aliases.conf
conf.d/30-metric-aliases.conf | 50
+++++++++++++++++++++++++++++++++----------
1 file changed, 39 insertions(+), 11 deletions(-)
C++11 requires a space between literal and identifier
Reported by Buganini
fontconfig/fontconfig.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Fix a build issue again when no regex functions available
Reported by Jon TURNEY
configure.in | 4 +---
src/fcstr.c | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
Rework to avoid adding the unexpected value to ICONV_CFLAGS and
ICONV_LIBS
configure.in | 44 ++++++++++++++++++++++++--------------------
1 file changed, 24 insertions(+), 20 deletions(-)
Bug 25151 - Move cleanCacheDirectory() from fc-cache.c into
the library
Add FcDirCacheScan() API to clean up the cache files in the directory.
doc/fccache.fncs | 9 +++++
fc-cache/fc-cache.c | 93
+------------------------------------------------
fontconfig/fontconfig.h | 3 ++
src/fccache.c | 91
+++++++++++++++++++++++++++++++++++++++++++++++
src/fcint.h | 2 ++
5 files changed, 106 insertions(+), 92 deletions(-)
Use posix_fadvise to speed startup
Given that fontconfig will scan all of the cache file data during the
first font search, ask the kernel to start reading the pages right
away.
Signed-off-by: Keith Packard <keithp@keithp.com>
configure.in | 2 +-
src/fccache.c | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
doc: Fix a typo of the environment variable name.
doc/fcconfig.fncs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Add --with-expat, --with-expat-includes and --with-expat-lib back.
configure.in | 41 ++++++++++++++++++++++++++++++++++++++---
1 file changed, 38 insertions(+), 3 deletions(-)
Bug 27526 - Compatibility fix for old windows sytems
Patch from Gianluigi Tiesi
src/fccache.c | 3 ---
src/fcint.h | 12 ++++++++++--
src/fcxml.c | 52 +++++++++++++++++++++++++++++++++++++++++++---------
3 files changed, 53 insertions(+), 14 deletions(-)
Bug 48573 - platform without regex do not have also REG_XXX defines
Fix a build issue on the platforms where regex isn't available
configure.in | 9 +++++++++
src/fcstr.c | 6 ++++--
2 files changed, 13 insertions(+), 2 deletions(-)
Bug 28491 - Allow matching on FC_FILE
Allow :file=/path/to/font/file on matching
configure.in | 4 +--
src/fcint.h | 6 +++++
src/fcmatch.c | 84
++++++++++++++++++++++++++++++++++++-----------------------
src/fcstr.c | 50 +++++++++++++++++++++++++++++++++++
4 files changed, 110 insertions(+), 34 deletions(-)
Bug 26830 - Add search for libiconv non-default directory
Add --with-libiconv, --with-libiconv-includes and --with-libiconv-lib
to specify the directory where libiconv might be installed.
configure.in | 85
+++++++++++++++++++++++++++++++++++++++++----------------
src/Makefile.am | 1 +
2 files changed, 63 insertions(+), 23 deletions(-)
Bug 22862 - <alias> ignores <match> <test>s
Allow to use the test elements in the alias element.
fonts.dtd | 2 +-
src/fcxml.c | 27 +++++++++++++++++++++------
2 files changed, 22 insertions(+), 7 deletions(-)
Bug 29341 - Make some fontconfig paths configurable
Add configure options to set the directory to be installed:
--with-templatedir for the configuration files a.k.a.
/etc/fonts/conf.avail
--with-baseconfigdir for fonts.conf etc a.k.a. /etc/fonts
--with-configdir for the active configuration files a.k.a.
/etc/fonts/conf.d
--with-xmldir for fonts.dtd etc
and the default path for templatedir is changed to
${datadir}/fontconfig/conf.avail
Makefile.am | 36 +++++++++++---------
conf.d/Makefile.am | 99
++++++++++++++++++++++++++----------------------------
configure.in | 72 ++++++++++++++++++++++++++++++++-------
fonts.conf.in | 2 +-
src/Makefile.am | 2 +-
5 files changed, 129 insertions(+), 82 deletions(-)
Use pkgconfig to check builddeps
configure.in | 164
+++++++++++------------------------------------------------
1 file changed, 31 insertions(+), 133 deletions(-)
Use AC_HELP_STRING instead of formatting manually
configure.in | 57
++++++++++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 46 insertions(+), 11 deletions(-)
doc: Add contains and not_contains operators and elements
doc/fontconfig-user.sgml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Bug 24729 - [ne_NP] Fix ortho file
further update for ne.orth
Patch from Pravin Satpute.
fc-lang/ne.orth | 23 ++++++++++++++++++++---
1 file changed, 20 insertions(+), 3 deletions(-)
Bug 48020 - Fix for src/makealias on Solaris 10
Use the command substitution `command` instead of $(command) for
Solaris 10.
src/makealias | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Move workaround macros for fat binaries into the separate header file
Makefile.am | 5 +++--
config-fixups.h | 44 ++++++++++++++++++++++++++++++++++++++++++++
configure.in | 4 +++-
src/fcarch.h | 13 -------------
4 files changed, 50 insertions(+), 16 deletions(-)
Fix the hardcoded cache file suffix
fc-cat/fc-cat.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
fcpat: Increase the number of buckets in the shared string hash table
This is a reasonably conservative increase in the number of buckets
in the hash
table to 251. After FcInit(), there are 240 shared strings in use
on my system
(from configuration files I assume). The hash value is stored in
each link in
the chains so comparison are actually not very expensive. This change
should
reduce the average length of chains by a factor of 8. With the
reference
counted strings, it should keep the average length of chains to
about 2. The
number of buckets is prime so as not to rely too much on the quality
of the
hash function.
https://bugs.freedesktop.org/show_bug.cgi?id=17832#c5
Patch from Karl Tomlinson
src/fcpat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Bug 17832 - Memory leaks due to FcStrStaticName use for external
patterns
Use the reference-counted strings instead of the static strings
Patch from Karl Tomlinson
src/fccfg.c | 2 +-
src/fcinit.c | 4 ++--
src/fcint.h | 10 +++++-----
src/fclist.c | 10 +++++++++-
src/fcname.c | 34 ++++++++------------------------
src/fcpat.c | 63
+++++++++++++++++++++++-------------------------------------
src/fcxml.c | 8 +++++---
7 files changed, 54 insertions(+), 77 deletions(-)
Fix a memory leak in FcDirScanConfig()
src/fcdir.c | 3 +++
1 file changed, 3 insertions(+)
Bug 17722 - Don't overwrite user's configurations in default config
Use "append" to avoid overwriting the user configuration.
This presumes most clients may takes care of the first value only.
conf.d/10-autohint.conf | 8 +++++++-
conf.d/10-no-sub-pixel.conf | 8 +++++++-
conf.d/10-sub-pixel-bgr.conf | 8 +++++++-
conf.d/10-sub-pixel-rgb.conf | 8 +++++++-
conf.d/10-sub-pixel-vbgr.conf | 8 +++++++-
conf.d/10-sub-pixel-vrgb.conf | 8 +++++++-
conf.d/10-unhinted.conf | 8 +++++++-
conf.d/11-lcdfilter-default.conf | 8 +++++++-
conf.d/11-lcdfilter-legacy.conf | 8 +++++++-
conf.d/11-lcdfilter-light.conf | 8 +++++++-
10 files changed, 70 insertions(+), 10 deletions(-)
Bug 47703 - SimSun default family
40-nonlatin.conf: SimSun should be serif but not sans-serif.
http://www.microsoft.com/typography/fonts/family.aspx?FID=37
Patch from Petr Gajdos
conf.d/40-nonlatin.conf | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
fcmatch: Set FcResultMatch at the end if the return value is valid.
In the previous code, the result of 'result' in the argument for
FcFontSetSort() and FcFontSetMatch() wasn't predictable and not
reliable to
check if the return value is valid or not. this change is to ensure
if it's
performed successfully.
src/fcmatch.c | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
fc-cache: improvement of the fix for Bug#39914.
Use sizeof() instead of strlen() and use stdio.
fc-cache/fc-cache.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Bug 39914 - Please tag the cache directory with CACHEDIR.TAG
fc-cache: Create CACHEDIR.TAG at the top of the cache directory.
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
fc-cache/fc-cache.c | 77
+++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 77 insertions(+)
fcarch: Check for architecture signature at compile time rather than
configure time
https://bugs.freedesktop.org/show_bug.cgi?id=20208
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
fc-cache/fc-cache.c | 3 +--
src/fcarch.c | 4 ++--
src/fcarch.h | 23 +++++++++++++++++++++--
3 files changed, 24 insertions(+), 6 deletions(-)
Get rid of the prerequisites from the sufix rules
Thanks to Adam Sampson for pointing this out.
doc/Makefile.am | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Fix a build issue due to the use of non-portable variables
$< 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.
Makefile.am | 10 +++++-----
conf.d/Makefile.am | 8 ++++----
configure.in | 9 +++++++++
doc/Makefile.am | 32 ++++++++++++++++----------------
fc-cache/Makefile.am | 4 ++--
fc-case/Makefile.am | 6 ++----
fc-cat/Makefile.am | 4 ++--
fc-list/Makefile.am | 4 ++--
fc-match/Makefile.am | 4 ++--
fc-pattern/Makefile.am | 4 ++--
fc-query/Makefile.am | 4 ++--
fc-scan/Makefile.am | 4 ++--
src/Makefile.am | 8 ++++----
13 files changed, 54 insertions(+), 47 deletions(-)
Revert "Fix a build fail on some environment"
This reverts commit b75eb63982a54c0fb4576d8a655ef734908d3604.
fc-case/Makefile.am | 10 ++++++----
fc-glyphname/Makefile.am | 4 ++--
fc-lang/Makefile.am | 4 ++--
3 files changed, 10 insertions(+), 8 deletions(-)
Revert "Fix a build fail on some environment."
This reverts commit 0fdfddf2ac93c1c0238b70a265998fd6b5ffe7af.
Conflicts:
doc/Makefile.am
Makefile.am | 2 +-
doc/Makefile.am | 30 +++++++++++++++---------------
fc-cache/Makefile.am | 10 +++++-----
fc-case/Makefile.am | 2 +-
fc-cat/Makefile.am | 6 +++---
fc-glyphname/Makefile.am | 2 +-
fc-lang/Makefile.am | 2 +-
fc-list/Makefile.am | 8 ++++----
fc-match/Makefile.am | 8 ++++----
fc-pattern/Makefile.am | 6 +++---
fc-query/Makefile.am | 8 ++++----
fc-scan/Makefile.am | 8 ++++----
src/Makefile.am | 2 +-
13 files changed, 47 insertions(+), 47 deletions(-)
[doc] Update for cachedir.
<cache> element is now obsoletes and no longer used. get rid of it
from the doc and add <cachedir> instead.
doc/fontconfig-user.sgml | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
[doc] Update the path for cache files and the version.
doc/fontconfig-user.sgml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Bump version to 2.9.0
README | 129
+++++++++++++++++++++++++++++++++++++++++++++++-
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 129 insertions(+), 4 deletions(-)
Get rid of $< from Makefile.am
Makefile.am | 2 +-
doc/Makefile.am | 16 ++++++++--------
2 files changed, 9 insertions(+), 9 deletions(-)
Fix a build fail on some environment.
Makefile.am | 2 +-
doc/Makefile.am | 20 ++++++++++----------
fc-cache/Makefile.am | 10 +++++-----
fc-case/Makefile.am | 2 +-
fc-cat/Makefile.am | 6 +++---
fc-glyphname/Makefile.am | 2 +-
fc-lang/Makefile.am | 2 +-
fc-list/Makefile.am | 8 ++++----
fc-match/Makefile.am | 8 ++++----
fc-pattern/Makefile.am | 6 +++---
fc-query/Makefile.am | 8 ++++----
fc-scan/Makefile.am | 8 ++++----
src/Makefile.am | 2 +-
13 files changed, 42 insertions(+), 42 deletions(-)
Fix a build fail on some environment
fc-case/Makefile.am | 10 ++++------
fc-glyphname/Makefile.am | 4 ++--
fc-lang/Makefile.am | 4 ++--
3 files changed, 8 insertions(+), 10 deletions(-)
Fix a build issue
doc/Makefile.am | 1 -
1 file changed, 1 deletion(-)
Update to detect the uncommited changes properly
new-version.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Update the version info
configure.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Fix distcheck error
doc/Makefile.am | 334
++++++++++++++++++++++++-----------------------
fc-case/Makefile.am | 3 +
fc-glyphname/Makefile.am | 3 +
fc-lang/Makefile.am | 3 +
4 files changed, 179 insertions(+), 164 deletions(-)
Bug 19128 - Handling whitespace in aliases
Add a workaround alias for Dingbats.
conf.d/30-urw-aliases.conf | 5 +++++
1 file changed, 5 insertions(+)
Check null value for given object to avoid possibly segfaulting
src/fccharset.c | 175
+++++++++++++++++++++++++++++++++-----------------------
1 file changed, 103 insertions(+), 72 deletions(-)
Bug 23336 - unable to display bitmap-only (SFNT) TrueType or OpenType
Force to find out a size for bitmap-only ttf to avoid the blank glyphs
in the font.
Patch from Bug Fly
src/fcfreetype.c | 32 ++++++++++++++------------------
1 file changed, 14 insertions(+), 18 deletions(-)
Bug 41694 - FcCache functions have random-number-generator side
effects
Use the own random number generator state if possible.
configure.in | 2 +-
src/fccache.c | 69
++++++++++++++++++++++++++++++++++++++++++++++++++---------
2 files changed, 60 insertions(+), 11 deletions(-)
Bug 25652 - Add ortho file for locale mni_IN
Add mni.orth for Maniputi
Signed-off-by: Akira TAGOH <akira@tagoh.org>
fc-lang/Makefile.am | 3 ++-
fc-lang/mni.orth | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 1 deletion(-)
Bug 25653 - Add ortho file for locale doi_IN
Add doi.orth for Dogri
Signed-off-by: Akira TAGOH <akira@tagoh.org>
fc-lang/Makefile.am | 3 ++-
fc-lang/doi.orth | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+), 1 deletion(-)
Add brx.orth and sat.orth
fc-lang/Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Bug 25650 - Add ortho file for locale sat_IN
Add sat.orth for Santali
Signed-off-by: Akira TAGOH <akira@tagoh.org>
fc-lang/sat.orth | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Bug 25651 - Add ortho file for locale brx_IN
Add brx.orth for Bodo.
Signed-off-by: Akira TAGOH <akira@tagoh.org>
fc-lang/brx.orth | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Bug 27385 - lcdfilter settings for freetype-2.3.12 not available
in fontconfig-2.8.0
Add config files for FT_LcdFilter options.
Patch from Robin Johnson.
conf.d/11-lcdfilter-default.conf | 10 ++++++++++
conf.d/11-lcdfilter-legacy.conf | 10 ++++++++++
conf.d/11-lcdfilter-light.conf | 10 ++++++++++
conf.d/Makefile.am | 3 +++
4 files changed, 33 insertions(+)
Do not update stream->pos when seeking is failed.
src/ftglue.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Bug 46169 - Pointer error in FcConfigGlobMatch
Fix possibly accessing the invalid memory and a crash in the
worst case
when the glob string is longer than the string.
src/fccfg.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
makealias: handle missing funcs better
When adding new functions, if the actual definition doesn't match the
header (say due to a typo), the regeneration of the internal headers
get confused and output bad cpp logic. This causes gcc to barf due
to mismatched #ifdef/#endif. Which is a pain to figure out due to
the sheer voulme of generated code.
So tweak the makealias script to detect this case and error out.
While we're here, improve the cpp output a bit to indent, include
comments, and merge similar ifdef blocks.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
src/makealias | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
FcObjectValidType: tweak -1 checking
Newer gcc doesn't like when you switch on an enum and use a value
that isn't declared:
fcname.c: In function 'FcObjectValidType':
fcname.c:299:2: warning: case value '4294967295'
not in enumerated type 'FcType' [-Wswitch]
So tweak the logic to avoid this warning.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
src/fcname.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
fix build warnings when using --with-arch
Latest configure code will setup FC_ARCHITECTURE directly rather than
going through ARCHITECTURE, so update fcarch.h accordingly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
src/fcarch.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
fc-{list,match}: constify format string
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>
fc-list/fc-list.c | 20 ++++++++++----------
fc-match/fc-match.c | 22 +++++++++++-----------
2 files changed, 21 insertions(+), 21 deletions(-)
FcName{,Get}Constant: constify string input
These funcs don't modify the incoming string, so add const markings.
This is the "right thing", shouldn't change the ABI, and fixes some
gcc warnings:
fccfg.c: In function 'FcConfigEvaluate':
fccfg.c:916:2: warning: passing argument 1 of 'IA__FcNameConstant'
discards 'const' qualifier from pointer target type [enabled
by default]
fcalias.h:253:34: note: expected 'FcChar8 *' but
argument is of type 'const FcChar8 *'
fcxml.c: In function 'FcTypecheckExpr':
fcxml.c:604:2: warning: passing argument 1 of 'IA__FcNameGetConstant'
discards 'const' qualifier from pointer target type [enabled
by default]
fcalias.h:251:37: note: expected 'FcChar8 *' but
argument is of type 'const FcChar8 *'
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
fontconfig/fontconfig.h | 4 ++--
src/fcname.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
fc-cat: fix pointer warning
Add a cast to avoid a gcc warning:
fc-cat.c: In function 'cache_print_set':
fc-cat.c:230:2: warning: pointer targets in passing argument 2
of 'FcPatternFormat' differ in signedness [-Wpointer-sign]
../fontconfig/fontconfig.h:860:1: note:
expected 'const FcChar8 *' but argument is of type 'char *'
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
fc-cat/fc-cat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
FcStat: change to FcChar8 for first arg
This shouldn't affect the ABI, makes FcStat more like the rest of the
fontconfig API, and fixes warnings where we pass FcChar8* pointers in
to this func from other places.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
src/fccache.c | 4 ++--
src/fcint.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
delete unused variables
Newer gcc is better at detecting set-but-unused variables.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
src/fccache.c | 6 ++----
src/fcdir.c | 17 -----------------
src/fcformat.c | 5 ++---
src/fcfreetype.c | 3 ---
4 files changed, 4 insertions(+), 27 deletions(-)
FcStrPlus: optimize a little
We've already calculated the lengths of these strings, so re-use those
values to avoid having to rescan the strings multiple times.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
src/fcstr.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Bug 44826 - <alias> must contain only a single <family>
Fix invalid syntax around alias elements in 30-metric-aliases.conf
40-nonlatin.conf and 45-latin.conf.
Patch from lolilolicon
conf.d/30-metric-aliases.conf | 36 +++++++++++
conf.d/40-nonlatin.conf | 140
+++++++++++++++++++++++++++++++++++++++++-
conf.d/45-latin.conf | 96 +++++++++++++++++++++++++++++
3 files changed, 271 insertions(+), 1 deletion(-)
Get rid of the unexpected family name
UmePlus P Gothic isn't a serif font.
conf.d/65-nonlatin.conf | 1 -
1 file changed, 1 deletion(-)
Bug 43406 - typo of Japanese font name in conf.d/65-nonlatin.conf
Fix a typo.
Signed-off-by: Akira TAGOH <akira@tagoh.org>
conf.d/65-nonlatin.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Bug 43321 - Required corrections in urdu.orth file
Drop U+0629 and U+0647, and add U+06c3 to ur.orth
Signed-off-by: Akira TAGOH <akira@tagoh.org>
fc-lang/ur.orth | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Bug 42423 - make default Korean font from Un to Nanum
Update 40-nonlatin.conf and 65-nonlatin.conf for Nanum korean fonts.
Signed-off-by: Akira TAGOH <akira@tagoh.org>
conf.d/40-nonlatin.conf | 3 +++
conf.d/65-nonlatin.conf | 24 ++++++++++++++----------
2 files changed, 17 insertions(+), 10 deletions(-)
Bug 40452 - Running 'fc-match --all' core dumps when no fonts are
installed
This would changes the behavior of FcFontSort().
it won't returns NULL afterward.
fc-match/fc-match.c | 5 +++++
src/fcmatch.c | 29 ++++++++++++++++++++++++++++-
2 files changed, 33 insertions(+), 1 deletion(-)
Bug 35517 - Remove Apple Roman cmap support
Get rid of the apple roman encoding related code
src/fcfreetype.c | 260
-------------------------------------------------------
1 file changed, 260 deletions(-)
Add a missing file
fc-lang/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Bug 32965 - Asturian (ast-ES) language matching missing ḷḷḥ
Add U+1E24, U+1E25, U+1E36 and U+1e37 for Asturian
fc-lang/ast.orth | 4 ++++
1 file changed, 4 insertions(+)
Remove the unnecessary comment in ks.orth
fc-lang/ks.orth | 4 ----
1 file changed, 4 deletions(-)
Bug 27195 - need updates to ks.orth file
Add U+0620, U+0657, U+065f, U+0672, U+0673 and U+06c4 for Kashmiri
See http://www.unicode.org/charts/PDF/U0600.pdf
Signed-off-by: Akira TAGOH <akira@tagoh.org>
fc-lang/ks.orth | 6 ++++++
1 file changed, 6 insertions(+)
Bug 24744 - No n'ko orthography
Add nqo.orth for N'Ko
fc-lang/nqo.orth | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Add FcPublic to FcLangSetUnion and FcLangSetSubtract
Patch from ssp
fontconfig/fontconfig.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Fix parallel build
doc/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Bug 41171 - Invalid use of memset
src/fccache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix stupid bug in FcFontSort()
I broke FcFontSort() language handling at the end of 2008 with this
commit: c7641f28
G-d knows how many of the lang-matching bugs in bugzilla will be
fixed by this changed...
I'm really sorry, everyone!
src/fcmatch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Switch fc-cat to use FcPatternFormat()
Added the a builtin "fccat" to FcPatternFormat().
doc/fcformat.fncs | 7 +++++++
fc-cat/fc-cat.c | 39 +++++++++++----------------------------
src/fcformat.c | 3 +++
3 files changed, 21 insertions(+), 28 deletions(-)
Switch fc-match to use FcPatternFormat()
Fix small bug in FcPatternFormat that was letting element-default to
consume the convertor sequence.
fc-match/fc-match.c | 38 +++++++++-----------------------------
src/fcformat.c | 2 +-
2 files changed, 10 insertions(+), 30 deletions(-)
Bug 26718 - "fc-match sans file" doesn't work
- Do not throw away FC_FILE in FcNameUnparse
- Update the builtin "fclist" format to remove FC_FILE properly
instead
- Switch fc-list to use FcPatternFormat()
Note that I had previously broken fc-list and it was not showing the
file name anymore. No one noticed that it seems! Now fixed.
fc-list/fc-list.c | 17 ++++-------------
src/fcformat.c | 2 +-
src/fcname.c | 3 +--
3 files changed, 6 insertions(+), 16 deletions(-)
Bug 36577 - Updating cache with no-bitmaps disables bitmap fonts...
Do not remove blacklisted fonts during cache generation. We already
apply the blacklist when reading the caches. The idea always has been
that the config should not affect caches built, although that design
was tarnished with the introduction of target="scan" configurations.
src/fcdir.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
[.gitignore] Update
.gitignore | 3 +++
1 file changed, 3 insertions(+)
Bug 35587 - Add padding to make valgrind and glibc not hate each other
src/fccfg.c | 13 +++++++++++--
src/fcpat.c | 10 +++++++---
2 files changed, 18 insertions(+), 5 deletions(-)
Fix warning
fc-lang/fc-lang.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Always define FcStat as a function
Such that first arg is const char *. We also need to make more
changes
in that function as part of some other bug.
src/fcatomic.c | 2 +-
src/fccache.c | 13 +++++++++++--
src/fccfg.c | 2 +-
src/fcdir.c | 4 ++--
src/fcint.h | 4 ----
5 files changed, 15 insertions(+), 10 deletions(-)
More doc typo fixes
doc/fcatomic.fncs | 2 +-
doc/fcconfig.fncs | 4 ++--
doc/fcinit.fncs | 2 +-
doc/fcmatrix.fncs | 4 ++--
doc/fcobjectset.fncs | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
Mark constant strings as constant
Fixes a few compiler warnings in fcxml.c and makes it clear that they
should not be freed.
doc/fcatomic.fncs | 2 +-
src/fcint.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Bug 30566 - fcformat.c:interpret_enumerate() passes uninitialized
idx to FcPatternGetLangSet()
src/fcformat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Bug 20113 - Uighur (ug) orthography incomplete
fc-lang/ug.orth | 35 ++++++++++++++++++++++++++++-------
1 file changed, 28 insertions(+), 7 deletions(-)
Documentation fixes
doc/fcatomic.fncs | 2 +-
doc/fccharset.fncs | 8 +--
doc/fcfontset.fncs | 2 +-
doc/fcformat.fncs | 4 +-
doc/fcfreetype.fncs | 4 +-
doc/fcinit.fncs | 2 +-
doc/fclangset.fncs | 4 +-
doc/fcpattern.fncs | 2 +-
doc/fcstring.fncs | 4 +-
doc/fontconfig-devel.sgml | 148
+++++++++++++++++++++++-----------------------
doc/fontconfig-user.sgml | 8 +--
11 files changed, 94 insertions(+), 94 deletions(-)
Remove --enable-maintainer-mode from autogen.sh
autogen.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Update CaseFolding.txt to Unicode 6.0
fc-case/CaseFolding.txt | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
Remove AM_MAINTAINER_MODE
That macro is simply broken.
This was also brought up in:
Bug 32679 - fontconfig-2.8.0 does not cross compile
configure.in | 1 -
1 file changed, 1 deletion(-)
Fix assertion failure on le32d4
Reported by Jon TURNEY.
src/fcarch.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Doc nit
doc/fclangset.fncs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Skip <range> elements with begin > end
src/fcxml.c | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
Add <range> support for <blank> into the DTD
fonts.dtd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Allow editing charset and lang in target="scan"
Merge commit 'fa269cf812ee304534b0e4c44662202496008db0'
Fixes:
Bug 31969 - Can't modify charset in target="scan"
Bug 23758 - Can't modify lang in target="scan"
Bump version
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Make fc-arch stuff cross-compiling-safe
Fixes:
Bug 32679 - fontconfig-2.8.0 does not cross compile
Bug 25462 - Cross-compilation doesn't work
Makefile.am | 2 +-
configure.in | 64 +++++------------------
fc-arch/Makefile.am | 54 --------------------
fc-arch/fc-arch.c | 138
--------------------------------------------------
fc-arch/fcarch.tmpl.h | 65 ------------------------
fc-cache/fc-cache.c | 2 +-
fc-cat/fc-cat.c | 2 +-
src/Makefile.am | 6 +--
src/fcarch.c | 72 ++++++++++++++++++++++++++
src/fcarch.h | 71 ++++++++++++++++++++++++++
src/fccache.c | 3 +-
src/fcint.h | 4 ++
12 files changed, 167 insertions(+), 316 deletions(-)
Make most generated-files cross-compiling-safe
By simply including a copy in the tarball.
Remains fc-arch which is trickier.
doc/Makefile.am | 19 +++++++++++--------
fc-arch/fcarch.tmpl.h | 2 +-
fc-case/Makefile.am | 14 ++++++++------
fc-glyphname/Makefile.am | 14 ++++++++------
fc-lang/Makefile.am | 17 ++++++++++-------
5 files changed, 38 insertions(+), 28 deletions(-)
add some documents
doc/fclangset.fncs | 30 ++++++++++++++++++++++++++++++
doc/fontconfig-user.sgml | 4 ++++
2 files changed, 34 insertions(+)
Add editing langset feature.
The syntax to add any langset to the langset table looks like:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="lang" mode="assign">
<plus>
<name>lang</name>
<langset>
<string>zh-cn</string>
<string>zh-tw</string>
</langset>
</plus>
</edit>
</match>
To remove any langset from the langset table:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="lang" mode="assign">
<minus>
<name>lang</name>
<langset>
<string>ja</string>
</langset>
</minus>
</edit>
</match>
fontconfig/fontconfig.h | 9 ++++++
fonts.dtd | 5 ++--
src/fccfg.c | 24 +++++++++++++++
src/fcdbg.c | 6 ++++
src/fcint.h | 3 +-
src/fclang.c | 62 ++++++++++++++++++++++++++++++++++++++
src/fcxml.c | 80
+++++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 186 insertions(+), 3 deletions(-)
Add the range support in blank element
src/fcxml.c | 35 +++++++++++++++++++++--------------
1 file changed, 21 insertions(+), 14 deletions(-)
add some document for range and charset.
doc/fontconfig-user.sgml | 8 ++++++++
1 file changed, 8 insertions(+)
Add charset editing feature.
The syntax to add any characters to the charset table looks like:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="charset" mode="assign">
<plus>
<name>charset</name>
<charset>
<int>0x3220</int> <!-- PARENTHESIZED IDEOGRAPH
ONE -->
</charset>
</plus>
</edit>
</match>
To remove any characters from the charset table:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="charset" mode="assign">
<minus>
<name>charset</name>
<charset>
<int>0x06CC</int> <!-- ARABIC LETTER FARSI YEH -->
<int>0x06D2</int> <!-- ARABIC LETTER YEH BARREE -->
<int>0x06D3</int> <!-- ARABIC LETTER YEH BARREE
WITH HAMZA ABOVE -->
</charset>
</minus>
</edit>
</match>
You could also use the range element for convenience:
...
<charset>
<int>0x06CC</int> <!-- ARABIC LETTER FARSI YEH -->
<range>
<int>0x06D2</int> <!-- ARABIC LETTER YEH
BARREE -->
<int>0x06D3</int> <!-- ARABIC LETTER YEH
BARREE WITH HAMZA ABOVE -->
</range>
</charset>
...
fonts.dtd | 4 +-
src/Makefile.am | 4 +-
src/fccfg.c | 19 +++++++
src/fcdbg.c | 2 +
src/fcint.h | 9 +++-
src/fcxml.c | 156
++++++++++++++++++++++++++++++++++++++++++++++++++++++--
6 files changed, 185 insertions(+), 9 deletions(-)
Bug 28958 - lang=en matches other langs
Patch from Akira TAGOH.
src/fclang.c | 2 ++
1 file changed, 2 insertions(+)
Fix returned value
src/fcinit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Cleanup copyright notices to replace "Keith Packard" with "the
author(s)"
COPYING | 5 ++---
Makefile.am | 4 ++--
conf.d/Makefile.am | 4 ++--
config/Makedefs.in | 4 ++--
configure.in | 4 ++--
doc/Makefile.am | 4 ++--
doc/confdir.sgml.in | 4 ++--
doc/edit-sgml.c | 4 ++--
doc/fcatomic.fncs | 4 ++--
doc/fcblanks.fncs | 4 ++--
doc/fccache.fncs | 4 ++--
doc/fccharset.fncs | 4 ++--
doc/fcconfig.fncs | 4 ++--
doc/fcconstant.fncs | 4 ++--
doc/fcfile.fncs | 4 ++--
doc/fcfontset.fncs | 4 ++--
doc/fcformat.fncs | 4 ++--
doc/fcfreetype.fncs | 4 ++--
doc/fcinit.fncs | 4 ++--
doc/fcmatrix.fncs | 4 ++--
doc/fcobjectset.fncs | 4 ++--
doc/fcobjecttype.fncs | 4 ++--
doc/fcpattern.fncs | 4 ++--
doc/fcstring.fncs | 4 ++--
doc/fcstrset.fncs | 4 ++--
doc/fcvalue.fncs | 4 ++--
doc/fontconfig-devel.sgml | 8 ++++----
doc/fontconfig-user.sgml | 4 ++--
doc/func.sgml | 4 ++--
doc/version.sgml.in | 4 ++--
fc-arch/Makefile.am | 4 ++--
fc-arch/fcarch.tmpl.h | 4 ++--
fc-cache/Makefile.am | 4 ++--
fc-cache/fc-cache.c | 4 ++--
fc-case/Makefile.am | 4 ++--
fc-case/fc-case.c | 4 ++--
fc-case/fccase.tmpl.h | 4 ++--
fc-cat/Makefile.am | 4 ++--
fc-cat/fc-cat.c | 4 ++--
fc-glyphname/Makefile.am | 4 ++--
fc-glyphname/fc-glyphname.c | 4 ++--
fc-glyphname/fcglyphname.tmpl.h | 4 ++--
fc-lang/Makefile.am | 4 ++--
fc-lang/aa.orth | 4 ++--
fc-lang/ab.orth | 4 ++--
fc-lang/af.orth | 4 ++--
fc-lang/am.orth | 4 ++--
fc-lang/ar.orth | 4 ++--
fc-lang/ast.orth | 4 ++--
fc-lang/av.orth | 4 ++--
fc-lang/ay.orth | 4 ++--
fc-lang/az_ir.orth | 4 ++--
fc-lang/ba.orth | 4 ++--
fc-lang/be.orth | 4 ++--
fc-lang/bg.orth | 4 ++--
fc-lang/bh.orth | 4 ++--
fc-lang/bho.orth | 4 ++--
fc-lang/bi.orth | 4 ++--
fc-lang/bin.orth | 4 ++--
fc-lang/bm.orth | 4 ++--
fc-lang/bo.orth | 4 ++--
fc-lang/br.orth | 4 ++--
fc-lang/bs.orth | 4 ++--
fc-lang/bua.orth | 4 ++--
fc-lang/ca.orth | 4 ++--
fc-lang/ce.orth | 4 ++--
fc-lang/ch.orth | 4 ++--
fc-lang/chm.orth | 4 ++--
fc-lang/chr.orth | 4 ++--
fc-lang/co.orth | 4 ++--
fc-lang/cs.orth | 4 ++--
fc-lang/cu.orth | 4 ++--
fc-lang/cv.orth | 4 ++--
fc-lang/cy.orth | 4 ++--
fc-lang/da.orth | 4 ++--
fc-lang/de.orth | 4 ++--
fc-lang/dz.orth | 4 ++--
fc-lang/el.orth | 4 ++--
fc-lang/en.orth | 4 ++--
fc-lang/eo.orth | 4 ++--
fc-lang/es.orth | 4 ++--
fc-lang/et.orth | 4 ++--
fc-lang/eu.orth | 4 ++--
fc-lang/fa.orth | 4 ++--
fc-lang/fc-lang.c | 4 ++--
fc-lang/fc-lang.man | 4 ++--
fc-lang/fclang.tmpl.h | 4 ++--
fc-lang/ff.orth | 4 ++--
fc-lang/fi.orth | 4 ++--
fc-lang/fj.orth | 4 ++--
fc-lang/fo.orth | 4 ++--
fc-lang/fr.orth | 4 ++--
fc-lang/fur.orth | 4 ++--
fc-lang/fy.orth | 4 ++--
fc-lang/ga.orth | 4 ++--
fc-lang/gd.orth | 4 ++--
fc-lang/gez.orth | 4 ++--
fc-lang/gl.orth | 4 ++--
fc-lang/gn.orth | 4 ++--
fc-lang/gu.orth | 4 ++--
fc-lang/gv.orth | 4 ++--
fc-lang/ha.orth | 4 ++--
fc-lang/haw.orth | 4 ++--
fc-lang/he.orth | 4 ++--
fc-lang/hi.orth | 4 ++--
fc-lang/ho.orth | 4 ++--
fc-lang/hr.orth | 4 ++--
fc-lang/hu.orth | 4 ++--
fc-lang/hy.orth | 4 ++--
fc-lang/ia.orth | 4 ++--
fc-lang/id.orth | 4 ++--
fc-lang/ie.orth | 4 ++--
fc-lang/ig.orth | 4 ++--
fc-lang/ik.orth | 4 ++--
fc-lang/io.orth | 4 ++--
fc-lang/is.orth | 4 ++--
fc-lang/it.orth | 4 ++--
fc-lang/iu.orth | 4 ++--
fc-lang/ja.orth | 4 ++--
fc-lang/ka.orth | 4 ++--
fc-lang/kaa.orth | 4 ++--
fc-lang/ki.orth | 4 ++--
fc-lang/kk.orth | 4 ++--
fc-lang/kl.orth | 4 ++--
fc-lang/kn.orth | 4 ++--
fc-lang/ko.orth | 4 ++--
fc-lang/kok.orth | 4 ++--
fc-lang/ku_am.orth | 4 ++--
fc-lang/ku_ir.orth | 4 ++--
fc-lang/kum.orth | 4 ++--
fc-lang/kv.orth | 4 ++--
fc-lang/kw.orth | 4 ++--
fc-lang/ky.orth | 4 ++--
fc-lang/la.orth | 4 ++--
fc-lang/lb.orth | 4 ++--
fc-lang/lez.orth | 4 ++--
fc-lang/ln.orth | 4 ++--
fc-lang/lo.orth | 4 ++--
fc-lang/lt.orth | 4 ++--
fc-lang/lv.orth | 4 ++--
fc-lang/mai.orth | 4 ++--
fc-lang/mg.orth | 4 ++--
fc-lang/mh.orth | 4 ++--
fc-lang/mi.orth | 4 ++--
fc-lang/mk.orth | 4 ++--
fc-lang/ml.orth | 4 ++--
fc-lang/mn_cn.orth | 4 ++--
fc-lang/mo.orth | 4 ++--
fc-lang/mr.orth | 4 ++--
fc-lang/mt.orth | 4 ++--
fc-lang/my.orth | 4 ++--
fc-lang/nb.orth | 4 ++--
fc-lang/nds.orth | 4 ++--
fc-lang/ne.orth | 4 ++--
fc-lang/nl.orth | 4 ++--
fc-lang/nn.orth | 4 ++--
fc-lang/no.orth | 4 ++--
fc-lang/ny.orth | 4 ++--
fc-lang/oc.orth | 4 ++--
fc-lang/om.orth | 4 ++--
fc-lang/or.orth | 4 ++--
fc-lang/os.orth | 4 ++--
fc-lang/pes.orth | 4 ++--
fc-lang/pl.orth | 4 ++--
fc-lang/prs.orth | 4 ++--
fc-lang/ps_af.orth | 4 ++--
fc-lang/ps_pk.orth | 4 ++--
fc-lang/pt.orth | 4 ++--
fc-lang/rm.orth | 4 ++--
fc-lang/ro.orth | 4 ++--
fc-lang/ru.orth | 4 ++--
fc-lang/sa.orth | 4 ++--
fc-lang/sah.orth | 4 ++--
fc-lang/sco.orth | 4 ++--
fc-lang/se.orth | 4 ++--
fc-lang/sel.orth | 4 ++--
fc-lang/sk.orth | 4 ++--
fc-lang/sl.orth | 4 ++--
fc-lang/sm.orth | 4 ++--
fc-lang/sma.orth | 4 ++--
fc-lang/smj.orth | 4 ++--
fc-lang/smn.orth | 4 ++--
fc-lang/sms.orth | 4 ++--
fc-lang/so.orth | 4 ++--
fc-lang/sq.orth | 4 ++--
fc-lang/sr.orth | 4 ++--
fc-lang/sv.orth | 4 ++--
fc-lang/sw.orth | 4 ++--
fc-lang/syr.orth | 4 ++--
fc-lang/ta.orth | 4 ++--
fc-lang/te.orth | 4 ++--
fc-lang/tg.orth | 4 ++--
fc-lang/th.orth | 4 ++--
fc-lang/ti_er.orth | 4 ++--
fc-lang/ti_et.orth | 4 ++--
fc-lang/tig.orth | 4 ++--
fc-lang/tn.orth | 4 ++--
fc-lang/to.orth | 4 ++--
fc-lang/tr.orth | 4 ++--
fc-lang/ts.orth | 4 ++--
fc-lang/tt.orth | 4 ++--
fc-lang/tw.orth | 4 ++--
fc-lang/tyv.orth | 4 ++--
fc-lang/ug.orth | 4 ++--
fc-lang/uk.orth | 4 ++--
fc-lang/ur.orth | 4 ++--
fc-lang/ve.orth | 4 ++--
fc-lang/vi.orth | 4 ++--
fc-lang/vo.orth | 4 ++--
fc-lang/vot.orth | 4 ++--
fc-lang/wa.orth | 4 ++--
fc-lang/wen.orth | 4 ++--
fc-lang/wo.orth | 4 ++--
fc-lang/xh.orth | 4 ++--
fc-lang/yap.orth | 4 ++--
fc-lang/yi.orth | 4 ++--
fc-lang/yo.orth | 4 ++--
fc-lang/zh_cn.orth | 4 ++--
fc-lang/zh_hk.orth | 4 ++--
fc-lang/zh_mo.orth | 4 ++--
fc-lang/zh_sg.orth | 4 ++--
fc-lang/zh_tw.orth | 4 ++--
fc-lang/zu.orth | 4 ++--
fc-list/Makefile.am | 4 ++--
fc-list/fc-list.c | 4 ++--
fc-match/Makefile.am | 4 ++--
fc-match/fc-match.c | 4 ++--
fc-pattern/Makefile.am | 4 ++--
fc-pattern/fc-pattern.c | 4 ++--
fc-query/Makefile.am | 4 ++--
fc-query/fc-query.c | 4 ++--
fc-scan/Makefile.am | 4 ++--
fc-scan/fc-scan.c | 4 ++--
fontconfig/fcfreetype.h | 4 ++--
fontconfig/fcprivate.h | 4 ++--
fontconfig/fontconfig.h | 4 ++--
src/Makefile.am | 4 ++--
src/fcatomic.c | 4 ++--
src/fcblanks.c | 4 ++--
src/fccache.c | 4 ++--
src/fccfg.c | 4 ++--
src/fccharset.c | 4 ++--
src/fcdbg.c | 4 ++--
src/fcdefault.c | 4 ++--
src/fcdir.c | 4 ++--
src/fcformat.c | 4 ++--
src/fcfreetype.c | 4 ++--
src/fcfs.c | 4 ++--
src/fcinit.c | 4 ++--
src/fcint.h | 4 ++--
src/fclang.c | 4 ++--
src/fclist.c | 4 ++--
src/fcmatch.c | 4 ++--
src/fcname.c | 4 ++--
src/fcpat.c | 4 ++--
src/fcstr.c | 4 ++--
src/fcxml.c | 4 ++--
257 files changed, 516 insertions(+), 517 deletions(-)
Add more copyright owners
COPYING | 6 ++++++
1 file changed, 6 insertions(+)
fontconfig.pc.in: Add sysconfdir, localstatedir, and PACKAGE
In the default case, cachedir and confdir will evaluate to something
referencing these other variables (which wouldn't otherwise be defined
in the pkg-config file.
Fixes a regression introduced by
81b542b50f82f8a0ad9f38f7d913fe5433631166
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Tested-by: Jon TURNEY <jon.turney@dronecode.org.uk>
fontconfig.pc.in | 3 +++
1 file changed, 3 insertions(+)
fontconfig.pc: Add variables for confdir and cachedir
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
fontconfig.pc.in | 2 ++
1 file changed, 2 insertions(+)
Bug 24729 - [ne_NP] Fix ortho file
Exclude three characters (U+090C..090E) from Nepalese.
fc-lang/ne.orth | 1 +
1 file changed, 1 insertion(+)
[fc-lang] Support excluding characters
By prefixing a line by a hyphen/minus sign. Useful when including
other orth files.
fc-lang/fc-lang.c | 35 +++++++++++++++++++++++++----------
1 file changed, 25 insertions(+), 10 deletions(-)
Add new public API: FcCharSetDelChar()
doc/fccharset.fncs | 11 +++++++++++
fontconfig/fontconfig.h | 3 +++
src/fccharset.c | 17 +++++++++++++++++
3 files changed, 31 insertions(+)
Bug 29995 - fc-cat does not invoke FcFini()
fc-cat/fc-cat.c | 1 +
1 file changed, 1 insertion(+)
Add comments
src/fcformat.c | 8 ++++++++
1 file changed, 8 insertions(+)
Bug 29338 - fc-pattern.sgml, open para tag
fc-pattern/fc-pattern.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix compiler warnings
fc-lang/fc-lang.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Add fc-pattern cmdline tool
Makefile.am | 3 +-
configure.in | 1 +
fc-cache/fc-cache.sgml | 1 +
fc-cat/fc-cat.sgml | 1 +
fc-list/fc-list.sgml | 1 +
fc-match/fc-match.sgml | 1 +
fc-pattern/Makefile.am | 59 +++++++++++++
fc-pattern/fc-pattern.c | 195
+++++++++++++++++++++++++++++++++++++++++++
fc-pattern/fc-pattern.sgml | 204
+++++++++++++++++++++++++++++++++++++++++++++
fc-query/fc-query.sgml | 1 +
fc-scan/fc-scan.sgml | 1 +
11 files changed, 467 insertions(+), 1 deletion(-)
Fix comment
src/fcmatch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Remove all training whitespaces
src/fcatomic.c | 4 +-
src/fccache.c | 66 ++++++++++++------------
src/fccfg.c | 118 +++++++++++++++++++++----------------------
src/fccharset.c | 150
+++++++++++++++++++++++++++----------------------------
src/fcdbg.c | 14 +++---
src/fcdefault.c | 2 +-
src/fcdir.c | 14 +++---
src/fcfreetype.c | 88 ++++++++++++++++----------------
src/fcfs.c | 6 +--
src/fcftint.h | 2 +-
src/fcinit.c | 6 +--
src/fcint.h | 42 ++++++++--------
src/fclang.c | 28 +++++------
src/fclist.c | 30 +++++------
src/fcmatch.c | 32 ++++++------
src/fcmatrix.c | 6 +--
src/fcname.c | 28 +++++------
src/fcpat.c | 70 +++++++++++++-------------
src/fcstr.c | 74 +++++++++++++--------------
src/ftglue.c | 16 +++---
20 files changed, 398 insertions(+), 398 deletions(-)
More whitespace
src/fcxml.c | 88
++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Whitespace
src/fcxml.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Accept TT_PLATFORM_MICROSOFT, TT_MS_ID_SYMBOL_CS from name table
The OT spec says:
"When building a Unicode font for Windows, the platform ID should
be 3 and the
encoding ID should be 1. When building a symbol font for Windows,
the platform
ID should be 3 and the encoding ID should be 0."
We were ignoring the SYMBOL_CS entry before. It's UTF-16/UCS-2
like the
UNICODE_CS.
Also, always use UTF-16BE instead of UCS-2BE. The conversion
was doing
UTF-16BE anyway.
src/fcfreetype.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Don't include unistd.h in fontconfig.h
Bug 26783 patch: unistd.h not exist on ms windows
fontconfig/fontconfig.h | 1 -
1 file changed, 1 deletion(-)
Bug 25152 Don't sleep(2) if all caches were uptodate
fc-cache/fc-cache.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Bug 26157 Solaris/Sun C 5.8: compilation of 2.8.0 and 2.7.3 fails
src/fcint.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Bug 18886 installation crashes if fontconfig already installed
Run the uninstalled fc-cache, not the installed one.
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More doc typo fixes
doc/fcformat.fncs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Fix doc typo
doc/fcformat.fncs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add note about autogen.sh to INSTALL
INSTALL | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Update INSTALL
INSTALL | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Bug 25508 configure assumes bash > 2.0 is on system
Remove dolt. With libtool2, there's not much need for dolt.
acinclude.m4 | 137
-----------------------------------------------------------
configure.in | 1 -
2 files changed, 138 deletions(-)
[doc] Fix typo
fc-match/fc-match.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[fc-cache] Document -r argument in man page
fc-cache/fc-cache.sgml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Bump version to 2.8.0
README | 32 ++++++++++++++++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 4 ++--
3 files changed, 33 insertions(+), 5 deletions(-)
Bump libtool revision in preparation for release
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Improve zip "distribution"
Don't put entries for directories in the zip file. Fetch manpages from
correct place.
fontconfig-zip.in | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
Use correct autoconf variable
Use LIBT_CURRENT_MINUS_AGE instead of the undefined
lt_current_minus_age for the name of the DLL when generating the MS
style import library.
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[fc-arch] Rename architecture names to better reflect what they are
We only care about three properties in the arch:
- endianness
- pointer size
- for 32-bit archs, whether double is aligned on 4 or 8 bytes
This leads to the following 6 archs (old name -> new name):
x86 -> le32d4
mipsel -> le32d8
x86-64 -> le64
m68k -> be32d4
ppc -> be32d8
ppc64 -> be64
fc-arch/fcarch.tmpl.h | 67
++++++++++++++++++++++++++-------------------------
1 file changed, 34 insertions(+), 33 deletions(-)
[fc-arch] Beautify the arch template
fc-arch/fc-arch.c | 10 +++++-----
fc-arch/fcarch.tmpl.h | 42 ++++++++++++++++++++++++++++++++++--------
2 files changed, 39 insertions(+), 13 deletions(-)
[fc-case] Update CaseFolding.txt to Unicode 5.2.0
fc-case/CaseFolding.txt | 116
++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 112 insertions(+), 4 deletions(-)
[fc-glyphname] Remove Adobe glyphlist
It was unused.
fc-glyphname/glyphlist.txt | 4291
--------------------------------------------
1 file changed, 4291 deletions(-)
Clean up Makefile's a bit
fc-arch/Makefile.am | 4 +---
fc-case/Makefile.am | 7 +++----
fc-glyphname/Makefile.am | 3 ++-
fc-lang/Makefile.am | 2 +-
src/Makefile.am | 12 +++++++++---
5 files changed, 16 insertions(+), 12 deletions(-)
[fc-glyphname] Rename internal arrays to prefix with _fc_
Although they were static, I was still surprised that gdb was seeing
our variable "glyphs". Not helpful.
fc-glyphname/fc-glyphname.c | 6 +++---
src/fcfreetype.c | 13 ++++++-------
2 files changed, 9 insertions(+), 10 deletions(-)
[src] Create fcglyphname.h automatically
src/Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
[fc-glyphname] Cleanup Makefile.am
fc-glyphname/Makefile.am | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Remove bogus comment
Last night in between my dreams I also noticed that we support Unicode
values up to 0x01000000 and not 0x00100000 which I thought before.
This covers the entire Unicode range.
src/fccharset.c | 1 -
1 file changed, 1 deletion(-)
Make sure fclang.h and fcarch.h are built
src/Makefile.am | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
[lang] Fix serializing LangSet from older versions
src/fclang.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
[arch] Try to ensure proper FcLangSet alignment in arch
fc-arch/fc-arch.c | 5 +++--
fc-arch/fcarch.tmpl.h | 16 ++++++++--------
src/fclang.c | 2 +-
3 files changed, 12 insertions(+), 11 deletions(-)
[xml] Remove unused code
src/fcxml.c | 12 ------------
1 file changed, 12 deletions(-)
[int] Remove more unused macros
src/fcint.h | 4 ----
1 file changed, 4 deletions(-)
Enable automake silent rules
configure.in | 1 +
1 file changed, 1 insertion(+)
[int] Remove fc_value_* macros that did nothing other than renaming
src/fcint.h | 6 ------
src/fcmatch.c | 8 ++++----
src/fcpat.c | 12 ++++++------
3 files changed, 10 insertions(+), 16 deletions(-)
[int] Remove fc_storage_type() in favor of direct access to v->type
src/fcint.h | 1 -
src/fcmatch.c | 2 +-
src/fcpat.c | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
Remove unused macros
src/fcint.h | 5 -----
1 file changed, 5 deletions(-)
Bump cache version up from 2 to 3 and fix FcLangSet caching/crash
Protect cache against future expansions of FcLangSet (adding new
orth files). Previously, doing so could change the size of
that struct. Indeed, that happened between 2.6.0 and 2.7.3, causing
crashes. Unfortunately, sizeof(FcLangSet) was not checked in
fcarch.c.
This changes FcLangSet code to be able to cope with struct size
changes.
And change cache format, hence bumping from 2 to 3.
fontconfig/fontconfig.h | 2 +-
src/fcint.h | 2 +-
src/fclang.c | 67
++++++++++++++++++++++++++++++++++++++-----------
3 files changed, 54 insertions(+), 17 deletions(-)
[int] Define MIN/MAX/ABS macros
src/fcfreetype.c | 3 ---
src/fcint.h | 4 ++++
2 files changed, 4 insertions(+), 3 deletions(-)
[fc-arch] Add FcAlign to arch signature
fc-arch/fc-arch.c | 5 +++--
fc-arch/fcarch.tmpl.h | 16 ++++++++--------
2 files changed, 11 insertions(+), 10 deletions(-)
Move FcAlign to fcint.h
src/fcint.h | 8 ++++++++
src/fcserialize.c | 8 --------
2 files changed, 8 insertions(+), 8 deletions(-)
Clarify default confdir and cachedir better.
Also remove --with-docdir. It can be set by setting docdir variable.
configure.in | 19 ++-----------------
doc/Makefile.am | 2 --
2 files changed, 2 insertions(+), 19 deletions(-)
Bump version to 2.7.3
README | 14 ++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 14 insertions(+), 4 deletions(-)
Bump libtool version in preparation for release
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Use default config in FcFileScan() and FcDirScan()
Before a NULL config was passed down adn essentially FcFileScan was
equivalent to FcFreeTypeQuery. Now fc-scan tool correctly applies
the configuration to the scanned patterns.
src/fcdir.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Updated Arabic, Persian, and Urdu orthographies
- Arabic (ar), Persian (fa), and Urdu (ur) now use generic forms
(bug #23004)
- Persian (fa) orthography updated to latest standards and
orthographies
- Persian dialects Dari/Eastern Farsi (prs) and Western Farsi
(pes) added
fc-lang/ar.orth | 81
+++++++++++---------------------------------------------
fc-lang/fa.orth | 80
++++++++++++++++++++++++++++++++++---------------------
fc-lang/pes.orth | 26 ++++++++++++++++++
fc-lang/prs.orth | 29 ++++++++++++++++++++
fc-lang/ur.orth | 77
+++++++++++++++++++++++++++--------------------------
5 files changed, 161 insertions(+), 132 deletions(-)
Correct Ewe (ee) orthography to use U+025B (bug #20711)
fc-lang/ee.orth | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Bump version to 2.7.2
README | 19 +++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 19 insertions(+), 4 deletions(-)
Bump libtool version for release
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Revert "Fix FcNameUnparseLangSet()" and redo it
This reverts commit 5c6d1ff23bda4386984a1d6e4c024958f8f5547c and
fixes that bug using the new reverse-map I added in the previous
commit.
src/fclang.c | 29 ++++++++++++++++++-----------
1 file changed, 18 insertions(+), 11 deletions(-)
Bug 23419 - "contains" expression seems not working on the fontconfig
rule
Fix bug in FcLangSetContains(), similar to
5c6d1ff23bda4386984a1d6e4c024958f8f5547c
fc-lang/fc-lang.c | 20 +++++++++++++++++---
src/fclang.c | 4 ++--
2 files changed, 19 insertions(+), 5 deletions(-)
Bug 22037 - No Fonts installed on a default install on Windows
Server 2003
Make it easy to install on older Windows
src/fcxml.c | 4 ++++
1 file changed, 4 insertions(+)
Use multi-byte codepage aware string function on Windows
The East Asian double-byte codepages have characters with backslash as
the second byte, so we must use _mbsrchr() instead of strrchr() when
looking at pathnames in the system codepage.
src/fcxml.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Fix heap corruption on Windows in FcEndElement()
Must not call FcStrFree() on a value returned by
FcStrBufDoneStatic(). In the Windows code don't bother with dynamic
allocation, just use a local buffer.
src/fcxml.c | 43 +++++++++++--------------------------------
1 file changed, 11 insertions(+), 32 deletions(-)
Fix MinGW compilation
Need to define _WIN32_WINNT as 0x0500 to get declaration for
GetSystemWindowsDirectory().
src/fcxml.c | 1 +
1 file changed, 1 insertion(+)
[ja.orth] Comment out FULLWIDTH YEN SIGN (#22942)
fc-lang/ja.orth | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Improve charset printing
src/fcdbg.c | 4 ++--
src/fclang.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Bump version to 2.7.1
README | 27 +++++++++++++++++++++++++--
configure.in | 4 ++--
fontconfig/fontconfig.h | 2 +-
3 files changed, 28 insertions(+), 5 deletions(-)
Update .gitignore
.gitignore | 1 +
1 file changed, 1 insertion(+)
Bump libtool versions that 2.7.0 (I forgot to do back then)
configure.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Hardcode /etc/fonts instead of @CONFDIR@ in docs (#22911)
We distribute the docs, so it makes little sense to distribute with
@CONFDIR@ replaced. Until we find a better solution, I've hardcoded
/etc/fonts now.
doc/confdir.sgml.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[doc] Add ~/fonts.conf.d to user docs
doc/fontconfig-user.sgml | 7 +++++++
1 file changed, 7 insertions(+)
TT_MS_ID_UCS_4 is really UTF-16BE, not UTF-32
Reported by Yuriy Kaminskiy.
src/fcfreetype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix doc syntax (#22902)
fc-match/fc-match.sgml | 3 ++-
fc-scan/fc-scan.sgml | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
Fix FcNameUnparseLangSet()
Was broken since ffd6668b469508177c4baf7745ae42aee5b00322
src/fclang.c | 29 +++++++++++------------------
1 file changed, 11 insertions(+), 18 deletions(-)
Remove unused macros
src/fcmatch.c | 33 ++-------------------------------
1 file changed, 2 insertions(+), 31 deletions(-)
Don't change the order of names unnecessarily (#20128)
so that TT_NAME_ID_PREFERRED_FAMILY is consistently preferred over
TT_NAME_ID_FONT_FAMILY when both are specified for the default
language.
src/fclist.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Use GetSystemWindowsDirectory() instead of GetWindowsDirectory()
(#22037)
src/fcxml.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Improve libtool version parsing (#22122)
autogen.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix leak with string VStack objects
src/fcxml.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add Inconsolata to monospace config (#22710)
conf.d/45-latin.conf | 1 +
conf.d/60-latin.conf | 1 +
2 files changed, 2 insertions(+)
Remove unused ftglue code
src/fcfreetype.c | 66
++++++++++++++++++++++++--------------------------------
src/ftglue.c | 62
++--------------------------------------------------
src/ftglue.h | 33 ----------------------------
3 files changed, 30 insertions(+), 131 deletions(-)
Replace spaces with tabs in conf files
conf.d/25-unhint-nonlatin.conf | 32 +++----
conf.d/30-metric-aliases.conf | 48 +++++------
conf.d/30-urw-aliases.conf | 36 ++++----
conf.d/65-fonts-persian.conf | 184
++++++++++++++++++++---------------------
conf.d/90-synthetic.conf | 8 +-
5 files changed, 154 insertions(+), 154 deletions(-)
Fix win32 build
src/fcint.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
git-tag -s again
new-version.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Bump version to 2.7.0
README | 222
+++++++++++++++++++++++++++++++++++++++++++++++-
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 222 insertions(+), 4 deletions(-)
Remove keithp's GPG key id
new-version.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix distcheck
Makefile.am | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Bug 22154 -- fontconfig.pc doesn't include libxml2 link flags
fontconfig.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[xml] Intern more strings
src/fcxml.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
[xml] Allocate FcExpr's in a pool in FcConfig
Reduces number of malloc's for FcExprs from hundreds into single
digits.
src/fccfg.c | 32 ++++++++++++++++++++++++++
src/fcint.h | 14 ++++++++++++
src/fcxml.c | 75
++++++++++++++++++++++++++-----------------------------------
3 files changed, 78 insertions(+), 43 deletions(-)
[xml] Mark more symbols static
src/fcint.h | 30 ------------------------------
src/fcxml.c | 22 ++++++++++++----------
2 files changed, 12 insertions(+), 40 deletions(-)
[xml] Centralize FcExpr allocation
To be improved, using a central pool.
src/fcxml.c | 46 ++++++++++++++++++++--------------------------
1 file changed, 20 insertions(+), 26 deletions(-)
Remove unused prototypes and function
src/fcint.h | 16 ++--------------
src/fcxml.c | 6 ------
2 files changed, 2 insertions(+), 20 deletions(-)
[charset] Grow internal FcCharset arrays exponentially
src/fccharset.c | 65
++++++++++++++++++++++++++++++++-------------------------
1 file changed, 36 insertions(+), 29 deletions(-)
Always set *changed in FcCharsetMerge
src/fccharset.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Add XXX note about Unicode Plane 16
src/fccharset.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Simplify FcValueSave() semantics
src/fccfg.c | 3 ++-
src/fcpat.c | 12 ++----------
2 files changed, 4 insertions(+), 11 deletions(-)
Use/prefer WWS family/style (name table id 21/22)
src/fcfreetype.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
Mark matchers array const (#21935)
src/fcmatch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reorganize Panjabi/Punjabi and Lahnda orthographies (bug #19890)
The correct ISO 639 code for Pakistani/Western Panjabi seems to be
'lah',
not 'pa'. We are keeping 'pa_pk.orth' for compatiblity with glibc.
Signed-off-by: Behdad Esfahbod <behdad@behdad.org>
fc-lang/Makefile.am | 5 +++--
fc-lang/lah.orth | 35 +++++++++++++++++++++++++++++++++++
fc-lang/pa.orth | 53
+++++++++++++++++++++++++++++++++++++++++++++++++++++
fc-lang/pa_in.orth | 46 ----------------------------------------------
fc-lang/pa_pk.orth | 7 ++++---
5 files changed, 95 insertions(+), 51 deletions(-)
Detect TrueType Collections by checking the font data header
Instead of checking for "face->num_faces >1". (GNOME bug #577952)
src/ftglue.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Correctly handle mmap() failure (#21062)
src/fccache.c | 2 ++
1 file changed, 2 insertions(+)
[fc-cache] Remove obsolete sentence from man page
fc-cache/fc-cache.sgml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
[fc-lang] Make LangSet representation in the cache files stable
Fontconfig assigns an index number to each language it knows about.
The index is used to index a bit in FcLangSet language map. The bit
map is stored in the cache.
Previously fc-lang simply sorted the list of languages and assigned
them an index starting from zero. Net effect is that whenever new
orth files were added, all the FcLangSet info in the cache files would
become invalid. This was causing weird bugs like this one:
https://bugzilla.redhat.com/show_bug.cgi?id=490888
With this commit we fix the index assigned to each language.
The index
will be based on the order the orth files are passed to fc-lang. As a
result all orth files are explicitly listed in Makefile.am now, and
new additions should be made to the end of the list. The list is made
to reflect the sorted list of orthographies from 2.6.0 released
followed
by new additions since.
This fixes the stability problem. Needless to say, recreating caches
is necessary before any new orthography is recognized in existing
fonts,
but at least the existing caches are still valid and don't cause bugs
like the above.
configure.in | 7 --
fc-lang/Makefile.am | 248
+++++++++++++++++++++++++++++++++++++++++++++++++++-
fc-lang/fc-lang.c | 49 +++++++----
src/fclang.c | 4 +-
4 files changed, 282 insertions(+), 26 deletions(-)
[fcstr] Remove unused variable
src/fcstr.c | 2 --
1 file changed, 2 deletions(-)
[fc-lang] Fix bug in country map generation
Previously the county map code was using an uninitialized variable and
hence was totally failing to populate same-lang-different-territory
map.
fc-lang/fc-lang.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Revert "[conf] Disable hinting when emboldening (#19904)" (#20599)
This reverts commit 10609af4aa4030a15c19573198462fa002d2ef13.
Apparently disabling hinting can cause worse rendering with certain
fonts. This is better handled on a per font basis.
conf.d/90-synthetic.conf | 11 -----------
1 file changed, 11 deletions(-)
[Makefile.am] Don't clean ChangeLog in distclean
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Document FcPatternFormat() format
doc/Makefile.am | 2 +
doc/fcformat.fncs | 301
++++++++++++++++++++++++++++++++++++++++++++++
doc/fcpattern.fncs | 20 ---
doc/fontconfig-devel.sgml | 2 +
src/fcformat.c | 94 ++++++++-------
5 files changed, 353 insertions(+), 66 deletions(-)
[fcformat] Fix default-value handling
src/fcformat.c | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
Replace 'KEITH PACKARD' with 'THE AUTHOR(S)' in license text in
all files
COPYING | 4 ++--
Makefile.am | 4 ++--
conf.d/65-fonts-persian.conf | 2 +-
conf.d/Makefile.am | 4 ++--
config/Makedefs.in | 4 ++--
configure.in | 4 ++--
doc/Makefile.am | 4 ++--
doc/confdir.sgml.in | 4 ++--
doc/edit-sgml.c | 4 ++--
doc/fcatomic.fncs | 4 ++--
doc/fcblanks.fncs | 4 ++--
doc/fccache.fncs | 4 ++--
doc/fccharset.fncs | 4 ++--
doc/fcconfig.fncs | 4 ++--
doc/fcconstant.fncs | 4 ++--
doc/fcfile.fncs | 4 ++--
doc/fcfontset.fncs | 4 ++--
doc/fcfreetype.fncs | 4 ++--
doc/fcinit.fncs | 4 ++--
doc/fcmatrix.fncs | 4 ++--
doc/fcobjectset.fncs | 4 ++--
doc/fcobjecttype.fncs | 4 ++--
doc/fcpattern.fncs | 4 ++--
doc/fcstring.fncs | 4 ++--
doc/fcstrset.fncs | 4 ++--
doc/fcvalue.fncs | 4 ++--
doc/fontconfig-devel.sgml | 8 ++++----
doc/fontconfig-user.sgml | 4 ++--
doc/func.sgml | 4 ++--
doc/version.sgml.in | 4 ++--
fc-arch/Makefile.am | 4 ++--
fc-arch/fcarch.tmpl.h | 4 ++--
fc-cache/Makefile.am | 4 ++--
fc-cache/fc-cache.c | 4 ++--
fc-case/Makefile.am | 4 ++--
fc-case/fc-case.c | 4 ++--
fc-case/fccase.tmpl.h | 4 ++--
fc-cat/Makefile.am | 4 ++--
fc-cat/fc-cat.c | 4 ++--
fc-glyphname/Makefile.am | 4 ++--
fc-glyphname/fc-glyphname.c | 4 ++--
fc-glyphname/fcglyphname.tmpl.h | 4 ++--
fc-lang/Makefile.am | 4 ++--
fc-lang/aa.orth | 4 ++--
fc-lang/ab.orth | 4 ++--
fc-lang/af.orth | 4 ++--
fc-lang/am.orth | 4 ++--
fc-lang/ar.orth | 4 ++--
fc-lang/ast.orth | 4 ++--
fc-lang/av.orth | 4 ++--
fc-lang/ay.orth | 4 ++--
fc-lang/az_ir.orth | 4 ++--
fc-lang/ba.orth | 4 ++--
fc-lang/be.orth | 4 ++--
fc-lang/bg.orth | 4 ++--
fc-lang/bh.orth | 4 ++--
fc-lang/bho.orth | 4 ++--
fc-lang/bi.orth | 4 ++--
fc-lang/bin.orth | 4 ++--
fc-lang/bm.orth | 4 ++--
fc-lang/bo.orth | 4 ++--
fc-lang/br.orth | 4 ++--
fc-lang/bs.orth | 4 ++--
fc-lang/bua.orth | 4 ++--
fc-lang/ca.orth | 4 ++--
fc-lang/ce.orth | 4 ++--
fc-lang/ch.orth | 4 ++--
fc-lang/chm.orth | 4 ++--
fc-lang/chr.orth | 4 ++--
fc-lang/co.orth | 4 ++--
fc-lang/cs.orth | 4 ++--
fc-lang/cu.orth | 4 ++--
fc-lang/cv.orth | 4 ++--
fc-lang/cy.orth | 4 ++--
fc-lang/da.orth | 4 ++--
fc-lang/de.orth | 4 ++--
fc-lang/dz.orth | 4 ++--
fc-lang/el.orth | 4 ++--
fc-lang/en.orth | 4 ++--
fc-lang/eo.orth | 4 ++--
fc-lang/es.orth | 4 ++--
fc-lang/et.orth | 4 ++--
fc-lang/eu.orth | 4 ++--
fc-lang/fa.orth | 4 ++--
fc-lang/fc-lang.c | 4 ++--
fc-lang/fc-lang.man | 4 ++--
fc-lang/fclang.tmpl.h | 4 ++--
fc-lang/ff.orth | 4 ++--
fc-lang/fi.orth | 4 ++--
fc-lang/fj.orth | 4 ++--
fc-lang/fo.orth | 4 ++--
fc-lang/fr.orth | 4 ++--
fc-lang/fur.orth | 4 ++--
fc-lang/fy.orth | 4 ++--
fc-lang/ga.orth | 4 ++--
fc-lang/gd.orth | 4 ++--
fc-lang/gez.orth | 4 ++--
fc-lang/gl.orth | 4 ++--
fc-lang/gn.orth | 4 ++--
fc-lang/gu.orth | 4 ++--
fc-lang/gv.orth | 4 ++--
fc-lang/ha.orth | 4 ++--
fc-lang/haw.orth | 4 ++--
fc-lang/he.orth | 4 ++--
fc-lang/hi.orth | 4 ++--
fc-lang/ho.orth | 4 ++--
fc-lang/hr.orth | 4 ++--
fc-lang/hu.orth | 4 ++--
fc-lang/hy.orth | 4 ++--
fc-lang/ia.orth | 4 ++--
fc-lang/id.orth | 4 ++--
fc-lang/ie.orth | 4 ++--
fc-lang/ig.orth | 4 ++--
fc-lang/ik.orth | 4 ++--
fc-lang/io.orth | 4 ++--
fc-lang/is.orth | 4 ++--
fc-lang/it.orth | 4 ++--
fc-lang/iu.orth | 4 ++--
fc-lang/ja.orth | 4 ++--
fc-lang/ka.orth | 4 ++--
fc-lang/kaa.orth | 4 ++--
fc-lang/ki.orth | 4 ++--
fc-lang/kk.orth | 4 ++--
fc-lang/kl.orth | 4 ++--
fc-lang/kn.orth | 4 ++--
fc-lang/ko.orth | 4 ++--
fc-lang/kok.orth | 4 ++--
fc-lang/ku_am.orth | 4 ++--
fc-lang/ku_ir.orth | 4 ++--
fc-lang/kum.orth | 4 ++--
fc-lang/kv.orth | 4 ++--
fc-lang/kw.orth | 4 ++--
fc-lang/ky.orth | 4 ++--
fc-lang/la.orth | 4 ++--
fc-lang/lb.orth | 4 ++--
fc-lang/lez.orth | 4 ++--
fc-lang/ln.orth | 4 ++--
fc-lang/lo.orth | 4 ++--
fc-lang/lt.orth | 4 ++--
fc-lang/lv.orth | 4 ++--
fc-lang/mai.orth | 4 ++--
fc-lang/mg.orth | 4 ++--
fc-lang/mh.orth | 4 ++--
fc-lang/mi.orth | 4 ++--
fc-lang/mk.orth | 4 ++--
fc-lang/ml.orth | 4 ++--
fc-lang/mn_cn.orth | 4 ++--
fc-lang/mo.orth | 4 ++--
fc-lang/mr.orth | 4 ++--
fc-lang/mt.orth | 4 ++--
fc-lang/my.orth | 4 ++--
fc-lang/nb.orth | 4 ++--
fc-lang/nds.orth | 4 ++--
fc-lang/ne.orth | 4 ++--
fc-lang/nl.orth | 4 ++--
fc-lang/nn.orth | 4 ++--
fc-lang/no.orth | 4 ++--
fc-lang/ny.orth | 4 ++--
fc-lang/oc.orth | 4 ++--
fc-lang/om.orth | 4 ++--
fc-lang/or.orth | 4 ++--
fc-lang/os.orth | 4 ++--
fc-lang/pa_in.orth | 2 +-
fc-lang/pl.orth | 4 ++--
fc-lang/ps_af.orth | 4 ++--
fc-lang/ps_pk.orth | 4 ++--
fc-lang/pt.orth | 4 ++--
fc-lang/rm.orth | 4 ++--
fc-lang/ro.orth | 4 ++--
fc-lang/ru.orth | 4 ++--
fc-lang/sa.orth | 4 ++--
fc-lang/sah.orth | 4 ++--
fc-lang/sco.orth | 4 ++--
fc-lang/se.orth | 4 ++--
fc-lang/sel.orth | 4 ++--
fc-lang/sk.orth | 4 ++--
fc-lang/sl.orth | 4 ++--
fc-lang/sm.orth | 4 ++--
fc-lang/sma.orth | 4 ++--
fc-lang/smj.orth | 4 ++--
fc-lang/smn.orth | 4 ++--
fc-lang/sms.orth | 4 ++--
fc-lang/so.orth | 4 ++--
fc-lang/sq.orth | 4 ++--
fc-lang/sr.orth | 4 ++--
fc-lang/sv.orth | 4 ++--
fc-lang/sw.orth | 4 ++--
fc-lang/syr.orth | 4 ++--
fc-lang/ta.orth | 4 ++--
fc-lang/te.orth | 4 ++--
fc-lang/tg.orth | 4 ++--
fc-lang/th.orth | 4 ++--
fc-lang/ti_er.orth | 4 ++--
fc-lang/ti_et.orth | 4 ++--
fc-lang/tig.orth | 4 ++--
fc-lang/tn.orth | 4 ++--
fc-lang/to.orth | 4 ++--
fc-lang/tr.orth | 4 ++--
fc-lang/ts.orth | 4 ++--
fc-lang/tt.orth | 4 ++--
fc-lang/tw.orth | 4 ++--
fc-lang/tyv.orth | 4 ++--
fc-lang/ug.orth | 4 ++--
fc-lang/uk.orth | 4 ++--
fc-lang/ur.orth | 4 ++--
fc-lang/ve.orth | 4 ++--
fc-lang/vi.orth | 4 ++--
fc-lang/vo.orth | 4 ++--
fc-lang/vot.orth | 4 ++--
fc-lang/wa.orth | 4 ++--
fc-lang/wen.orth | 4 ++--
fc-lang/wo.orth | 4 ++--
fc-lang/xh.orth | 4 ++--
fc-lang/yap.orth | 4 ++--
fc-lang/yi.orth | 4 ++--
fc-lang/yo.orth | 4 ++--
fc-lang/zh_cn.orth | 4 ++--
fc-lang/zh_hk.orth | 4 ++--
fc-lang/zh_mo.orth | 4 ++--
fc-lang/zh_sg.orth | 4 ++--
fc-lang/zh_tw.orth | 4 ++--
fc-lang/zu.orth | 4 ++--
fc-list/Makefile.am | 4 ++--
fc-list/fc-list.c | 4 ++--
fc-match/Makefile.am | 4 ++--
fc-match/fc-match.c | 4 ++--
fc-query/Makefile.am | 4 ++--
fc-query/fc-query.c | 4 ++--
fc-scan/Makefile.am | 4 ++--
fc-scan/fc-scan.c | 4 ++--
fontconfig/fcfreetype.h | 4 ++--
fontconfig/fcprivate.h | 4 ++--
fontconfig/fontconfig.h | 4 ++--
src/Makefile.am | 4 ++--
src/fcatomic.c | 4 ++--
src/fcblanks.c | 4 ++--
src/fccache.c | 4 ++--
src/fccfg.c | 4 ++--
src/fccharset.c | 4 ++--
src/fcdbg.c | 4 ++--
src/fcdefault.c | 4 ++--
src/fcdir.c | 4 ++--
src/fcformat.c | 4 ++--
src/fcfreetype.c | 4 ++--
src/fcfs.c | 4 ++--
src/fcinit.c | 4 ++--
src/fcint.h | 4 ++--
src/fclang.c | 4 ++--
src/fclist.c | 4 ++--
src/fcmatch.c | 4 ++--
src/fcname.c | 4 ++--
src/fcpat.c | 4 ++--
src/fcstr.c | 4 ++--
src/fcxml.c | 4 ++--
254 files changed, 508 insertions(+), 508 deletions(-)
Call git tools using "git cmd" instead of "git-cmd" syntax
Recent git doesn't install the git-* commands in path.
Makefile.am | 2 +-
new-version.sh | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
[fcxml.c] Embed a static 64-byte attr buffer in FcPStack
Reduces number of mallocs called from FcConfigSaveAttr in my
small test
from 160 down to 6.
src/fcstr.c | 4 ++--
src/fcxml.c | 23 +++++++++++++++--------
2 files changed, 17 insertions(+), 10 deletions(-)
[fcxml] Embed 64 static FcVStack objects in FcConfigParse
This reduces the number of mallocs called from FcVStackPush from
over 800 down to zero.
src/fcxml.c | 218
+++++++++++++++++++++++++++++-------------------------------
1 file changed, 105 insertions(+), 113 deletions(-)
[fcxml] Embed 8 static FcPStack objects in FcConfigParse
This reduces the number of mallocs called from FcPStackPush from
over 900 down to zero.
src/fcxml.c | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
[fcxml] Don't allocate attr array if there are no attributes
Reduces number of mallocs from FcConfigSaveAttr() in my small test
from over 900 down to 157.
src/fcxml.c | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
[fcstr,fcxml] Don't copy FcStrBuf contents when we would free it soon
We can simply NUL-terminate the buffer and use it. Reduces number of
mallocs called from FcStrBufDone in my small test from 631 down to 66.
src/fcint.h | 3 +++
src/fcstr.c | 13 +++++++++++++
src/fcxml.c | 28 ++++++++++++++--------------
3 files changed, 30 insertions(+), 14 deletions(-)
[fcstr.c] Embed a static 64-byte buffer in FcStrBuf
Reduces number of mallocs called from FcStrBufChar in my small test
from 900 down to 6.
src/fcint.h | 1 +
src/fcstr.c | 11 +++++++++--
2 files changed, 10 insertions(+), 2 deletions(-)
Fix Makefile's to not create target file in case of failure
fc-arch/Makefile.am | 3 ++-
fc-lang/Makefile.am | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
Fix Fanti (fat) orth file (#20390)
fc-lang/fat.orth | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add Sundanese (su) orthography (bug #20440)
fc-lang/su.orth | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Add Kanuri (kr) orthography (bug #20438)
fc-lang/kr.orth | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Add Nauru (na) orthography (bug #20418)
fc-lang/na.orth | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Add Javanese (jv) orthography (bug #20403)
fc-lang/jv.orth | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Add Sichuan Yi (ii) orthography (bug #20402)
fc-lang/ii.orth | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Add Shona (sn) orthography (bug #20394)
fc-lang/sn.orth | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Add orthographies for Oshiwambo languages (bug #20401)
The languages are Kuanyama/Kwanyama (kj), Ndonga (ng), and Kwambi
(kwm).
fc-lang/kj.orth | 34 ++++++++++++++++++++++++++++++++++
fc-lang/kwm.orth | 29 +++++++++++++++++++++++++++++
fc-lang/ng.orth | 29 +++++++++++++++++++++++++++++
3 files changed, 92 insertions(+)
Add Zhuang (za) orthography (bug #20399)
fc-lang/za.orth | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Add Rundi (rn) orthography (bug #20398)
fc-lang/rn.orth | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Add Navajo (nv) orthography (bug #20395)
fc-lang/nv.orth | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Add Tahitian (ty) orthography (bug #20391)
fc-lang/ty.orth | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Add Sango (sg) orthography (bug #20393)
fc-lang/sg.orth | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Added Quechua (qu) orthography (bug #20392)
fc-lang/qu.orth | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Add Akan (ak) and Fanti (fat) orthographies (bug #20390)
fc-lang/ak.orth | 30 ++++++++++++++++++++++++++++++
fc-lang/fat.orth | 30 ++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
Add Herero (hz) orthograhy (bug #20387)
fc-lang/hz.orth | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Add Ewe (ee) orthography (bug #20386)
fc-lang/ee.orth | 77
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 77 insertions(+)
Update Serbo-Croatian (sh) orthography (bug #20368)
fc-lang/sh.orth | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
Extend Crimean Tatar (crh) orthography (bug #19891)
fc-lang/crh.orth | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Add Divehi (dv) orthography (bug #20207)
fc-lang/dv.orth | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Remove digits and symbols from some Indic orthographies (bug #20204)
These orthographies were changed: Gujarati (gu), Kannada (kn), Lao
(lo),
Malayalam (ml), Oriya (or), Telugu (te), and Thai (th).
fc-lang/gu.orth | 4 ++--
fc-lang/kn.orth | 4 ++--
fc-lang/lo.orth | 4 ++--
fc-lang/ml.orth | 4 ++--
fc-lang/or.orth | 5 +++--
fc-lang/te.orth | 4 ++--
fc-lang/th.orth | 8 ++++++--
7 files changed, 19 insertions(+), 14 deletions(-)
Tighten Central Khmer (km) orthography (bug #20202)
fc-lang/km.orth | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)
Change Kashmiri (ks) orthography to Arabic script (bug #20200)
fc-lang/ks.orth | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
Rename Fulah orthography from 'ful' to 'ff' (bug #20177)
fc-lang/ff.orth | 38 ++++++++++++++++++++++++++++++++++++++
fc-lang/ful.orth | 38 --------------------------------------
2 files changed, 38 insertions(+), 38 deletions(-)
Rename Bambara orthography from 'bam' to 'bm' (bug #20175)
fc-lang/bam.orth | 37 -------------------------------------
fc-lang/bm.orth | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 37 deletions(-)
Rename Avaric orthography from 'ava' to 'av' (bug #20174)
fc-lang/av.orth | 97
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
fc-lang/ava.orth | 97
--------------------------------------------------------
2 files changed, 97 insertions(+), 97 deletions(-)
Update Azerbaijani in Latin (az_az) to present usage (bug #20173)
Removed Cyrillic that is no longer in use. Removed "A WITH DIAERESIS"
too, since it was only temporarily used in 1991-1992.
fc-lang/az_az.orth | 41 ++++++++++++++---------------------------
1 file changed, 14 insertions(+), 27 deletions(-)
Switch Uzbek (uz) orthography to Latin (bug #19851)
fc-lang/uz.orth | 94
++++++++++-----------------------------------------------
1 file changed, 16 insertions(+), 78 deletions(-)
Add Crimean Tatar (crh) orthography (bug #19891)
fc-lang/crh.orth | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Add Papiamento (pap_aw, pap_an) orthographies (bug #19891)
fc-lang/pap_an.orth | 46 ++++++++++++++++++++++++++++++++++++++++++++++
fc-lang/pap_aw.orth | 31 +++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
Add Blin (byn) orthography (bug #19891)
fc-lang/byn.orth | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Divide Panjabi (pa) to that of Pakistan and India (bug #19890)
Previous Panjabi orthography was in the Gurmukhi script only, while in
Pakistan, the Arabic script (called Shahmukhi) is used for Panjani.
fc-lang/pa.orth | 46 ----------------------------------------------
fc-lang/pa_in.orth | 46 ++++++++++++++++++++++++++++++++++++++++++++++
fc-lang/pa_pk.orth | 28 ++++++++++++++++++++++++++++
3 files changed, 74 insertions(+), 46 deletions(-)
Add Ottoman Turkish (ota) orthography (bug #20114)
fc-lang/ota.orth | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Remove Euro Sign from all orthographies (bug #19865)
fc-lang/de.orth | 1 -
fc-lang/el.orth | 1 -
fc-lang/en.orth | 1 -
fc-lang/es.orth | 1 -
fc-lang/fi.orth | 1 -
fc-lang/fr.orth | 1 -
fc-lang/it.orth | 1 -
fc-lang/nl.orth | 1 -
fc-lang/pt.orth | 1 -
9 files changed, 9 deletions(-)
[fc-lang] Continue parsing after an "include" (#20179)
fc-lang/fc-lang.c | 29 ++++++++++++++++++-----------
1 file changed, 18 insertions(+), 11 deletions(-)
Fix Bengali (bn) and Assamese (as) orthographies (bug #22924)
Removing digits, symbols, and the letters not used in the languages.
fc-lang/as.orth | 37 +++++++++++++++++++++++++++----------
fc-lang/bn.orth | 21 ++++++++++++---------
2 files changed, 39 insertions(+), 19 deletions(-)
Add Sidamo (sid) and Wolaitta (wal) orthographies (bug #19891)
fc-lang/sid.orth | 27 +++++++++++++++++++++++++++
fc-lang/wal.orth | 27 +++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
Add Sardinian (sc) orthography (bug #19891)
fc-lang/sc.orth | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Add Limburgan (li) orthography (bug #19891)
fc-lang/li.orth | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Ad Ganda (lg) orthography (bug #19891)
fc-lang/lg.orth | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Add Haitian Creole (ht) orthography (bug #19891)
fc-lang/ht.orth | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Add Aragonese (an) orthography (bug #19891)
fc-lang/an.orth | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Add Kurdish in Turkey (ku_tr) orthography (bug #19891)
fc-lang/ku_tr.orth | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Use newly added Cyrillic letters for Kurdish (bug #20049)
fc-lang/ku_am.orth | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
Add Chhattisgarhi (hne) orthography (bug #19891)
fc-lang/hne.orth | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
[fcformat] Add list of undocumented language features
src/fcformat.c | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
[fcformat] Add a 'pkgkit' builtin that prints tags for font packages
For DejaVu Sans Condensed it generates:
font(dejavusans)
font(dejavusanscondensed)
font(:lang=aa)
font(:lang=ab)
...
font(:lang=yo)
font(:lang=zu)
src/fcformat.c | 2 ++
1 file changed, 2 insertions(+)
[fcformat] Enumerate langsets like we do arrays of values
If one asks for a format like '%{[]elt{expr}}' and the first value
for elt is a langset, we enumerate the langset languages in expr.
src/fcformat.c | 59
++++++++++++++++++++++++++++++++++++++++++++++------------
1 file changed, 47 insertions(+), 12 deletions(-)
[fclang] Implement FcLangSetGetLangs() (#18846)
doc/fclangset.fncs | 8 ++++++++
fontconfig/fontconfig.h | 3 +++
src/fclang.c | 32 ++++++++++++++++++++++++++++++++
3 files changed, 43 insertions(+)
[fcformat] Implement array enumeration
The format '%{[]family,familylang{expr}}' expands expr once for
the first
value of family and familylang, then for the second, etc, until
both lists
are exhausted.
src/fcformat.c | 90
++++++++++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 85 insertions(+), 5 deletions(-)
[fcformat] Support 'default value' for simple tags
The format '%{family:-XXX} prints XٓٓٓٓXX if the element family
is not defined.
Also works for things like '%{family[1]:-XXX}'.
src/fcformat.c | 30 +++++++++++++++++++++++++-----
1 file changed, 25 insertions(+), 5 deletions(-)
[fcformat] Support indexing simple tags
The format '%{family[0]}' will only output the first value for
element family.
src/fcformat.c | 43 +++++++++++++++++++++++++++++++++++++++----
src/fcint.h | 5 +++++
src/fcname.c | 2 +-
3 files changed, 45 insertions(+), 5 deletions(-)
[fcformat] Add support for builtin formats
The '%{=unparse}' format expands to the FcNameUnparse() result on the
pattern. Need to add '%{=verbose}' for FcPatternPrint() output but
need to change that function to output to a string first.
Also added the '%{=fclist}' and '%{=fcmatch}' which format like the
default format of fc-list and fc-match respectively.
src/fcformat.c | 137
+++++++++++++++++++++++++++++++++++++++------------------
1 file changed, 95 insertions(+), 42 deletions(-)
[fcformat] Refactor code to avoid malloc
src/fcformat.c | 246
+++++++++++++++++++++++++++++++++------------------------
1 file changed, 144 insertions(+), 102 deletions(-)
[fcformat] Start adding builtins
src/fcformat.c | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
[fcformat] Implement 'delete', 'escape', and 'translate' filter
functions
The format '%{family|delete( )}' expands to family values with
space removed.
The format '%{family|translate( ,-)}' expands to family values
with space
replaced by dash. Multiple chars are supported, like tr(1).
The format '%{family|escape(\\ )}' expands to family values with space
escaped using backslash.
src/fcformat.c | 219
++++++++++++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 194 insertions(+), 25 deletions(-)
[fcformat] Add value-count syntax
The format '%{#family}' expands to the number of values for the
element
'family', or '0' if no such element exists in the pattern.
src/fcformat.c | 116
+++++++++++++++++++++++++++++++++++++--------------------
1 file changed, 75 insertions(+), 41 deletions(-)
[FcStrBuf] better handle malloc failure
If buffer has failed allocation, return NULL when done.
src/fcstr.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
[fcformat] Implement 'cescape', 'shescape', and 'xmlescape' converters
src/fcformat.c | 87
++++++++++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 76 insertions(+), 11 deletions(-)
[fcformat] Add simple converters
The format '%{family|downcase}' for example prints the lowercase of
the family element. Three converters are defined right now:
'downcase', 'basename', and 'dirname'.
src/fcformat.c | 224
+++++++++++++++++++++++++++++++++------------------------
1 file changed, 131 insertions(+), 93 deletions(-)
[fcformat] Add conditionals
The conditional '%{?elt1,elt2,!elt3{expr1}{expr2}}' will evaluate
expr1 if elt1 and elt2 exist in pattern and elt3 doesn't exist, and
expr2 otherwise. The '{expr2}' part is optional.
src/fcformat.c | 158
+++++++++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 147 insertions(+), 11 deletions(-)
[fcformat] Add element filtering and deletion
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.
doc/fcpattern.fncs | 2 +-
fc-list/fc-list.c | 7 +-
fc-match/fc-match.c | 6 +-
fc-query/fc-query.c | 7 +-
fc-scan/fc-scan.c | 7 +-
src/fcformat.c | 214
+++++++++++++++++++++++++++++++++++++++-------------
6 files changed, 183 insertions(+), 60 deletions(-)
[fcformat] Add support for subexpressions
The syntax is '{{expr}}'. Can be used for aligning/justifying
an entire
subexpr for example.
src/fcformat.c | 149
+++++++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 124 insertions(+), 25 deletions(-)
[fcformat] Refactor and restructure code for upcoming changes
Also makes it thread-safe.
src/fcformat.c | 165
+++++++++++++++++++++++++++++++++------------------------
1 file changed, 96 insertions(+), 69 deletions(-)
[fcformat] Add support for width modifiers
One can do '%30{family}' for example. Or '%-30{family}' for the
left-aligned version.
doc/fcpattern.fncs | 6 ++++--
src/fcformat.c | 46 +++++++++++++++++++++++++++++++++++++++++++---
2 files changed, 47 insertions(+), 5 deletions(-)
Further update Sinhala orthography (#19288)
fc-lang/si.orth | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
[cache] After writing cache to file, update the internal copy to
reflect this
Only do it for small caches though. For large cache we'd better
off loading
the cache file again, mmap()ing it.
Based on patch from Diego Santa Cruz.
src/fccache.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
Update Sinhala orthography (#19288)
Patch from Harshula Jayasuriya.
fc-lang/si.orth | 45 ++++++++++++++++++++++++++++++++++-----------
1 file changed, 34 insertions(+), 11 deletions(-)
[fccache] Make sure the cache is current when reusing from open caches
Reported by Diego Santa Cruz.
src/fccache.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
[win32] Do not remove leading '\\' such that network paths work
Raised by Diego Santa Cruz.
src/fcstr.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
[win32] Expand "APPSHAREFONTDIR" to ../share/fonts relative to
binary location
Proposed by Diego Santa Cruz.
src/fcxml.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
[win32] Fix usage of GetFullPathName()
Diego Santa Cruz pointed out that we are using that API wrongly.
The forth argument is a pointer to a pointer. Turns out we don't
need that arugment and it accepts NULL, so just pass that.
src/fcstr.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Add ICONV_LIBS to fontconfig.pc.in (#19606)
fontconfig.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[conf] Disable hinting when emboldening (#19904)
Hinting will be done before Embolden in freetype2,
but in such case, Embolden will get wrong result
on some glyph contours after applying hinting.
Actually, hinting should be done after embolden, but we can't
fix it in current freetype2. So as a workaround, just turn off
hinting if we want to do embolden.
conf.d/90-synthetic.conf | 11 +++++++++++
1 file changed, 11 insertions(+)
Remove punctuation symbols from Asturian orthography (bug #19893)
Also fix the URL for orthography.
fc-lang/ast.orth | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
Rename Igbo from "ibo" to "ig" (bug #19892)
fc-lang/ibo.orth | 35 -----------------------------------
fc-lang/ig.orth | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+), 35 deletions(-)
Renamed az to az_az (bug #19889)
fc-lang/az.orth | 66
------------------------------------------------------
fc-lang/az_az.orth | 66
++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+), 66 deletions(-)
Add Berber orthographies in Latin and Tifinagh scripts (bug #19881)
fc-lang/ber_dz.orth | 27 +++++++++++++++++++++++++++
fc-lang/ber_ma.orth | 46 ++++++++++++++++++++++++++++++++++++++++++++++
fc-lang/kab.orth | 42 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 115 insertions(+)
Add Upper Sorbian (hsb) orthography (bug #19870)
fc-lang/hsb.orth | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Add Kinyarwanda (rw) orthography (bug #19868)
fc-lang/rw.orth | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Add Malay (ms) orthography (bug #19867)
fc-lang/ms.orth | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Add Kashubian (csb) orth file (bug #19866)
fc-lang/csb.orth | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Rename "ku" to "ku_am", add "ku_iq" (bug #19853).
For Iraq, we are assuming its the same Arabic orthography used
in Iran.
According to Ethnologue, Kurdish is written in Cyrillic in Armenia:
http://www.ethnologue.com/show_language.asp?code=kmr
Turkey and Syria need more research.
fc-lang/ku.orth | 94
------------------------------------------------------
fc-lang/ku_am.orth | 94
++++++++++++++++++++++++++++++++++++++++++++++++++++++
fc-lang/ku_iq.orth | 27 ++++++++++++++++
3 files changed, 121 insertions(+), 94 deletions(-)
Rename Venda from "ven" to "ve" (bug #19852)
Since ISO 639-1 code exists, we should use it.
fc-lang/ve.orth | 34 ++++++++++++++++++++++++++++++++++
fc-lang/ven.orth | 34 ----------------------------------
2 files changed, 34 insertions(+), 34 deletions(-)
Change Turkmen orth from Cyrillic to Latin (bug #19849)
fc-lang/tk.orth | 114
+++++++++++++-------------------------------------------
1 file changed, 26 insertions(+), 88 deletions(-)
Fix doubly encoded UTF-8 in comments (bug #19848)
fc-lang/nb.orth | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Split Mongolian orth to Mongolia and China (bug #19847)
The orth file for Mongolia uses Cyrillic, while that of
China uses the classical Mongolian script.
fc-lang/mn.orth | 37 -------------------------------------
fc-lang/mn_cn.orth | 37 +++++++++++++++++++++++++++++++++++++
fc-lang/mn_mn.orth | 35 +++++++++++++++++++++++++++++++++++
3 files changed, 72 insertions(+), 37 deletions(-)
Add Filipino orth, alias Tagalog to Filipino (bug #19846)
The previous Tagalog orthography used the Tagalog script, which is
not in
modern use.
fc-lang/fil.orth | 45 +++++++++++++++++++++++++++++++++++++++++++++
fc-lang/tl.orth | 23 ++++++++---------------
2 files changed, 53 insertions(+), 15 deletions(-)
Remove Sinhala characters not in modern use (bug #19288)
fc-lang/si.orth | 30 ++++++++++++++++++++----------
1 file changed, 20 insertions(+), 10 deletions(-)
Correct Sindhi orthography to use Arabic script (bug #17140)
The previous version used the Devanagari script. But in both
Pakistan and
India, Sindhi is generally written in Arabic. The Devanagari data
could
prove to be useful, if we decide on how we should name such files (see
bug #17208 and bug #19869).
fc-lang/sd.orth | 48 +++++++++++++++++++++++++++++++++++++++---------
1 file changed, 39 insertions(+), 9 deletions(-)
[fcfreetype] Fix typo in GB2312 encoding name string (#19845)
This was causing failure when opening iconv converter, hence rendering
GB2312-encoded fonts with no other usable encoding unusable.
src/fcfreetype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Change FcCharSetMerge API
To only work on writable charsets. Also, return a bool indicating
whether
the merge changed the charset.
Also changes the implementation of FcCharSetMerge and
FcCharSetIsSubset
doc/fccharset.fncs | 16 +++---
fontconfig/fontconfig.h | 4 +-
src/fccharset.c | 129
++++++++++++++++++++----------------------------
src/fcmatch.c | 64 +++++++++++++-----------
4 files changed, 99 insertions(+), 114 deletions(-)
[fcmatch] Fix crash when no fonts are available.
src/fcmatch.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Let make expand fc_cachedir/FC_CACHEDIR (bug #18675)
configure replaces a NONE prefix with the default prefix too late.
So we move fonts.conf creation to Makefile, such that prefix is
correctly
expanded. Ugly, but works.
Makefile.am | 13 ++++++++++++-
configure.in | 3 +--
2 files changed, 13 insertions(+), 3 deletions(-)
Cleanup all manpage.* files
Recent doc2man generates files called manpage.log. This was
breaking build.
doc/Makefile.am | 5 ++---
fc-cache/Makefile.am | 2 +-
fc-cat/Makefile.am | 2 +-
fc-list/Makefile.am | 2 +-
fc-match/Makefile.am | 2 +-
fc-query/Makefile.am | 2 +-
fc-scan/Makefile.am | 2 +-
7 files changed, 8 insertions(+), 9 deletions(-)
[fc-match] Accept list of elements like fc-list (bug #13017)
Also make --verbose not ignore list of elements and only print those.
Update docs.
fc-list/fc-list.c | 29 ++++++++++++++---------------
fc-list/fc-list.sgml | 12 ++++++------
fc-match/fc-match.c | 48
+++++++++++++++++++++++++++++++++++++-----------
fc-match/fc-match.sgml | 29 ++++++++++++++++++++---------
4 files changed, 77 insertions(+), 41 deletions(-)
Oops, fix FcPatternFilter
src/fcpat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add fc-scan too that runs FcFileScan/FcDirScan
This is quite similar to fc-query, but calling FcFileScan/FcDirScan
instead
of FcFreeTypeQuery.
.gitignore | 2 +
Makefile.am | 2 +-
configure.in | 1 +
doc/fcfile.fncs | 18 ++---
fc-cache/fc-cache.sgml | 1 +
fc-cat/fc-cat.sgml | 1 +
fc-list/fc-list.sgml | 7 +-
fc-match/fc-match.sgml | 7 +-
fc-query/fc-query.sgml | 5 +-
fc-scan/Makefile.am | 59 ++++++++++++++++
fc-scan/fc-scan.c | 181
+++++++++++++++++++++++++++++++++++++++++++++++++
fc-scan/fc-scan.sgml | 176
+++++++++++++++++++++++++++++++++++++++++++++++
12 files changed, 442 insertions(+), 18 deletions(-)
Revive FcConfigScan() (bug #17121)
FcConfigScan() with parameters cache=NULL and force=FcTrue can be used
to scan font dirs without any caching side effect.
src/fcdir.c | 155
+++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 90 insertions(+), 65 deletions(-)
Oops. Fix usage output.
fc-query/fc-query.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Don't use FcCharSetCopy in FcCharSetMerge
The Copy function is actually a ref, not real copy.
doc/fccharset.fncs | 2 +-
src/fccharset.c | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
Make FcCharSetMerge() public
That's needed for apps to be abled to do pruning themselves without
the performance penalty of recreating new charsets all the time.
doc/fccharset.fncs | 13 +++++++++++++
fontconfig/fontconfig.h | 3 +++
src/fcint.h | 3 ---
3 files changed, 16 insertions(+), 3 deletions(-)
[doc] Note that fontset returned by FcConfigGetFonts should not
be modified
doc/fcconfig.fncs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[fcmatch] Move FcFontSetMatch() functionality into
FcFontSetMatchInternal()
Except for the final FcFontRenderPrepare(). This way we have more
flexibility to do caching in FcFontMatch() while leaving
FcFontSetMatch()
intact.
src/fcmatch.c | 42 +++++++++++++++++++++++++++++-------------
1 file changed, 29 insertions(+), 13 deletions(-)
[fcmatch] When matching, reserve score 0 for when elements don't exist
Previously an index j was added to element score to prefer matches
earlier
in the value list to the later ones. This index started from 0,
meaning
that the score zero could be generated for the first element.
By starting
j from one, scores for when the element exists in both pattern
and font
can never be zero. The score zero is reserved for when the element is
NOT available in both font and pattern. We will use this property
later.
This shouldn't change matching much. The only difference I can
think of
is that if a font family exists both as a bitmap font and a scalable
version, and when requesting it at the size of the bitmap version,
previously the font returned was nondeterministic. Now the scalable
version will always be preferred.
src/fcmatch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[fcmatch] Use larger multipliers to enforce order
Previously the matcher multiplied comparison results by 100 and added
index value to it. With long lists of families (lots of aliases),
reaching 100 is not that hard. That could result in a non-match early
in the list to be preferred over a match late in the list. Changing
the multiplier from 100 to 1000 should fix that.
To keep things relatively in order, the lang multiplier is changed
from 1000 to 10000.
src/fcmatch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[fcmatch.c] Fix debug formatting
src/fcmatch.c | 1 +
1 file changed, 1 insertion(+)
Fix comparison of family names to ignore leading space properly
Previously fc-match "xxx,nazli" matched Nazli, but "xxx, nazli"
didn't.
This was because of a bug in FcCompareFamily's short-circuit check
that forgot to ignore spaces.
src/fcmatch.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Implement FcPatternFormat and use it in cmdline tools (bug #17107)
Still need to add more features, but the API is there, and used
by cmdline tools with -f or --format.
doc/fcpattern.fncs | 18 ++++++
fc-list/fc-list.c | 38 ++++++++----
fc-list/fc-list.sgml | 22 ++++++-
fc-match/fc-match.c | 31 +++++++---
fc-match/fc-match.sgml | 47 ++++++++++-----
fc-query/fc-query.c | 25 +++++++-
fc-query/fc-query.sgml | 36 +++++++----
fontconfig/fontconfig.h | 3 +
src/Makefile.am | 1 +
src/fcformat.c | 155
++++++++++++++++++++++++++++++++++++++++++++++++
src/fcint.h | 5 ++
src/fcname.c | 2 +-
12 files changed, 333 insertions(+), 50 deletions(-)
[.gitignore] Update
.gitignore | 2 ++
1 file changed, 2 insertions(+)
Remove special-casing of FC_FILE in FcPatternPrint()
I can't understand why the special case is needed. Indeed,
removing it
does not make any difference in the "fc-match --verbose" output, and
that's the only time fc-match uses FcPatternPrint.
src/fcdbg.c | 21 +--------------------
1 file changed, 1 insertion(+), 20 deletions(-)
Explicitly chmod() directories (bug #18934)
Two changes:
- after mkdir(), we immediately chmod(), such that we are not
affected
by stupid umask's.
- if a directory we want to use is not writable but exists, we try a
chmod on it. This is to recover from stupid umask's having
affected
us with older versions.
src/fccache.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Don't use identifier named complex
src/fcfreetype.c | 42 +++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 21 deletions(-)
[65-fonts-persian.conf] Set foundry in target=scan instead of
target=font
conf.d/65-fonts-persian.conf | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Fix Sinhala coverage (bug #19288)
fc-lang/si.orth | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
Use human-readable file names in the docs (bug #16278)
doc/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Implement fc-list --quiet ala grep (bug #17141)
Exits 1 if no fonts matched, 0 otherwise.
fc-list/fc-list.c | 27 ++++++++++++++++++++-------
1 file changed, 20 insertions(+), 7 deletions(-)
Fix compile with old FreeType that doesn't have FT_Select_Size()
(bug #17498)
configure.in | 10 +---------
src/fcfreetype.c | 2 ++
2 files changed, 3 insertions(+), 9 deletions(-)
Use __builtin_popcount() when available (bug #17592)
src/fccharset.c | 4 ++++
1 file changed, 4 insertions(+)
Add config for new Indic fonts (bug #17856)
conf.d/65-nonlatin.conf | 35 ++++++++++++++++++++++++++++-------
1 file changed, 28 insertions(+), 7 deletions(-)
Consistently use FcStat() over stat() in all places
src/fcatomic.c | 2 +-
src/fccache.c | 7 +------
src/fccfg.c | 2 +-
src/fcdir.c | 4 ++--
src/fcint.h | 7 +++++++
5 files changed, 12 insertions(+), 10 deletions(-)
[fccache] Consistently use FcStat() over stat() (bug #18195)
src/fccache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Cleanup symlinks in "make uninstall" (bug #18885)
conf.d/Makefile.am | 7 +++++++
1 file changed, 7 insertions(+)
Don't use variables named 'bool' (bug #18851)
src/fcxml.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
[.gitignore] Update
.gitignore | 4 ++++
1 file changed, 4 insertions(+)
Fix two more doc typos
doc/fcpattern.fncs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Don't call FcPatternGetCharSet in FcSortWalk unless we need to
(#17361)
src/fcmatch.c | 55
+++++++++++++++++++++++++++++++------------------------
1 file changed, 31 insertions(+), 24 deletions(-)
Don't leak FcValues string loaded through fcxml.c (#17661)
Patch from Caolan McNamara.
src/fcpat.c | 10 +++++-----
src/fcxml.c | 2 ++
2 files changed, 7 insertions(+), 5 deletions(-)
Reduce number of allocations during FcSortWalk().
The current behaviour of FcSortWalk() is to create a new FcCharSet on
each iteration that is the union of the previous iteration with
the next
FcCharSet in the font set. This causes the existing FcCharSet to be
reproduced in its entirety and then allocates fresh leaves for the new
FcCharSet. In essence the number of allocations is quadratic wrt the
number of fonts required.
By introducing a new method for merging a new FcCharSet with an
existing
one we can change the behaviour to be effectively linear with
the number
of fonts - allocating no more leaves than necessary to cover all the
fonts in the set.
For example, profiling 'gedit UTF-8-demo.txt'
Allocator nAllocs nBytes
Before:
FcCharSetFindLeafCreate 62886 2012352
FcCharSetPutLeaf 9361 11441108
After:
FcCharSetFindLeafCreate 1940 62080
FcCharSetPutLeaf 281 190336
The savings are even more significant for applications like
firefox-3.0b5
which need to switch between large number of fonts.
Before:
FcCharSetFindLeafCreate 4461192 142758144
FcCharSetPutLeaf 1124536 451574172
After:
FcCharSetFindLeafCreate 80359 2571488
FcCharSetPutLeaf 18940 9720522
Out of interest, the next most frequent allocations are
FcPatternObjectAddWithBinding 526029 10520580
tt_face_load_eblc 42103 2529892
src/fccharset.c | 62
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/fcint.h | 3 +++
src/fcmatch.c | 13 +++---------
3 files changed, 68 insertions(+), 10 deletions(-)
Document how to free return value of FcNameUnparse()
doc/fcpattern.fncs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add FcConfigReference() (#17124)
doc/fcconfig.fncs | 20 +++++++++++++++++---
fontconfig/fontconfig.h | 3 +++
src/fccfg.c | 20 ++++++++++++++++++++
src/fcint.h | 2 ++
4 files changed, 42 insertions(+), 3 deletions(-)
Document when config can be NULL (#17105)
Note that this also fixes a bug with FcFontList() where previously
it was NOT checking whether the config is up-to-date. May want to
keep the old behavior and document that ScanInterval is essentially
unused internally (FcFontSetList uses it, but we can remove that
too).
doc/fcconfig.fncs | 21 +++++++++++++++++++++
doc/fcfontset.fncs | 3 +++
src/fclist.c | 3 +++
3 files changed, 27 insertions(+)
Handle -h and --help according to GNU Coding Standards (#17104)
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.
fc-cache/fc-cache.c | 47
+++++++++++++++++++++++++----------------------
fc-cache/fc-cache.sgml | 4 ++--
fc-cat/fc-cat.c | 45 ++++++++++++++++++++++++---------------------
fc-cat/fc-cat.sgml | 4 ++--
fc-list/fc-list.c | 36 ++++++++++++++++++++----------------
fc-list/fc-list.sgml | 4 ++--
fc-match/fc-match.c | 44 ++++++++++++++++++++++++--------------------
fc-match/fc-match.sgml | 4 ++--
fc-query/fc-query.c | 40 ++++++++++++++++++++++------------------
fc-query/fc-query.sgml | 4 ++--
10 files changed, 125 insertions(+), 107 deletions(-)
Add WenQuanYi fonts to default conf (#17262, from Mandriva)
conf.d/65-nonlatin.conf | 4 ++++
1 file changed, 4 insertions(+)
Add Sindhi .orth file. (#17140)
fc-lang/sd.orth | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Update sr.orth to actul subset of Cyrillic used by Serbian (#17208)
fc-lang/sr.orth | 24 +++++++-----------------
1 file changed, 7 insertions(+), 17 deletions(-)
Fix docs re 'orig' argument of FcPatternBuild and family
Now call it 'p' or 'pattern', since it's modified in place.
There is no copying.
doc/fcpattern.fncs | 6 +++---
fontconfig/fontconfig.h | 4 ++--
src/fcpat.c | 12 ++++++------
3 files changed, 11 insertions(+), 11 deletions(-)
[doc] Fix signature of FcConfigHome()
We should write a test to automatically cross-check signatures
from public headers to docs.
doc/fcconfig.fncs | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Get rid of $Id$ tags
COPYING | 2 +-
Makefile.am | 2 +-
conf.d/Makefile.am | 2 +-
configure.in | 2 +-
doc/Makefile.am | 2 +-
doc/confdir.sgml.in | 2 +-
doc/edit-sgml.c | 2 +-
doc/fcatomic.fncs | 2 +-
doc/fcblanks.fncs | 2 +-
doc/fccharset.fncs | 2 +-
doc/fcconfig.fncs | 2 +-
doc/fcconstant.fncs | 2 +-
doc/fcfile.fncs | 2 +-
doc/fcfontset.fncs | 2 +-
doc/fcfreetype.fncs | 2 +-
doc/fcinit.fncs | 2 +-
doc/fcmatrix.fncs | 2 +-
doc/fcobjectset.fncs | 2 +-
doc/fcobjecttype.fncs | 2 +-
doc/fcpattern.fncs | 2 +-
doc/fcstring.fncs | 2 +-
doc/fcstrset.fncs | 2 +-
doc/fcvalue.fncs | 2 +-
doc/fontconfig-devel.sgml | 2 +-
doc/func.sgml | 2 +-
doc/version.sgml.in | 2 +-
fc-cache/Makefile.am | 2 +-
fc-case/fc-case.c | 2 +-
fc-case/fccase.tmpl.h | 2 +-
fc-cat/Makefile.am | 2 +-
fc-glyphname/fc-glyphname.c | 2 +-
fc-glyphname/fcglyphname.tmpl.h | 2 +-
fc-list/Makefile.am | 2 +-
fc-match/Makefile.am | 2 +-
fc-query/Makefile.am | 2 +-
src/Makefile.am | 2 +-
36 files changed, 36 insertions(+), 36 deletions(-)
[doc] Document that a zero rescanInterval disables automatic checks
(#17103)
doc/fcconfig.fncs | 2 ++
1 file changed, 2 insertions(+)
Add FcPatternFilter() (#13016)
doc/fcpattern.fncs | 12 ++++++++++++
fontconfig/fontconfig.h | 3 +++
src/fcpat.c | 37 +++++++++++++++++++++++++++++++++++++
3 files changed, 52 insertions(+)
[doc] Add const decorator for FcPatternDuplicate()
doc/fcpattern.fncs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Implement fc-list --verbose (#13015)
A private FcObjectGetSet() is implemented that provides an
FcObjectSet of all registered elements. FcFontSetList() is
then modified to use the object set from FcObjectGetSet() if
provided object-set is NULL.
Alternatively FcObjectGetSet() can be made public. In that
case fc-list can use that as a base if --verbose is included,
and also add any elements provided by the user (though that has
no effect, as all elements from the cache are already registered).
Currently fc-list ignores user-provided elements if --verbose
is specified.
fc-list/fc-list.c | 41 ++++++++++++++++++++++++-----------------
fc-list/fc-list.sgml | 10 +++++++---
src/fcint.h | 3 +++
src/fclist.c | 10 ++++++++++
src/fcname.c | 14 ++++++++++++++
5 files changed, 58 insertions(+), 20 deletions(-)
Add fc-query (#13019)
.gitignore | 2 +
Makefile.am | 2 +-
configure.in | 1 +
doc/fontconfig-user.sgml | 2 +-
fc-cache/fc-cache.sgml | 1 +
fc-cat/fc-cat.sgml | 1 +
fc-list/fc-list.sgml | 1 +
fc-match/fc-match.sgml | 1 +
fc-query/Makefile.am | 59 ++++++++++++++++
fc-query/fc-query.c | 166
++++++++++++++++++++++++++++++++++++++++++++
fc-query/fc-query.sgml | 174
+++++++++++++++++++++++++++++++++++++++++++++++
11 files changed, 408 insertions(+), 2 deletions(-)
Update man pages
fc-cache/fc-cache.sgml | 16 ++++++++++------
fc-cat/fc-cat.sgml | 15 +++++++++++----
fc-list/fc-list.sgml | 12 ++++++++----
fc-match/fc-match.sgml | 30 +++++++++++++++++++++++-------
4 files changed, 52 insertions(+), 21 deletions(-)
[fc-match] Fix list of getopt options in --help
fc-match/fc-match.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Add ~/.fonts.conf.d to default config (#17100)
conf.d/50-user.conf | 1 +
1 file changed, 1 insertion(+)
Update Thai default families (#16223)
Patch from Theppitak Karoonboonyanan
conf.d/65-nonlatin.conf | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
[doc] Fix signatures of FcPatternGetFTFace and FcPatternGetLangSet
(#16272)
doc/fcpattern.fncs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Replace RCS Id tags with the file name
config/Makedefs.in | 2 +-
config/install.sh | 2 +-
fc-cache/fc-cache.c | 2 +-
fc-cat/fc-cat.c | 2 +-
fc-lang/aa.orth | 2 +-
fc-lang/ab.orth | 2 +-
fc-lang/af.orth | 2 +-
fc-lang/am.orth | 2 +-
fc-lang/ar.orth | 2 +-
fc-lang/ast.orth | 2 +-
fc-lang/ava.orth | 2 +-
fc-lang/ay.orth | 2 +-
fc-lang/az.orth | 2 +-
fc-lang/az_ir.orth | 2 +-
fc-lang/ba.orth | 2 +-
fc-lang/bam.orth | 2 +-
fc-lang/be.orth | 2 +-
fc-lang/bg.orth | 2 +-
fc-lang/bh.orth | 2 +-
fc-lang/bho.orth | 2 +-
fc-lang/bi.orth | 2 +-
fc-lang/bin.orth | 2 +-
fc-lang/bn.orth | 2 +-
fc-lang/bo.orth | 2 +-
fc-lang/br.orth | 2 +-
fc-lang/bs.orth | 2 +-
fc-lang/bua.orth | 2 +-
fc-lang/ca.orth | 2 +-
fc-lang/ce.orth | 2 +-
fc-lang/ch.orth | 2 +-
fc-lang/chm.orth | 2 +-
fc-lang/chr.orth | 2 +-
fc-lang/co.orth | 2 +-
fc-lang/cs.orth | 2 +-
fc-lang/cu.orth | 2 +-
fc-lang/cv.orth | 2 +-
fc-lang/cy.orth | 2 +-
fc-lang/da.orth | 2 +-
fc-lang/de.orth | 2 +-
fc-lang/dz.orth | 2 +-
fc-lang/el.orth | 2 +-
fc-lang/en.orth | 2 +-
fc-lang/eo.orth | 2 +-
fc-lang/es.orth | 2 +-
fc-lang/et.orth | 2 +-
fc-lang/eu.orth | 2 +-
fc-lang/fa.orth | 2 +-
fc-lang/fc-lang.c | 2 +-
fc-lang/fc-lang.man | 2 +-
fc-lang/fclang.tmpl.h | 2 +-
fc-lang/fi.orth | 2 +-
fc-lang/fj.orth | 2 +-
fc-lang/fo.orth | 2 +-
fc-lang/fr.orth | 2 +-
fc-lang/ful.orth | 2 +-
fc-lang/fur.orth | 2 +-
fc-lang/fy.orth | 2 +-
fc-lang/ga.orth | 2 +-
fc-lang/gd.orth | 2 +-
fc-lang/gez.orth | 2 +-
fc-lang/gl.orth | 2 +-
fc-lang/gn.orth | 2 +-
fc-lang/gu.orth | 2 +-
fc-lang/gv.orth | 2 +-
fc-lang/ha.orth | 2 +-
fc-lang/haw.orth | 2 +-
fc-lang/he.orth | 2 +-
fc-lang/hi.orth | 2 +-
fc-lang/ho.orth | 2 +-
fc-lang/hr.orth | 2 +-
fc-lang/hu.orth | 2 +-
fc-lang/hy.orth | 2 +-
fc-lang/ia.orth | 2 +-
fc-lang/ibo.orth | 2 +-
fc-lang/id.orth | 2 +-
fc-lang/ie.orth | 2 +-
fc-lang/ik.orth | 2 +-
fc-lang/io.orth | 2 +-
fc-lang/is.orth | 2 +-
fc-lang/it.orth | 2 +-
fc-lang/iu.orth | 2 +-
fc-lang/ja.orth | 2 +-
fc-lang/ka.orth | 2 +-
fc-lang/kaa.orth | 2 +-
fc-lang/ki.orth | 2 +-
fc-lang/kk.orth | 2 +-
fc-lang/kl.orth | 2 +-
fc-lang/km.orth | 2 +-
fc-lang/kn.orth | 2 +-
fc-lang/ko.orth | 2 +-
fc-lang/kok.orth | 2 +-
fc-lang/ks.orth | 2 +-
fc-lang/ku.orth | 2 +-
fc-lang/ku_ir.orth | 2 +-
fc-lang/kum.orth | 2 +-
fc-lang/kv.orth | 2 +-
fc-lang/kw.orth | 2 +-
fc-lang/ky.orth | 2 +-
fc-lang/la.orth | 2 +-
fc-lang/lb.orth | 2 +-
fc-lang/lez.orth | 2 +-
fc-lang/ln.orth | 2 +-
fc-lang/lo.orth | 2 +-
fc-lang/lt.orth | 2 +-
fc-lang/lv.orth | 2 +-
fc-lang/mai.orth | 2 +-
fc-lang/mg.orth | 2 +-
fc-lang/mh.orth | 2 +-
fc-lang/mi.orth | 2 +-
fc-lang/mk.orth | 2 +-
fc-lang/ml.orth | 2 +-
fc-lang/mn.orth | 2 +-
fc-lang/mo.orth | 2 +-
fc-lang/mr.orth | 2 +-
fc-lang/mt.orth | 2 +-
fc-lang/my.orth | 2 +-
fc-lang/nb.orth | 2 +-
fc-lang/nds.orth | 2 +-
fc-lang/ne.orth | 2 +-
fc-lang/nl.orth | 2 +-
fc-lang/nn.orth | 2 +-
fc-lang/no.orth | 2 +-
fc-lang/nr.orth | 2 +-
fc-lang/nso.orth | 2 +-
fc-lang/ny.orth | 2 +-
fc-lang/oc.orth | 2 +-
fc-lang/om.orth | 2 +-
fc-lang/or.orth | 2 +-
fc-lang/os.orth | 2 +-
fc-lang/pa.orth | 2 +-
fc-lang/pl.orth | 2 +-
fc-lang/ps_af.orth | 2 +-
fc-lang/ps_pk.orth | 2 +-
fc-lang/pt.orth | 2 +-
fc-lang/rm.orth | 2 +-
fc-lang/ro.orth | 2 +-
fc-lang/ru.orth | 2 +-
fc-lang/sa.orth | 2 +-
fc-lang/sah.orth | 2 +-
fc-lang/sco.orth | 2 +-
fc-lang/se.orth | 2 +-
fc-lang/sel.orth | 2 +-
fc-lang/sh.orth | 2 +-
fc-lang/shs.orth | 2 +-
fc-lang/si.orth | 2 +-
fc-lang/sk.orth | 2 +-
fc-lang/sl.orth | 2 +-
fc-lang/sm.orth | 2 +-
fc-lang/sma.orth | 2 +-
fc-lang/smj.orth | 2 +-
fc-lang/smn.orth | 2 +-
fc-lang/sms.orth | 2 +-
fc-lang/so.orth | 2 +-
fc-lang/sq.orth | 2 +-
fc-lang/sr.orth | 2 +-
fc-lang/ss.orth | 2 +-
fc-lang/st.orth | 2 +-
fc-lang/sv.orth | 2 +-
fc-lang/sw.orth | 2 +-
fc-lang/syr.orth | 2 +-
fc-lang/ta.orth | 2 +-
fc-lang/te.orth | 2 +-
fc-lang/tg.orth | 2 +-
fc-lang/th.orth | 2 +-
fc-lang/ti_er.orth | 2 +-
fc-lang/ti_et.orth | 2 +-
fc-lang/tig.orth | 2 +-
fc-lang/tk.orth | 2 +-
fc-lang/tl.orth | 2 +-
fc-lang/tn.orth | 2 +-
fc-lang/to.orth | 2 +-
fc-lang/tr.orth | 2 +-
fc-lang/ts.orth | 2 +-
fc-lang/tt.orth | 2 +-
fc-lang/tw.orth | 2 +-
fc-lang/tyv.orth | 2 +-
fc-lang/ug.orth | 2 +-
fc-lang/uk.orth | 2 +-
fc-lang/ur.orth | 2 +-
fc-lang/uz.orth | 2 +-
fc-lang/ven.orth | 2 +-
fc-lang/vi.orth | 2 +-
fc-lang/vo.orth | 2 +-
fc-lang/vot.orth | 2 +-
fc-lang/wa.orth | 2 +-
fc-lang/wen.orth | 2 +-
fc-lang/wo.orth | 2 +-
fc-lang/xh.orth | 2 +-
fc-lang/yap.orth | 2 +-
fc-lang/yi.orth | 2 +-
fc-lang/yo.orth | 2 +-
fc-lang/zh_cn.orth | 2 +-
fc-lang/zh_hk.orth | 2 +-
fc-lang/zh_mo.orth | 2 +-
fc-lang/zh_sg.orth | 2 +-
fc-lang/zh_tw.orth | 2 +-
fc-lang/zu.orth | 2 +-
fc-list/fc-list.c | 2 +-
fc-match/fc-match.c | 2 +-
fontconfig/fcfreetype.h | 2 +-
fontconfig/fcprivate.h | 2 +-
fontconfig/fontconfig.h | 2 +-
src/fcatomic.c | 2 +-
src/fcblanks.c | 2 +-
src/fccfg.c | 2 +-
src/fccharset.c | 2 +-
src/fcdbg.c | 2 +-
src/fcdefault.c | 2 +-
src/fcdir.c | 2 +-
src/fcfreetype.c | 2 +-
src/fcfs.c | 2 +-
src/fcinit.c | 2 +-
src/fcint.h | 2 +-
src/fclang.c | 2 +-
src/fclist.c | 2 +-
src/fcmatch.c | 2 +-
src/fcmatrix.c | 2 +-
src/fcname.c | 2 +-
src/fcstr.c | 2 +-
src/fcxml.c | 2 +-
220 files changed, 220 insertions(+), 220 deletions(-)
Add orth file for Maithili mai.orth (#15821)
fc-lang/mai.orth | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
When canonizing filenames, squash // and remove final / (#bug 16286)
The fact that we now drop final slashes from all filenames without
checking that the file name represents a directory may surprise some,
but it doesn't bother me really.
src/fcstr.c | 3 +++
1 file changed, 3 insertions(+)
[doc] Fix inaccuracy in FcFontRenderPrepare docs (#16985)
doc/fcconfig.fncs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Avoid C99ism in Win32 code (#16651)
src/fccfg.c | 3 ++-
src/fcxml.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
Remove build manpage logfile if it exists
doc/Makefile.am | 1 +
1 file changed, 1 insertion(+)
Make sure alias files are built first (bug 16464)
Signed-off-by: Keith Packard <keithp@keithp.com>
fc-case/Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Bump version to 2.6.0
README | 6 ++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 4 ++--
3 files changed, 7 insertions(+), 5 deletions(-)
Bump version to 2.5.93
README | 34 ++++++++++++++++++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 34 insertions(+), 4 deletions(-)
Ignore empty <dir></dir> elements
An empty element would cause every file starting with the current
directory to be scanned, probably not what the user wanted.
src/fcxml.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Oops. Fix for bug 15928 used wrong path for installed fc-cache.
fc-cache lives in $(bindir)/fc-cache, not $(bindir)/fc-cache/fc-cache.
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Libs.private needs freetype libraries
To make static linking work, fontconfig.pc needs @FREETYPE_LIBS@ in
Libs.private.
fontconfig.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
FcConfigUptoDate breaks if directory mtime is in the future. Bug
14424.
At OLPC, we came across a bug where the Browse activity (based
on xulrunner)
took 100% CPU after an upgrade/. It turns out the Mozilla uses
FcConfigUptoDate() to check if new fonts have been added to the
system, and
this function was always returning FcFalse since we have the mtimes
of some
font directories set in the future. The attached patch makes
FcConfigUptoDate() print a warning and return FcTrue if mtime of
directories
are in the future.
src/fccfg.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
Fix index/offset for 'decorative' matcher. Bug 15890.
It seems indices in _FcMatchers array are slightly mixed up,
MATCH_DECORATIVE
should be 10, not 11.
And MATCH_RASTERIZER_INDEX should be 13, not 12, right?
src/fcmatch.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Fix Win32 build error: install tries to run fc-cache locally
(bug 15928).
When building in Win32 e.g. with MinGW, the install tries to run
fc-cache
locally but the required DLL's are not in the path. I've included
a patch for
this to fix Makefile.in to run fc-cache from bindir but obviously
this should
be applied to Makefile.am instead.
(the second part of this patch was already in the tree)
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Add Secwepemctsin Orthography. Bug 15996.
fc-lang/shs.orth | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Persian conf update. (bug 16066).
conf.d/40-nonlatin.conf | 37 +++++++++++++++++++++++++++++++++++++
conf.d/65-fonts-persian.conf | 24 ++++++++++++++++++++----
2 files changed, 57 insertions(+), 4 deletions(-)
Fix FcStrDirname documentation. (bug 16068)
Description of FcStrDirname is absent in the official documentation of
fontconfig-2.5.92. At the same time the source documentation contains
description of the function.
The problem is a consequence of a misprint in the format of the source
documentation file 'fcstring.fncs'. The finish mark of description
of the
previous function is absent.
doc/fcstring.fncs | 1 +
1 file changed, 1 insertion(+)
Add a copy of dolt.m4 to acinclude.m4.
An ancient version of dolt.m4 was installed on my system leading to
a broken
build on non-Linux systems.
acinclude.m4 | 137
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 137 insertions(+)
Freetype 2.3.5 (2007-jul-02) fixes indic font hinting. re-enable
(bug 15822)
Autohinting for Indic fonts has been disabled since freetype could
not handle
it properly. But since freetype-2.3.5, the hinting problems for
indic fonts
have been fixed. Thus this is a request to enable the autohinting in
fontconfig again for all the indic fonts.
conf.d/25-unhint-nonlatin.conf | 119
-----------------------------------------
1 file changed, 119 deletions(-)
Add extended, caps, dunhill style mappings.
extended -> expanded.
caps, dunhill -> decorative
src/fcfreetype.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Fix a few memory tracking mistakes.
The built-in memory tracking code in fontconfig relies on a lot
of manual
function call tracking. A pain, but it helps debug leaks.
src/fcatomic.c | 2 +-
src/fccharset.c | 6 ++++++
src/fcinit.c | 2 ++
src/fcpat.c | 2 +-
src/fcstr.c | 9 +++++++--
5 files changed, 17 insertions(+), 4 deletions(-)
Call FcFini to make memory debugging easier
FcFini frees all libary data structures so valgrind should report 0
allocations in use when the program exits.
fc-cache/fc-cache.c | 1 +
1 file changed, 1 insertion(+)
Bump version to 2.5.92
README | 40 ++++++++++++++++++++++++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 40 insertions(+), 4 deletions(-)
git ignore doltcompile
.gitignore | 1 +
1 file changed, 1 insertion(+)
Allow for RC versions in README update
new-version.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Deal with libtool 2.2 which doesn't let us use LT_ variables. (bug
15692)
Libtool-2.2 introduces new restrictions. So now it does not allow LT_*
variables as it includes marcros:
m4_pattern_forbid([^_?LT_[A-Z_]+$])
Rename the LT_ variables to LIBT_ to work around this restriction.
configure.in | 18 +++++++++---------
fontconfig-zip.in | 2 +-
src/Makefile.am | 6 +++---
3 files changed, 13 insertions(+), 13 deletions(-)
Add FreeType-dependent functions to fontconfig.def file. (bug 15415)
With PUBLIC_FILES no longer containing the freetype-dependent
symbols, those
must be added to the fontconfig.def file build process.
src/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Make fc-match behave better when style is unknown (bug 15332)
fc-match/fc-match.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Use of ":=" in src/Makefile.am is unportable (bug 14420)
Building 2.5.91 on Solaris with the native make(1) yields
...
Making all in src
make: Fatal error in reader: Makefile, line 313: Unexpected end of
line seen
Current working directory /tmp/fontconfig-2.5.91/src
*** Error code 1
This is due to the following line (src/Makefile.am:143):
CLEANFILES := $(ALIAS_FILES)
Changing that to a standard assignment ("=") fixes the problem.
I believe the ":=" is a typo. ALIAS_FILES is just a statically
assigned
variable; it's not like evaluating it more than once would be
a problem.
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Remove doltcompile in distclean
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
fontconfig build fails if "head" is missing or unusable (bug 14304)
If the /usr/bin/head program is missing or unusable, or if an
unusable head
program is listed first in the PATH, fontconfig fails to build
using "sed -n 1p" instead of "head -1" would be a suitable workaround.
src/makealias | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Proper config path for static libraries in win32
Since fontconfig didn't have special handling for paths in static
Windows
libraries, I've created a patch which should fix this.
Basically it does this:
fccfg.c:
If fontconfig_path was uninitialised it tries to get the directory
the exe is
in and uses a fonts/ dir inside that.
fcxml.c:
In case the fonts.conf lists a <dir>CUSTOMFONTDIR</dir>, it searches
for a
fonts/ directory where the exe is located.
src/fccfg.c | 26 +++++++++++++++++++++-----
src/fcxml.c | 22 +++++++++++++++++++++-
2 files changed, 42 insertions(+), 6 deletions(-)
Korean font in the default config - replacing baekmuk with un
(bug 13569)
I propose to replace the default Baekmuk Korean fonts with Un fonts.
Some people don't agree but most Korean people prefer Un fonts
to Baekmuk
ones. Un fonts just look better, at least in the most common Linux
desktops
(antialiased, GNOME or KDE, high resolution).
conf.d/40-nonlatin.conf | 2 ++
conf.d/65-nonlatin.conf | 4 ++++
2 files changed, 6 insertions(+)
Fontconfig options for freetype sub-pixel filter configuration
David Turner has modified FreeType to be able to render sub-pixel
decimated
glyphs using different methods of filtering. Fontconfig needs new
configurables to support selecting these new filtering options. A
patch
follows that would correspond to one available for Cairo in bug 10301.
doc/fontconfig-devel.sgml | 1 +
doc/fontconfig-user.sgml | 5 +++++
fontconfig/fontconfig.h | 9 ++++++++-
src/fcint.h | 3 ++-
src/fcname.c | 7 ++++++-
5 files changed, 22 insertions(+), 3 deletions(-)
Merge some of Mandriva configuration into upstream configuration. Bug
13247
This is merging some parts of Mandriva fontconfig changes, mostly
adding and
documenting fonts to common aliases.
conf.d/25-unhint-nonlatin.conf | 20 +++++++++++
conf.d/60-latin.conf | 3 ++
conf.d/65-nonlatin.conf | 81
++++++++++++++++++++++++++++++++++++++----
conf.d/69-unifont.conf | 4 +++
4 files changed, 101 insertions(+), 7 deletions(-)
Add --all flag to fc-match to show the untrimmed list. Bug 13018.
fc-match/fc-match.c | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
Add some sample cursive and fantasy families.
conf.d/45-latin.conf | 20 ++++++++++++++++++++
conf.d/60-latin.conf | 24 ++++++++++++++++++++++++
2 files changed, 44 insertions(+)
Remove size and dpi values from bitmap fonts. Bug 8765.
The only relevant information is the pixel size; don't report
anything else.
src/fcfreetype.c | 34 ----------------------------------
1 file changed, 34 deletions(-)
Work around for bitmap-only TrueType fonts that are missing the
glyf table.
Bitmap-only TrueType fonts without a glyf table will not load a
glyph when
FT_LOAD_NO_SCALE is set. Work around this by identifying TrueType
fonts that have no
glyphs and select a single strike to measure the glyph map with.
src/fcfreetype.c | 58
+++++++++++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 51 insertions(+), 7 deletions(-)
Use DOLT if available
configure.in | 1 +
1 file changed, 1 insertion(+)
Fix build with !ENABLE_DOCS and no built manpages.
fc-cache/Makefile.am | 8 ++++++--
fc-cat/Makefile.am | 8 ++++++--
fc-list/Makefile.am | 8 ++++++--
fc-match/Makefile.am | 8 ++++++--
4 files changed, 24 insertions(+), 8 deletions(-)
Bump version to 2.5.91
README | 26 ++++++++++++++++++++++----
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 24 insertions(+), 6 deletions(-)
git-tag requires space after -m flag
new-version.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
new-version.sh was mis-editing files
new-version.sh | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
Add more files to .gitignore
.gitignore | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Distribute khmer font aliases
conf.d/65-khmer.conf | 16 ++++++++++++++++
conf.d/Makefile.am | 1 +
2 files changed, 17 insertions(+)
Create new-version.sh to help with releases, update INSTALL
instructions
INSTALL | 36 +++++------------
new-version.sh | 121
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 131 insertions(+), 26 deletions(-)
Distribute new fcftint.h file
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Eliminate references to freetype from utility Makefile.am's
The utility programs don't use any freetype interfaces, so they
don't need to directly refer to freetype headers or libraries.
fc-cache/Makefile.am | 4 ++--
fc-cat/Makefile.am | 4 ++--
fc-list/Makefile.am | 4 ++--
fc-match/Makefile.am | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
Include fcftaliastail.h so that the freetype funcs are exported.
This header file needs to be included at the end of every file that
exports any freetype symbols.
src/fcfreetype.c | 1 +
src/fclang.c | 1 +
src/fcpat.c | 1 +
3 files changed, 3 insertions(+)
Remove freetype requirement for build-time applications.
This avoids requiring the freetype development files when cross
compiling
fc-arch/Makefile.am | 2 +-
fc-case/Makefile.am | 2 +-
fc-glyphname/Makefile.am | 2 +-
fc-lang/Makefile.am | 2 +-
src/Makefile.am | 13 +++++++++---
src/fcfreetype.c | 1 +
src/fcftint.h | 54
++++++++++++++++++++++++++++++++++++++++++++++++
src/fcint.h | 18 +---------------
src/fclang.c | 1 +
src/fcpat.c | 1 +
src/makealias | 6 ++++--
11 files changed, 76 insertions(+), 26 deletions(-)
Fix OOM failure case in FcPStackPush.
When allocation for the node attributes fail, clean up the node
allocation
and report failure.
src/fcxml.c | 5 +++++
1 file changed, 5 insertions(+)
Not_contain should use strstr, not strcmp on strings. (bug 13632)
For Version 2.5.0, (same for previous version 2.4.2), in source
file fccfg.c,
on line 700,
Original:
ret = FcStrCmpIgnoreCase (left.u.s, right.u.s) == 0;
Should change to:
ret = FcStrStrIgnoreCase (left.u.s, right.u.s) == 0;
I think this is just a mistake when copy-n-paste similar codes in
the same
function. Apparently, return for "Not_contain" should be just the
inverse of
"Contain", not the same as "Equal".
src/fccfg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Move conf.avail/README to conf.d/README (bug 13392)
Because conf.d is where most people look first. And the comment at
the top
of the README file says conf.d/README too.
conf.d/Makefile.am | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Bump version number to 2.5
README | 15 +++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 4 ++--
3 files changed, 16 insertions(+), 5 deletions(-)
Workaround for stat() brokenness in Microsoft's C library (bug 8526)
Fix a couple of longstanding problems with fontconfig on Windows that
manifest themselves especially in GIMP. The root cause to the problems
is in
Microsoft's incredibly stupid stat() implementation. Basically, stat()
returns wrong timestamp fields for files on NTFS filesystems on
machines
that use automatic DST switching.
See for instance http://bugzilla.gnome.org/show_bug.cgi?id=154968 and
http://www.codeproject.com/datetime/dstbugs.asp
As fccache.c now looks at more fields in the stat struct I fill in
them all.
I noticed that fstat() is used only on a fd just after opening it,
so on
Win32 I just call my stat() replacement before opening instead...
Implementing a good replacement for fstat() would be harder because
the code
in fccache.c wants to compare inode numbers. There are no (readily
accessible) inode numbers on Win32, so I fake it with the hash of
the full
file name, in the case as it is on disk. And fstat() doesn't know
the full
file name, so it would be rather hard to come up with a inode
number to
identify the file.
The patch also adds similar handling for the cache directory as for
the fonts
directory: If a cachedir element in fonts.conf contains the magic
string
"WINDOWSTEMPDIR_FONTCONFIG_CACHE" it is replaced at runtime with a
path under
the machine's (or user's) temp folder as returned by GetTempPath(). I
don't
want to hardcode any pathnames in a fonts.conf intended to be
distributed to
end-users, most of which who wouldn't know how to edit it anyway. And
requiring an installer to edit it gets complicated.
configure.in | 6 +++-
fc-cache/Makefile.am | 3 ++
src/fccache.c | 93
+++++++++++++++++++++++++++++++++++++++++++++++++++-
src/fcxml.c | 24 ++++++++++++++
4 files changed, 124 insertions(+), 2 deletions(-)
Revert "Remove fcprivate.h, move the remaining macros to fcint.h."
This reverts commit b607922909acfc7ae96de688ed34efd19cd038ac.
Conflicts:
src/Makefile.am
Xft still uses the macros that are in fcprivate.h. Document those
macros and
include fcprivate.h in the published header files.
doc/check-missing-doc | 1 +
doc/fcobjectset.fncs | 11 +++++
doc/fcpattern.fncs | 12 ++++-
fontconfig/Makefile.am | 3 +-
fontconfig/fcprivate.h | 123
++++++++++++++++++++++++++++++++++++++++++++++++
fontconfig/fontconfig.h | 2 +-
src/Makefile.am | 3 +-
src/fcint.h | 95 +------------------------------------
8 files changed, 152 insertions(+), 98 deletions(-)
Document that FcConfigGetFonts returns the internal fontset (bug
13197)
FcConfigGetFonts returns the internal font set used by the library
which
must not be freed by the application or 'bad things' will happen.
doc/fcconfig.fncs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Document that Match calls FcFontRenderPrepare (bug 13162).
The behaviour of FcFontMatch and FcFontSetMatch is hard to understand
without
knowing that they call FcFontRenderPrepare.
doc/fcconfig.fncs | 12 ++++++++----
doc/fcfontset.fncs | 12 ++++++++----
2 files changed, 16 insertions(+), 8 deletions(-)
Document several function return values (Bug 13145).
Several functions had no indication of what the return value would be,
mostly these were allocation failure returns.
doc/fcatomic.fncs | 4 +++-
doc/fcconfig.fncs | 21 ++++++++++++++-------
doc/fcconstant.fncs | 8 ++++++--
doc/fcfile.fncs | 28 +++++++++++++++-------------
doc/fcfontset.fncs | 3 ++-
doc/fcinit.fncs | 7 +++++--
doc/fcobjectset.fncs | 3 ++-
doc/fcobjecttype.fncs | 6 ++++--
8 files changed, 51 insertions(+), 29 deletions(-)
Fix parallel build in doc directory.
docbook2man has fixed output file names; place output in a
subdirectory to
avoid collisions.
doc/Makefile.am | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Update version numbers to 2.4.92 (2.5 RC2)
README | 49
+++++++++++++++++++++++++++++++++++++++++++++++--
fontconfig/fontconfig.h | 2 +-
2 files changed, 48 insertions(+), 3 deletions(-)
Simplify/improve 30-metric-aliases.conf
conf.d/30-metric-aliases.conf | 192
++++++++++++++++++++++++------------------
1 file changed, 109 insertions(+), 83 deletions(-)
Remove list of available conf files from README.
It was redundant and out-dated.
conf.d/README | 29 +----------------------------
1 file changed, 1 insertion(+), 28 deletions(-)
Fix documented conf-file naming format in README
conf.d/README | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Remove 25-unhint-nonlatin.conf from default configuration by not
linking it.
conf.d/Makefile.am | 1 -
1 file changed, 1 deletion(-)
Oops, fix Makefile.am.
conf.d/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Remove 20-lohit-gujarati.conf. It's covered by
25-unhint-nonlatin.conf now.
conf.d/20-lohit-gujarati.conf | 11 -----------
conf.d/Makefile.am | 2 --
2 files changed, 13 deletions(-)
Remove redundant/obsolete comments from conf files.
Conf files had an initial comment mentioning the files' name.
This was outdated and wrong in most cases. There's no real use
in that.
conf.d/10-autohint.conf | 1 -
conf.d/10-no-sub-pixel.conf | 1 -
conf.d/10-sub-pixel-bgr.conf | 1 -
conf.d/10-sub-pixel-rgb.conf | 1 -
conf.d/10-sub-pixel-vbgr.conf | 1 -
conf.d/10-sub-pixel-vrgb.conf | 1 -
conf.d/10-unhinted.conf | 1 -
conf.d/20-fix-globaladvance.conf | 1 -
conf.d/20-unhint-small-vera.conf | 1 -
conf.d/25-unhint-nonlatin.conf | 1 -
conf.d/30-metric-aliases.conf | 1 -
conf.d/30-urw-aliases.conf | 1 -
conf.d/50-user.conf | 1 -
conf.d/51-local.conf | 1 -
conf.d/65-fonts-persian.conf | 1 -
conf.d/70-no-bitmaps.conf | 1 -
conf.d/70-yes-bitmaps.conf | 1 -
conf.d/80-delicious.conf | 1 -
18 files changed, 18 deletions(-)
Use binding="same" in 30-urw-aliases.conf and remove duplicate
entries.
Times, Helvetical, and Courier are already handled in
30-metric-aliases.conf.
Remove them here and add a comment instead.
conf.d/30-urw-aliases.conf | 27 ++++++++-------------------
1 file changed, 8 insertions(+), 19 deletions(-)
Split 40-generic.conf into 40-nonlatin.conf and 45-latin.conf
conf.d/40-generic.conf | 80
-------------------------------------------------
conf.d/40-nonlatin.conf | 51 +++++++++++++++++++++++++++++++
conf.d/45-latin.conf | 56 ++++++++++++++++++++++++++++++++++
conf.d/Makefile.am | 6 ++--
conf.d/README | 5 ++--
5 files changed, 114 insertions(+), 84 deletions(-)
Add/update config files from Fedora.
conf.d/25-unhint-nonlatin.conf | 228
+++++++++++++++++++++++++++++++++++++++++
conf.d/30-amt-aliases.conf | 21 ----
conf.d/30-metric-aliases.conf | 186 +++++++++++++++++++++++++++++++++
conf.d/40-generic.conf | 22 +++-
conf.d/65-nonlatin.conf | 45 ++++++++
conf.d/Makefile.am | 6 +-
conf.d/README | 3 +-
7 files changed, 483 insertions(+), 28 deletions(-)
Add FcGetLangs() and FcLangGetCharSet().
doc/fclangset.fncs | 16 ++++++++++++++++
fontconfig/fontconfig.h | 6 ++++++
src/fcint.h | 3 ---
src/fclang.c | 20 ++++++++++++++++++--
4 files changed, 40 insertions(+), 5 deletions(-)
Fix trivial bugs in edit-sgml.c
doc/edit-sgml.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Export FcConfig{G,S}etRescanInverval from .so, mark as deprecated.
These two names are typos of the correct names. Instead of simply
changing
them, the correct thing to do is leave them in the library, add
the correct
functions and mark them as deprecated so any source packages will
be updated.
This requires bumping the minor version of the library (for adding
APIs)
instead of bumping the major version of the library (for removing
APIs).
configure.in | 6 +++---
fontconfig/fontconfig.h | 13 +++++++++++++
src/Makefile.am | 5 +++--
src/fccfg.c | 16 ++++++++++++++++
src/fcdeprecate.h | 36 ++++++++++++++++++++++++++++++++++++
src/fcint.h | 1 +
6 files changed, 72 insertions(+), 5 deletions(-)
Ignore new generated documentation
.gitignore | 3 +++
1 file changed, 3 insertions(+)
Link new function documentation into the fontconfig-devel.sgml
doc/fontconfig-devel.sgml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Formatting syntax mistake in doc/fclangset.fncs.
<parameter>ls</function> needed to be <parameter>ls</parameter>.
doc/fclangset.fncs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Generate fccache.sgml, fcdircache.sgml and fclangset.sgml.
Just adding the .fncs versions doesn't get these files generated.
doc/Makefile.am | 3 +++
1 file changed, 3 insertions(+)
Fix formatting syntax in doc/fccache.fncs
doc/fccache.fncs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Replace incorrect documentation uses of 'char' with 'FcChar8'
(bug 13002).
doc/fcconfig.fncs | 10 +++++-----
doc/fcfile.fncs | 6 +++---
doc/fcfreetype.fncs | 4 ++--
doc/fcpattern.fncs | 6 +++---
doc/fontconfig-devel.sgml | 2 +-
5 files changed, 14 insertions(+), 14 deletions(-)
Remove references to FcConfigParse and FcConfigLoad.
These functions no longer exist.
doc/fcconfig.fncs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Have FcConfigSetCurrent accept the current configuration and simply
return
without updating anything.
src/fccfg.c | 3 +++
1 file changed, 3 insertions(+)
Update documentation for stale FcConfigGetConfig function.
The old per-user cache filename is no longer used.
doc/fcconfig.fncs | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Update documentation for FcStrCopyFilename (bug 12964).
FcStrCopyFilename constructs a canonical path for any argument,
including
expanding leading ~ and editing '.' and '..' elements out of the
resulting
path.
doc/fcstring.fncs | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
Document previously undocumented functions. (bug 12963)
doc/Makefile.am | 3 ++
doc/check-missing-doc | 4 +-
doc/fccache.fncs | 68 +++++++++++++++++++++++++
doc/fccharset.fncs | 24 +++++++++
doc/fcconfig.fncs | 31 ++++++++++++
doc/fcdircache.fncs | 88 ++++++++++++++++++++++++++++++++
doc/fcfile.fncs | 29 ++++++-----
doc/fcfontset.fncs | 83 +++++++++++++++++++++++++++++++
doc/fcfreetype.fncs | 22 ++++++++
doc/fclangset.fncs | 124
++++++++++++++++++++++++++++++++++++++++++++++
doc/fcmatrix.fncs | 2 +
doc/fcpattern.fncs | 52 ++++++++++++++++++-
doc/fcstring.fncs | 80 ++++++++++++++++++++++++------
doc/fcstrset.fncs | 11 ++++
doc/fcvalue.fncs | 21 ++++++++
doc/fontconfig-devel.sgml | 26 +++++++++-
16 files changed, 638 insertions(+), 30 deletions(-)
Verify documentation covers exposed symbols.
Add check-missing-doc script to make sure the documentation matches
the
complete list of symbols exported from the header files before
release.
doc/Makefile.am | 6 +++++-
doc/check-missing-doc | 23 +++++++++++++++++++++++
2 files changed, 28 insertions(+), 1 deletion(-)
Use FcLangDifferentTerritory instead of FcLangDifferentCountry.
src/fclang.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Don't check cache file time stamps when cleaning cache dir.
Cache file mtime is meaningless now that the directory time is
encoded in
the cache.
fc-cache/fc-cache.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
Typo error in function name: Inverval -> interval
src/fccfg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Track line numbers in sgml edit tool input.
Errors in the documentation can be hard to find unless the tool
outputs the
line number where the problem exists.
doc/edit-sgml.c | 85
+++++++++++++++++++++++++++++++++++----------------------
1 file changed, 52 insertions(+), 33 deletions(-)
Clean up exported names in fontconfig.h.
Fix typo errors (Inverval indeed).
Remove FcPattern *p from FcValue (unused)
Remove spurious FcPublic from formals.
fontconfig/fontconfig.h | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
Make file_stat argument to FcDirCacheLoadFile optional.
Allow file_stat to be NULL by using a local stat structure in
that case.
src/fccache.c | 3 +++
1 file changed, 3 insertions(+)
Document skipping of fonts from FcFileScan/FcDirScan.
FcFileScan and FcDirScan will skip fonts under direction of the
configuration and default fontconfig policy.
doc/fcfile.fncs | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Correct documentation for FcConfigUptoDate (bug 12948).
FcConfigUptoDate only checks whether files have been modified
since the
configuration was created. Any changes to the configuration through
the API
since then are not considered.
doc/fcconfig.fncs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Remove fcprivate.h, move the remaining macros to fcint.h.
fcprivate.h was supposed to extend the fontconfig API for the various
fontconfig utilities. Instead, just have those utilities use the
internal
fcint.h header file (which they already do), removing fcprivate.h
from the
installation and hence from the defacto public API.
fontconfig/Makefile.am | 3 +-
fontconfig/fcprivate.h | 123
-------------------------------------------------
src/Makefile.am | 3 +-
src/fcint.h | 95 +++++++++++++++++++++++++++++++++++++-
4 files changed, 96 insertions(+), 128 deletions(-)
Correct documentation for FcAtomicLock (Bug 12947).
FcAtomicLock can only be called once from any process.
doc/fcatomic.fncs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Port fonts-persian.conf to new alias syntax with binding="same"
Signed-off-by: Keith Packard <keithp@koto.keithp.com>
conf.d/65-fonts-persian.conf | 377
++++++++++++++-----------------------------
1 file changed, 121 insertions(+), 256 deletions(-)
Respect "binding" attribute in <alias> entries.
This makes creating "same" aliases for renamed font families far
easier.
fonts.dtd | 2 ++
src/fcxml.c | 58
++++++++++++++++++++++++++++++++++++----------------------
2 files changed, 38 insertions(+), 22 deletions(-)
Make fc-match --sort call FcFontRenderPrepare.
This makes the --sort and regular output the same for each font.
fc-match/fc-match.c | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
Also check configDirs mtimes in FcConfigUptoDate
Checking only config files and font directories can miss changes which
affect only a configuration directory. Check those to catch any
changes.
src/fccfg.c | 17 +++--------------
1 file changed, 3 insertions(+), 14 deletions(-)
A few fixups for make distcheck
Makefile.am | 2 +-
doc/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Set version numbers to 2.4.91 (2.5 RC1)
README | 59
+++++++++++++++++++++++++++++++++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 59 insertions(+), 4 deletions(-)
Build fix for Solaris 10 with GCC.
Solaris 10 with GCC doesn't appear capable of supporting the symbol
visibility stuff, so disable it.
src/fcint.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Update CaseFolding.txt to Unicode 5.1.0
fc-case/CaseFolding.txt | 184
++++++++++++++++++++++++++++++++++++++++++++++--
src/fcstr.c | 2 +-
2 files changed, 178 insertions(+), 8 deletions(-)
Match 'ultra' on word boundaries to detect ultra bold fonts. (bug
2511)
Added FcStrContainsWord to detect strings on word boundaries.
src/fcfreetype.c | 15 +++++++++++++--
src/fcint.h | 3 +++
src/fcstr.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
3 files changed, 65 insertions(+), 3 deletions(-)
fontconfig needs configure option to use gnu iconv (bug 4083).
Existing Solaris workaround was broken; mis-matching values caused
the test
for libiconv to always fail.
configure.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Ensure weight/slant values present even when style is supplied
(bug 9313).
If the provided style value doesn't match any available font, fall
back to
using the weight and slant values by ensuring that those are in
the pattern.
src/fcdefault.c | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
Distribute man source files for command line programs (bug 9678).
For systems on whch DOCBOOK is unavailable, distribute command
line program
manual pages in .man format.
fc-cache/Makefile.am | 6 +++---
fc-cat/Makefile.am | 6 +++---
fc-list/Makefile.am | 6 +++---
fc-match/Makefile.am | 6 +++---
4 files changed, 12 insertions(+), 12 deletions(-)
Add/fix *.orth files for South African languages
This adds the missing orth files for Ndebele (South) (nr), Northern
Sotho
(nso), Swati (ss) and Southern Sotho (st). It also fixes the Tswana
(tn)
orth file.
fc-lang/iso639-1 | 4 ++--
fc-lang/iso639-2 | 8 ++++----
fc-lang/nr.orth | 29 +++++++++++++++++++++++++++++
fc-lang/nso.orth | 34 ++++++++++++++++++++++++++++++++++
fc-lang/ss.orth | 29 +++++++++++++++++++++++++++++
fc-lang/st.orth | 29 +++++++++++++++++++++++++++++
fc-lang/tn.orth | 2 ++
7 files changed, 129 insertions(+), 6 deletions(-)
Fix parallel build in fontconfig/docs (bug 10481).
doc/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Handle UltraBlack weight.
UltraBlack is weight 950 on the CSS scale; handle this by name
and value
encoding it as fontconfig weight 215.
fontconfig/fontconfig.h | 2 ++
src/fcfreetype.c | 7 ++++++-
2 files changed, 8 insertions(+), 1 deletion(-)
Oops. Left debugging printf in previous commit.
src/fcfreetype.c | 1 -
1 file changed, 1 deletion(-)
Spelling errors in documentation. (bug 10879).
Thanks to David <ssdk@ispras.ru> for spotting these.
doc/fcconfig.fncs | 4 ++--
doc/fcstring.fncs | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
There is no U+1257 (bug 10899).
The Eritrean Tigrinya orthography mistakenly included this unicode
value.
fc-lang/ti_er.orth | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
FcInit should return FcFalse when FcInitLoadConfigAndFonts fails. (bug
10976)
Thanks to David <ssdk@ispras.ru> for spotting this error.
src/fcinit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Store FcVendorFoundries in read-only memory.
Create fixed size strings for vendor and foundry.
src/fcfreetype.c | 62
++++++++++++++++++++++++++++----------------------------
1 file changed, 31 insertions(+), 31 deletions(-)
Store FcNoticeFoundries in read-only memory.
Use a single character array and a separate table of integer indices.
src/fcfreetype.c | 75
+++++++++++++++++++++++++++++++++++++-------------------
1 file changed, 50 insertions(+), 25 deletions(-)
Replace makealias pattern with something supported by POSIX grep
(bug 11083)
The suggested replacement in the bug was not supported by GNU grep,
so I
created something that should be supported everywhere (famous
last words).
src/makealias | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add BRAILLE PATTERN BLANK to list of blank glyphs.
Braille pattern blank is often imaged as a blank glyph.
fonts.conf.in | 1 +
1 file changed, 1 insertion(+)
Move <cachedir> elements to the end of fonts.conf.
This allows users to select alternate directories for cache files,
ahead of
the 'standard' directories.
fonts.conf.in | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Leave generated headers out of distribution (bug 12734).
If the generated header files are included in the distribution,
a build
outside of the source directory will use them. For machine-specific
files,
this generates the wrong result (fcarch.h). Leaving them out of the
distribution forces them to be built.
fc-arch/Makefile.am | 4 +---
fc-case/Makefile.am | 4 +---
fc-glyphname/Makefile.am | 4 +---
fc-lang/Makefile.am | 4 +---
4 files changed, 4 insertions(+), 12 deletions(-)
Eliminate relocations from FcCodePageRange structure (bug 10982).
FcCodePageRange was using char pointers; replace them with char
arrays.
src/fcfreetype.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Eliminate relocations for glyph name table.
Glyph names (now used only for dingbats) were using many relocations,
causing startup latency plus per-process memory usage. Replace
pointers with
table indices, shrinking table size and elimninating relocations.
fc-glyphname/fc-glyphname.c | 28 ++++++++++++++++++++--------
src/fcfreetype.c | 16 ++++++++--------
2 files changed, 28 insertions(+), 16 deletions(-)
Must not insert cache into hash table before completely validating.
The cache was inserted into the hash table before the timestamps
in the
cache were verified; if that verification failed, an extra pointer
to the
now freed cache would be left in the hash table. FcFini would fail an
assertion as a result.
src/fccache.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Place language name in constant array instead of pointer.
Constant char array of 8 bytes is the same size as a pointer plus
a short
string, so this actually saves memory and eliminates a pile of
relocations.
fc-lang/fc-lang.c | 2 +-
src/fclang.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
FcConfigParseAndLoad doc was missing the last param.
Typo lost the last param to this function.
doc/fcconfig.fncs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Avoid crashes if config files contain junk.
If ~/.fonts.conf contains:
<edit mode="assign_replace" name="spacing">
<int>mono</int>
</edit>
fontconfig crashes:
mfabian@magellan:~$ fc-match sans
Fontconfig error: "~/.fonts.conf", line 46: "mono": not
a valid
integer
セグメンテーション違反です (core dumped)
mfabian@magellan:~$
Of course the above is nonsense, “mono” is no valid integer
indeed.
But I think nevertheless fontconfig should not crash in that case.
The problem was caused by partially truncated expression trees
caused by
parse errors -- typechecking these walked the tree without verifying
the
integrity of the structure. Of course, the whole tree will be
discarded
shortly after being loaded as it contained an error.
src/fcxml.c | 4 ++++
1 file changed, 4 insertions(+)
Handle Japanese fonts better. (debian bug #435971)
Add some commonly available Japanese fonts to the standard aliases.
conf.d/65-nonlatin.conf | 11 +++++++++++
1 file changed, 11 insertions(+)
Have fc-cache remove invalid cache files from cache directories.
Old cache file versions, or corrupted cache files should be removed
when
cleaning cache directories with fc-cache. This only affects filenames
which
match the fontconfig cache file format, so other files will be
left alone.
fc-cache/fc-cache.c | 34 ++++++++++++++++++----------------
1 file changed, 18 insertions(+), 16 deletions(-)
Don't use X_OK bit when checking for writable directories (bug 12438)
Some mingw versions have broken X_OK checking; instead of trying
to work
around this in a system-depedent manner, simply don't bother
checking for
X_OK along with W_OK as such cases are expected to be mistakes,
and not
sensible access control.
fc-cache/fc-cache.c | 2 +-
src/fccache.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Verbose message about cleaning directories was imprecise
Non-existent directories are now described as 'non-existent'
instead of
'unwritable'.
fc-cache/fc-cache.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Improve verbose messages from fc-cache.
fc-cache would say 'skipping: %d fonts, %d dirs' or 'caching: %d
fonts, %d
dirs', which could easily mislead the user. Add 'existing cache is
valid' or
'new cache contents' to these messages to explain what it is doing.
fc-cache/fc-cache.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Remove unneeded call to access(2) in fc-cache.
This call was followed by a call to stat(2) which provided the
necessary
information. This call to access(2) was necessary when cache
files were
stored in the font directory as that would check for write permission
correctly.
fc-cache/fc-cache.c | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
Make FC_FULLNAME include all fullname entries, elide nothing. [bug
12827]
The old policy of eliding fullname entries which matched FC_FAMILY or
FC_FAMILY + FC_STYLE meant that applications could not know what the
font foundry set as the fullname of the font. Hiding information
is not
helpful.
src/fcfreetype.c | 64
--------------------------------------------------------
1 file changed, 64 deletions(-)
Comment about mmaping cache files was misleading.
src/fccache.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Store font directory mtime in cache file.
Instead of relying on mtime ordering between a directory and its
associated
cache file, write the directory mtime into the cache file itself. This
makes
cache file checks more reliable across file systems.
This change is made in a way that old programs can use new cache
files, but
new programs will need new cache files.
fc-arch/fcarch.tmpl.h | 14 +++++------
src/fccache.c | 64
+++++++++++++++++++++++++++++++++------------------
src/fcdir.c | 8 ++++++-
src/fcint.h | 5 ++--
4 files changed, 58 insertions(+), 33 deletions(-)
Fix ChangeLog generation to avoid circular make dependency
Makefile.am | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
Free temporary string in FcDirCacheUnlink (Bug #11758)
In FcDirCacheUnlink(), the line
cache_hashed = FcStrPlus (cache_dir, cache_base);
allocates memory in cache_hashed that is never free()'d before
the function
exits.
Reported by Ben Combee.
src/fccache.c | 1 +
1 file changed, 1 insertion(+)
Work around FreeType bug when glyph name buffer is too small.
Recent versions of FreeType do not correctly deal with glyph name
buffers
that are too small; work around this by declaring a buffer that can
hold any
PS name (127 bytes).
src/fcfreetype.c | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
rehash increment could be zero, causing rehash infinite loop.
Bump the rehash value by one so that it is always positive.
fc-glyphname/fc-glyphname.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Make FcPatternDuplicate copy the binding instead of always using
Strong.
I noticed that Qt always uses a different font than fc-match
advertises.
Debugging the issue, I found that a call that looks pretty innocent is
changing all weak bindings to strong bindings and as such changes the
semantic of the match: FcPatternDuplicate.
src/fcpat.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Update for version 2.4.2
INSTALL | 2 +-
README | 36 ++++++++++++++++++++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
4 files changed, 37 insertions(+), 5 deletions(-)
Fix fc-cat documentation (bug 8935).
Adapt documentation to reality.
(1) The fc-cat usage message should reflect the
options accepted by the program.
(2) The fc-cat.1 manpage was fairly broken (unreadable).
fc-cat/fc-cat.c | 9 +++++++--
fc-cat/fc-cat.sgml | 26 +++++++++++++++++++++++---
2 files changed, 30 insertions(+), 5 deletions(-)
Add space between type and formal in devel man pages (bug 8935)
Most parameters are pointers and have '*' in the type; for those
which do not, use '%' to mark where a space needs to be inserted.
doc/edit-sgml.c | 5 +++++
doc/fcblanks.fncs | 4 ++--
doc/fccharset.fncs | 8 ++++----
doc/fcconfig.fncs | 12 ++++++------
doc/fcconstant.fncs | 4 ++--
doc/fcfile.fncs | 4 ++--
doc/fcfreetype.fncs | 12 ++++++------
doc/fcmatrix.fncs | 12 ++++++------
doc/fcobjectset.fncs | 2 +-
doc/fcobjecttype.fncs | 4 ++--
doc/fcpattern.fncs | 32 ++++++++++++++++----------------
doc/fcstring.fncs | 16 ++++++++--------
doc/fcvalue.fncs | 4 ++--
13 files changed, 62 insertions(+), 57 deletions(-)
Use <literal> instead of <sgmltag> when documenting fonts.conf. Bug
8935.
doc/fontconfig-user.sgml | 87
++++++++++++++++++++++++------------------------
1 file changed, 43 insertions(+), 44 deletions(-)
A VPATH build of fontconfig-2.4.1 fails for various reasons. Bug 8933.
VPATH builds without doctools breaks as it cannot find the distributed
pre-formatted documentation.
configure.in | 2 +-
doc/Makefile.am | 14 +++++++++-----
2 files changed, 10 insertions(+), 6 deletions(-)
Segfault scanning non-font files. Disallow scan edit of user
vars. (#8767)
Missing NULL font check before attempting to edit scanned pattern.
Also, <match target="scan"> rules are now checked to ensure all
edited variables are in the predefined set; otherwise, the resulting
cache files will not be stable.
src/fcdir.c | 2 +-
src/fcint.h | 1 +
src/fcxml.c | 6 ++++++
3 files changed, 8 insertions(+), 1 deletion(-)
Don't use varargs CPP macros in fccache.c. (bug 8733)
src/fccache.c uses a trick to try and use a function name that is
also a
macro name. It does this using the varargs args() macro. Replace that
with separate macros for each number of formals.
src/fccache.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Add FcFreeTypeQueryFace external API. Bug #7311.
Expose ability to build an FcPattern directly from an FT_Face
object.
configure.in | 4 ++--
doc/fcfreetype.fncs | 17 ++++++++++++++++-
fontconfig/fcfreetype.h | 6 ++++++
src/fcfreetype.c | 50
+++++++++++++++++++++++++++----------------------
4 files changed, 52 insertions(+), 25 deletions(-)
Fix grep pattern in makealias to work on non-Gnu grep (bug 8368).
grep -l -w '^foo' doesn't work on Solaris. Replace with
grep -l '^foo\>' instead which does. Also, grep -l will
report the filename more than once (!), so add | head -1
to pick just the first one.
src/makealias | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Avoid writing uninitialized structure pad bytes to cache files.
The union inside the FcValue structure contains pad bytes. Instead of
copying the whole structure to the cache block, copy only the
initialized
fields to avoid writing whichever bytes serve as padding within the
structure.
src/fcpat.c | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
Warn (and recover) from config file without <cachedir> elements.
When updating from older fontconfig versions, if the config file
is not replaced, it will not contain <cachedir> elements. Lacking
these,
fontconfig has no place to store cached font information and cannot
operate
reasonably.
Add code to check and see if the loaded configuration has no cache
directories, and if so, warn the user and add both the default
system cache
directory and the normal per-user cache directory.
src/fcinit.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
Use explicit platform/nameid order when scanning ttf files.
Instead of accepting whatever order names appear in the font file,
use an explicit ordering for both platform and nameid.
Platforms are high precedence than nameids.
The platform order is:
microsoft, apple unicode, macintosh, (other)
The family nameid order is:
preferred family, font family
The fullname nameid order is:
mac full name, full name
The style nameid order is
preferred subfamily, font subfamily
This will change the names visible to users in various application
UIs, but
should not change how existing font names are matched as all names
remain
present in the resulting database. The hope is that family names
will, in
general, be less ambiguous. Testing here shows that commercial fonts
have longer names now while DejaVu has a shorter family name, and
moves more
of the font description to the style name.
src/fcfreetype.c | 237
++++++++++++++++++++++++++++++++++---------------------
1 file changed, 149 insertions(+), 88 deletions(-)
FcStrCanonAbsoluteFilename should be static.
src/fcstr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add sparc64 architecture string.
fc-arch/fcarch.tmpl.h | 1 +
1 file changed, 1 insertion(+)
Do not clean cache files for different architectures
Use filenames to clean cache files for current architecture
only. This is
sufficient as cache files live in their own directory where
filenames are
under fontconfig control.
fc-cache/fc-cache.c | 9 +++++++++
1 file changed, 9 insertions(+)
More fixes for Win32 building (bug 8311)
Our build system barfs on autogen.sh, which ignores
--noconfigure. Configure
needs a host of options to make the cross compile work in our case.
Fix typo in fccache.c
autogen.sh | 7 +++++++
src/fccache.c | 3 ++-
2 files changed, 9 insertions(+), 1 deletion(-)
FcStrCanonFileName buggy for mingw. (bug 8311)
FcStrCanonFileName checks whether s[0] == '/', and recurses if not.
This only works on POSIX. On dos, this crashes with a stack overflow.
The patch attached splits this functionality in two functions
(FcStrCanonAbsoluteFilename) and uses GetFullPathName on windows to
get an
absolute path. It also fixes a number of other issues. With this
patch,
LilyPond actually produces output on Windows.
src/fccache.c | 5 ++++
src/fcstr.c | 88
+++++++++++++++++++++++++++++++++++++++++++++++++----------
2 files changed, 78 insertions(+), 15 deletions(-)
Detect and use available random number generator (bug 8308)
Prefer random over lrand48 over rand
configure.in | 2 +-
src/fccache.c | 13 ++++++++++++-
2 files changed, 13 insertions(+), 2 deletions(-)
Build fontconfig.def from header files when needed.
Instead of attempting to track exported symbols manually in
fontconfig.def.in, build it directly from the public fontconfig
header files
to ensure it exports the public API.
configure.in | 1 -
src/Makefile.am | 18 ++-
src/fontconfig.def.in | 303
--------------------------------------------------
3 files changed, 17 insertions(+), 305 deletions(-)
Remove documentation for non-existant FcConfigNormalizeFontDir.
FcConfigNormalizeFontDir was present in some of the 2.3.9x release
but not
in the final 2.4 release. However, the documentation persisted.
doc/fcconfig.fncs | 11 -----------
1 file changed, 11 deletions(-)
Update for version 2.4.1
README | 13 +++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 13 insertions(+), 4 deletions(-)
Reimplement FcConfigAppFontAddDir; function was lost in 2.4.0.
With the cache restructuring of 2.4.0, the ability to add
application-specific font files and directories was accidentally lost.
Reimplement this using by sharing the logic used to load configured
font
directories.
src/fccfg.c | 86
++++++++++++++++++++++++++++++-------------------------------
src/fcdir.c | 4 +--
src/fcint.h | 3 ++-
3 files changed, 46 insertions(+), 47 deletions(-)
Add warning flags to fc-cache build. Clean up warnings in fc-cache.
Looks like the last directory in the project which didn't use
$(WARN_CFLAGS)
for some reason. Adding that found the usual collection of char *
vs FcChar8
* issues (why, oh why is FcChar8 not just char...)
fc-cache/Makefile.am | 2 +-
fc-cache/fc-cache.c | 31 ++++++++-----------------------
2 files changed, 9 insertions(+), 24 deletions(-)
Add signatures for m68k and mipsel (thanks debian buildd)
fc-arch/fcarch.tmpl.h | 2 ++
1 file changed, 2 insertions(+)
Add ppc64 signature. Bug 8227
fc-arch/fcarch.tmpl.h | 1 +
1 file changed, 1 insertion(+)
Update installation notes for 2.4 base.
INSTALL | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
Update to version 2.4.0
INSTALL | 3 +++
README | 38 ++++++++++++++++++++++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 4 ++--
4 files changed, 42 insertions(+), 5 deletions(-)
Split much of the configuration into separate files. Renumber files
Most of the remaining elements in fonts.conf have been moved to
separate
files. The numbering scheme for conf.d files has been documented
in the
README and the files have been renumbered. Config files have been
validated against the DTD and a few minor errors fixed.
conf.d/10-autohint.conf | 9 +
conf.d/10-no-sub-pixel.conf | 9 +
conf.d/10-sub-pixel-bgr.conf | 9 +
conf.d/10-sub-pixel-rgb.conf | 9 +
conf.d/10-sub-pixel-vbgr.conf | 9 +
conf.d/10-sub-pixel-vrgb.conf | 9 +
conf.d/10-unhinted.conf | 9 +
conf.d/10-urw-aliases.conf | 52 ----
conf.d/15-amt-aliases.conf | 21 --
conf.d/20-lohit-gujarati.conf | 11 +
conf.d/20-unhint-small-vera.conf | 49 ++++
conf.d/30-amt-aliases.conf | 21 ++
conf.d/30-unhint-small-vera.conf | 49 ----
conf.d/30-urw-aliases.conf | 52 ++++
conf.d/40-generic.conf | 66 +++++
conf.d/49-sansserif.conf | 21 ++
conf.d/60-LohitGujarati.conf | 5 -
conf.d/60-delicious.conf | 20 --
conf.d/60-fonts-persian.conf | 539
---------------------------------------
conf.d/60-latin.conf | 42 +++
conf.d/65-fonts-persian.conf | 539
+++++++++++++++++++++++++++++++++++++++
conf.d/65-nonlatin.conf | 38 +++
conf.d/69-unifont.conf | 24 ++
conf.d/70-no-bitmaps.conf | 13 +
conf.d/70-no-sub-pixel.conf | 9 -
conf.d/70-sub-pixel-bgr.conf | 9 -
conf.d/70-sub-pixel-rgb.conf | 9 -
conf.d/70-sub-pixel-vbgr.conf | 9 -
conf.d/70-sub-pixel-vrgb.conf | 9 -
conf.d/70-yes-bitmaps.conf | 13 +
conf.d/73-autohint.conf | 9 -
conf.d/73-unhinted.conf | 9 -
conf.d/76-no-bitmaps.conf | 13 -
conf.d/76-yes-bitmaps.conf | 13 -
conf.d/80-delicious.conf | 20 ++
conf.d/90-synthetic.conf | 64 +++++
conf.d/Makefile.am | 55 ++--
conf.d/README | 46 +++-
fonts.conf.in | 207 ---------------
39 files changed, 1113 insertions(+), 1006 deletions(-)
Don't display tests for DESTDIR on make install.
Make install output quieter by eliding the shell commands
used to test for DESTDIR being set during make install.
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Include cachedir in fonts.dtd.
Fonts.dtd <fontconfig> element was missing the new cachedir element.
fonts.dtd | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Fix conf.d directory sorting.
Sort was using broken comparison function.
src/fcxml.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Rename conf.avail to conf.d
Makefile.am | 2 +-
conf.avail/10-urw-aliases.conf | 52 ----
conf.avail/15-amt-aliases.conf | 21 --
conf.avail/20-fix-globaladvance.conf | 29 --
conf.avail/30-unhint-small-vera.conf | 49 ----
conf.avail/50-user.conf | 7 -
conf.avail/51-local.conf | 7 -
conf.avail/60-LohitGujarati.conf | 5 -
conf.avail/60-delicious.conf | 20 --
conf.avail/60-fonts-persian.conf | 539
-----------------------------------
conf.avail/70-no-sub-pixel.conf | 9 -
conf.avail/70-sub-pixel-bgr.conf | 9 -
conf.avail/70-sub-pixel-rgb.conf | 9 -
conf.avail/70-sub-pixel-vbgr.conf | 9 -
conf.avail/70-sub-pixel-vrgb.conf | 9 -
conf.avail/73-autohint.conf | 9 -
conf.avail/73-unhinted.conf | 9 -
conf.avail/76-no-bitmaps.conf | 13 -
conf.avail/76-yes-bitmaps.conf | 13 -
conf.avail/Makefile.am | 71 -----
conf.avail/README | 8 -
conf.d/10-urw-aliases.conf | 52 ++++
conf.d/15-amt-aliases.conf | 21 ++
conf.d/20-fix-globaladvance.conf | 29 ++
conf.d/30-unhint-small-vera.conf | 49 ++++
conf.d/50-user.conf | 7 +
conf.d/51-local.conf | 7 +
conf.d/60-LohitGujarati.conf | 5 +
conf.d/60-delicious.conf | 20 ++
conf.d/60-fonts-persian.conf | 539
+++++++++++++++++++++++++++++++++++
conf.d/70-no-sub-pixel.conf | 9 +
conf.d/70-sub-pixel-bgr.conf | 9 +
conf.d/70-sub-pixel-rgb.conf | 9 +
conf.d/70-sub-pixel-vbgr.conf | 9 +
conf.d/70-sub-pixel-vrgb.conf | 9 +
conf.d/73-autohint.conf | 9 +
conf.d/73-unhinted.conf | 9 +
conf.d/76-no-bitmaps.conf | 13 +
conf.d/76-yes-bitmaps.conf | 13 +
conf.d/Makefile.am | 71 +++++
conf.d/README | 8 +
configure.in | 1 -
42 files changed, 898 insertions(+), 899 deletions(-)
Add XML headers to new conf files. Move link make commands to
conf.avail dir
Fix up new config fragments to include XML headers as required.
Move symbolic link installation to conf.avail directory to centralize
both
steps.
conf.avail/10-urw-aliases.conf | 5 ++++
conf.avail/15-amt-aliases.conf | 5 ++++
conf.avail/20-fix-globaladvance.conf | 5 ++++
conf.avail/30-unhint-small-vera.conf | 5 ++++
conf.avail/Makefile.am | 22 +++++++++++++++
conf.d/Makefile.am | 52
------------------------------------
6 files changed, 42 insertions(+), 52 deletions(-)
Insert newly created caches into reference data structure.
All caches used in the application must be in the cache reference
list so
internal references can be tracked correctly. Failing to have
newly created
caches in the list would cause the cache to be deallocated while
references
were still present.
src/fccache.c | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
Merge branch 'jhcloos'
Accept locale environment variables that do not contain territory.
Locale environment variables (LC_ALL, LC_CTYPE, LANG) must contain
language,
and may contain territory and encoding. Don't accidentally require
territory
as that will cause fontconfig to fall back to 'en'.
src/fcdefault.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
Make conf.avail and conf.d work
Add conf.avail to configure.in
Add install: target to conf.d/Makefile.am to
create the initial symlinks to conf.avail
conf.d/Makefile.am | 52
++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in | 1 +
2 files changed, 53 insertions(+)
Attempt to fix makealias usage for build on Mac OS X.
Avoid using fcalias.h or fcaliastail.h on systems which don't
support it.
Provided solution still generates these files, but does not use them.
src/fcint.h | 3 ++-
src/makealias | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
Replace gnu-specific sed command with simple grep.
makealias was using a gnu-extension to sed addressing, replace that
with a
simple (and more robuse) grep command. Also, found a bug in the public
header file that was leaving one symbol out of the process.
fontconfig/fontconfig.h | 2 +-
src/makealias | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Replace character discovery loop with simpler, faster version.
The existing loop for discovering which characters map to glyphs is
ugly and
inefficient. The replacement is functionally identical, but far
cleaner and
faster.
src/fcfreetype.c | 83
++++++++++++++++++++------------------------------------
1 file changed, 30 insertions(+), 53 deletions(-)
Reference patterns in FcCacheCopySet.
As patterns are put into the font set copy, mark them as referenced
so the
cache stays around while the font set is in use.
src/fccache.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Create fc_cachedir at install time. Bug 8157.
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Update for version 2.3.97.
Makefile.am | 2 +-
README | 41 +++++++++++++++++++++++++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
4 files changed, 42 insertions(+), 5 deletions(-)
Charset hashing depended on uniqueness of leaves.
Charset hashing actually use the value of the leaf pointers, which is
clearly wrong, especially now that charsets are not shared across
multiple
font directories.
src/fccharset.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Parallel build fix for fcalias.h and fcaliastail.h
These are built from the same script, but creating a single
dependency rule
caused parallel make to run the script twice.
src/Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Update architecture signatures for x86-64 and ppc.
I think the cache file data types are stable for now; add-back the
signatures for x86-64 and ppc.
fc-arch/fcarch.tmpl.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Eliminate .so PLT entries for local symbols. (thanks to Arjan van
de Ven)
Using a simple shell script that processes the public headers,
two header
files are constructed that map public symbols to hidden internal
aliases
avoiding the assocated PLT entry for referring to a public symbol.
A few mistakes in the FcPrivate/FcPublic annotations were also
discovered
through this process
.gitignore | 2 ++
fc-arch/Makefile.am | 9 ++++++++-
fc-case/Makefile.am | 9 ++++++++-
fc-glyphname/Makefile.am | 9 ++++++++-
fc-lang/Makefile.am | 9 ++++++++-
fc-lang/fc-lang.c | 1 -
fontconfig/fontconfig.h | 10 +++++-----
src/Makefile.am | 15 ++++++++++++++-
src/fcatomic.c | 3 +++
src/fcblanks.c | 3 +++
src/fccache.c | 3 +++
src/fccfg.c | 3 +++
src/fccharset.c | 3 +++
src/fcdbg.c | 3 +++
src/fcdefault.c | 3 +++
src/fcdir.c | 3 +++
src/fcfreetype.c | 4 ++++
src/fcfs.c | 3 +++
src/fcinit.c | 3 +++
src/fcint.h | 5 ++++-
src/fclang.c | 3 +++
src/fclist.c | 3 +++
src/fcmatch.c | 3 +++
src/fcmatrix.c | 3 +++
src/fcname.c | 3 +++
src/fcpat.c | 3 +++
src/fcserialize.c | 3 +++
src/fcstr.c | 3 +++
src/fcxml.c | 3 +++
src/ftglue.c | 3 +++
src/makealias | 24 ++++++++++++++++++++++++
31 files changed, 145 insertions(+), 12 deletions(-)
Correct reference count when sharing cache file objects.
Multiple maps of the same cache file share the same mapped object;
bump the
cache object reference count in this case
src/fccache.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Oops, fc-lang broke when I added cache referencing.
Add FcCacheObjectReference/FcCacheObjectDereference stubs to fc-cache.
fc-lang/fc-lang.c | 10 ++++++++++
1 file changed, 10 insertions(+)
Make cache reference counting more efficient.
Eliminate need to reference cache object once per cached font, instead
just count the number of fonts used from the cache and bump the
reference
count once by that amount. I think this makes this refernece technique
efficient enough for use.
src/fccache.c | 9 +++++++++
src/fccfg.c | 5 ++++-
src/fcint.h | 3 +++
3 files changed, 16 insertions(+), 1 deletion(-)
Reference count cache objects.
Caches contain patterns and character sets which are reference
counted and
visible to applications. Reference count the underlying cache object
so that
it stays around until all reference objects are no longer in use.
This is less efficient than just leaving all caches around forever,
but does
avoid eternal size increases in case applications ever bother
to actually
look for changes in the font configuration.
src/fccache.c | 255
++++++++++++++++++++++++++++++++++++++++++--------------
src/fccfg.c | 22 +----
src/fccharset.c | 5 ++
src/fcint.h | 16 ++--
src/fcpat.c | 10 ++-
5 files changed, 213 insertions(+), 95 deletions(-)
Leave cache files mapped permanently.
Without reference counting on cache objects, there's no way to
know when
an application is finished using objects pulled from the cache. Until
some
kinf of cache reference counting can be done, leave all cache
objects mapped
for the life of the library (until FcFini is called). To mitigate
the cost
of this, ensure that each instance of a cache file is mapped only
once.
src/fccache.c | 143
+++++++++++++++++++++++++++++++++++++++++++++-------------
src/fcinit.c | 1 +
src/fcint.h | 3 ++
3 files changed, 116 insertions(+), 31 deletions(-)
Update Makefile.am files
Makefile.am | 2 +-
conf.avail/Makefile.am | 34 ++++++++++++++++++++--------------
2 files changed, 21 insertions(+), 15 deletions(-)
Move some section from fonts.conf into conf.avail files
URL aliases, AMT aliases, Che globaladvance fixes and Vera <8pt
unhinting
sections all moved into conf.avail, to load before user and local
confs.
conf.avail/10-urw-aliases.conf | 47 +++++++++++++
conf.avail/15-amt-aliases.conf | 16 +++++
conf.avail/20-fix-globaladvance.conf | 24 +++++++
conf.avail/30-unhint-small-vera.conf | 44 ++++++++++++
fonts.conf.in | 133
-----------------------------------
5 files changed, 131 insertions(+), 133 deletions(-)
Can't typecheck values for objects with no known type.
Objects that aren't part of the built-in object list don't have
predefined
types, so we can't typecheck them.
src/fcxml.c | 2 ++
1 file changed, 2 insertions(+)
Re-order old conf.d files
Make sure they continue to load after ~/.fonts.conf and local.conf
conf.avail/20-LohitGujarati.conf | 5 -
conf.avail/20-fonts-persian.conf | 539
--------------------------------------
conf.avail/30-no-sub-pixel.conf | 9 -
conf.avail/30-sub-pixel-bgr.conf | 9 -
conf.avail/30-sub-pixel-rgb.conf | 9 -
conf.avail/30-sub-pixel-vbgr.conf | 9 -
conf.avail/30-sub-pixel-vrgb.conf | 9 -
conf.avail/33-autohint.conf | 9 -
conf.avail/33-unhinted.conf | 9 -
conf.avail/36-no-bitmaps.conf | 13 -
conf.avail/36-yes-bitmaps.conf | 13 -
conf.avail/60-LohitGujarati.conf | 5 +
conf.avail/60-fonts-persian.conf | 539
++++++++++++++++++++++++++++++++++++++
conf.avail/70-no-sub-pixel.conf | 9 +
conf.avail/70-sub-pixel-bgr.conf | 9 +
conf.avail/70-sub-pixel-rgb.conf | 9 +
conf.avail/70-sub-pixel-vbgr.conf | 9 +
conf.avail/70-sub-pixel-vrgb.conf | 9 +
conf.avail/73-autohint.conf | 9 +
conf.avail/73-unhinted.conf | 9 +
conf.avail/76-no-bitmaps.conf | 13 +
conf.avail/76-yes-bitmaps.conf | 13 +
22 files changed, 633 insertions(+), 633 deletions(-)
Make room for chunks from fonts.conf in conf.avail
conf.avail/10-LohitGujarati.conf | 5 -
conf.avail/10-fonts-persian.conf | 539
---------------------------------------
conf.avail/20-LohitGujarati.conf | 5 +
conf.avail/20-fonts-persian.conf | 539
+++++++++++++++++++++++++++++++++++++++
4 files changed, 544 insertions(+), 544 deletions(-)
Replace load of conf.d in fonts.conf.in
fonts.conf.in | 5 +++++
1 file changed, 5 insertions(+)
Update Makefile.am to match conf.avail changes
conf.avail/Makefile.am | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
Number the remaining conf.avail files
conf.avail/30-no-sub-pixel.conf | 9 +++++++++
conf.avail/30-sub-pixel-bgr.conf | 9 +++++++++
conf.avail/30-sub-pixel-rgb.conf | 9 +++++++++
conf.avail/30-sub-pixel-vbgr.conf | 9 +++++++++
conf.avail/30-sub-pixel-vrgb.conf | 9 +++++++++
conf.avail/33-autohint.conf | 9 +++++++++
conf.avail/33-unhinted.conf | 9 +++++++++
conf.avail/36-no-bitmaps.conf | 13 +++++++++++++
conf.avail/36-yes-bitmaps.conf | 13 +++++++++++++
conf.avail/autohint.conf | 9 ---------
conf.avail/no-bitmaps.conf | 13 -------------
conf.avail/no-sub-pixel.conf | 9 ---------
conf.avail/sub-pixel-bgr.conf | 9 ---------
conf.avail/sub-pixel-rgb.conf | 9 ---------
conf.avail/sub-pixel-vbgr.conf | 9 ---------
conf.avail/sub-pixel-vrgb.conf | 9 ---------
conf.avail/unhinted.conf | 9 ---------
conf.avail/yes-bitmaps.conf | 13 -------------
18 files changed, 89 insertions(+), 89 deletions(-)
Hide FreeType glue code from library ABI.
FreeType glue code was escaping the shared library.
src/ftglue.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Hide private functions in shared library. Export functionality
for utilities.
Borrowing header stuff written for cairo, fontconfig now exposes
in the
shared library only the symbols which are included in the public
header
files. All private symbols are hidden using suitable compiler
directives.
A few new public functions were required for the fontconfig utility
programs
(fc-cat and fc-cache) so those were added, bumping the .so minor
version number
in the process.
configure.in | 9 +-
fc-cache/fc-cache.c | 30 ++--
fc-cat/Makefile.am | 2 +-
fc-cat/fc-cat.c | 37 ++---
fontconfig/fcfreetype.h | 14 +-
fontconfig/fontconfig.h | 403
++++++++++++++++++++++++++++--------------------
src/fccache.c | 48 ++++++
src/fccharset.c | 5 -
src/fcint.h | 337 +++++++++++++++++++---------------------
9 files changed, 481 insertions(+), 404 deletions(-)
Move user and local conf file loading into conf.avail files
conf.avail/50-user.conf | 7 +++++++
conf.avail/51-local.conf | 7 +++++++
fonts.conf.in | 11 -----------
3 files changed, 14 insertions(+), 11 deletions(-)
Support all five possibilities for sub-pixel
Make sub-pixel.conf be sub-pixel-rgb.conf and add the
three other possibilites: bgr, vrgb and vbgr.
conf.avail/sub-pixel-bgr.conf | 9 +++++++++
conf.avail/sub-pixel-rgb.conf | 9 +++++++++
conf.avail/sub-pixel-vbgr.conf | 9 +++++++++
conf.avail/sub-pixel-vrgb.conf | 9 +++++++++
conf.avail/sub-pixel.conf | 9 ---------
5 files changed, 36 insertions(+), 9 deletions(-)
Standardize conf.avail number prefixing convention
Always use \d- rather than just \d as prefix
conf.avail/10-LohitGujarati.conf | 5 +++++
conf.avail/10LohitGujarati.conf | 5 -----
2 files changed, 5 insertions(+), 5 deletions(-)
Move files from conf.d to conf.avail
All of the files in conf.d are now in conf.avail
Makefile.am is updated to reflect the change
Makefile.am | 2 +-
conf.avail/10-fonts-persian.conf | 539
+++++++++++++++++++++++++++++++++++++++
conf.avail/10LohitGujarati.conf | 5 +
conf.avail/60-delicious.conf | 20 ++
conf.avail/Makefile.am | 40 +++
conf.avail/README | 8 +
conf.avail/autohint.conf | 9 +
conf.avail/no-bitmaps.conf | 13 +
conf.avail/no-sub-pixel.conf | 9 +
conf.avail/sub-pixel.conf | 9 +
conf.avail/unhinted.conf | 9 +
conf.avail/yes-bitmaps.conf | 13 +
conf.d/10-fonts-persian.conf | 539
---------------------------------------
conf.d/10LohitGujarati.conf | 5 -
conf.d/60-delicious.conf | 20 --
conf.d/Makefile.am | 40 ---
conf.d/README | 8 -
conf.d/autohint.conf | 9 -
conf.d/no-bitmaps.conf | 13 -
conf.d/no-sub-pixel.conf | 9 -
conf.d/sub-pixel.conf | 9 -
conf.d/unhinted.conf | 9 -
conf.d/yes-bitmaps.conf | 13 -
23 files changed, 675 insertions(+), 675 deletions(-)
Remove all .cvsignore files
.cvsignore | 35 -----------------------------------
conf.d/.cvsignore | 2 --
doc/.cvsignore | 16 ----------------
fc-cache/.cvsignore | 6 ------
fc-case/.cvsignore | 6 ------
fc-cat/.cvsignore | 6 ------
fc-glyphname/.cvsignore | 6 ------
fc-lang/.cvsignore | 6 ------
fc-list/.cvsignore | 6 ------
fc-match/.cvsignore | 6 ------
fontconfig/.cvsignore | 2 --
src/.cvsignore | 7 -------
test/.cvsignore | 2 --
13 files changed, 106 deletions(-)
Merge branch 'fc-2_4_branch' to master
Moving development back to master.
Finish INSTALL changes. .gitignore ChangeLog
.gitignore | 1 +
INSTALL | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
Update instructions for doing a release. Autogen ChangeLog from
git-log.
INSTALL | 21 ++++++++++++++++-----
Makefile.am | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+), 5 deletions(-)
Remove ChangeLog
ChangeLog | 3496
-------------------------------------------------------------
1 file changed, 3496 deletions(-)
Change version to 2.3.96
README | 67
+++++++++++++++++++++++++++++++++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 67 insertions(+), 4 deletions(-)
Oops; missed the 60-delicious.conf file.
This file fixes Delicious Heavy fonts to have the correct weight
value.
conf.d/60-delicious.conf | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
Using uninitialized (and wrong) variable in FcStrCopyFilename.
A typo from the change in where filename canonicalization occurs.
src/fcstr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Don't segfault when string values can't be parsed as charsets or
langsets.
If parsing charsets or langsets fails, return a FcTypeVoid value
instead of
a charset/langset value with a NULL pointer in it (which is invalid).
src/fcname.c | 6 ++++++
1 file changed, 6 insertions(+)
Fix missing initialization/destruction of new 'scan' target subst
list.
Forgot to initialize and destroy the new substitution list for the
'scan'
match target.
src/fccfg.c | 2 ++
1 file changed, 2 insertions(+)
Add FcMatchScan to resolve Delicious font matching issues (bug #6769)
The Delicious family includes one named Delicious Heavy, a bold
variant
which is unfortunately marked as having normal weight. Because
the family
name is 'Delicious', fontconfig accidentally selects this font
instead of
the normal weight variant. The fix here rewrites the scanned data
by running
the scanned pattern through a new substitution sequence tagged with
<match target=scan>; a sample for the Delicious family is included to
demonstrate how it works (and fix Delicious at the same time).
Also added was a new match predicate -- the 'decorative' predicate
which is
automatically detected in fonts by searching style names for key
decorative
phrases like SmallCaps, Shadow, Embosed and Antiqua. Suggestions for
additional decorative key words are welcome. This should have
little effect
on font matching except when two fonts share the same characteristics
except
for this value.
conf.d/Makefile.am | 1 +
doc/fontconfig-user.sgml | 6 ++++--
fontconfig/fontconfig.h | 3 ++-
fonts.dtd | 6 +++++-
src/fccfg.c | 35 +++++++++++++++++++++++++++--------
src/fcdbg.c | 7 +++++++
src/fcdefault.c | 1 +
src/fcdir.c | 18 +++++++++++++++++-
src/fcfreetype.c | 34 +++++++++++++++++++++++++++++++++-
src/fcint.h | 2 ++
src/fcmatch.c | 33 ++++++++++++++++++++-------------
src/fcname.c | 34 ++++++++++++++++++++++++++++++----
src/fcxml.c | 4 ++++
13 files changed, 153 insertions(+), 31 deletions(-)
Allow font caches to contain newer version numbers
Use the version number inside the cache file to mark backward
compatible
changes while continuing to reserve the filename number for
incompatible
changes.
src/fccache.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Unify directory canonicalization into FcStrAddFilename.
Instead of making filename canonicalization occur in multiple
places, it
occurs only in FcStrAddFilename now, as all filenames pass through
that
function at one point.
fc-cache/fc-cache.c | 2 +-
fc-cat/fc-cat.c | 2 +-
src/fcdir.c | 17 ++++-------------
src/fcstr.c | 24 +++++++++++-------------
4 files changed, 17 insertions(+), 28 deletions(-)
Move Free family names to bottom of respective aliases. (bug 7429)
The FreeSans, FreeSerif and FreeMono fonts cover a large number of
languages, but are of generally poor quality. Moving these after
fonts which
cover specific languages but which have higher quality glyphs
should improve
font selection.
fonts.conf.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Document FC_DEBUG values (bug 6393). Document name \ escape syntax.
Limited FC_DEBUG documentation (just shows values and vague idea
of what
they're related to). Also document \ escape syntax for font names,
including
how family name and values have different escape requirements.
doc/fontconfig-user.sgml | 40 ++++++++++++++++++++++++++++++++++++++--
1 file changed, 38 insertions(+), 2 deletions(-)
Guess that mac roman names with lots of high bits are actually SJIS.
Many Japanese fonts incorrectly include names tagged as Roman
encoding and
English language which are actually Japanese names in the SJIS
encoding.
Guess that names with a large number of high bits set are SJIS encoded
Japanese names rather than English names.
src/fcfreetype.c | 81
++++++++++++++++++++++++++++++++++++++++++++------------
1 file changed, 64 insertions(+), 17 deletions(-)
Prefer Bitstream Vera to DejaVu families.
DejaVu is a modified version of Bitstream Vera that covers
significantly
more languages, but does so with spotty quality, lacking hinting
for many
glyphs, especially for the synthesized serif oblique face. Use
Bitstream
Vera (where installed).
fonts.conf.in | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Fonts matching lang not territory should satisfy sort pattern lang.
A pattern specifying 'Chinese' (:lang=zh) without a territory
should be
satisfied by any font supporting any Chinese lang. The code was
requiring
that the lang tags match exactly, causing this sort to fail.
src/fcmatch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Really only rebuild caches for system fonts at make install time.
Oops. Fix actual fc-cache command line instead of just the displayed
version.
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add Assamese orthography (as.orth). Bug #8050
Behdad Esfahbod says Assamese is the same as Bengali, so this
just uses
bn.orth.
fc-lang/as.orth | 28 ++++++++++++++++++++++++++++
fc-lang/iso639-1 | 2 +-
2 files changed, 29 insertions(+), 1 deletion(-)
Chinese/Macau needs the Hong Kong orthography instead of Taiwan
(bug 7884)
From Abel Cheung:
Currently zh_mo.orth includes zh_tw.orth, which means it is assumed
Macau
only uses traditional Chinese characters used in Taiwan; however
that is
wrong, as a majority of Macau people speaks Cantonese too, and
also uses
additional traditional Chinese chars from Hong Kong (there are
already some
place names that can't be represented in just chars used in
Taiwan). So it
should include zh_hk.orth instead.
fc-lang/zh_mo.orth | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Avoid #warning directives on non-GCC compilers. (bug 7683)
Detect GCC and use #warning only on GCC systems.
configure.in | 4 +++-
src/fcfreetype.c | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
Add @EXPAT_LIBS@ to Libs.private in fontconfig.pc (bug 7683)
Linking against fontconfig requires expat on systems without chained
shared
library dependencies.
fontconfig.pc.in | 1 +
1 file changed, 1 insertion(+)
Fix memory leaks in fc-cache directory cleaning code.
valgrind found a few leaks in the new cache cleaning code.
fc-cache/fc-cache.c | 9 +++++++++
1 file changed, 9 insertions(+)
Only rebuild caches for system fonts at make install time.
Rebuilding user-specific fonts will stick those cache files in
the system
font cache directory.
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add some ignores
.gitignore | 2 ++
1 file changed, 2 insertions(+)
Fontset pattern references are relative to fontset, not array.
Within a fontset, the patterns are stored as pointers in an array.
When stored as offsets, the offsets are relative to the fontset object
itself, not the base of the array of pointers.
src/fcint.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix fc-lang to use new charset freezer API.
Charset freezer api now uses allocated object. Also required minor
fixes to
charset freezer code to remove assumption that all input charsets are
persistant.
fc-lang/fc-lang.c | 30 ++++++++++++++++++------------
src/fccharset.c | 11 +++++------
src/fcint.h | 6 ++++++
3 files changed, 29 insertions(+), 18 deletions(-)
Pass directory information around in FcCache structure. Freeze
charsets.
Instead of passing directory information around in separate variables,
collect it all in an FcCache structure. Numerous internal and tool
interfaces changed as a result of this.
Charsets are now pre-frozen before being serialized. This causes
them to
share across multiple fonts in the same cache.
fc-cache/fc-cache.c | 109 ++++-----
fc-cat/fc-cat.c | 83 ++-----
fc-glyphname/fc-glyphname.c | 13 --
src/fccache.c | 300 ++++++++++--------------
src/fccfg.c | 169 ++++++++------
src/fccharset.c | 550
+++++++++++++++++++++++---------------------
src/fcdir.c | 177 +++++++-------
src/fcinit.c | 1 -
src/fcint.h | 60 ++---
src/fcpat.c | 8 +
src/fcserialize.c | 3 +
11 files changed, 702 insertions(+), 771 deletions(-)
Remove stale architecture signatures.
All but x86 are known to be wrong.
fc-arch/fcarch.tmpl.h | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Allow FcTypeLangSet to match either FcTypeLangSet or FcTypeString.
Applications explicitly setting FC_LANG with string would fail due
to typechecking disallowing this case.
src/fcname.c | 4 ++++
1 file changed, 4 insertions(+)
Change $(pkgcachedir) to $(fc_cachedir) in fc-cat and fc-cache
Makefile.am
make distcheck caught this bug; the effect of 'make uninstall'
would have been to execute 'rm -rf /', somewhat less that desirable.
fc-cache/Makefile.am | 6 ++----
fc-cat/Makefile.am | 2 --
2 files changed, 2 insertions(+), 6 deletions(-)
Revert ABI changes from version 2.3
Accidental ABI changes and additions were discovered by looking at the
differences in fontconfig.h. All of those have been reverted.
fc-cache/fc-cache.c | 4 ++--
fc-list/fc-list.c | 2 +-
fontconfig/fontconfig.h | 23 +++++------------------
src/fccache.c | 16 ++++++++++++++--
src/fcint.h | 6 ++++++
5 files changed, 28 insertions(+), 23 deletions(-)
With no args, fc-cat now dumps all directories.
Automatically list all font directories when no arguments are given to
fc-cat. Also add -r option to recurse from specified cache
directories.
fc-cat also now prints the cache filename in verbose mode, along
with the
related directory name.
fc-cat/fc-cat.c | 119
+++++++++++++++++++++++++++++++++++++++++++-------------
src/fccache.c | 16 +++++---
src/fcint.h | 2 +-
3 files changed, 104 insertions(+), 33 deletions(-)
Automatically remove invalid cache files.
Cache files for missing or more recently modified directories are
automatically removed at the end of every fc-cache run.
fc-cache/Makefile.am | 2 +-
fc-cache/fc-cache.c | 130
++++++++++++++++++++++++++++++++++++++++++++++++++-
fc-cat/fc-cat.c | 3 +-
src/fccache.c | 6 +--
src/fcint.h | 2 +-
5 files changed, 135 insertions(+), 8 deletions(-)
Serialized value lists were only including one value.
The next pointer in the serialized value list wasn't getting set,
so they
were truncated at a single value.
src/fcpat.c | 1 +
1 file changed, 1 insertion(+)
Use intptr_t instead of off_t inside FcCache structure.
This avoids OS-dependencies in the cache file structure.
src/fcint.h | 2 +-
src/fcserialize.c | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
Fix fc-cat again. Sigh.
Internal interfaces in cache management changed again...
fc-cat/fc-cat.c | 37 +++++++++++++++++++++++++------------
src/fccache.c | 19 ++++++++++---------
src/fcint.h | 9 ++++++---
3 files changed, 41 insertions(+), 24 deletions(-)
Skip broken caches. Cache files are auto-written, don't rewrite
in fc-cache.
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.
fc-cache/fc-cache.c | 25 +++++----
fc-match/fc-match.c | 1 +
src/fccache.c | 148
+++++++++++++++++++++++++++-------------------------
src/fccfg.c | 80 ++++++++--------------------
src/fccharset.c | 56 +++++++++++---------
src/fcdir.c | 2 +-
src/fcint.h | 19 +++++--
src/fcxml.c | 19 +++----
8 files changed, 169 insertions(+), 181 deletions(-)
Rework Object name database to unify typechecking and object lookup.
Eliminate ancient list of object name databases and load names
into single
hash table that includes type information. Typecheck all pattern
values to
avoid mis-typed pattern elements.
fc-case/fc-case.c | 13 --
src/fcint.h | 7 +-
src/fcmatch.c | 9 +-
src/fcname.c | 389
++++++++++++++++++++++++++++++------------------------
src/fcpat.c | 2 +-
5 files changed, 233 insertions(+), 187 deletions(-)
FcCharSetSerialize was using wrong offset for leaves. Make fc-cat
work.
FcCharSetSerialize was computing the offset to the unserialized leaf,
which left it pointing at random data when the cache was reloaded.
fc-cat has been updated to work with the new cache structure.
Various debug messages extended to help diagnose serialization errors.
fc-cat/fc-cat.c | 134
++++++++++++++++++++++++++++++--------------------------
src/fccache.c | 6 +--
src/fccharset.c | 3 +-
src/fcdbg.c | 20 +++++++--
src/fcint.h | 15 +++++--
src/fcpat.c | 7 +++
6 files changed, 110 insertions(+), 75 deletions(-)
Fix build problems caused by cache rework.
Pagesize no longer matters in architecture decisions, the entire
cache file
is mmaped into the library. However, lots of intptr_t values are in
use now,
so that value is important.
fc-lang now requires fcserialize.c, which has been added to the
repository.
fc-arch/fc-arch.c | 14 +----
fc-arch/fcarch.tmpl.h | 4 +-
fc-lang/fc-lang.c | 1 +
src/fcserialize.c | 159
++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 165 insertions(+), 13 deletions(-)
Rework cache files to use offsets for all data structures.
Replace all of the bank/id pairs with simple offsets, recode several
data structures to always use offsets inside the library to avoid
conditional paths. Exposed data structures use pointers to hold
offsets,
setting the low bit to distinguish between offset and pointer.
Use offset-based data structures for lang charset encodings;
eliminates
separate data structure format for that file.
Much testing will be needed; offsets are likely not detected
everywhere in
the library yet.
fc-arch/fcarch.tmpl.h | 3 +-
fc-lang/fc-lang.c | 185 +++++----
fontconfig/fontconfig.h | 3 -
src/Makefile.am | 1 +
src/fccache.c | 581 +++++++++++----------------
src/fccfg.c | 102 +++--
src/fccharset.c | 493 ++++++++---------------
src/fcdbg.c | 43 +-
src/fcdefault.c | 64 +--
src/fcfs.c | 133 ++----
src/fcint.h | 477 +++++++++++++---------
src/fclang.c | 120 ++----
src/fclist.c | 86 ++--
src/fcmatch.c | 179 +++------
src/fcname.c | 142 ++-----
src/fcpat.c | 1025
++++++++++++++---------------------------------
src/fcstr.c | 1 +
src/fcxml.c | 15 +-
18 files changed, 1394 insertions(+), 2259 deletions(-)
Revert to original FcFontSetMatch algorithm to avoid losing fonts.
The fancy new FcFontSetMatch algorithm would discard fonts for the
wrong reasons; fc-match sans:lang=en,ja would discard all fonts
without
Japanese support. This commit reverts to the original algorithm which
ensure that FcFontSetMatch always matches the first font in the
FcFontSetSort return list.
src/fcmatch.c | 229
++++++++--------------------------------------------------
1 file changed, 32 insertions(+), 197 deletions(-)
Add ppc architecture
fc-arch/fcarch.tmpl.h | 1 +
1 file changed, 1 insertion(+)
During test run, remove cache directory to avoid stale cache usage.
As file timestamps have only one second granularity, an old cache
file could easily be used when a test took less than 1 second to run.
Just remove the cache directory and its contents before each test
is run.
Also, remove mention of the old cache file from the test config file.
test/fonts.conf.in | 1 -
test/run-test.sh | 4 +---
2 files changed, 1 insertion(+), 4 deletions(-)
Add x86-64 architecture and signature.
fc-arch/fcarch.tmpl.h | 1 +
1 file changed, 1 insertion(+)
Regenerate x86 line in fcarch.tmpl.h to match change in cache data.
Also remove spurious printf of directory names.
fc-arch/Makefile.am | 2 +-
fc-arch/fcarch.tmpl.h | 2 +-
src/fcdir.c | 1 -
3 files changed, 2 insertions(+), 3 deletions(-)
Eliminate ./ and ../ elements from font directory names when scanning.
FcStrCanonFilename eliminates ./ and ../ elements from pathnames
through
simple string editing. Also, relative path names are fixed by
prepending the
current working directory.
src/fcdir.c | 45 ++++++++++++++++++++++++++++++---------------
src/fcint.h | 3 +++
src/fcstr.c | 57
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 90 insertions(+), 15 deletions(-)
Fix up fc-cache and fc-cat for no global cache changes.
fc-cache and fc-cat use internal (fcint.h) APIs that have
changed with the elimination of the global cache.
fc-cache/fc-cache.c | 2 +-
fc-cat/fc-cat.c | 119
++++++----------------------------------------------
src/fccache.c | 77 +++++++++++++++++++++++-----------
src/fcdir.c | 13 +++---
src/fcint.h | 4 ++
5 files changed, 76 insertions(+), 139 deletions(-)
Eliminate global cache. Eliminate multi-arch cache code.
With the removal of the in-directory cache files, and the addition of
per-user cache directories, there is no longer any reason to
preserve the
giant global cache file. Eliminating of this unifies the cache
structure
and simplifies the overall caching strategies greatly.
fc-cache/fc-cache.c | 3 +-
src/fccache.c | 1051
++++++---------------------------------------------
src/fccfg.c | 23 +-
src/fcdir.c | 164 ++++----
src/fcint.h | 70 +---
5 files changed, 203 insertions(+), 1108 deletions(-)
Add architecture to cache filename.
Make cache filenames unique by inserting the architecture name
into the
filename.
src/fccache.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Eliminate NormalizeDir. Eliminate gratuitous stat/access calls
per dir.
Normalized directory names offer protection against looped directory
trees
but cost enormous numbers of system calls (stat per file in the
hierarchy).
Also, cache file directory name contents are validated each time the
directory is modified, don't re-validate every time the cache file
is loaded
with an access and stat call.
fc-cache/fc-cache.c | 7 ++--
src/fccache.c | 55 ++---------------------------
src/fccfg.c | 100
----------------------------------------------------
src/fcdir.c | 6 ----
4 files changed, 4 insertions(+), 164 deletions(-)
Write caches to first directory with permission. Valid cache in
FcDirCacheOpen.
Previous policy was to attempt to update the cache in place and bail
if that
didn't work. Now, search for the first writable directory and
place the
cache file there instead. Furthermore, on startup, search directory
list for
valid cache files instead of bailing if the first found cache
file wasn't
valid.
fonts.conf.in | 2 +-
src/fccache.c | 90
++++++++++++++++++++++++++++-------------------------------
2 files changed, 43 insertions(+), 49 deletions(-)
Construct short architecture name from architecture signature.
Map existing architecture signature to short architecture name
at build time. This architecture name is (as yet) unused, but will
be used
to build per-architecture cache files with names made unique by
including
the architecture name. The auto-detected architecture name can
be overridden
with the --with-arch=ARCH configure option.
Makefile.am | 2 +-
configure.in | 17 ++++++
fc-arch/Makefile.am | 50 ++++++++++++++++++
fc-arch/fc-arch.c | 144
++++++++++++++++++++++++++++++++++++++++++++++++++
fc-arch/fcarch.tmpl.h | 32 +++++++++++
5 files changed, 244 insertions(+), 1 deletion(-)
Add .gitignore
.gitignore | 73
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
2006-08-04 Keith Packard (keithp@keithp.com) reviewed by: plam
Make cache directories configurable. Simplify and correct some
code which
deals with per-directory caches.
ChangeLog | 24 ++++
configure.in | 22 +++-
fc-cache/fc-cache.c | 7 +-
fontconfig/fontconfig.h | 4 +-
fonts.conf.in | 5 +
fonts.dtd | 12 ++
src/Makefile.am | 3 +-
src/fccache.c | 323
+++++++++++++++++++++++++-----------------------
src/fccfg.c | 28 ++++-
src/fcdir.c | 6 +-
src/fcinit.c | 2 +
src/fcint.h | 13 +-
src/fcxml.c | 17 +++
test/fonts.conf.in | 1 +
test/run-test.sh | 6 +-
15 files changed, 294 insertions(+), 179 deletions(-)
2006-07-19 Jon Burgess (jburgess@uklinux.net) reviewed by: plam
Fix file-descriptor leak in FcGlobalCacheDestroy.
ChangeLog | 7 +++++++
src/fccache.c | 2 ++
2 files changed, 9 insertions(+)
2006-05-31 Yong Li (rigel863@gmail.com) reviewed by: plam, Bedhad
Esfahbod
TrueType Collection table offsets are absolute, not relative.
ChangeLog | 7 +++++++
src/ftglue.c | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
2006-04-27 Paolo Borelli (pborelli@katamail.com) reviewed by: plam
Make FcStrCopy slightly more efficient.
ChangeLog | 7 +++++++
src/fcstr.c | 12 +++++++-----
2 files changed, 14 insertions(+), 5 deletions(-)
Keith Packard <keithp@keithp.com>
Reduce transient memory usage during config file parsing by allocating
smaller buffers (64 seems to be a magic number).
ChangeLog | 20 +++++++-------------
src/fcstr.c | 2 +-
2 files changed, 8 insertions(+), 14 deletions(-)
Eliminate pattern freezing
ChangeLog | 8 ++
src/fcinit.c | 4 -
src/fcint.h | 3 -
src/fcpat.c | 370
-----------------------------------------------------------
src/fcxml.c | 3 +-
5 files changed, 9 insertions(+), 379 deletions(-)
Make path names in cache files absolute (NB, cache format change) Stop
permitting cache files to be stored in font dirs. Bump cache
magic.
Don't include /fonts.cache-2 in cache hash construction.
reviewed by: Patrick Lam <plam@mit.edu>
ChangeLog | 30 +++++++++++++
src/fccache.c | 104 +++++++++++---------------------------------
src/fcfreetype.c | 10 +----
src/fcint.h | 8 +---
src/fclist.c | 4 --
src/fcmatch.c | 3 --
src/fcpat.c | 130
-------------------------------------------------------
7 files changed, 57 insertions(+), 232 deletions(-)
Really update for 2.3.95.
README | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Fix the issues with GNU libiconv vs. libc iconv (which especially
appear on
Solarii). Approach suggested by Tim Mooney.
reviewed by: plam
ChangeLog | 12 +++++++++++-
configure.in | 37 +++++++++++++++++++++++++++++++++++--
src/Makefile.am | 2 +-
src/fcfreetype.c | 3 +--
4 files changed, 48 insertions(+), 6 deletions(-)
Include $(top_srcdir), $(top_srcdir)/src before anything else.
Shuffle order of includes for building out of srcdir on win32.
reviewed by: plam
ChangeLog | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
Include $(top_srcdir), $(top_srcdir)/src before anything else.
Shuffle order of includes for building out of srcdir on win32.
reviewed by: plam
fc-cache/fc-cache.c | 15 ++++++++-------
fc-cat/fc-cat.c | 17 +++++++++--------
fc-match/fc-match.c | 11 ++++++-----
src/Makefile.am | 6 +++---
src/fccache.c | 2 +-
src/fccfg.c | 2 +-
src/fccharset.c | 2 +-
src/fcdbg.c | 2 +-
src/fcfreetype.c | 2 +-
src/fcfs.c | 2 +-
src/fcinit.c | 2 +-
src/fclist.c | 2 +-
src/fcmatch.c | 2 +-
src/fcmatrix.c | 2 +-
src/fcname.c | 2 +-
src/fcpat.c | 2 +-
src/fcstr.c | 2 +-
src/fcxml.c | 2 +-
18 files changed, 40 insertions(+), 37 deletions(-)
Prevent terrible perf regression by getting the if-condition right
(reported by Wouter Bolsterlee).
ChangeLog | 8 +++++++-
src/fcmatch.c | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
Dominic Lachowicz <cinamod@hotmail.com>
Implement mmap-like code for Windows using MapViewOfFile.
ChangeLog | 7 +++++++
src/fccache.c | 23 ++++++++++++++++++++---
2 files changed, 27 insertions(+), 3 deletions(-)
Bump version to 2.3.95.
ChangeLog | 8 ++++++++
1 file changed, 8 insertions(+)
Bail gracefully if the cache file does not contain enough data.
ChangeLog | 5 +++++
README | 23 +++++++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
src/fccache.c | 19 ++++++++++++++++++-
5 files changed, 46 insertions(+), 5 deletions(-)
Give the 'Standard Symbols L' match a strong (vs. weak) binding.
ChangeLog | 5 +++++
fonts.conf.in | 13 ++++++++-----
2 files changed, 13 insertions(+), 5 deletions(-)
Fix Gecko-exposed segfault from my last hack to FcObjectToPtrLookup.
Simplify code and get things straight.
ChangeLog | 6 ++++++
src/fcname.c | 20 +++++---------------
2 files changed, 11 insertions(+), 15 deletions(-)
Actually, just add URW fonts as aliases for all of the PostScript
fonts.
(reported by Miguel Rodriguez).
ChangeLog | 6 ++++++
fonts.conf.in | 36 ++++++++++++++++++++++++++++++------
2 files changed, 36 insertions(+), 6 deletions(-)
Add an alias 'Standard Symbols L' for 'Symbol'.
ChangeLog | 5 +++++
fonts.conf.in | 6 +++++-
2 files changed, 10 insertions(+), 1 deletion(-)
Fix memory leak (Coverity defect #2089).
Ignore script if subtable is missing (Coverity defect #2088).
Fix possible null pointer dereference (Coverity defect #784)
and memory
leak (Coverity defects #785, #786).
Don't copy FcCharSet if we're going to throw it away anyway. (Reported
by
Kenichi Handa).
reviewed by: plam
ChangeLog | 21 +++++++++++++++++++++
src/fccfg.c | 4 +++-
src/fcfreetype.c | 5 +----
src/fcmatch.c | 33 ++++++++++++++++++++-------------
src/fcpat.c | 7 ++++++-
5 files changed, 51 insertions(+), 19 deletions(-)
Fix bad behaviour on realloc resulting in crash.
reviewed by: plam
ChangeLog | 7 +++++++
src/fcname.c | 17 ++++++++++-------
2 files changed, 17 insertions(+), 7 deletions(-)
Don't crash if config is null (Coverity defect #984).
ChangeLog | 13 +++++++++----
src/fccache.c | 5 +++--
2 files changed, 12 insertions(+), 6 deletions(-)
Missing bits from previous patches.
Remove extra semi-colon.
Fix memory leak in error case (Coverity defects #776, #985).
Fix memory leaks (Coverity defects #779, #781) and memory use
after free
(Coverity defect #780).
reviewed by: plam
ChangeLog | 18 ++++++++++++++++++
src/fccfg.c | 13 +++++++++----
src/fccharset.c | 5 ++++-
src/fclang.c | 1 +
src/fcxml.c | 4 +++-
5 files changed, 35 insertions(+), 6 deletions(-)
Properly convert static charsets to dynamic charsets.
Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
Fix memory leak (Coverity defect #1819).
prevent crash when invalid include line is parsed (Coverity defect
#763).
Fix potential null pointer access (Coverity defect #1804).
Remove dead code (Coverity defect #1194).
Prevent potential null pointer access (Coverity defect #767),
ensure error
value is read (Coverity defect #1195).
reviewed by: plam
ChangeLog | 29 +++++++++++++++++++++++++++++
fc-cat/fc-cat.c | 4 +++-
fc-lang/fc-lang.c | 3 +++
src/fccharset.c | 5 +++++
src/fcfreetype.c | 6 ++++--
src/fclang.c | 8 +++++++-
src/fcname.c | 8 --------
src/fcpat.c | 11 ++++++++++-
8 files changed, 61 insertions(+), 13 deletions(-)
Survive missing docbook2pdf.
reviewed by: plam
ChangeLog | 11 +++++++++--
doc/Makefile.am | 10 ++++++----
2 files changed, 15 insertions(+), 6 deletions(-)
Include more stub definitions to make HP-UX's C compiler happy.
ChangeLog | 7 +++++++
fc-case/fc-case.c | 3 +++
fc-glyphname/fc-glyphname.c | 3 +++
fc-lang/fc-lang.c | 3 +++
4 files changed, 16 insertions(+)
Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
ChangeLog | 5 +++++
src/fcname.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
Fix string memory leak (Coverity defect #1823).
Fix memory leak with hash collision (Coverity defect #1824).
reviewed by: plam
ChangeLog | 9 +++++++++
src/fccache.c | 1 +
src/fccfg.c | 5 ++++-
3 files changed, 14 insertions(+), 1 deletion(-)
Don't leak header in non-error case (Coverity defect #1825).
reviewed by: plam
ChangeLog | 6 ++++++
src/fccache.c | 2 ++
2 files changed, 8 insertions(+)
src/fcdir.c (FcDirScanConfig) Don't leak in error cases (Coverity
defects
#777, #1826)
reviewed by: plam
ChangeLog | 6 ++++++
src/fcdir.c | 54 +++++++++++++++++++++++++++++++++++++-----------------
2 files changed, 43 insertions(+), 17 deletions(-)
Fix double free (spotted by Coverity, CID #1965).
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
ChangeLog | 18 ++++++++++++++++++
fc-match/fc-match.c | 6 ++++--
src/fccache.c | 10 +++++++---
src/fccfg.c | 1 +
4 files changed, 30 insertions(+), 5 deletions(-)
LD_ADD missing dependencies for binaries. Reported by Edson Alves
Pereira.
reviewed by: plam
ChangeLog | 10 ++++++++++
fc-cache/Makefile.am | 2 +-
fc-cat/Makefile.am | 2 +-
fc-list/Makefile.am | 3 +--
fc-match/Makefile.am | 2 +-
5 files changed, 14 insertions(+), 5 deletions(-)
SGI compilation fixes (reported by Christoph Bauer):
1) reorder union definition of _FcChar;
2) omit .stats =.
ChangeLog | 8 ++++++++
fc-lang/fc-lang.c | 2 +-
src/fcint.h | 8 ++++----
3 files changed, 13 insertions(+), 5 deletions(-)
Portability fixes for HP-UX (reported by Christoph Bauer). Replace
'__inline__' by AC_C_INLINE and 'inline'. Replace '__alignof__' by
'fc_alignof'.
reviewed by: plam
ChangeLog | 15 +++++++++++++++
configure.in | 1 +
src/fccharset.c | 4 ++--
src/fcfs.c | 2 +-
src/fcint.h | 15 +++++++++------
src/fclang.c | 2 +-
src/fcname.c | 2 +-
src/fcpat.c | 6 +++---
8 files changed, 33 insertions(+), 14 deletions(-)
Move up #include of config.h. Fail if neither inttypes.h nor
stdint.h is
available. Fixes bug 6171.
reviewed by: plam
ChangeLog | 8 ++++++++
src/fcint.h | 11 +++++++----
2 files changed, 15 insertions(+), 4 deletions(-)
Patrick Lam <plam@mit.edu>
Make fontconfig compile under MinGW:
1) remove unneeded #includes;
2) make use of mmap and sysconf conditional;
3) replace rand_r by srand/rand if needed;
4) use chsize instead of ftruncate; and
5) update libtool exports file
ChangeLog | 18 +++
configure.in | 3 +-
fc-cache/fc-cache.c | 7 +
fc-cat/fc-cat.c | 1 -
src/fccache.c | 74 +++++++++-
src/fcfreetype.c | 3 +-
src/fontconfig.def.in | 370
++++++++++++++++++++++++++++++++++----------------
7 files changed, 353 insertions(+), 123 deletions(-)
Eliminate warning.
ChangeLog | 5 +++++
src/fcdir.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
file fc-match.sgml was initially added on branch fc-2_4_branch.
Update documentation for fc-match (SGML-ize it). (reported by Ilya
Konstantinov)
ChangeLog | 8 +++
fc-match/.cvsignore | 1 +
fc-match/Makefile.am | 27 +++++++-
fc-match/fc-match.1 | 37 -----------
fc-match/fc-match.sgml | 169
+++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 203 insertions(+), 39 deletions(-)
Reduce amount of dirty rss by const'ing some data structures.
Don't fail if we can't create or remove $(pkgcachedir) i.e.
/var/cache/fontconfig. (reported by Quanah Gibson-Mount).
reviewed by: plam
ChangeLog | 15 +++++++++++++++
fc-cache/Makefile.am | 4 ++--
src/fcdefault.c | 2 +-
src/fcpat.c | 2 +-
src/fcxml.c | 2 +-
5 files changed, 20 insertions(+), 5 deletions(-)
Fix intel compiler warnings: make many variables static, eliminate
duplicate names, reduce variable scopes, unsigned/signed printf
formatting.
reviewed by: plam
ChangeLog | 16 ++++++++++++++++
fc-case/fc-case.c | 8 ++++----
fc-glyphname/fc-glyphname.c | 12 ++++++------
fc-lang/fc-lang.c | 8 ++++----
fc-match/fc-match.c | 2 +-
src/fccache.c | 11 ++++++-----
src/fcfreetype.c | 4 +---
src/fclang.c | 5 ++---
src/fcxml.c | 14 +++++++-------
9 files changed, 47 insertions(+), 33 deletions(-)
Fix multiarch support (don't destroy multiarch files!)
Require pkg-config. (Thanks Behdad; better solution wanted for libxml2
detection!)
reviewed by: plam
ChangeLog | 12 ++++++++++++
configure.in | 2 ++
fonts.conf.in | 7 ++++++-
src/fccache.c | 3 ++-
4 files changed, 22 insertions(+), 2 deletions(-)
On Windows, unlink before rename. Reported by Tim Evans.
ChangeLog | 5 +++++
src/fcatomic.c | 3 +++
2 files changed, 8 insertions(+)
On Windows, unlink before rename. Reported by Tim Evans.
ChangeLog | 5 +++++
src/fcatomic.c | 3 +++
2 files changed, 8 insertions(+)
Fix typos in orth files. Reported by Denis Jacquerye.
fc-lang/ab.orth | 2 +-
fc-lang/ibo.orth | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Fix typos in orth files. Reported by Denis Jacquerye.
ChangeLog | 6 ++++++
fc-lang/ab.orth | 2 +-
fc-lang/ibo.orth | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
Fix Makefile.am for removal of debian/ directory.
ChangeLog | 7 +++++++
Makefile.am | 35 +----------------------------------
config/config.guess | 51
+++++++++++++++++++++++++++++++++++++++++----------
config/config.sub | 47 ++++++++++++++++++++++++++++++++++++++---------
4 files changed, 87 insertions(+), 53 deletions(-)
.cvsignore
Ignore debian/ directory for CVS.
.cvsignore | 1 +
ChangeLog | 6 +++++-
2 files changed, 6 insertions(+), 1 deletion(-)
debian/*
Now remove debian/ directory.
ChangeLog | 5 +
debian/README.Debian | 45 ---
debian/changelog | 718
--------------------------------------
debian/compat | 1 -
debian/control | 80 -----
debian/copyright | 29 --
debian/fontconfig-udeb.install | 3 -
debian/fontconfig.config | 10 -
debian/fontconfig.defoma | 162 ---------
debian/fontconfig.dirs | 1 -
debian/fontconfig.install | 7 -
debian/fontconfig.postinst | 145 --------
debian/fontconfig.postrm | 26 --
debian/fontconfig.templates | 27 --
debian/libfontconfig1-dev.install | 7 -
debian/libfontconfig1.install | 1 -
debian/local.conf.md5sum | 18 -
debian/rules | 40 ---
18 files changed, 5 insertions(+), 1320 deletions(-)
debian/po/*
.cvsignore
Remove debian/ directory from sources. See Debian's subversion
server at
svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig instead.
ChangeLog | 8 +++
debian/po/POTFILES.in | 1 -
debian/po/cs.po | 127 -------------------------------------
debian/po/da.po | 146 -------------------------------------------
debian/po/de.po | 124 ------------------------------------
debian/po/es.po | 163
------------------------------------------------
debian/po/fr.po | 159
----------------------------------------------
debian/po/ja.po | 88 --------------------------
debian/po/nl.po | 125 -------------------------------------
debian/po/pt.po | 112 ---------------------------------
debian/po/pt_BR.po | 148 -------------------------------------------
debian/po/templates.pot | 84 -------------------------
debian/po/tr.po | 117 ----------------------------------
debian/po/zh_CN.po | 115 ----------------------------------
14 files changed, 8 insertions(+), 1509 deletions(-)
file ln.orth was initially added on branch fc-2_4_branch.
Add orthography for Lingala.
reviewed by: plam
ChangeLog | 8 ++++++++
fc-lang/iso639-1 | 2 +-
fc-lang/iso639-2 | 2 +-
fc-lang/ln.orth | 43 +++++++++++++++++++++++++++++++++++++++++++
4 files changed, 53 insertions(+), 2 deletions(-)
Sort directory entries while scanning them from disk; prevents
Heisenbugs
due to file ordering in a directory.
reviewed by: plam
ChangeLog | 8 ++++++++
src/fcdir.c | 45 ++++++++++++++++++++++++++++++++++++++++++---
2 files changed, 50 insertions(+), 3 deletions(-)
Add a configuration file that disables hinting for the Lohit
Gujarati font
(since the hinting distort some glyphs quite badly).
reviewed by: keithp
ChangeLog | 9 +++++++++
conf.d/Makefile.am | 1 +
2 files changed, 10 insertions(+)
Sort directory entries while scanning them from disk; prevents
Heisenbugs
due to file ordering in a directory.
reviewed by: plam
ChangeLog | 8 ++++++++
src/fcdir.c | 44 +++++++++++++++++++++++++++++++++++++++++---
2 files changed, 49 insertions(+), 3 deletions(-)
Remove stuff we don't use, make get_{char,short,long} functions
of ftglue
macros to be inlined.
Code cleanups (excess prototype, old-style function definition).
reviewed by: plam
ChangeLog | 14 ++++++++++++++
src/fcfreetype.c | 8 ++++----
src/fcint.h | 3 ---
src/fcname.c | 2 +-
src/ftglue.c | 55
++++++++-----------------------------------------------
src/ftglue.h | 39 +++++++++++----------------------------
6 files changed, 38 insertions(+), 83 deletions(-)
Because we hacked FcPatternGet, we don't really need to expand
the filename
again in FcPatternGetString.
ChangeLog | 6 ++++++
src/fcpat.c | 3 ---
2 files changed, 6 insertions(+), 3 deletions(-)
Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE. Make
that
work. Reported by Bernhard Rosenkraenzer.
ChangeLog | 6 +++++
src/fcpat.c | 73
+++++++++++++++++++++++++++++++++----------------------------
2 files changed, 46 insertions(+), 33 deletions(-)
Include inttypes.h instead of stdint.h if appropriate.
ChangeLog | 5 +++++
src/fcint.h | 4 ++++
2 files changed, 9 insertions(+)
More stub definitions and remove FcFileIsDir from fc-cat.
ChangeLog | 6 ++++++
fc-cat/fc-cat.c | 10 ----------
fc-glyphname/fc-glyphname.c | 10 ++++++++++
3 files changed, 16 insertions(+), 10 deletions(-)
Fix compilation on AIX with stub definitions (bug 6097).
ChangeLog | 5 +++++
fc-case/fc-case.c | 10 ++++++++++
2 files changed, 15 insertions(+)
Get rid of C++-style comments.
ChangeLog | 8 ++++++++
src/fccache.c | 4 ++--
src/fcfreetype.c | 2 +-
src/fcfs.c | 8 ++++----
src/fcpat.c | 5 +++--
5 files changed, 18 insertions(+), 9 deletions(-)
debian/changelog
Enable creation of 2.3.94 Debian packages.
ChangeLog | 5 +++++
debian/changelog | 5 +++++
2 files changed, 10 insertions(+)
Fix suspicious return expression which causes junk to be returned.
reviewed by: plam
ChangeLog | 8 ++++++++
src/fclang.c | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
Fix placement of @s.
ChangeLog | 5 +++++
Makefile.am | 14 +++++++-------
2 files changed, 12 insertions(+), 7 deletions(-)
Bump version to 2.3.94.
ChangeLog | 8 ++++++++
README | 47
+++++++++++++++++++++++++++++++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
4 files changed, 55 insertions(+), 4 deletions(-)
Remove unconditional emboldening (per Behdad's instructions).
Add @s to hide some echos.
ChangeLog | 9 +++++++++
Makefile.am | 10 +++++-----
conf.d/10-fonts-persian.conf | 6 ------
3 files changed, 14 insertions(+), 11 deletions(-)
Takashi Iwai <tiwai@suse.de> reviewed by: plam
Fix double-free on error case.
ChangeLog | 8 ++++++++
src/fcfreetype.c | 1 +
2 files changed, 9 insertions(+)
Strip \r and whitespace from input; fixes bug 3454.
ChangeLog | 7 ++++++-
fc-lang/fc-lang.c | 11 +++++++----
2 files changed, 13 insertions(+), 5 deletions(-)
Allocate large arrays statically in fc-lang to fix crashes under
MinGW/MSYS.
ChangeLog | 6 ++++++
fc-lang/fc-lang.c | 18 +++++++++---------
2 files changed, 15 insertions(+), 9 deletions(-)
Pass the buck; make fontconfig not crash on pango badness.
ChangeLog | 5 +++++
src/fcfreetype.c | 4 ++++
2 files changed, 9 insertions(+)
Use embeddedbitmap rather than rh_prefer_bitmap.
ChangeLog | 5 +++++
conf.d/10-fonts-persian.conf | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
Eliminate redundancies.
reviewed by: plam
ChangeLog | 11 +++++++++++
src/fccache.c | 3 ++-
src/fcdir.c | 3 ---
src/fcfreetype.c | 1 -
src/fcxml.c | 3 +--
src/ftglue.c | 1 -
6 files changed, 14 insertions(+), 8 deletions(-)
Eliminate unused vars reported by Intel's compiler.
reviewed by: plam
ChangeLog | 10 ++++++++++
fc-list/fc-list.c | 4 ++--
src/fcfreetype.c | 3 +--
src/fcstr.c | 3 +--
src/fcxml.c | 2 --
5 files changed, 14 insertions(+), 8 deletions(-)
Remove one more archaic character.
reviewed by: plam
ChangeLog | 7 +++++++
fc-lang/ka.orth | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
Freeze patterns created by configuration file for tiny memory savings
(every little bit helps).
reviewed by: plam, keithp
ChangeLog | 8 ++++++++
src/fcxml.c | 3 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
Initialize fontconfig library in fc-cat to avoid segfault.
reviewed by: plam
ChangeLog | 7 +++++++
fc-cat/fc-cat.c | 11 ++++++++++-
2 files changed, 17 insertions(+), 1 deletion(-)
Fix the underlying cause of the below segfault (must usually call
FcDirCacheHasCurrentArch after FcDirCacheValid).
ChangeLog | 12 ++++++++++--
fc-cache/fc-cache.c | 2 ++
src/fccache.c | 4 +++-
src/fcdir.c | 4 +++-
4 files changed, 18 insertions(+), 4 deletions(-)
Fix segfault (reported by fcrozat) caused by incorrect input on cache
files.
ChangeLog | 6 ++++++
src/fccache.c | 21 +++++++++++++--------
2 files changed, 19 insertions(+), 8 deletions(-)
Bump up magic version; we changed the binary format.
ChangeLog | 5 +++++
src/fcint.h | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
Enable fc-cat to print out old-style cache info when given a directory
name.
ChangeLog | 6 ++++++
fc-cat/fc-cat.c | 26 +++++++++++++++++++++++++-
2 files changed, 31 insertions(+), 1 deletion(-)
Deal correctly with changing FC_CACHE_MAGIC.
ChangeLog | 5 +++++
src/fccache.c | 17 +++++++++++++++++
2 files changed, 22 insertions(+)
Add -r --really-force option which blows away cache files and then
regenerates them.
ChangeLog | 6 ++++++
fc-cache/fc-cache.c | 25 ++++++++++++++++++-------
2 files changed, 24 insertions(+), 7 deletions(-)
Don't bail if fontconfig can't remove a dir cache file. Skip the ID
of a
cache file when copying. Eliminate 'source file too small' bug in
FcDirCacheWrite.
ChangeLog | 9 ++++++++-
fc-cache/fc-cache.c | 16 ++++++++++------
src/fccache.c | 8 +++-----
3 files changed, 21 insertions(+), 12 deletions(-)
Fix memory leak in error condition code.
ChangeLog | 5 +++++
src/fcfreetype.c | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
Skip bitmap fonts which can't even get it together enough to declare a
family name; this appears to reproduce previous fontconfig
behaviour.
reviewed by: plam
ChangeLog | 8 ++++++++
src/fcfreetype.c | 5 +++++
2 files changed, 13 insertions(+)
Try to open /var/cache/fontconfig/[hashed name] before fonts.cache-2
in a
directory, because /var/cache/fontconfig failures ought to
be fixable,
unlike fonts.cache-2 failures, which may leave you screwed.
reviewed by: plam
ChangeLog | 9 +++++++++
src/fccache.c | 42 ++++++++++++++++++++----------------------
2 files changed, 29 insertions(+), 22 deletions(-)
Use a tri-state to mark the fonts which didn't get blocked but
were just
missing an element, to distinguish them from the fonts that
do match
the element.
reviewed by: plam
ChangeLog | 8 ++++++++
src/fcmatch.c | 18 +++++++++++-------
2 files changed, 19 insertions(+), 7 deletions(-)
Don't kill fonts because they don't declare an element that's
being matched
on.
reviewed by: plam
ChangeLog | 7 +++++++
src/fcmatch.c | 4 ++++
2 files changed, 11 insertions(+)
Define and pass O_BINARY to open if appropriate, for those platforms
that
need it. Reported by Doodle.
ChangeLog | 7 ++++---
src/fccache.c | 30 +++++++++++++++++-------------
2 files changed, 21 insertions(+), 16 deletions(-)
Fix attempt to close -1. Don't unboundedly grow bad caches
(reported by
fcrozat).
ChangeLog | 6 ++++++
src/fccache.c | 8 +++++---
2 files changed, 11 insertions(+), 3 deletions(-)
Fix problem with missing 'en' due to euro.patch: change cache
file format
slightly to coincide with that generated by fc-lang.
ChangeLog | 8 ++++++++
src/fccharset.c | 8 ++++----
2 files changed, 12 insertions(+), 4 deletions(-)
Fix warning.
ChangeLog | 5 +++++
src/fccache.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
Don't reject dirs that can't be normalized (fixes lilypond, and
is correct
in the context of application font directories.)
Use normalized directory name exclusively in FcCacheReadDirs.
reviewed by: plam
ChangeLog | 13 +++++++++++++
src/fccache.c | 19 ++++++++++---------
src/fcdir.c | 9 ++++-----
3 files changed, 27 insertions(+), 14 deletions(-)
Perf optimizations. Inline FcValueCanonicalize, reduce FcValueListPtrU
usage, remove redundant cast.
reviewed by: plam
ChangeLog | 8 ++++++++
src/fcpat.c | 39 +++++++++++++++++++--------------------
2 files changed, 27 insertions(+), 20 deletions(-)
src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf. Declare
extern for
static arrays as arrays, not pointers. (Part of the fix for 'fonts
don't have en' issue after Euro patch.)
(I forgot to commit the ChangeLog last time.)
reviewed by: plam
ChangeLog | 25 +++++++++++++++++++++++++
src/fccharset.c | 6 +++---
2 files changed, 28 insertions(+), 3 deletions(-)
Fix hidden variable warning.
ChangeLog | 6 ++++++
fc-lang/de.orth | 1 +
fc-lang/el.orth | 1 +
fc-lang/en.orth | 1 +
fc-lang/es.orth | 1 +
fc-lang/fc-lang.c | 6 +++---
fc-lang/fi.orth | 2 +-
fc-lang/fr.orth | 1 +
fc-lang/it.orth | 1 +
fc-lang/nl.orth | 1 +
fc-lang/pt.orth | 1 +
src/fccache.c | 1 -
src/fccharset.c | 9 +++++----
13 files changed, 23 insertions(+), 9 deletions(-)
Remove de-escaping logic because FcCacheWriteString doesn't escape
anyway.
Do blockwise reading instead of byte-wise for performance.
ChangeLog | 8 +++++++
src/fccache.c | 72
++++++++++++++++++++---------------------------------------
2 files changed, 32 insertions(+), 48 deletions(-)
Takashi Iwai <tiwai@suse.de>
Don't loop infinitely on recursive symlinks (client-side).
ChangeLog | 7 +++++++
src/fccache.c | 21 +++++++++++++++------
2 files changed, 22 insertions(+), 6 deletions(-)
Don't loop infinitely on recursive symlinks.
reviewed by: plam
ChangeLog | 6 ++++++
fc-cache/fc-cache.c | 18 ++++++++++++++++++
2 files changed, 24 insertions(+)
Skip subdirs when skipping over stale bits of global cache. Introduce
state
machine into FcGlobalCacheDir to avoid doing inappropriate
operations
on global dir entries, e.g. writing out an out-of-date cache
entry.
reviewed by: plam
ChangeLog | 12 ++++
src/fccache.c | 186
++++++++++++++++++++++++++++++++++++++++++----------------
src/fcint.h | 4 ++
3 files changed, 150 insertions(+), 52 deletions(-)
Hoist FcFileIsDir check out of FcFileScanConfig loop.
reviewed by: plam
ChangeLog | 6 ++++++
src/fcdir.c | 11 ++++-------
2 files changed, 10 insertions(+), 7 deletions(-)
Don't rescan when trying to normalize a non-declared font dir. Don't
add
font dirs multiple times (even if they're aliased).
reviewed by: plam
ChangeLog | 9 +++++++
src/fccfg.c | 78
++++++++++++++++++++++++++++++++++++++++---------------------
2 files changed, 61 insertions(+), 26 deletions(-)
Explain apples/oranges comparison and fix compilation error.
reviewed by: plam
ChangeLog | 7 +++++++
src/fcfs.c | 5 ++++-
2 files changed, 11 insertions(+), 1 deletion(-)
Insert check for integer overflow in # of fonts.
reviewed by: plam
ChangeLog | 7 +++++++
src/fcfs.c | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
Make 'make distcheck' work with automake 1.6.3.
reviewed by: plam
ChangeLog | 10 ++++++++++
doc/Makefile.am | 2 +-
fc-cache/Makefile.am | 2 +-
fc-cat/Makefile.am | 2 +-
fc-list/Makefile.am | 2 +-
5 files changed, 14 insertions(+), 4 deletions(-)
src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
FcDirCacheConsume,
FcDirCacheWrite)
Check I/O call return values and eliminate unused variable warnings.
reviewed by: plam
ChangeLog | 13 ++++++++++++
fc-cat/fc-cat.c | 5 ++---
src/fccache.c | 66
+++++++++++++++++++++++++++++++++++++++++++--------------
src/fcxml.c | 4 ++--
4 files changed, 67 insertions(+), 21 deletions(-)
src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
Fix memory leak.
reviewed by: plam
ChangeLog | 7 +++++++
src/fccfg.c | 2 ++
2 files changed, 9 insertions(+)
Gracefully handle the case where a cache asserts that it has
a negative
number of fonts, causing overflow.
reviewed by: plam
ChangeLog | 8 ++++++++
src/fcfs.c | 29 +++++++++++++++--------------
2 files changed, 23 insertions(+), 14 deletions(-)
Fix double free in error case.
ChangeLog | 5 +++++
src/fccache.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
Stephan Kulow <coolo@suse.de> reviewed by: plam
Replace 'stamp' target with mkinstalldirs.
ChangeLog | 8 ++++++++
fc-cache/Makefile.am | 13 +++----------
2 files changed, 11 insertions(+), 10 deletions(-)
Toast broken global cache files.
reviewed by: plam
ChangeLog | 7 +++++++
src/fccache.c | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
Actually use the directories that I added to the global cache. Fixes
'make
check'.
ChangeLog | 6 ++++++
src/fccache.c | 11 +++++++++--
2 files changed, 15 insertions(+), 2 deletions(-)
Don't stop scanning if a directory in fonts.conf doesn't exist,
because
subsequent directories might exist.
reviewed by: plam
ChangeLog | 8 ++++++++
fc-cache/fc-cache.c | 20 ++++++++++++++------
2 files changed, 22 insertions(+), 6 deletions(-)
Make global cache work again after putting dir names into global cache
(I
misplaced the recording of a file offset).
ChangeLog | 6 ++++++
src/fccache.c | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
Update fc-cat to handle subdir lists in global cache file.
Another FcCacheReadString return value check.
ChangeLog | 9 +++++++++
fc-cat/fc-cat.c | 10 ++++++++++
src/fccache.c | 11 +++++++++--
3 files changed, 28 insertions(+), 2 deletions(-)
Make fccache more resilient to broken cache files by checking
return value
of FcCacheReadString all the time.
reviewed by: plam
ChangeLog | 9 +++++++++
src/fccache.c | 28 ++++++++++++++--------------
2 files changed, 23 insertions(+), 14 deletions(-)
Remove references to dead fontconfig(3) manpages in other fontconfig
manpages.
reviewed by: plam
ChangeLog | 9 +++++++++
fc-lang/fc-lang.man | 2 --
fc-match/fc-match.1 | 2 --
3 files changed, 9 insertions(+), 4 deletions(-)
Fix world's tiniest typo in code example.
reviewed by: plam
ChangeLog | 7 +++++++
doc/fcpattern.fncs | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
Fix global cache reads of subdirectories.
reviewed by: plam
ChangeLog | 7 +++++++
src/fccache.c | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
Add documentation for FcConfigNormalizeFontDir.
Write directory information to global caches to fix make check
(reported by
Ronny V. Vindenes). This changes the global cache format again.
ChangeLog | 13 +++++++++++++
doc/fcconfig.fncs | 11 +++++++++++
src/fccache.c | 25 +++++++++++++++++++++++--
src/fcdir.c | 2 +-
src/fcint.h | 2 ++
5 files changed, 50 insertions(+), 3 deletions(-)
Move FcConfigNormalizeFontDir call so that it doesn't result in
infinite
recursion (reported by Ronny V. Vindenes).
ChangeLog | 9 +++++++++
fc-cache/fc-cache.c | 6 +++++-
fontconfig/fontconfig.h | 4 ++++
src/fccache.c | 8 --------
src/fcint.h | 4 ----
5 files changed, 18 insertions(+), 13 deletions(-)
Add a couple of missing normalizations to make fc-cache work right;
only
scan subdirectories once.
ChangeLog | 7 +++++++
src/fccache.c | 8 ++++++++
src/fccfg.c | 4 ++--
3 files changed, 17 insertions(+), 2 deletions(-)
Don't crash on non-existant directories in global cache.
reviewed by: plam
ChangeLog | 7 +++++++
src/fccache.c | 4 +++-
2 files changed, 10 insertions(+), 1 deletion(-)
Stop trampling the directory name when writing out caches. (with Mike
Fabian:) Beef up FcConfigNormalizeFontDir to scan subdirs when
necessary. Don't scan directories that can't be normalized.
ChangeLog | 11 +++++++++++
src/fccache.c | 16 +++++++++++++---
src/fccfg.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
src/fcdir.c | 6 +++++-
src/fcxml.c | 2 +-
5 files changed, 82 insertions(+), 5 deletions(-)
Fix additional memory leaks reported by Ronny V. Vindenes: don't
invoke
FcValueSave on hashed static strings in FcPatternAddWithBinding.
Add another st_dev check in FcDirCacheOpen.
ChangeLog | 11 +++++++++++
src/fccache.c | 13 +++++++++++--
src/fccfg.c | 3 +--
src/fcpat.c | 9 ++++++++-
4 files changed, 31 insertions(+), 5 deletions(-)
Treat zh-hk fonts differently from zh-tw fonts. This patch may cause
fontconfig to treat A-X fonts differently from A-Y fonts;
please mail
the fontconfig list if this causes any problems.
reviewed by: plam
ChangeLog | 10 ++++++++++
fc-lang/zh_hk.orth | 2 +-
src/fcfreetype.c | 2 +-
3 files changed, 12 insertions(+), 2 deletions(-)
Fix memory leaks reported by Ronny V. Vindenes.
ChangeLog | 6 ++++++
src/fccache.c | 9 ++++++++-
src/fcfreetype.c | 8 +++++++-
3 files changed, 21 insertions(+), 2 deletions(-)
Fix for unaligned memory accesses.
reviewed by: plam
ChangeLog | 9 ++++++++-
src/fcpat.c | 12 ++++++++----
2 files changed, 16 insertions(+), 5 deletions(-)
Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
calls to
avoid crashes.
reviewed by: plam
ChangeLog | 8 ++++++++
src/fcdir.c | 4 +++-
2 files changed, 11 insertions(+), 1 deletion(-)
Fix segfault when consuming zero-length caches in fc-cat (which has no
config, so FcConfigAddFontDir shouldn't be called.)
ChangeLog | 6 ++++++
src/fccache.c | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
Compare device numbers as well as inodes. Always normalize directory
names
before comparing them.
Allocate extra space for appended '/' in directory name.
reviewed by: plam
ChangeLog | 19 +++++++++++++++++++
fc-cache/fc-cache.c | 2 +-
fc-cat/fc-cat.c | 6 +++++-
fontconfig/fontconfig.h | 2 +-
src/fccache.c | 19 ++++++++++++++-----
src/fccfg.c | 7 ++++---
src/fcdir.c | 2 +-
src/fcint.h | 6 ++++--
8 files changed, 49 insertions(+), 14 deletions(-)
Explicitly add font dirs to config.fontDirs even if they're empty. Set
current config in fc-cache.c. Fix treatment of cache directory
as read
from cache file; don't use string equality to determine if we
have the
right file, use inode equality.
ChangeLog | 12 ++++++++++
fc-cache/fc-cache.c | 1 +
src/fccache.c | 64
++++++++++++++++++++++++++++-------------------------
3 files changed, 47 insertions(+), 30 deletions(-)
Normalize font dirs by using the form, as given in fonts.conf,
and recorded
in FcConfig's fontDirs string set, as canonical.
Actually update config.fontDirs as font directories are scanned.
ChangeLog | 14 ++++++++++++++
fc-cache/fc-cache.c | 2 +-
fc-cat/fc-cat.c | 4 ++--
src/fccache.c | 21 ++++++++++++---------
src/fccfg.c | 23 +++++++++++++++++++++++
src/fcdir.c | 3 ++-
src/fcint.h | 6 +++++-
7 files changed, 59 insertions(+), 14 deletions(-)
Fix matching bug when multiple elements match; don't use the sum
of all
scores, but the best score.
Also more perf opts, e.g. evaluate best over all font sets rather
than on a
per-set basis (and other changes).
src/fcmatch.c | 243
++++++++++++++++++++++++++++++++++------------------------
1 file changed, 143 insertions(+), 100 deletions(-)
Fix matching bug when multiple elements match; don't use the sum
of all
scores, but the best score.
Also more perf opts, e.g. evaluate best over all font sets rather
than on a
per-set basis (and other changes).
ChangeLog | 9 +++++++++
1 file changed, 9 insertions(+)
Properly skip past dir caches that contain zero fonts (as occurs
in global
caches.) Reported by Mike Fabian.
ChangeLog | 6 ++++++
src/fccache.c | 4 ++++
2 files changed, 10 insertions(+)
Print out full pathname in fc-match -v as well. Reported by Frederic
Crozat.
Fix bug where fc-match crashes when given __DUMMY__ property to
match on.
(I added the __DUMMY__ string to enable callers of FcObjectToPtrLookup
to
distinguish an error return from a successful return. -PL)
reviewed by: plam
ChangeLog | 18 ++++++++++++++++++
src/fcdbg.c | 21 ++++++++++++++++++++-
src/fcname.c | 11 +++++++----
3 files changed, 45 insertions(+), 5 deletions(-)
Add self to AUTHORS list.
Minor change to global cache file format to fix fc-cat bug reported by
Frederic Crozat, and buglet with not globally caching directories
with
zero fonts cached.
AUTHORS | 2 ++
ChangeLog | 18 ++++++++++++++++
fc-cat/fc-cat.c | 66
+++++++++++++++++++++++++++++++++------------------------
src/fccache.c | 31 +++++++++++++--------------
src/fcint.h | 1 +
src/fcpat.c | 2 +-
6 files changed, 75 insertions(+), 45 deletions(-)
Fix double-free which occurs because FcValueCanonicalize doesn't
create an
extra copy of the returned value, it only canonicalizes it.
reviewed by: plam
ChangeLog | 11 ++++++++++-
src/fccfg.c | 1 +
2 files changed, 11 insertions(+), 1 deletion(-)
Fix version of .cache file (currently 1 -> currently 2). Reported
by Jim
Osborn.
ChangeLog | 6 ++++++
1 file changed, 6 insertions(+)
Fix version of .cache file (currently 1 -> currently 2). Reported
by Jim
Osborn.
doc/fontconfig-user.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Shut up GCC warnings on amd.
reviewed by: plam
ChangeLog | 7 +++++++
src/fcpat.c | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
Avoid check on _fcBankId nullness and fix case where it used to crash.
ChangeLog | 7 +++++++
src/fccharset.c | 2 +-
src/fcint.h | 2 +-
3 files changed, 9 insertions(+), 2 deletions(-)
Bump version to 2.3.93.
Use open instead of fopen (requested by Phil Race for Sun).
src/fccache.c (FcDirCacheWrite);
Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
dir.
ChangeLog | 20 ++++++++++++++++
README | 17 ++++++++++++--
configure.in | 2 +-
fc-cache/Makefile.am | 8 +++++++
fontconfig/fontconfig.h | 2 +-
src/fccache.c | 62
++++++++++++++++++++++++++++++++++++++++---------
src/fcxml.c | 13 ++++++-----
7 files changed, 103 insertions(+), 21 deletions(-)
Restore code to skip over PCF fonts that have no encoded
characters. (We
guess that a font is PCF by presence of the PIXEL_SIZE BDF
property.)
ChangeLog | 8 ++++++++
conf.d/10LohitGujarati.conf | 5 +++++
src/fcfreetype.c | 9 ++++++---
3 files changed, 19 insertions(+), 3 deletions(-)
Add a configuration file that disables hinting for the Lohit
Gujarati font
(since the hinting distort some glyphs quite badly).
reviewed by: keithp
ChangeLog | 8 ++++++++
conf.d/10LohitGujarati.conf | 5 +++++
conf.d/Makefile.am | 1 +
3 files changed, 14 insertions(+)
Read and write the original location as a fallback for the hashed
cache
file locations. This is mostly for users to be able to have
per-directory cache files.
ChangeLog | 7 +++++++
src/fccache.c | 41 ++++++++++++++++++++++++++++++++---------
2 files changed, 39 insertions(+), 9 deletions(-)
Improve error message when fc-cache can't write the cache. Add missing
slash. Reported by Behdad. Incorporate Behdad's patch to create
/var/cache/fontconfig when appropriate.
ChangeLog | 9 +++++++++
fc-cache/Makefile.am | 5 +++++
fc-cache/fc-cache.c | 4 +++-
src/fccache.c | 2 +-
4 files changed, 18 insertions(+), 2 deletions(-)
Fix crash reported by Frederic Crozat when using libxml2.
reviewed by: plam
ChangeLog | 7 +++++++
src/fcxml.c | 3 +++
2 files changed, 10 insertions(+)
Migrate cache files from fonts directories to
/var/cache/fontconfig. This
helps make fontconfig FHS-compliant, but requires that all
caches get
rebuilt.
Also, autogen.sh now needs the additional parameter
--localstatedir=/var.
ChangeLog | 20 ++
INSTALL | 2 +-
configure.in | 7 +
fc-cache/Makefile.am | 2 +
fc-cat/Makefile.am | 2 +
fc-cat/fc-cat.c | 13 +-
fontconfig/fontconfig.h | 1 +
src/Makefile.am | 2 +
src/fccache.c | 523
+++++++++++++++++++++++++++++++++++++++++++-----
9 files changed, 519 insertions(+), 53 deletions(-)
Because we've changed FcPatternAddString to use FcStrStaticName
and not
FcValueSave, explicitly handle the case of a null string.
ChangeLog | 6 ++++++
src/fcpat.c | 7 +++++++
2 files changed, 13 insertions(+)
Fix warnings.
ChangeLog | 5 +++++
fc-cat/fc-cat.c | 9 +++------
2 files changed, 8 insertions(+), 6 deletions(-)
Don't assign types to user object names.
ChangeLog | 5 +++++
src/fcname.c | 3 +++
2 files changed, 8 insertions(+)
Don't free strings that have been returned from FcStrStaticName.
ChangeLog | 5 +++++
src/fcpat.c | 21 +++++++++++++++++++--
2 files changed, 24 insertions(+), 2 deletions(-)
Add codepath for reading global cache files as well.
ChangeLog | 5 +++++
fc-cat/fc-cat.c | 61
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
file 10-fonts-persian.conf was initially added on branch
fc-2_4_branch.
Add config file for Persian fonts from Sharif FarsiWeb, Inc.
reviewed by: plam
ChangeLog | 10 +-
conf.d/10-fonts-persian.conf | 545
+++++++++++++++++++++++++++++++++++++++++++
conf.d/Makefile.am | 1 +
3 files changed, 555 insertions(+), 1 deletion(-)
Only add a config file to the set of config files once.
reviewed by: plam
ChangeLog | 7 +++++++
src/fcxml.c | 6 ++++++
2 files changed, 13 insertions(+)
src/fcint.h (FcCacheBankToIndex);
Fix segfault by guarding array dereference.
ChangeLog | 5 +++++
src/fcint.h | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
Refactor FcCacheBankToIndex into an inlineable part (in fcint.h) which
checks the front of the list and a non-inlineable part which
finds and
moves the appropriate element to the front of the list.
reviewed by: plam
ChangeLog | 14 ++++++++++++++
fc-lang/fc-lang.c | 5 ++++-
src/fccache.c | 34 +++++++++++++++++-----------------
src/fcint.h | 9 ++++++++-
4 files changed, 43 insertions(+), 19 deletions(-)
Make the perf guys hate me a bit less: hoist the directory-name
FcConfigAcceptFont check for cached fonts up to directory
cache read
time, rather than running it for each font.
ChangeLog | 8 ++++++++
src/fccache.c | 3 +++
src/fccfg.c | 6 ++----
3 files changed, 13 insertions(+), 4 deletions(-)
Don't make FcPatternFindFullFname available to fccfg, it's not
really safe.
Instead go through FcPatternGetString (sorry, perf guys.) Also,
use
globs for dirs as well.
ChangeLog | 9 +++++++++
src/fccfg.c | 8 +++++---
src/fcint.h | 3 ---
src/fcpat.c | 5 ++++-
4 files changed, 18 insertions(+), 7 deletions(-)
Fix segfault.
ChangeLog | 5 +++++
src/fccfg.c | 5 ++++-
2 files changed, 9 insertions(+), 1 deletion(-)
Update autogenerated config.* files.
config/config.guess | 535
+++++++++++++++++++++++++++-------------------------
config/config.sub | 67 ++++---
2 files changed, 314 insertions(+), 288 deletions(-)
Fix problem dating back at least to 2.3.2 where globs weren't
being applied
to patterns loaded from a cache.
Fix some obvious spelling mistakes.
ChangeLog | 13 +++++++++++++
doc/fontconfig-user.sgml | 17 +++++++++--------
src/fccfg.c | 3 ++-
src/fcint.h | 3 +++
src/fcpat.c | 4 +---
5 files changed, 28 insertions(+), 12 deletions(-)
Stephan Kulow <coolo@suse.de> reviewed by: plam
Don't kill all fonts during match (oops!)
ChangeLog | 23 +++++++++++++++++++++++
src/fcmatch.c | 39 ++++++++++++++++++++++++++++++++-------
2 files changed, 55 insertions(+), 7 deletions(-)
Stephan Kulow <coolo@suse.de> Michael Matz <matz@suse.de> reviewed
by: plam
Rewrite FcFontSetMatch to a path-finding based algorithm, i.e. inline
FcCompare into FcFontSetMatch and reorder the loops, adding
a boolean
array which blocks patterns from future consideration if
they're known
to not be best on some past criterion.
src/fcmatch.c | 224
+++++++++++++++++++++++++++++++++++++++++-----------------
1 file changed, 159 insertions(+), 65 deletions(-)
Fix incorrect merge.
reviewed by: plam
ChangeLog | 7 +++++++
src/fcmatch.c | 6 +++---
2 files changed, 10 insertions(+), 3 deletions(-)
Don't do random matching when bad objects are passed into
FcCompareValueList.
ChangeLog | 6 ++++++
src/fcmatch.c | 58
+++++++++++++++++++++++++++++++++++++++++++---------------
2 files changed, 49 insertions(+), 15 deletions(-)
Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
_fcPatternElts, _fcValueLists for consistency.
ChangeLog | 10 ++++++++++
src/fcint.h | 8 ++++----
src/fcpat.c | 50 +++++++++++++++++++++++++-------------------------
3 files changed, 39 insertions(+), 29 deletions(-)
Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
reviewed by: plam
ChangeLog | 7 +++++++
src/fcmatch.c | 35 ++++++++++-------------------------
2 files changed, 17 insertions(+), 25 deletions(-)
Pass around FcCache *s to the Unserialize functions for extra
consistency
(and less overhead, for what that's worth).
ChangeLog | 13 +++++++++++++
src/fccache.c | 2 +-
src/fccharset.c | 12 ++++++------
src/fcfs.c | 2 +-
src/fcint.h | 10 +++++-----
src/fclang.c | 8 ++++----
src/fcname.c | 2 +-
src/fcpat.c | 32 ++++++++++++++++----------------
8 files changed, 47 insertions(+), 34 deletions(-)
Inline the *PtrU functions to gain perf. Remove unneeded params
for the
FcCompare* functions.
reviewed by: plam
ChangeLog | 12 +++++++++++-
src/fcint.h | 31 +++++++++++++++++++++++++++----
src/fcmatch.c | 50 +++++++++++++++++---------------------------------
src/fcname.c | 12 +++---------
src/fcpat.c | 22 ++--------------------
5 files changed, 60 insertions(+), 67 deletions(-)
Fix the debian changelog so that debian/rules works again, make it
create a
debian package for release 2.3.92-1. Acknowledge change in NMU of
debian package.
debian/changelog | 13 +++++++++++++
debian/control | 1 +
debian/po/cs.po | 57
++++++++++++++++++++++++++++----------------------------
3 files changed, 43 insertions(+), 28 deletions(-)
Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
Check for type validity during FcPatternAddWithBinding, don't
verify type
in FcFontMatch, don't call FcCanonicalize here (which always
does a
deep copy).
reviewed by: plam
ChangeLog | 13 +++++++++++++
fontconfig/fontconfig.h | 3 ---
src/fcint.h | 3 +++
src/fcmatch.c | 22 +++++-----------------
src/fcpat.c | 22 +++++++++++++++++-----
5 files changed, 38 insertions(+), 25 deletions(-)
Make FcCompareString and FcCompareFamily less expensive. Only add
a value
for FC_FAMILY if the proposed value is a string.
reviewed by: plam
ChangeLog | 11 ++++++++++-
src/fcmatch.c | 24 +++++++++++++++++-------
src/fcpat.c | 7 +++++++
3 files changed, 34 insertions(+), 8 deletions(-)
Inline FcDebug invocations and only initialize once, in
FcInit*. Improve
debug msg in FcPatternPrint.
reviewed by: plam
ChangeLog | 10 ++++++++++
src/fcdbg.c | 30 ++++++++++++------------------
src/fcinit.c | 2 ++
src/fcint.h | 9 +++++++--
4 files changed, 31 insertions(+), 20 deletions(-)
Properly apply fcrozat's patch.
fc-cat/fc-cat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2005-11-23 Frederic Crozat <fcrozat@mandriva.com>: reviewed by: plam
Minor code warning cleanups.
ChangeLog | 8 ++++++++
fc-cat/fc-cat.c | 1 -
fontconfig/fontconfig.h | 2 +-
3 files changed, 9 insertions(+), 2 deletions(-)
2005-11-23 Frederic Crozat <fcrozat@mandriva.com>: reviewed by: plam
Make getopt_long accept -s parameter to fc-match as well.
ChangeLog | 7 +++++++
fc-match/fc-match.c | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
2005-11-23 Frederic Crozat <fcrozat@mandriva.com>: reviewed by: plam
Make getopt_long accept -s parameter to fc-match as well.
ChangeLog | 7 +++++++
fc-match/fc-match.c | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
Manually perform inlining & partial redundancy elimination to
reduce calls
to FcValueListPtrU.
Only invoke strlen() when really necessary.
reviewed by: plam
reviewed by: plam
ChangeLog | 16 ++++++++++++++++
src/fcmatch.c | 17 +++++++++--------
src/fcstr.c | 8 ++------
3 files changed, 27 insertions(+), 14 deletions(-)
Get rid of the use of freetype internal headers in fcfreetype.c, since
those headers will go away with freetype 2.2. Replace with public
domain ftglue code from pango. Note that the patch removes
some extra
error checking in FT_Get_BDF_Property() and comments out the
skipping
of empty pcf fonts.
reviewed by: plam
ChangeLog | 2 ++
1 file changed, 2 insertions(+)
file ftglue.c was initially added on branch fc-2_4_branch.
Get rid of the use of freetype internal headers in fcfreetype.c, since
those headers will go away with freetype 2.2. Replace with public
domain ftglue code from pango. Note that the patch removes
some extra
error checking in FT_Get_BDF_Property() and comments out the
skipping
of empty pcf fonts.
reviewed by: plam
src/ftglue.c | 349
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/ftglue.h | 159 +++++++++++++++++++++++++++
2 files changed, 508 insertions(+)
Get rid of the use of freetype internal headers in fcfreetype.c, since
those headers will go away with freetype 2.2. Replace with public
domain ftglue code from pango. Note that the patch removes
some extra
error checking in FT_Get_BDF_Property() and comments out the
skipping
of empty pcf fonts.
reviewed by: plam
ChangeLog | 13 ++++++++++
src/Makefile.am | 4 ++-
src/fcfreetype.c | 75
++++++++++++++++++++++++++------------------------------
3 files changed, 51 insertions(+), 41 deletions(-)
Further fix of patch from 2005-11-04: miscounted numbers count
(numbers_count); didn't strip duplicate numbers (langBankNumbers);
and
leafidx_offset and numbers_offset in fcLangCharSets are wrong.
Removed leafidx_count and numbers_count since they are the same and
replaced them with offset_count.
reviewed by: plam
ChangeLog | 12 ++++++++++++
fc-lang/fc-lang.c | 21 +++++++++++++--------
2 files changed, 25 insertions(+), 8 deletions(-)
Don't crash when fc-cat invoked with no arguments.
Fix invalid read access caused by premature free and GCC4 warnings in
libxml2 codepath.
reviewed by: plam
reviewed by: plam
ChangeLog | 17 ++++++++++++++++-
fc-cat/fc-cat.c | 3 +++
src/fcxml.c | 10 ++++++----
3 files changed, 25 insertions(+), 5 deletions(-)
List iteration not needed in FcConfigValues, since it's building
up the
list itself; we can just strip FcVoid elements during
construction.
reviewed by: plam
ChangeLog | 9 +++++++++
src/fccfg.c | 17 ++++++-----------
2 files changed, 15 insertions(+), 11 deletions(-)
Fix crash on invalid constants in config files (forgot to update
a pointer
upon list iteration.)
ChangeLog | 6 ++++++
src/fccfg.c | 1 +
2 files changed, 7 insertions(+)
Complain about invalid constants in config files.
reviewed by: plam
ChangeLog | 7 +++++++
src/fcxml.c | 4 ++++
2 files changed, 11 insertions(+)
Don't add current_arch_start more than once.
Fix ordering of ALIGN with respect to saving block_ptr; add another
ALIGN
to fcfs.c.
reviewed by: plam
ChangeLog | 16 ++++++++++++++++
src/fccache.c | 2 +-
src/fccharset.c | 12 ++++++++----
src/fcfs.c | 10 +++++++++-
src/fcname.c | 6 ++++--
src/fcpat.c | 1 +
6 files changed, 39 insertions(+), 8 deletions(-)
src/fccache.c (FcDirCacheProduce)
Fix case where alignment bytes bumped up metadata->count causing
unwarranted failures to write cache files. (Reported by Stephan
Kulow).
ChangeLog | 7 +++++++
src/fccache.c | 15 +++++++++++----
2 files changed, 18 insertions(+), 4 deletions(-)
Add *NeededBytesAlign(), which overestimates the padding which
is later
added by the new ALIGN macro. Fix alignment problems on ia64
and s390
by bumping up block_ptr appropriately. (Earlier version by Andreas
Schwab).
Use sysconf to determine proper PAGESIZE value; this appears to be
POSIX-compliant. (reported by Andreas Schwab)
reviewed by: plam
ChangeLog | 23 +++++++++++++++++++++++
src/fccache.c | 21 +++++++++++++--------
src/fccharset.c | 11 +++++++++++
src/fcfs.c | 10 ++++++++++
src/fcint.h | 18 ++++++++++++++++++
src/fclang.c | 8 ++++++++
src/fcname.c | 8 ++++++++
src/fcpat.c | 36 ++++++++++++++++++++++++++++++++++++
8 files changed, 127 insertions(+), 8 deletions(-)
Fix bug 2878 (excessive relocations at startup for charsets,
reported by
Ross Burton): fc-lang/fc-lang now creates the static form of the
langset, not the dynamic form, so that the charsets should now
be in
.rodata.
ChangeLog | 11 +++++++++++
fc-lang/fc-lang.c | 59
++++++++++++++++++++++++++++++++++++++++---------------
src/fccharset.c | 18 +++++++++++++++++
src/fcint.h | 5 +++++
src/fclang.c | 16 ++++++++++++++-
5 files changed, 92 insertions(+), 17 deletions(-)
Add test for validity of directory caches that somehow got lost
(reported
by make distcheck).
ChangeLog | 6 ++++++
src/fcdir.c | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
Bump version to 2.3.92.
ChangeLog | 8 ++++++++
README | 29 +++++++++++++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
4 files changed, 37 insertions(+), 4 deletions(-)
Fix argument ordering problem in call to FcPatternTransferFullFname.
ChangeLog | 5 +++++
src/fcpat.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
Fix warnings and embarrassing double-free error.
ChangeLog | 7 +++++++
src/fcfreetype.c | 2 +-
src/fcpat.c | 14 +++++---------
3 files changed, 13 insertions(+), 10 deletions(-)
Change the rule for artificial emboldening in fonts.conf.in. This
enables
the support for artificial emboldening included in cairo.
reviewed by: plam
ChangeLog | 8 ++++++++
fonts.conf.in | 18 ++++++++++++++----
2 files changed, 22 insertions(+), 4 deletions(-)
Don't zero out full names for FC_REF_CONSTANT fonts; also, duplicate
full
names when transferring, and free full names when freeing the
associated font. Reported by Jinghua Luo.
ChangeLog | 8 ++++++++
src/fcpat.c | 18 ++++++++++++++----
2 files changed, 22 insertions(+), 4 deletions(-)
Revert the previous patch and commit the correct patch: I forgot a
canonicalization in FcValueListSerialize, so that it would
choke on
already-serialized input files. Duh!
ChangeLog | 8 ++++++++
fc-cache/fc-cache.c | 9 ---------
src/fcpat.c | 1 +
3 files changed, 9 insertions(+), 9 deletions(-)
Forcibly rescan a directory before writing a fresh local cache
file for
that directory, fixing the losing-fonts problem reported by
Mike Fabian
and also apparently the font cache file corruption.
ChangeLog | 8 ++++++++
fc-cache/fc-cache.c | 9 +++++++++
2 files changed, 17 insertions(+)
Fix thinko: actually, the whole global cache is stale if the global
cache
is older than the (newest) config file.
ChangeLog | 6 ++++++
src/fccache.c | 6 +++---
2 files changed, 9 insertions(+), 3 deletions(-)
Declare the global cache of a directory's contents to be stale if the
directory is newer than the (newest) configuration file. S:
----------------------------------------------------------------------
ChangeLog | 8 ++++++++
src/fccache.c | 12 +++++++++---
src/fccfg.c | 20 ++++++++++++++------
src/fcint.h | 11 ++++++++++-
4 files changed, 41 insertions(+), 10 deletions(-)
Copy the full pathname whenever duplicating an FcPattern; otherwise,
applications continue breaking.
ChangeLog | 10 ++++++++++
src/fcint.h | 4 ++--
src/fclist.c | 6 +-----
src/fcmatch.c | 4 ++++
src/fcpat.c | 25 ++++++++++++++++++++++++-
5 files changed, 41 insertions(+), 8 deletions(-)
Fix small memory error (tried to free argv); use basename and dirname
correctly (they can modify their arguments).
ChangeLog | 7 +++++++
fc-cat/fc-cat.c | 4 +---
src/fcfreetype.c | 2 +-
3 files changed, 9 insertions(+), 4 deletions(-)
Reinstate basename patch, but keep a hash table linking FcPatterns
to their
fully-qualified font names for clients' benefit. Clients only
pay for
the font names once they request the FC_FILE property from an
FcPattern, but the font name is malloc'd at that point (i.e. not
mmapped: that's impossible, since it may vary between machines.)
Clients do have to pay for a copy of the path name per cache file.
Note that FcPatternGetString now does some rewriting if you ask for an
FC_FILE, appending the pathname as appropriate.
ChangeLog | 23 ++++++++++++++
fc-cat/fc-cat.c | 7 ++--
src/fccache.c | 40 ++++++++++++++++++++---
src/fcfreetype.c | 5 ++-
src/fcint.h | 9 ++++++
src/fclist.c | 8 +++++
src/fcpat.c | 97
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 181 insertions(+), 8 deletions(-)
Revert basename patch, which breaks fontconfig clients on my system.
src/fcfreetype.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether to load
embedded bitmaps or not.
reviewed by: plam
ChangeLog | 11 +++++++++++
fontconfig/fontconfig.h | 1 +
fonts.conf.in | 4 ++++
src/fcdefault.c | 1 +
src/fcname.c | 1 +
5 files changed, 18 insertions(+)
Only add basename to patterns' FC_FILE element, not any part of the
dirname.
ChangeLog | 6 ++++++
src/fcfreetype.c | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
Add some more consts, fixing more GCC4 warnings.
ChangeLog | 5 +++++
src/fcfreetype.c | 22 +++++++++++-----------
2 files changed, 16 insertions(+), 11 deletions(-)
Support localized font family and style names. This has been
reported to
break old apps like xfd, but modern (gtk+/qt/mozilla) apps
work fine.
reviewed by: plam
ChangeLog | 7 ++++
src/fcdefault.c | 110
+++++++++++++++++++++++++++++++-------------------------
src/fcint.h | 4 +++
src/fclist.c | 60 +++++++++++++++++++++++++++++--
4 files changed, 130 insertions(+), 51 deletions(-)
Destroy the global cache file if it's terminally broken. (reported
by Mike
Fabian)
ChangeLog | 9 ++++++++-
src/fccache.c | 16 +++++++++++++---
2 files changed, 21 insertions(+), 4 deletions(-)
Prevent fc-list from escaping strings when printing them.
ChangeLog | 7 +++++++
fc-list/fc-list.c | 2 +-
fontconfig/fontconfig.h | 3 +++
src/fcname.c | 16 +++++++++++-----
4 files changed, 22 insertions(+), 6 deletions(-)
Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
reviewed by: plam
ChangeLog | 9 ++++++++-
fontconfig/fontconfig.h | 12 ++++++++++--
2 files changed, 18 insertions(+), 3 deletions(-)
Add consts to variables so as to move arrays into .rodata.
reviewed by: plam
ChangeLog | 8 ++++++++
fc-glyphname/fc-glyphname.c | 4 ++--
src/fclang.c | 4 ++--
3 files changed, 12 insertions(+), 4 deletions(-)
Check existence of directory cache file before attempting to unlink.
reviewed by: plam
ChangeLog | 7 +++++++
src/fccache.c | 4 +++-
2 files changed, 10 insertions(+), 1 deletion(-)
Fix flipped return value on unlink. (Reported by Mike Fabian)
ChangeLog | 14 ++++++++++++++
src/fccache.c | 6 ++++--
2 files changed, 18 insertions(+), 2 deletions(-)
When fc-cache is run without --force, use directory cache files to
speed up
fc-cache run time.
src/fccache.c | 4 ++--
src/fcdir.c | 3 +++
src/fcint.h | 3 +++
3 files changed, 8 insertions(+), 2 deletions(-)
Add padding to make valgrind and glibc not hate each other when
calling
strlen().
ChangeLog | 8 ++++++++
src/fcname.c | 5 +++--
src/fcpat.c | 5 +++--
3 files changed, 14 insertions(+), 4 deletions(-)
Use libtool -no-undefined flag on all platforms.
reviewed by: plam & keithp
ChangeLog | 7 +++++++
src/Makefile.am | 3 +--
2 files changed, 8 insertions(+), 2 deletions(-)
Fix typo in manually applying patch.
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modify config file to use Greek fonts before Asian fonts with
Greek glyphs.
reviewed by: plam & keithp
ChangeLog | 8 ++++++++
fonts.conf.in | 10 +++++++---
2 files changed, 15 insertions(+), 3 deletions(-)
Modify config file to use Greek fonts before Asian fonts with
Greek glyphs.
reviewed by: plam & keithp
ChangeLog | 8 ++++++++
fonts.conf.in | 10 +++++++---
2 files changed, 15 insertions(+), 3 deletions(-)
Use libtool -no-undefined flag on all platforms.
reviewed by: plam & keithp
ChangeLog | 7 +++++++
src/Makefile.am | 3 +--
2 files changed, 8 insertions(+), 2 deletions(-)
Implement move-to-front array for banks (perf regression reported
by Ronny
V. Vindenes).
ChangeLog | 6 ++++++
src/fccache.c | 29 +++++++++++++++++++----------
2 files changed, 25 insertions(+), 10 deletions(-)
Add new API which unlinks directory caches and checks dir caches for
existence of appropriate sections. Fix fc-cache to unlink
stale cache
files and save directory caches that lack relevant sections.
ChangeLog | 11 +++++++++++
fc-cache/fc-cache.c | 6 +++++-
fontconfig/fontconfig.h | 6 ++++++
src/fccache.c | 44 ++++++++++++++++++++++++++++++++++----------
4 files changed, 56 insertions(+), 11 deletions(-)
Ensure that a directory cache has the appropriate section before
reporting
that it is valid (reported by Matthias Clasen).
ChangeLog | 6 ++++++
src/fccache.c | 15 +++++++++++++++
2 files changed, 21 insertions(+)
Bump version number to 2.3.91.
README | 15 ++++++++++++++-
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 16 insertions(+), 3 deletions(-)
Use libxml2 if requested (with --enable-libxml2) or if expat is not
available.
reviewed by: plam
ChangeLog | 11 ++++
configure.in | 162
+++++++++++++++++++++++++++++++-------------------------
src/Makefile.am | 3 +-
src/fcxml.c | 71 ++++++++++++++++++++++++-
4 files changed, 174 insertions(+), 73 deletions(-)
Fix multi-arch cache files: compute the position for the block to
be added
using info from OrigFile, not NewFile.
ChangeLog | 6 ++++++
src/fccache.c | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
Cast results of sizeof() to unsigned int to get rid of warnings
on x86_64
(thanks Matthias Clasen).
ChangeLog | 8 +++++++-
src/fccache.c | 38 +++++++++++++++++++-------------------
2 files changed, 26 insertions(+), 20 deletions(-)
Update ChangeLog.
ChangeLog | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Use FcAtomic to rewrite cache files.
src/fccache.c | 132
+++++++++++++++++++++++++++++++++++++++++++---------------
1 file changed, 98 insertions(+), 34 deletions(-)
Don't unlink the fonts.cache-2 file even if there's no data to
write; just
write an empty cache file. (thanks Lubos Lunak)
src/fccache.c | 7 -------
1 file changed, 7 deletions(-)
Allocate room for the subdirectory names in each directory
cache. Thanks to
James Cloos for finding and diagnosing this bug!
src/fccache.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Fix .cvsignore file after copying across directories.
fc-cat/.cvsignore | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Add comment about needing docbook-utils to run make distcheck;
hope it'll
save pain to others later.
INSTALL | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Update ChangeLog for 2.3.90.
ChangeLog | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
file Makefile.am was initially added on branch fc-2_4_branch.
Add new command-line utility, fc-cat, to convert fonts.cache-2
files into
fonts.cache-1 files (e.g. for grepping and validation of the mmap
codepath), as per James Cloos' request.
Remove done 'TODO' comment.
Updates for development release 2.3.90.
Makefile.am | 2 +-
README | 7 +-
configure.in | 3 +-
fc-cache/fc-cache.c | 1 -
fc-cache/fc-cache.sgml | 4 +-
fc-cat/.cvsignore | 6 +
fc-cat/Makefile.am | 55 ++++++++
fc-cat/fc-cat.c | 336
++++++++++++++++++++++++++++++++++++++++++++++++
fc-cat/fc-cat.sgml | 139 ++++++++++++++++++++
fontconfig/fontconfig.h | 2 +-
10 files changed, 548 insertions(+), 7 deletions(-)
Update documentation -- fc-cache's man page now says that you need
to run
fc-cache once per cached architecture; add some documentation
to the
FcCache structure.
Make fc-cache write out fonts.cache-2 files for directories with
no fonts
(i.e. only subdirectories).
fc-cache/fc-cache.sgml | 7 +++++++
src/fccache.c | 13 ++++++++-----
src/fcint.h | 8 ++++----
3 files changed, 19 insertions(+), 9 deletions(-)
Remove debugging printf (oops).
src/fcpat.c | 1 -
1 file changed, 1 deletion(-)
Convert fromcode to char[12] from char *.
src/fcfreetype.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Small patch for output in case where lineno not defined.
fc-lang/fc-lang.c | 2 +-
src/fcint.h | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
Fix more gcc4 warnings:
- Cast sizeof to int, to shut up signedness warnings in comparison.
- Add consts where appropriate.
reviewed by: Patrick Lam <plam@mit.edu>
doc/edit-sgml.c | 4 +-
fc-case/fc-case.c | 8 +--
fc-glyphname/fc-glyphname.c | 21 ++++---
fc-lang/fc-lang.c | 20 ++++---
src/fccharset.c | 3 +-
src/fcdefault.c | 6 +-
src/fcfreetype.c | 43 ++++++++------
src/fcinit.c | 2 +-
src/fcmatch.c | 18 +++---
src/fcpat.c | 3 +-
src/fcxml.c | 138
++++++++++++++++++++++----------------------
11 files changed, 142 insertions(+), 124 deletions(-)
Fix bug when clients use FcNameRegisterObjectTypes; fontconfig was
returning bogus (i.e. duplicate) FcObjectPtr values. Now use
negative
values for dynamic object strings and positive values for
built-in and
FcNameRegisterObjectType strings. Thanks to Matthias Clasen for
pinpointing this bus!
src/fcname.c | 37 ++++++++++++++++++++++++++++---------
1 file changed, 28 insertions(+), 9 deletions(-)
Add missing FcValueCanonicalize on call to FcPatternAdd.
src/fcpat.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Revert ill-advised addition of FC_RENDER. Add strategy for handling
objects
that aren't hardcoded into fontconfig, but generated by fontconfig
clients: keep another array of user-defined objects (indexed
after the
built-in objects).
Fix compilation warning (uninitialized variable).
Add comment.
fontconfig/fontconfig.h | 1 -
src/fccache.c | 1 +
src/fccfg.c | 2 +-
src/fcname.c | 98
+++++++++++++++++++++++++++++++++++++++----------
4 files changed, 80 insertions(+), 22 deletions(-)
Add a global binding for the 'render' pattern element used by Xft;
the lack
of said binding prevented programs from using FcPatterns
through Xft.
fontconfig/fontconfig.h | 1 +
src/fcname.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
Merge with HEAD and finish the GCC 4 cleanups (no more warnings!)
ChangeLog | 19 +++++
doc/fontconfig-user.sgml | 4 +-
fc-glyphname/fc-glyphname.c | 4 +-
fc-lang/fc-lang.c | 2 +-
fc-match/fc-match.c | 8 +-
fontconfig/fcprivate.h | 2 +-
src/fccache.c | 35 ++++----
src/fccfg.c | 2 +-
src/fcdir.c | 4 +-
src/fcfreetype.c | 191
++++++++++++++++++++++++--------------------
src/fcint.h | 10 +--
src/fclist.c | 2 +-
src/fcpat.c | 80 +++++++++----------
src/fcstr.c | 2 +-
src/fcxml.c | 11 ++-
15 files changed, 209 insertions(+), 167 deletions(-)
Robustness fixes: check return values from read and lseek; fix
uninitialized variables; ensure progress on FcCacheSkipToArch.
src/fccache.c | 34 +++++++++++++++++++++++-----------
1 file changed, 23 insertions(+), 11 deletions(-)
Really fix the global cache: make sure we're reading and writing
the same
data format. Also match subdirectories when consuming cache
information. Also check dates for global cache: a dir is out of
date if
it is newer than the global cache; scan it manually if that's
the case.
src/fccache.c | 55
++++++++++++++++++++++++++++++++++++++-----------------
src/fccfg.c | 23 ++++++++++++++++++++---
src/fcint.h | 1 +
3 files changed, 59 insertions(+), 20 deletions(-)
Fix addressing in the global cache file, preventing infinite
loops. Get rid
of unused variables.
src/fccache.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
Apply Matthias Clasen's patch to fix obvious bogosity (i.e. missing
FcObjectPtrU).
src/fcpat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix embarassing attempt to free a static buffer.
src/fccache.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
:
Save subdirectory names in cache files to save time. This completely
restores the original fontconfig API, BTW. Note that directories
without fonts don't get a cache file; but then how many files
would it
have in that directory...
fc-cache/fc-cache.c | 2 +-
fontconfig/fontconfig.h | 2 +-
src/fccache.c | 40 ++++++++++++++++------------------------
src/fcdir.c | 4 ++--
src/fcint.h | 2 +-
5 files changed, 21 insertions(+), 29 deletions(-)
Only load requested fonts for fc-cache, and cleanup memory handling:
*Serialize no longer mutates original FcPatterns, it creates a
new copy
in the supplied buffer. Fix thinkos in global cache freeing and in
FcCacheSkipToArch.
fc-cache/fc-cache.c | 3 +--
src/fccache.c | 36 ++++++++++++++++--------------------
src/fcfs.c | 3 ---
3 files changed, 17 insertions(+), 25 deletions(-)
Fix compilation error exposed with gcc 2.95.
src/fccache.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
src/fcint.c
The global cache now uses the same mmap-based cache infrastructure
as the
per-directory caches. Furthermore, the global cache is
automatically
updated (if possible) whenever fontconfig is used. Rip out
remnants of
the old cache infrastructure.
fc-cache/fc-cache.c | 3 -
src/fccache.c | 1156
++++++++++++---------------------------------------
src/fcdir.c | 144 ++-----
src/fcint.h | 97 +----
4 files changed, 307 insertions(+), 1093 deletions(-)
Emit and verify machine signature (sizeof (stuff) + endianness)
in cache
files. Fix bugs in FcCacheBankToIndex.
src/fccache.c | 152
++++++++++++++++++++++++++++++++--------------------------
src/fcint.h | 2 +-
2 files changed, 85 insertions(+), 69 deletions(-)
Replace FcObjectStaticName by FcStrStaticName. Implement serialization
of
'object' table (strings pointed to by FcPatternElt->object and
used as
keys) and loading of object table from cache file if more
strings are
present in cache file than in current version of fontconfig. Hash
the
object table in memory.
src/fccfg.c | 4 +-
src/fcfs.c | 11 ++--
src/fcint.h | 31 +++++-----
src/fclist.c | 2 +-
src/fcname.c | 181
+++++++++++++++++++++++++++++++++++++++++++++++++----------
src/fcpat.c | 19 +++----
6 files changed, 186 insertions(+), 62 deletions(-)
Reinstate the old global cache code. For the forseeable future, it's
probably all right to use the global cache as it was previously
and
just store filenames and font info, as long as no mmap cache
exists in
the directory. Of course, if an mmap cache exists, use that
instead.
If a directory cache does not exist or is invalid, load the fonts
for just
that directory using the old codepath.
Fix premature free of the FcPatterns belonging to the FcFontSet
which we
create from the mmapped files.
src/fccache.c | 710
+++++++++++++++++++++++++++++++++++++++++++++++++++++++---
src/fccfg.c | 21 +-
src/fcint.h | 53 ++++-
3 files changed, 741 insertions(+), 43 deletions(-)
Overhaul the serialization system to create one mmapable file per
directory
and distribute bytes for each directory from a single malloc
for that
directory. Store pointers as differences between the data
pointed to
and the pointer's address (s_off = s - v). Don't serialize data
structures that never actually get serialized. Separate strings
used
for keys from strings used for values (in FcPatternElt and
FcValue,
respectively). Bump FC_CACHE_VERSION to 2.
fc-cache/fc-cache.c | 12 +-
fc-lang/fc-lang.c | 4 +-
fontconfig/fcprivate.h | 8 +-
fontconfig/fontconfig.h | 51 +-
src/fccache.c | 415 ++++++++++------
src/fccfg.c | 109 +++--
src/fccharset.c | 333 +++++--------
src/fcdbg.c | 12 +-
src/fcdir.c | 17 +-
src/fcfs.c | 154 +++---
src/fcinit.c | 3 -
src/fcint.h | 276 ++++-------
src/fclang.c | 213 ++++-----
src/fclist.c | 57 ++-
src/fcmatch.c | 88 ++--
src/fcmatrix.c | 100 +---
src/fcname.c | 101 +++-
src/fcpat.c | 1218
++++++++++++++++++-----------------------------
src/fcstr.c | 291 +----------
src/fcxml.c | 13 +-
20 files changed, 1402 insertions(+), 2073 deletions(-)
Various GCC 4 cleanups for signed vs unsigned char
Match only [0-9]*.conf files in <include>{directory}</include>
elements to
avoid loading *.rpmsave or .dpkg-old files. (otaylor)
ChangeLog | 19 +++++
doc/fontconfig-user.sgml | 4 +-
fc-glyphname/fc-glyphname.c | 4 +-
fc-lang/fc-lang.c | 2 +-
fc-match/fc-match.c | 8 +-
src/fccfg.c | 2 +-
src/fcfreetype.c | 191
++++++++++++++++++++++++--------------------
src/fcpat.c | 2 +-
src/fcstr.c | 2 +-
src/fcxml.c | 11 ++-
10 files changed, 144 insertions(+), 101 deletions(-)
#ifdef out old cache stuff, replace with first version of new mmapping
cache. Add *Read and *Write procedures which mmap in and write
out the
fontconfig data structures to disk. Currently, create cache
in /tmp,
with different sections for each architecture (as returned
by uname's
.machine field. Run the fc-cache binary to create a new cache
file;
fontconfig then uses this cache file on subsequent runs, saving
lots of
memory. Also fixes a few bugs and leaks.
fc-cache/fc-cache.c | 13 +-
fc-lang/fc-lang.c | 6 +
src/fccache.c | 1081
++++++++++++++-------------------------------------
src/fccfg.c | 16 +-
src/fccharset.c | 103 ++++-
src/fcdir.c | 17 +-
src/fcfs.c | 95 +++++
src/fcinit.c | 3 +
src/fcint.h | 148 ++++---
src/fclang.c | 28 ++
src/fcmatrix.c | 29 ++
src/fcpat.c | 241 ++++++++++--
src/fcstr.c | 76 +++-
13 files changed, 963 insertions(+), 893 deletions(-)
Forward port cworth's patch to branch.
ChangeLog | 15 +++++++++++++++
src/fcinit.c | 2 +-
src/fcint.h | 2 +-
src/fcpat.c | 60
+++++++++++++++++++++++++++++++++++++++++-------------------
src/fcxml.c | 1 +
5 files changed, 59 insertions(+), 21 deletions(-)
Rename FcPatternThawAll to FcPatternFini.
Pull the FcObjectStateName hash table out to file scope, and add
FcObjectStaticNameFini so that FcFini will cleanup this hash
table as
well.
Clear FILE* to NULL after fclose.
ChangeLog | 15 +++++++++++++++
src/fcinit.c | 2 +-
src/fcint.h | 2 +-
src/fcpat.c | 49 ++++++++++++++++++++++++++++++++++++-------------
src/fcxml.c | 1 +
5 files changed, 54 insertions(+), 15 deletions(-)
Convert ObjectPtr from a fat structure to a simple index into an
id table;
ids can be positive (for static strings) or negative (for dynamic
strings). Static strings belong to a single buffer, while dynamic
strings are independently allocated.
fontconfig/fontconfig.h | 9 +-
src/fccfg.c | 7 +-
src/fcname.c | 2 +-
src/fcpat.c | 560
++++++++++++++++++++++++++++++++++--------------
src/fcxml.c | 2 +-
5 files changed, 408 insertions(+), 172 deletions(-)
Add functionality to allow fontconfig data structure serialization.
This patch allows the fundamental fontconfig data structures to be
serialized. I've converted everything from FcPattern down to be
able to
use *Ptr objects, which can be either static or dynamic (using
a union
which either contains a pointer or an index) and replaced
storage of
pointers in the heap with the appropriate *Ptr object. I then
changed
all writes of pointers to the heap with a *CreateDynamic call,
which
creates a dynamic Ptr object pointing to the same object as
before.
This way, the fundamental fontconfig semantics should be
unchanged; I
did not have to change external signatures this way, although
I did
change some internal signatures. When given a *Ptr object,
just run *U
to get back to a normal pointer; it gives the right answer
regardless
of whether we're using static or dynamic storage.
I've also implemented a Fc*Serialize call. Calling FcFontSetSerialize
converts the dynamic FcFontSets contained in the config object to
static FcFontSets and also converts its dependencies
(e.g. everything
you'd need to write to disk) to static objects. Note that you
have to
call Fc*PrepareSerialize first; this call will count the number of
objects that actually needs to be allocated, so that we can avoid
realloc. The Fc*Serialize calls then check the static pointers for
nullness, and allocate the buffers if necessary. I've tested the
execution of fc-list and fc-match after Fc*Serialize and they
appear to
work the same way.
fc-lang/fc-lang.c | 17 +-
fontconfig/fcprivate.h | 8 +-
fontconfig/fontconfig.h | 50 ++-
src/fccache.c | 32 ++
src/fccfg.c | 135 ++++----
src/fccharset.c | 371 ++++++++++++++++-----
src/fcdbg.c | 26 +-
src/fcfs.c | 36 ++
src/fcint.h | 212 +++++++++++-
src/fclang.c | 164 ++++++---
src/fclist.c | 104 +++---
src/fcmatch.c | 69 ++--
src/fcmatrix.c | 71 +++-
src/fcname.c | 35 +-
src/fcpat.c | 866
++++++++++++++++++++++++++++++++++++++----------
src/fcstr.c | 219 ++++++++++--
src/fcxml.c | 13 +-
17 files changed, 1902 insertions(+), 526 deletions(-)
Make FcOpNotContains use FcStrStr for strings so that it matches
semantics
for !FcOpContains.
reviewed by: keithp
ChangeLog | 8 ++++++++
src/fccfg.c | 4 +++-
2 files changed, 11 insertions(+), 1 deletion(-)
Move fontconfig source package to libs as per override
ChangeLog | 6 ++++++
debian/changelog | 2 ++
debian/control | 2 +-
3 files changed, 9 insertions(+), 1 deletion(-)
The ka.orth file requires several characters which are not used
anymore in
modern Georgian and which are missing in the free Georgian
TrueType
fonts downloadable at:
http://aiet.qartuli.net/docs/georgian_on_linux_en.php
reviewed by: Mike Fabian Bug: 3352
ChangeLog | 11 +++++++++++
fc-lang/ka.orth | 5 +++--
2 files changed, 14 insertions(+), 2 deletions(-)
Update date to real 2.3.2 release date. Fix change attributions
ChangeLog | 14 ++++++++++++++
README | 5 +++--
debian/changelog | 2 +-
3 files changed, 18 insertions(+), 3 deletions(-)
Bump so revision for 2.3.2
Fix a few minor leaks in error cases.
fc-cache/fc-cache.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Update for version 2.3.2
ChangeLog | 8 ++++++++
README | 11 +++++++++--
configure.in | 2 +-
debian/changelog | 7 +++++++
fontconfig/fontconfig.h | 2 +-
5 files changed, 26 insertions(+), 4 deletions(-)
Don't force bitmap font enable in default configuration; allows
users to
override this in ~/.fonts.conf
Updated translations
Destroy font configuration on exit to help valgrind
Use own transcoding routines in preference to iconv which appears
to have
leaks in some translators. Call iconv_close after using iconv
(oops).
Prefer unicode encoding of Euro char as some fonts mis-encode Euro
in other
ones.
Must fetch bitmap glyphs to get width values to check for
monospace/dual-width fonts.
ChangeLog | 36 +++++++++++
debian/fontconfig.postinst | 8 ++-
debian/po/cs.po | 154
+++++++++++++++++++--------------------------
debian/po/da.po | 94 ++++++++++-----------------
debian/po/de.po | 71 ++++++---------------
debian/po/es.po | 77 +++++++----------------
debian/po/fr.po | 77 +++++++----------------
debian/po/ja.po | 150
+++++++++----------------------------------
debian/po/nl.po | 71 ++++++---------------
debian/po/pt.po | 71 ++++++---------------
debian/po/pt_BR.po | 77 +++++++----------------
debian/po/templates.pot | 66 +++++--------------
debian/po/tr.po | 71 ++++++---------------
debian/po/zh_CN.po | 71 ++++++---------------
fc-cache/fc-cache.c | 1 +
fonts.conf.in | 37 +++++------
src/fcfreetype.c | 84 ++++++++++++++-----------
17 files changed, 404 insertions(+), 812 deletions(-)
Check that a pattern isn't already frozen in FcPatternFreeze
ChangeLog | 5 +++++
src/fcpat.c | 3 +++
2 files changed, 8 insertions(+)
Put all FcPattern objects though FcObjectStaticName and do pointer
trather
than string compares
ChangeLog | 8 ++++++++
src/fclist.c | 5 +++--
src/fcmatch.c | 2 +-
src/fcpat.c | 3 ++-
4 files changed, 14 insertions(+), 4 deletions(-)
Add the .dll to the dll name.
ChangeLog | 4 ++++
src/fontconfig.def.in | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
Update to reflect configuration changes
Fix Autohint vs Autohinter mistake
Adopt changes from Josselin Mouette for configuration descriptions
Update
debian to version 2.3.1-2
ChangeLog | 11 +++++++++++
debian/README.Debian | 19 ++++++++++---------
debian/changelog | 10 ++++++++++
debian/fontconfig.postinst | 2 +-
debian/fontconfig.templates | 39 ++++++++-------------------------------
5 files changed, 40 insertions(+), 41 deletions(-)
Update debian for 2.3.1
ChangeLog | 6 ++++++
debian/changelog | 11 +++++++++++
debian/rules | 1 +
3 files changed, 18 insertions(+)
Get the DLL from "bin" where modern libtools put it, not "lib".
Check also drive letter prefix on Win32.
ChangeLog | 8 ++++++++
fontconfig-zip.in | 2 +-
src/fccfg.c | 4 +++-
3 files changed, 12 insertions(+), 2 deletions(-)
Update for 2.3.1
ChangeLog | 7 +++++++
README | 12 ++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
4 files changed, 19 insertions(+), 4 deletions(-)
Include space and remove numbers from valid script tags. This
ensures that
tags like 'lao ' work while rejecting those which have any digits.
Eliminate a spurious debugging variable (len)
ChangeLog | 8 ++++++++
src/fcfreetype.c | 20 ++++++++++++--------
2 files changed, 20 insertions(+), 8 deletions(-)
Rework GSUB/GPOS script parsing to survive broken fonts. Thanks
for the
broken font go to Manish Singh
ChangeLog | 7 +++++++
src/fcfreetype.c | 64
++++++++++++++++++++++++++++++++++++++------------------
2 files changed, 51 insertions(+), 20 deletions(-)
Josselin Mouette:
Include 2.3 release information in changelog Add Josselin Mouette
as an
Uploader Set hinting_type to low priority configuration option
Manish Singh:
yes_bitmaps.conf -> yes-bitmaps.conf
Funda Wang:
Johap -> Johab
ChangeLog | 20 ++++++++++++++++++++
debian/changelog | 13 +++++++++++--
debian/control | 1 +
debian/fontconfig.config | 2 +-
debian/fontconfig.postinst | 2 +-
debian/fontconfig.templates | 4 ++--
debian/rules | 4 ++--
src/fcfreetype.c | 2 +-
8 files changed, 39 insertions(+), 9 deletions(-)
Move debian-specific conf file examples upstream.
Sub-pixel configuration examples must smash subpixel value as
Xft always
sets it from X.
Change sub-pixel rendering debconf descriptions from Enable/Disable to
Always/Never.
ChangeLog | 22 ++++++++++++++++++++++
Makefile.am | 3 ---
conf.d/Makefile.am | 7 +++++--
conf.d/autohint.conf | 9 +++++++++
conf.d/no-sub-pixel.conf | 9 +++++++++
conf.d/sub-pixel.conf | 3 ---
conf.d/unhinted.conf | 9 +++++++++
debian/autohint.conf | 9 ---------
debian/fontconfig.install | 1 +
debian/fontconfig.postinst | 4 ++--
debian/fontconfig.templates | 11 +++++------
debian/no-sub-pixel.conf | 12 ------------
debian/unhinted.conf | 9 ---------
13 files changed, 62 insertions(+), 46 deletions(-)
Ignore more build detritus
Add debian package construction stuff.
Update to newer versions of these tools
Get library manuals to build again (we love automake).
Update debian build system to switch maintainers and deal with 2.3
functionality
.cvsignore | 7 +
ChangeLog | 53 +++
Makefile.am | 50 ++-
conf.d/.cvsignore | 2 +
config/config.guess | 846
++++++++++++++++++++------------------
config/config.sub | 449 ++++++++++++++------
debian/README.Debian | 44 ++
debian/autohint.conf | 9 +
debian/changelog | 661 +++++++++++++++++++++++++++++
debian/compat | 1 +
debian/control | 78 ++++
debian/copyright | 29 ++
debian/fontconfig-udeb.install | 3 +
debian/fontconfig.config | 10 +
debian/fontconfig.defoma | 162 ++++++++
debian/fontconfig.dirs | 1 +
debian/fontconfig.install | 6 +
debian/fontconfig.postinst | 139 +++++++
debian/fontconfig.postrm | 26 ++
debian/fontconfig.templates | 51 +++
debian/libfontconfig1-dev.install | 7 +
debian/libfontconfig1.install | 1 +
debian/local.conf.md5sum | 18 +
debian/no-sub-pixel.conf | 12 +
debian/po/POTFILES.in | 1 +
debian/po/cs.po | 154 +++++++
debian/po/da.po | 174 ++++++++
debian/po/de.po | 157 +++++++
debian/po/es.po | 198 +++++++++
debian/po/fr.po | 194 +++++++++
debian/po/ja.po | 180 ++++++++
debian/po/nl.po | 158 +++++++
debian/po/pt.po | 145 +++++++
debian/po/pt_BR.po | 183 +++++++++
debian/po/templates.pot | 120 ++++++
debian/po/tr.po | 150 +++++++
debian/po/zh_CN.po | 148 +++++++
debian/rules | 39 ++
debian/unhinted.conf | 9 +
doc/.cvsignore | 1 +
doc/Makefile.am | 13 +-
41 files changed, 4171 insertions(+), 518 deletions(-)
Update for 2.3.0
ChangeLog | 7 +++++++
README | 14 ++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 4 ++--
4 files changed, 22 insertions(+), 5 deletions(-)
Generate and install PDF versions of the manuals
Fix formatting
Add missing exported functions, fix data types
Add missing pattern elements.
Add missing pattern elements. Document conf.d usage, clarify available
orthography list. Fix some config file attributes. Complete
list of
constants.
Mark FC_SOURCE deprecated.
Don't set FC_SOURCE any longer.
ChangeLog | 25 ++++++++++++++++
doc/Makefile.am | 18 +++++++++++-
doc/fcpattern.fncs | 3 +-
doc/fcstring.fncs | 40 +++++++++++++++++++++++--
doc/fontconfig-devel.sgml | 10 ++++++-
doc/fontconfig-user.sgml | 74
++++++++++++++++++++++++++++++++++++++++-------
fontconfig/fontconfig.h | 2 +-
src/fcfreetype.c | 3 --
8 files changed, 156 insertions(+), 19 deletions(-)
Create prototype /etc/fonts/conf.d directory with a few sample
configuration files. Deprecate use of local.conf for local
customizations in favor of this directory based scheme which
is more
easily integrated into installation systems.
Tag FC_EMBOLDEN as a boolean variable
ChangeLog | 18 ++++++++++++++++++
Makefile.am | 24 ++----------------------
conf.d/Makefile.am | 34 ++++++++++++++++++++++++++++++++++
conf.d/README | 8 ++++++++
conf.d/no-bitmaps.conf | 13 +++++++++++++
conf.d/sub-pixel.conf | 12 ++++++++++++
conf.d/yes-bitmaps.conf | 13 +++++++++++++
configure.in | 1 +
src/fcname.c | 1 +
9 files changed, 102 insertions(+), 22 deletions(-)
Free patterns from fonts which are rejected by configuration
(bug #2518)
reviewed by: pborelli@katamail.com
ChangeLog | 8 ++++++++
src/fcdir.c | 2 ++
2 files changed, 10 insertions(+)
Update for version 2.2.99
ChangeLog | 11 +++++++++--
README | 16 ++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
4 files changed, 25 insertions(+), 6 deletions(-)
Add a few pointers
ChangeLog | 5 +++++
README | 3 +++
2 files changed, 8 insertions(+)
Polite typechecking for test and edit expressions. Helps catch
errors in
the font configuration.
ChangeLog | 10 +++
src/fcint.h | 12 +--
src/fcname.c | 2 +-
src/fcxml.c | 252
++++++++++++++++++++++++++++++++++++++++++++++-------------
4 files changed, 211 insertions(+), 65 deletions(-)
Have --with-expat set EXPAT_CFLAGS (bug 2278)
reviewed by: Keith Packard <keithp@keithp.com>
ChangeLog | 7 +++++++
configure.in | 11 ++++++++++-
2 files changed, 17 insertions(+), 1 deletion(-)
Add SEE ALSO section (bug 2085)
Cross compiling fixes (bug 280)
reviewed by: Keith Packard <keithp@keithp.com>
ChangeLog | 18 ++++++++++++++++++
Makefile.am | 17 ++++++++++++++++-
configure.in | 44
++++++++++++++++++++++++++++++++++++++++++++
doc/Makefile.am | 8 ++++++--
doc/fontconfig-user.sgml | 5 +++++
fc-case/Makefile.am | 8 ++++++--
fc-glyphname/Makefile.am | 8 ++++++--
fc-lang/Makefile.am | 8 ++++++--
src/fontconfig.def.in | 2 +-
9 files changed, 108 insertions(+), 10 deletions(-)
Update blanks list (Closes bug 86)
ChangeLog | 5 +++++
fonts.conf.in | 52 +++++++++++++++++++++++++++++++---------------------
2 files changed, 36 insertions(+), 21 deletions(-)
Verify that every font pattern loaded from cache has both FC_FILE and
FC_FAMILY entries. Attempt to fix bug #2219.
ChangeLog | 7 +++++++
src/fccache.c | 10 +++++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
Update for version 2.2.98
ChangeLog | 7 +++++++
README | 22 ++++++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
4 files changed, 29 insertions(+), 4 deletions(-)
Document ASCII limitations of Fc character conversion macros
Fix off-by-one error in utf-8 case walking code. Add FcStrDowncase
(useful
for testing case conversion functions)
ChangeLog | 8 ++++++++
fontconfig/fontconfig.h | 10 +++++++---
src/fcstr.c | 21 ++++++++++++++++++++-
3 files changed, 35 insertions(+), 4 deletions(-)
Add territory database
Reviewed by: Keith Packard
Remove Han characters from Korean orthography
.cvsignore | 1 +
ChangeLog | 15 +
fc-case/.cvsignore | 6 +
fc-lang/iso-3166.txt | 242 +
fc-lang/ko.orth | 18729
+++++++------------------------------------------
5 files changed, 2776 insertions(+), 16217 deletions(-)
Reorder utility programs to make sure fc-case is run before fc-lang as
fc-lang uses fcstr.c which uses fccase.h
Fix broken XML
ChangeLog | 8 ++++++++
Makefile.am | 2 +-
fonts.conf.in | 10 +++++++---
3 files changed, 16 insertions(+), 4 deletions(-)
Adopt some RedHat suggestions for standard font configuration.
Add new helper program 'fc-case' to construct case folding tables from
standard Unicode CaseFolding.txt file
Re-implement case insensitive functions with Unicode aware versions
(including full case folding mappings)
ChangeLog | 26 ++
Makefile.am | 2 +-
configure.in | 1 +
fc-case/CaseFolding.txt | 924
++++++++++++++++++++++++++++++++++++++++++++++++
fc-case/Makefile.am | 52 +++
fc-case/fc-case.c | 363 +++++++++++++++++++
fc-case/fccase.tmpl.h | 25 ++
fonts.conf.in | 73 ++--
src/fcint.h | 34 ++
src/fclist.c | 16 +-
src/fcstr.c | 263 +++++++++++---
11 files changed, 1685 insertions(+), 94 deletions(-)
I changed FcFontSetSort to respect the generic aliases better in
the face
of language matching.
What I did was to ammend the strict sort order used by FcFontSort
so that
it 'satisfies' the language specified in the pattern by
locating the
best matching font supporting each pattern language and then
ignores
language in the remaining fonts for purposes of matching.
So, when asking for 'sans:lang=en', you'll get an English font
first, and
then the remaining fonts sorted with respect to the 'sans'
alias alone
-- pushing Kochi fonts ahead of other English-supporting Han
fonts.
reviewed by: Owen Taylor <otaylor@redhat.com>
ChangeLog | 17 +++++++++++++
src/fcmatch.c | 81
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 96 insertions(+), 2 deletions(-)
Configuration changes to request synthetic emboldening of fonts. The
actual
emboldening code will live in Xft.
reviewed by: Keith Packard <keithp@keithp.com>
ChangeLog | 10 ++++++++++
fontconfig/fontconfig.h | 1 +
fonts.conf.in | 20 ++++++++++++++++++++
3 files changed, 31 insertions(+)
Currently Russian (ru) requires 0406 and 0456 (І and і), but
these were
eliminated in Russian in 1918 in favor of 0418 and 0438 (И
and и),
and don't even appear in KOI8-R. (The hypothesis that they
don't appear
in KOI8-R due to their similarity with Latin I and i is
eliminated by
their presence in KOI8-U.) I have a couple of fonts with Russian
support that don't have the letter.
Therefore, 0406 and 0456 should be removed from or commented out
of ru.orth
reviewed by: Keith Packard <keithp@keithp.com>
ChangeLog | 16 ++++++++++++++++
fc-lang/ru.orth | 4 ++--
2 files changed, 18 insertions(+), 2 deletions(-)
Reviewed by: Keith Packard <keithp@keithp.com>
memoize strings and share a single copy for all uses. Note that
this could
be improved further by using statically allocated blocks and
gluing
multiple strings together, but I'm basically lazy. In my
environment
with 800 font files, I get a savings of about 90KB.
ChangeLog | 15 +++++++++++++++
src/fcinit.c | 5 +++--
src/fcint.h | 3 ++-
src/fclist.c | 2 +-
src/fcpat.c | 42 +++++++++++++-----------------------------
src/fcxml.c | 6 ------
6 files changed, 34 insertions(+), 39 deletions(-)
Change files from ISO-Latin-1 to UTF-8
COPYING | 2 +-
ChangeLog | 249
++++++++++++++++++++++++++++++++++++++++
Makefile.am | 2 +-
config/Makedefs.in | 2 +-
configure.in | 2 +-
doc/edit-sgml.c | 2 +-
doc/fcatomic.fncs | 2 +-
doc/fcblanks.fncs | 2 +-
doc/fccharset.fncs | 2 +-
doc/fcconfig.fncs | 2 +-
doc/fcconstant.fncs | 2 +-
doc/fcfile.fncs | 2 +-
doc/fcfontset.fncs | 2 +-
doc/fcfreetype.fncs | 2 +-
doc/fcinit.fncs | 2 +-
doc/fcmatrix.fncs | 2 +-
doc/fcobjectset.fncs | 2 +-
doc/fcobjecttype.fncs | 2 +-
doc/fcpattern.fncs | 2 +-
doc/fcstring.fncs | 2 +-
doc/fcstrset.fncs | 2 +-
doc/fcvalue.fncs | 2 +-
doc/fontconfig-devel.sgml | 4 +-
doc/fontconfig-user.sgml | 2 +-
doc/func.sgml | 2 +-
doc/version.sgml.in | 2 +-
fc-cache/Makefile.am | 2 +-
fc-cache/fc-cache.c | 2 +-
fc-glyphname/Makefile.am | 2 +-
fc-glyphname/fc-glyphname.c | 2 +-
fc-glyphname/fcglyphname.tmpl.h | 2 +-
fc-lang/Makefile.am | 2 +-
fc-lang/aa.orth | 2 +-
fc-lang/ab.orth | 2 +-
fc-lang/af.orth | 2 +-
fc-lang/am.orth | 2 +-
fc-lang/ar.orth | 2 +-
fc-lang/ast.orth | 2 +-
fc-lang/ava.orth | 2 +-
fc-lang/ay.orth | 2 +-
fc-lang/az.orth | 2 +-
fc-lang/az_ir.orth | 2 +-
fc-lang/ba.orth | 2 +-
fc-lang/bam.orth | 2 +-
fc-lang/be.orth | 2 +-
fc-lang/bg.orth | 2 +-
fc-lang/bh.orth | 2 +-
fc-lang/bho.orth | 2 +-
fc-lang/bi.orth | 2 +-
fc-lang/bin.orth | 2 +-
fc-lang/bn.orth | 2 +-
fc-lang/bo.orth | 2 +-
fc-lang/br.orth | 2 +-
fc-lang/bs.orth | 2 +-
fc-lang/bua.orth | 2 +-
fc-lang/ca.orth | 2 +-
fc-lang/ce.orth | 2 +-
fc-lang/ch.orth | 2 +-
fc-lang/chm.orth | 2 +-
fc-lang/chr.orth | 2 +-
fc-lang/co.orth | 2 +-
fc-lang/cs.orth | 2 +-
fc-lang/cu.orth | 2 +-
fc-lang/cv.orth | 2 +-
fc-lang/cy.orth | 2 +-
fc-lang/da.orth | 2 +-
fc-lang/de.orth | 2 +-
fc-lang/dz.orth | 2 +-
fc-lang/el.orth | 2 +-
fc-lang/en.orth | 2 +-
fc-lang/eo.orth | 2 +-
fc-lang/es.orth | 2 +-
fc-lang/et.orth | 2 +-
fc-lang/eu.orth | 4 +-
fc-lang/fa.orth | 2 +-
fc-lang/fc-lang.c | 2 +-
fc-lang/fc-lang.man | 2 +-
fc-lang/fclang.tmpl.h | 2 +-
fc-lang/fi.orth | 2 +-
fc-lang/fj.orth | 2 +-
fc-lang/fo.orth | 2 +-
fc-lang/fr.orth | 2 +-
fc-lang/ful.orth | 2 +-
fc-lang/fur.orth | 2 +-
fc-lang/fy.orth | 4 +-
fc-lang/ga.orth | 2 +-
fc-lang/gd.orth | 2 +-
fc-lang/gez.orth | 2 +-
fc-lang/gl.orth | 2 +-
fc-lang/gn.orth | 4 +-
fc-lang/gu.orth | 2 +-
fc-lang/gv.orth | 2 +-
fc-lang/ha.orth | 2 +-
fc-lang/haw.orth | 2 +-
fc-lang/he.orth | 2 +-
fc-lang/hi.orth | 2 +-
fc-lang/ho.orth | 2 +-
fc-lang/hr.orth | 2 +-
fc-lang/hu.orth | 2 +-
fc-lang/hy.orth | 2 +-
fc-lang/ia.orth | 2 +-
fc-lang/ibo.orth | 2 +-
fc-lang/id.orth | 2 +-
fc-lang/ie.orth | 2 +-
fc-lang/ik.orth | 2 +-
fc-lang/io.orth | 2 +-
fc-lang/is.orth | 2 +-
fc-lang/iso639-2 | 194 +++++++++++++++----------------
fc-lang/it.orth | 2 +-
fc-lang/iu.orth | 2 +-
fc-lang/ja.orth | 2 +-
fc-lang/ka.orth | 2 +-
fc-lang/kaa.orth | 2 +-
fc-lang/ki.orth | 2 +-
fc-lang/kk.orth | 2 +-
fc-lang/kl.orth | 2 +-
fc-lang/km.orth | 2 +-
fc-lang/kn.orth | 2 +-
fc-lang/ko.orth | 2 +-
fc-lang/kok.orth | 2 +-
fc-lang/ks.orth | 2 +-
fc-lang/ku.orth | 2 +-
fc-lang/ku_ir.orth | 2 +-
fc-lang/kum.orth | 2 +-
fc-lang/kv.orth | 2 +-
fc-lang/kw.orth | 2 +-
fc-lang/ky.orth | 2 +-
fc-lang/la.orth | 2 +-
fc-lang/lb.orth | 2 +-
fc-lang/lez.orth | 2 +-
fc-lang/lo.orth | 2 +-
fc-lang/lt.orth | 2 +-
fc-lang/lv.orth | 2 +-
fc-lang/mg.orth | 2 +-
fc-lang/mh.orth | 2 +-
fc-lang/mi.orth | 2 +-
fc-lang/mk.orth | 2 +-
fc-lang/ml.orth | 2 +-
fc-lang/mn.orth | 2 +-
fc-lang/mo.orth | 2 +-
fc-lang/mr.orth | 2 +-
fc-lang/mt.orth | 2 +-
fc-lang/my.orth | 2 +-
fc-lang/nb.orth | 4 +-
fc-lang/nds.orth | 2 +-
fc-lang/ne.orth | 2 +-
fc-lang/nl.orth | 2 +-
fc-lang/nn.orth | 2 +-
fc-lang/no.orth | 4 +-
fc-lang/ny.orth | 2 +-
fc-lang/oc.orth | 2 +-
fc-lang/om.orth | 2 +-
fc-lang/or.orth | 2 +-
fc-lang/os.orth | 2 +-
fc-lang/pl.orth | 2 +-
fc-lang/ps_af.orth | 2 +-
fc-lang/ps_pk.orth | 2 +-
fc-lang/pt.orth | 2 +-
fc-lang/rm.orth | 2 +-
fc-lang/ro.orth | 2 +-
fc-lang/ru.orth | 2 +-
fc-lang/sa.orth | 2 +-
fc-lang/sah.orth | 2 +-
fc-lang/sco.orth | 2 +-
fc-lang/se.orth | 4 +-
fc-lang/sel.orth | 2 +-
fc-lang/sh.orth | 2 +-
fc-lang/si.orth | 2 +-
fc-lang/sk.orth | 2 +-
fc-lang/sl.orth | 2 +-
fc-lang/sm.orth | 2 +-
fc-lang/sma.orth | 4 +-
fc-lang/smj.orth | 4 +-
fc-lang/smn.orth | 4 +-
fc-lang/sms.orth | 4 +-
fc-lang/so.orth | 2 +-
fc-lang/sq.orth | 2 +-
fc-lang/sr.orth | 2 +-
fc-lang/sv.orth | 2 +-
fc-lang/sw.orth | 2 +-
fc-lang/syr.orth | 2 +-
fc-lang/ta.orth | 2 +-
fc-lang/te.orth | 2 +-
fc-lang/tg.orth | 2 +-
fc-lang/th.orth | 2 +-
fc-lang/ti_er.orth | 2 +-
fc-lang/ti_et.orth | 2 +-
fc-lang/tig.orth | 2 +-
fc-lang/tk.orth | 2 +-
fc-lang/tl.orth | 2 +-
fc-lang/tn.orth | 2 +-
fc-lang/to.orth | 2 +-
fc-lang/tr.orth | 2 +-
fc-lang/ts.orth | 2 +-
fc-lang/tt.orth | 2 +-
fc-lang/tw.orth | 2 +-
fc-lang/tyv.orth | 2 +-
fc-lang/ug.orth | 2 +-
fc-lang/uk.orth | 2 +-
fc-lang/ur.orth | 2 +-
fc-lang/uz.orth | 2 +-
fc-lang/ven.orth | 2 +-
fc-lang/vi.orth | 2 +-
fc-lang/vo.orth | 4 +-
fc-lang/vot.orth | 2 +-
fc-lang/wa.orth | 2 +-
fc-lang/wen.orth | 2 +-
fc-lang/wo.orth | 2 +-
fc-lang/xh.orth | 2 +-
fc-lang/yap.orth | 2 +-
fc-lang/yi.orth | 2 +-
fc-lang/yo.orth | 2 +-
fc-lang/zh_cn.orth | 2 +-
fc-lang/zh_hk.orth | 2 +-
fc-lang/zh_mo.orth | 2 +-
fc-lang/zh_sg.orth | 2 +-
fc-lang/zh_tw.orth | 2 +-
fc-lang/zu.orth | 2 +-
fc-list/Makefile.am | 2 +-
fc-list/fc-list.c | 2 +-
fc-match/Makefile.am | 2 +-
fc-match/fc-match.1 | 2 +-
fc-match/fc-match.c | 2 +-
fontconfig/fcfreetype.h | 2 +-
fontconfig/fcprivate.h | 2 +-
fontconfig/fontconfig.h | 2 +-
src/fcatomic.c | 2 +-
src/fcblanks.c | 2 +-
src/fccache.c | 2 +-
src/fccfg.c | 2 +-
src/fccharset.c | 2 +-
src/fcdbg.c | 2 +-
src/fcdefault.c | 2 +-
src/fcdir.c | 2 +-
src/fcfreetype.c | 4 +-
src/fcfs.c | 2 +-
src/fcinit.c | 2 +-
src/fcint.h | 2 +-
src/fclang.c | 2 +-
src/fclist.c | 2 +-
src/fcmatch.c | 2 +-
src/fcmatrix.c | 2 +-
src/fcname.c | 2 +-
src/fcpat.c | 2 +-
src/fcstr.c | 2 +-
src/fcxml.c | 2 +-
246 files changed, 603 insertions(+), 354 deletions(-)
Update links to new freedesktop.org locations
Add uninstall-local to get rid of fonts.conf and local.conf if
they match
the distributed versions. Fixes 'make distcheck'
ChangeLog | 8 ++++++++
INSTALL | 4 ++--
Makefile.am | 24 ++++++++++++++++++++++++
3 files changed, 34 insertions(+), 2 deletions(-)
Updates for version 2.2.97
ChangeLog | 7 +++++++
README | 30 ++++++++++++++++++++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
4 files changed, 37 insertions(+), 4 deletions(-)
Sleep for two seconds before exiting to make sure timestamps for
future
changes have distinct mod times in the file system. Bug #1982.
Add Punjabi orthography. Bug #1671.
reviewed by: Keith Packard <keithp@keithp.com>
ChangeLog | 13 ++++++++++++-
fc-cache/fc-cache.c | 8 ++++++++
fc-lang/pa.orth | 46 ++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 66 insertions(+), 1 deletion(-)
Just remove the FC_FONTDATE -- it has locale issues and annoys redhat
multi-arch installs. Now that all X fonts are included without
prejudice, the chances of the date being at all interesting
are rather
limited. Bug #415.
Add copyright and license
ChangeLog | 10 ++++++++++
fonts.conf.in | 2 +-
src/Makefile.am | 23 +++++++++++++++++++++++
3 files changed, 34 insertions(+), 1 deletion(-)
Change default set of fonts to include all of /usr/X11R6/lib/X11/fonts
(or
wherever the X fonts are located).
Document new <include>directory-name</include> semantics
add <include ignore_missing="yes">conf.d</include>
Add selectfont to ignore bitmap fonts, add comment for selectfont
which
accepts bitmap fonts.
Allow <include> configuration elements to reference directories. Parse
and
load all files of the form [0-9]* in sorted order.
ChangeLog | 18 ++++++++++
configure.in | 23 ++++++-------
doc/fontconfig-user.sgml | 17 +++++----
fonts.conf.in | 1 +
local.conf | 23 +++++++++++++
src/fcdir.c | 4 +--
src/fcint.h | 6 ++++
src/fcxml.c | 89
++++++++++++++++++++++++++++++++++++++++++++++++
8 files changed, 158 insertions(+), 23 deletions(-)
Report command line for $srcdir/configure accurately. Bug #212.
ChangeLog | 8 +++++++-
autogen.sh | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
Check for non-empty face->family_name and face->style_name before
using
those for the font. Empty names match everything. Bug #171.
ChangeLog | 7 +++++++
src/fcfreetype.c | 12 +++++++-----
2 files changed, 14 insertions(+), 5 deletions(-)
Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
available.
This provides font file format information (BDF, Type 1, PCF,
TrueType)
for each font. Closes #109.
ChangeLog | 10 ++++++++++
configure.in | 2 +-
fontconfig/fontconfig.h | 1 +
src/fcfreetype.c | 14 ++++++++++++++
src/fcname.c | 1 +
5 files changed, 27 insertions(+), 1 deletion(-)
Fix typo.
Add detection for font capabilities (bug #105)
reviewed by: Keith Packard <keithp@keithp.com>
ChangeLog | 13 ++++
doc/fontconfig-user.sgml | 1 +
fontconfig/fontconfig.h | 1 +
src/fcfreetype.c | 188
+++++++++++++++++++++++++++++++++++++++++++++++
src/fcname.c | 1 +
5 files changed, 204 insertions(+)
Move existing fonts.conf to fonts.conf.bak
Add detection of iconv
Document new selectfont elements
Switch to UTF-8 in comment
Add fullname, and family/style/fullname language entries
Respect selectfont/*/glob
Add support for selectfont
Add multi-lingual family/style/fullname support
Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
Add new FcPatternRemove/FcPatternAppend. FcObjectStaticName stores
computed
pattern element names which are required to be static.
ChangeLog | 47 ++
Makefile.am | 13 +-
configure.in | 6 +-
doc/fcpattern.fncs | 11 +
doc/fontconfig-devel.sgml | 13 +-
doc/fontconfig-user.sgml | 43 +-
fc-lang/nb.orth | 2 +-
fontconfig/fontconfig.h | 7 +
fonts.dtd | 19 +
src/fccache.c | 2 +-
src/fccfg.c | 55 ++-
src/fcdir.c | 2 +-
src/fcfreetype.c | 1085
+++++++++++++++++++++++++++++++++------------
src/fcint.h | 21 +
src/fclist.c | 6 +-
src/fcname.c | 4 +
src/fcpat.c | 73 +++
src/fcxml.c | 162 +++++++
18 files changed, 1282 insertions(+), 289 deletions(-)
Remove spurious / after $(DESTDIR)
reviewed by: keithp
ChangeLog | 7 +++++++
Makefile.am | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
Update for 2.2.96
ChangeLog | 7 +++++++
README | 12 ++++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
4 files changed, 19 insertions(+), 4 deletions(-)
Provided by: Lubos Lunak <l.lunak@suse.cz>
However FcConfigUptoDate() doesn't seem to work. See the attached
patch.
First there's an obvious misplaced parenthesis making it return
always
false, and second, even this call fails to detect font changes
(e.g.
adding a new font to /usr/X11R6/lib/X11/fonts/truetype). The patch
should fix that as well. The problem seems to be triggered by my
fonts.conf specifying only /usr/X11R6/lib/X11/fonts , and
therefore
config->configDirs doesn't include subdirs, unlike
config->fontDirs.
ChangeLog | 14 ++++++++++++++
src/fccfg.c | 4 ++--
2 files changed, 16 insertions(+), 2 deletions(-)
Remove comma at end of FcResult enum definition.
ChangeLog | 5 +++++
fontconfig/fontconfig.h | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
Add steps to md5sum release
ChangeLog | 5 +++++
INSTALL | 5 ++++-
2 files changed, 9 insertions(+), 1 deletion(-)
Add sh autogen.sh to INSTALL
INSTALL | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Update for 2.2.95
ChangeLog | 7 +++++++
README | 11 +++++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
4 files changed, 18 insertions(+), 4 deletions(-)
Add FcResultOutOfMemory to provide an accurate error when
FcFontSetMatch
fails in this way
Make #warning about lacking various FreeType features indicate which
version those features appeared so users know how to fix the
problem
(Thanks to Anton Tropashko)
ChangeLog | 12 ++++++++++++
fontconfig/fontconfig.h | 3 ++-
src/fcfreetype.c | 6 +++---
src/fcmatch.c | 3 +++
4 files changed, 20 insertions(+), 4 deletions(-)
Replace MIN/MAX/ABS macros which happen to have come from FreeType
with
fontconfig-specific ones (FC_*)
ChangeLog | 6 ++++++
src/fcfreetype.c | 7 +++++--
2 files changed, 11 insertions(+), 2 deletions(-)
Extend release preparation instructions to include notification and
distribution steps
ChangeLog | 6 ++++++
INSTALL | 11 +++++++++--
2 files changed, 15 insertions(+), 2 deletions(-)
Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
ChangeLog | 7 +++++++
README | 9 +++++++--
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
4 files changed, 16 insertions(+), 4 deletions(-)
Ignore a few more autotool files
.cvsignore | 4 ++++
ChangeLog | 5 +++++
2 files changed, 9 insertions(+)
Add instructions for doing a release
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.
ChangeLog | 30 +++++++++++++
INSTALL | 13 ++++++
README | 27 +++++++++++-
configure.in | 14 +++++-
fc-glyphname/Makefile.am | 2 +-
fc-lang/Makefile.am | 2 +-
fc-lang/fc-lang.c | 2 +-
fc-list/Makefile.am | 2 +-
fc-match/Makefile.am | 2 +-
fontconfig.spec.in | 42 +++++++++++++-----
fontconfig/fontconfig.h | 2 +-
src/Makefile.am | 1 +
src/fcfreetype.c | 109
++++++++++++++++++++++++-----------------------
13 files changed, 176 insertions(+), 72 deletions(-)
Force FC_FOUNDRY and FC_WIDTH to always be set so that matches
looking for
explicit values prefer exact matches
ChangeLog | 6 ++++++
src/fcfreetype.c | 18 ++++++++++--------
2 files changed, 16 insertions(+), 8 deletions(-)
Supplied by: mfabian@suse.de (Mike FABIAN)
Bug #260 fc-cache generates wrong spacing values for bitmap fonts
Was using
(strcmp (a,b)) instead of (!strcmp(a,b)).
ChangeLog | 8 ++++++++
src/fcfreetype.c | 6 +++---
2 files changed, 11 insertions(+), 3 deletions(-)
Cast strlen to int for printf, so we're 64-bit clean.
ChangeLog | 5 +++++
fc-glyphname/fc-glyphname.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
Ok, so I messed up the test for y_ppem. Let's see if I got it
right this
time.
ChangeLog | 7 +++++++
configure.in | 15 +++------------
src/fcfreetype.c | 4 ++--
3 files changed, 12 insertions(+), 14 deletions(-)
Pre-2.1.5 versions of FreeType didn't include y_ppem in the
FT_Bitmap_Size
record. Add a configure.in test for this and change the code
accordingly (using height instead).
ChangeLog | 8 ++++++++
configure.in | 21 +++++++++++++++++++--
src/fcfreetype.c | 4 ++++
3 files changed, 31 insertions(+), 2 deletions(-)
Add Low Saxon orthography (Kenneth Rohde Christiansen
<kenneth@gnu.org>)
Oops. Left 'newest.set' unset, which would miscompute the newest file
Add FcGetPixelSize to extract correct pixel size from bdf/pcf font
properties (which report the wrong value in current FreeType)
Don't attempt to check for empty glyphs in non-scalable fonts;
they have no
outlines...
ChangeLog | 18 ++++++++++++++++++
fc-lang/nds.orth | 40 ++++++++++++++++++++++++++++++++++++++++
src/fccfg.c | 3 +++
src/fcfreetype.c | 36 ++++++++++++++++++++++++------------
4 files changed, 85 insertions(+), 12 deletions(-)
fontconfig, at least as used by GIMP and/or PangoFT2 on Windows,
crashes
when trying to save the cache if config->cache is NULL, which
happens
if FcConfigHome() is NULL. Guard against that by using the
temp folder
in that case.
ChangeLog | 7 +++++++
src/fccfg.c | 25 +++++++++++++++++++++++++
2 files changed, 32 insertions(+)
Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
(Afghan
and Pakistani).
Updated Urdu orthography with real data.
ChangeLog | 11 +++++++++++
fc-lang/az_ir.orth | 32 ++++++++++++++++++++++++++++++++
fc-lang/ku_ir.orth | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
fc-lang/ps_af.orth | 52
++++++++++++++++++++++++++++++++++++++++++++++++++++
fc-lang/ps_pk.orth | 52
++++++++++++++++++++++++++++++++++++++++++++++++++++
fc-lang/ur.orth | 41 +++++++++++++++++++++++++++++++++++++----
6 files changed, 233 insertions(+), 4 deletions(-)
Remove excessive whitespace (missed on previous commit)
fc-cache/Makefile.am | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Move man_MANS into the 'if USEDOCBOOK' block.
Move man_MANS into the 'if USEDOCBOOK' block. (all-local): Remove
excessive
whitespace.
Add 'set -e' to abort when any program fails, (avoids printing of
'now type
make' after configure aborts).
ChangeLog | 12 ++++++++++++
autogen.sh | 2 ++
fc-cache/Makefile.am | 6 +++---
fc-list/Makefile.am | 4 ++--
4 files changed, 19 insertions(+), 5 deletions(-)
Switch to FreeType 2.1.7 style includes. Bug #150.
reviewed by: Keith Packard <keithp@keithp.com>
ChangeLog | 9 +++++++++
doc/Makefile.am | 1 +
fontconfig/fcfreetype.h | 3 ++-
src/fcfreetype.c | 17 +++++++++--------
4 files changed, 21 insertions(+), 9 deletions(-)
Add some example usages.
ChangeLog | 4 ++++
fc-list/fc-list.sgml | 23 +++++++++++++++++++++++
2 files changed, 27 insertions(+)
Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
separators.
ChangeLog | 8 +++++++-
src/fcxml.c | 7 +++++--
2 files changed, 12 insertions(+), 3 deletions(-)
Update to version 2.2.92
ChangeLog | 6 ++++++
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
Yet more cleanups to finish getting 'make distcheck' working This
has been
tested to ensure that it even works from a _build directory.
ChangeLog | 16 ++++++
Makefile.am | 1 +
configure.in | 10 ++++
doc/Makefile.am | 133
+++++++++++++++--------------------------------
fc-cache/Makefile.am | 2 +-
fc-glyphname/Makefile.am | 6 +--
fc-lang/Makefile.am | 5 +-
fc-list/Makefile.am | 2 +-
fc-match/Makefile.am | 2 +-
test/Makefile.am | 4 +-
test/run-test.sh | 28 ++++++----
11 files changed, 98 insertions(+), 111 deletions(-)
Attempts to fix 'make distcheck' work. Things are progressing
pretty well,
but there are still failures long into the process dealing
with docs
(as always).
The big changes here are mostly to make $(srcdir) != "." work
correctly,
fixing the docbook related sections and fc-lang were particularily
tricky. Docbook refuses to load system entities from anywhere
other
than where the original .sgml file was located, so no luck
looking in
"." for the configure-generated version.sgml and confdir.sgml
files.
fc-lang needed help finding .orth files; added a -d option to set the
directory as the least evil of many options.
Now to go use a faster machine and try and wring out the last issues.
ChangeLog | 27 +++++++++++++++++++
configure.in | 2 +-
doc/Makefile.am | 68
+++++++++++++++++++++++++++++++++++++++++-------
fc-cache/Makefile.am | 13 ++++-----
fc-glyphname/Makefile.am | 11 +++++---
fc-lang/Makefile.am | 10 ++++---
fc-lang/fc-lang.c | 29 +++++++++++++++++++--
fc-list/Makefile.am | 10 ++++---
fc-match/Makefile.am | 2 +-
9 files changed, 142 insertions(+), 30 deletions(-)
Tag version 2.2.91
ChangeLog | 4 ++++
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
Include confdir.sgml.in in EXTRA_DIST
ChangeLog | 5 +++++
doc/Makefile.am | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
Replace fc-cache and fc-list manpages with more detailed, SGML
versions.
ChangeLog | 7 ++
fc-cache/.cvsignore | 1 +
fc-cache/Makefile.am | 24 +++++-
fc-cache/fc-cache.1 | 51 -------------
fc-cache/fc-cache.sgml | 200
+++++++++++++++++++++++++++++++++++++++++++++++++
fc-list/.cvsignore | 1 +
fc-list/Makefile.am | 24 +++++-
fc-list/fc-list.1 | 37 ---------
fc-list/fc-list.sgml | 165 ++++++++++++++++++++++++++++++++++++++++
9 files changed, 420 insertions(+), 90 deletions(-)
Add a FC_HINT_STYLE key for patterns, with possible values
HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL. (Bug #117)
ChangeLog | 7 +++++++
fontconfig/fontconfig.h | 7 +++++++
src/fcdefault.c | 5 +++++
src/fcname.c | 6 ++++++
4 files changed, 25 insertions(+)
Remove Georgian capitals, they aren't used for normal writing. (Bug
#116)
ChangeLog | 5 +++++
fc-lang/ka.orth | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
Add new spacing value FC_DUAL (dual-width, as some CJK fonts). (bug
#111)
When checking for monospace and dual-width fonts, allow roughly a 3%
variance in the advances.
ChangeLog | 13 +++++++++++
doc/fontconfig-devel.sgml | 4 ++--
doc/fontconfig-user.sgml | 3 ++-
fontconfig/fontconfig.h | 1 +
src/fcfreetype.c | 55
+++++++++++++++++++++++++++++++++++++----------
src/fcname.c | 1 +
6 files changed, 63 insertions(+), 14 deletions(-)
FcConfigAppFontClear: Support passing NULL to use default config.
ChangeLog | 5 +++++
src/fccfg.c | 7 +++++++
2 files changed, 12 insertions(+)
Added new FcFini function for cleaning up all memory. Fixed a
few memory
leaks. fc-list now calls FcFini, (and is now leak-free according
to
valgrind)
ChangeLog | 44 +++++++++++
doc/Makefile.am | 8 +-
doc/edit-sgml.c | 187
+++++++++++++++++++++++++++++++-------------
doc/fcinit.fncs | 11 +++
fc-glyphname/fc-glyphname.c | 35 +++++++--
fc-list/fc-list.c | 4 +
fc-match/fc-match.c | 2 +-
fontconfig/fontconfig.h | 3 +
src/fccfg.c | 6 ++
src/fccharset.c | 64 +++++++++++++--
src/fcinit.c | 13 +++
src/fcint.h | 6 ++
src/fcpat.c | 84 +++++++++++++++++++-
src/fcxml.c | 4 +
src/fontconfig.def.in | 1 +
15 files changed, 398 insertions(+), 74 deletions(-)
Bug 103 -- FcObjectSetBuild must be terminated by (char *) 0 as
varargs are
untyped
fc-list/fc-list.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Wrap fcfreetype.h with _FCFUNCPROTOBEGIN/_FCFUNCPROTOEND
fontconfig/fcfreetype.h | 4 ++++
1 file changed, 4 insertions(+)
Implement new semantics for Contains and LISTING:
LISTING requires that the font Contain all of the pattern values,
where
Contain is redefined for strings to mean precise matching (so that
Courier 10 Pitch doesn't list Courier fonts)
"Contains" for lang means both langs have the same language and
either the
same country or one is missing the country
src/fccfg.c | 79
+++++++++++++++++++++++++++++++++---------------------------
src/fcdbg.c | 3 +++
src/fcint.h | 3 ++-
src/fclang.c | 18 ++++++++------
src/fclist.c | 38 +++++++++++++++++++++--------
src/fcxml.c | 1 +
6 files changed, 89 insertions(+), 53 deletions(-)
Was miscomputing end of string position for FcStrtod in locales with
multibyte separators
src/fcxml.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add autoconf checks for FT_Has_PS_Glyph_Names
configure.in | 3 ++-
src/fcfreetype.c | 6 ++++++
2 files changed, 8 insertions(+), 1 deletion(-)
Allow config->cache to be null (as it is when $HOME is not set)
src/fccfg.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Lean on autoconf to find useful FreeType functions (bug 95)
configure.in | 7 +++++--
src/fcfreetype.c | 46 +++++++++++++++++-----------------------------
2 files changed, 22 insertions(+), 31 deletions(-)
Bug 75: dont build docs unless docbook is available. Dont install docs
unless they are pre-built or buildable
Makefile.am | 3 ++-
configure.in | 26 +++++++++++++++++++++-----
doc/Makefile.am | 2 +-
3 files changed, 24 insertions(+), 7 deletions(-)
Add FreeFont entries, fix whitespace in fonts.conf.in (bug 93, from
vvas@hal.csd.auth.gr (Vasilis Vasaitis))
fonts.conf.in | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
Remove CRs from the out file before comparing (needed on Windows).
ChangeLog | 3 +++
test/run-test.sh | 1 +
2 files changed, 4 insertions(+)
Trivial braino.
src/fccfg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix cut&paste error.
ChangeLog | 4 ++++
fontconfig-zip.in | 3 ++-
src/Makefile.am | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
Check also for DLL_EXPORT as indication of being built as a DLL
on Win32.
ChangeLog | 3 +++
src/fccfg.c | 6 +++++-
2 files changed, 8 insertions(+), 1 deletion(-)
Add share/doc directory. Add Fc*.3 man pages.
Set FC_DEFAULT_FONTS on Win32 to the WINDOWSFONTDIR token.
Move the LIBRARY and VERSION lines to the end, not to confuse libtool,
which expects the EXPORTS line to be the first. Add
FcConfigEnableHome.
ChangeLog | 12 ++++++++++++
configure.in | 12 +++++++++---
fontconfig-zip.in | 4 +++-
src/fontconfig.def.in | 5 +++--
4 files changed, 27 insertions(+), 6 deletions(-)
Update to version 2.2.90
ChangeLog | 4 ++++
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
Add a bunch of ChangeLog entries
ChangeLog | 79
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 78 insertions(+), 1 deletion(-)
Add fc-match program to demonstrate font matching from the command
line
Makefile.am | 2 +-
configure.in | 1 +
fc-match/.cvsignore | 5 +++++
3 files changed, 7 insertions(+), 1 deletion(-)
Optimization in FcLangSetIndex was broken, occasionally returning
a pointer
to the wrong location on miss
src/fclang.c | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
Add fc-match program
fc-match/Makefile.am | 32 +++++++++
fc-match/fc-match.1 | 39 +++++++++++
fc-match/fc-match.c | 188
+++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 259 insertions(+)
(Bug 85) add support for culmus fonts
fonts.conf.in | 39 +++++----------------------------------
1 file changed, 5 insertions(+), 34 deletions(-)
(Bug 87) Automake 1.4 doesn't do man_MAN1 correctly (Bug 88) Fix
usage info
on non-long option systems (Tim Mooney)
ChangeLog | 4 ++++
fc-cache/Makefile.am | 4 ++--
fc-cache/fc-cache.1 | 51
+++++++++++++++++++++++++++++++++++++++++++++++++++
fc-cache/fc-cache.c | 19 ++++++++++++++++---
fc-cache/fc-cache.man | 45 ---------------------------------------------
fc-list/Makefile.am | 4 ++--
fc-list/fc-list.1 | 37 +++++++++++++++++++++++++++++++++++++
fc-list/fc-list.c | 11 +++++++++++
fc-list/fc-list.man | 36 ------------------------------------
9 files changed, 123 insertions(+), 88 deletions(-)
Fix "contains" op for strings and langsets.
fontconfig/fontconfig.h | 6 +++
src/fccfg.c | 16 +++++---
src/fcstr.c | 103
++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 119 insertions(+), 6 deletions(-)
Fix build error with BDF prop local. Free langset after query
src/fcfreetype.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
oops. Left the psfontinfo.weight matching code commented out while
testing
other stuff...
src/fcfreetype.c | 2 --
1 file changed, 2 deletions(-)
Extract spacing from XLFD atom
src/fcfreetype.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
Use FcIsWidth to share code
Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
misclassifying some Han fonts as monospaced.
src/fcfreetype.c | 27 ++++++---------------------
1 file changed, 6 insertions(+), 21 deletions(-)
Reinstate SETWIDTH_NAME parsing for legacy fonts, disappeared in 1.30.
src/fcfreetype.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Generate FC_SIZE and FC_DPI for legacy bitmap fonts
src/fcfreetype.c | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Add filename-based accept/reject to ammend available fonts.
change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for older
FreeType releases.
src/fccache.c | 18 ++++++-----
src/fccfg.c | 96
+++++++++++++++++++++++++++++++++++++++++++++++++++++---
src/fcdir.c | 60 ++++++++++++++++++++++++++---------
src/fcfreetype.c | 2 +-
src/fcint.h | 40 +++++++++++++++++++++--
src/fcxml.c | 46 ++++++++++++++++++++++++++-
6 files changed, 232 insertions(+), 30 deletions(-)
Remove 0b82 and Tamil numbers from tamil orthography (Jungshik Shin
<jshin@mailaps.org>)
fc-lang/ta.orth | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Add more .cvsignore entries
.cvsignore | 1 +
src/.cvsignore | 1 +
2 files changed, 2 insertions(+)
Add more .cvsignore entries
.cvsignore | 5 +++++
1 file changed, 5 insertions(+)
Handle Adobe glyph names for fonts which include ADOBE_CUSTOM
encodings
Makefile.am | 2 +-
configure.in | 1 +
src/fcfreetype.c | 160
++++++++++++++++++++++++++++++++++++++++++++++++++++++-
src/fcint.h | 10 ++++
4 files changed, 170 insertions(+), 3 deletions(-)
Add .cvsignore in new fc-glyphname dir
fc-glyphname/.cvsignore | 6 ++++++
1 file changed, 6 insertions(+)
Add fc-glyphname to compute hash tables for Adobe glyph name to UCS4
conversion functions
fc-glyphname/Makefile.am | 42 +
fc-glyphname/fc-glyphname.c | 287 +++
fc-glyphname/fcglyphname.tmpl.h | 25 +
fc-glyphname/glyphlist.txt | 4291
+++++++++++++++++++++++++++++++++++++++
fc-glyphname/zapfdingbats.txt | 212 ++
5 files changed, 4857 insertions(+)
Grub through style to find weight/slant/width values when other
techniques
fail
src/fcfreetype.c | 228
+++++++++++++++++++++++++++++++++++++------------------
src/fcint.h | 6 ++
src/fcstr.c | 74 ++++++++++++++++++
3 files changed, 233 insertions(+), 75 deletions(-)
Add book constant for book weight
src/fcname.c | 1 +
1 file changed, 1 insertion(+)
Add FC_WEIGHT_BOOK as weight 75
fontconfig/fontconfig.h | 1 +
1 file changed, 1 insertion(+)
Fix expat function check.
configure.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Check for an expat function that won't be there if expat is too old.
configure.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Add demi and book postscript weight names. Allow spaces in postscript
and X
matching
src/fcfreetype.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Typo in bitstream foundry name
src/fcfreetype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Debug output for unknown ps weight names. ignore italic_angle for
PS fonts
as FreeType already checks that
src/fcfreetype.c | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
FcFontList broken when presented a charset - was comparing inclusion
in the
wrong direction
src/fccfg.c | 8 ++++----
src/fccharset.c | 15 +++++++++++++++
2 files changed, 19 insertions(+), 4 deletions(-)
Oops. Missing newline in .cvsignore
doc/.cvsignore | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix docs to close sgml tags
ChangeLog | 8 ++++++++
doc/fcpattern.fncs | 1 +
doc/fontconfig-devel.sgml | 1 +
doc/func.sgml | 1 +
4 files changed, 11 insertions(+)
Add confdir.sgml to .cvsignore
doc/.cvsignore | 1 +
1 file changed, 1 insertion(+)
Use CONFDIR instead of SYSCONFDIR/fonts in manual. Use awk to strip
trailing newline instead of leaving CVS file without a newline
(which
will break at some point)
doc/Makefile.am | 3 ++-
doc/confdir.sgml.in | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
Got rid of the newline at the end of the file. It's yucky but,
I'm not sure
how else to get rid of the newline in the output.
doc/confdir.sgml.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Getting closer to fixing /etc/fonts hard-coding.
configure.in | 1 -
doc/Makefile.am | 4 ++++
doc/confdir.sgml.in | 25 +++++++++++++++++++++++++
3 files changed, 29 insertions(+), 1 deletion(-)
Testing syncmail yet again.
.cvsignore | 2 +-
configure.in | 1 +
doc/Makefile.am | 12 ++++++------
doc/fontconfig-user.sgml | 9 +++++----
4 files changed, 13 insertions(+), 11 deletions(-)
Fix autogen.sh to work with newer automakes
autogen.sh | 45 +++++++++++++++++++++++++++++++++++----------
1 file changed, 35 insertions(+), 10 deletions(-)
Handle pattern elements moving during multiple edits
src/fccfg.c | 8 ++++++++
1 file changed, 8 insertions(+)
Update to version 2.2.0
configure.in | 2 +-
fontconfig/fontconfig.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Fixed variable name mistake.
configure.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From James Su -- only part of page 0xff is Latin
src/fcfreetype.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Guard calls to FT_Get_BDF_Property to avoid freetype jumping
through null
pointer
src/fcfreetype.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Pass FONTCONFIG_PATH in arguments to get expanded
src/Makefile.am | 1 +
src/fccfg.c | 4 ----
2 files changed, 1 insertion(+), 4 deletions(-)
BDF properties not available until FreeType 2.1.4
src/fcfreetype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Remove some unused variables, and initialize some other ones so
gcc doesn't
warn us.
ChangeLog | 5 +++++
doc/edit-sgml.c | 1 +
src/fclang.c | 6 ++----
3 files changed, 8 insertions(+), 4 deletions(-)
Solaris porting fixes
configure.in | 4 ++--
fc-lang/fc-lang.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Add Vera support to default configuration
fonts.conf.in | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
bump version to 2.1.94
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
add some changelog entries
ChangeLog | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
Search through the BDF properties for width and foundry information
src/fcfreetype.c | 76
+++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 75 insertions(+), 1 deletion(-)
Move foundry detection data into fcfreetype.c (which is getting rather
large at this point)
src/Makefile.am | 2 +-
src/data.h | 77 ------------------------
src/fcfreetype.c | 177
++++++++++++++++++++++++++++++++++++++++++-------------
3 files changed, 137 insertions(+), 119 deletions(-)
bool was misdeclared in DTD
fonts.dtd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix unary operator parsing. Add floor, ceil, trunc and round unary
operators
fontconfig/fontconfig.h | 2 +
fonts.dtd | 6 ++-
src/Makefile.am | 2 +-
src/fccfg.c | 71 ++++++++++++++++++++++++++++++++
src/fcdbg.c | 20 +++++++++
src/fcint.h | 3 +-
src/fcxml.c | 107
++++++++++++++++++++++++++++++++++++++----------
7 files changed, 187 insertions(+), 24 deletions(-)
Clean up ps font weight matching and check for NULL
src/fcfreetype.c | 59
+++++++++++++++++++++++++++++---------------------------
1 file changed, 31 insertions(+), 28 deletions(-)
Implemented foundry generation for Type 1 and TrueType
src/data.h | 77
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/fcfreetype.c | 73
+++++++++++++++++++++++++++++++++++++++++++++++++----
2 files changed, 145 insertions(+), 5 deletions(-)
update version number to 2.1.93
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Run fc-cache from local dir instead of install dir to help LFS
installs (I
hope)
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Switch to locale-independent string compare function
src/fcfreetype.c | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
Bug #46, #47 fontconfig should retrieve type 1 font information from
FontInfo dictionary Patch provided by g2@magestudios.net (Gerard
Escalante)
src/fcfreetype.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
remove -u option to docbook2man which was trashing the .html file
doc/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
*** empty log message ***
ChangeLog | 5 +++++
1 file changed, 5 insertions(+)
Fix dummy makefile target names when MS_LIB_AVAILABLE isn't set.
src/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
update copyright years
COPYING | 2 +-
fonts.conf.in | 15 ++-------------
local.conf | 9 +++++++++
3 files changed, 12 insertions(+), 14 deletions(-)
Move sample subpixel configuration to local.conf
config/Makedefs.in | 4 ++--
config/install.sh | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Set spacing to mono if every encoded glyph is the same width
fontconfig/fcfreetype.h | 3 +++
src/fcfreetype.c | 46
+++++++++++++++++++++++++++++++++++++++++-----
2 files changed, 44 insertions(+), 5 deletions(-)
Wrong pattern for matching font file names. Fix submitted by
hjchoe@hancom.com (Choe Hwanjin)
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changes for Windows:
Add a fontconfig-zip(.in) script, used to build a binary distribution.
fontconfig-zip.in | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Changes for Windows:
On Windows with gcc (a.k.a. mingw) build as a DLL.
We don't want to hardcode the fonts.conf file location in the DLL,
so we
look up the DLL location at run-time in a DllMain() function. The
fonts.conf location is deduced from that.
The colon can't be used as path separator on Windows, semicolon
is used
instead. File path components can be separated with either
slash or
backslash. Absolute paths can also begin with a drive letter.
Add internal function FcStrLastSlash that strrchr's the last slash, or
backslash on Windows.
There is no link() on Windows. For atomicity checks, mkdir a lock
directory
instead.
In addition to HOME, also look for USERPROFILE.
Recognize the special font directory token WINDOWSFONTDIR, to use the
system's font directory.
Remove the fontconfig-def.cpp that was obsolete. Add
fontconfig.def(.in),
without internal functions.
Add a fontconfig-zip(.in) script, used to build a binary distribution.
ChangeLog | 32 ++++++++++
Makefile.am | 3 +-
configure.in | 28 +++++++-
fc-lang/fc-lang.man | 6 +-
src/Makefile.am | 55 +++++++++++++++-
src/fcatomic.c | 23 ++++++-
src/fccache.c | 21 +++++-
src/fccfg.c | 90 ++++++++++++++++++++++++--
src/fcint.h | 9 +++
src/fcstr.c | 23 ++++++-
src/fcxml.c | 30 +++++++++
src/fontconfig-def.cpp | 170
-------------------------------------------------
src/fontconfig.def.in | 161
++++++++++++++++++++++++++++++++++++++++++++++
13 files changed, 464 insertions(+), 187 deletions(-)
switch // comment
src/fclang.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
strtod under some locales requires digits before the decimal
doc/fontconfig-user.sgml | 8 ++++++--
fonts.conf.in | 2 +-
2 files changed, 7 insertions(+), 3 deletions(-)
Avoid crashing on empty test/edit lists
src/fccfg.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
bogus libtoolize --version | libtoolize --version
autogen.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
FcCharSetIsSubset errored on fonts with subsets in early blocks
and extra
blocks not present in the second argument
src/fccharset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fix configure arguments (bug 45)
configure.in | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
add font widths and extend weight from OS/2 table
fontconfig/fontconfig.h | 44 ++++++++++++++++++++++++++++------------
src/fcdefault.c | 3 +++
src/fcfreetype.c | 54
++++++++++++++++++++++++++++++++++++++++++++-----
src/fcmatch.c | 29 +++++++++++++++++---------
src/fcname.c | 18 +++++++++++++++++
5 files changed, 120 insertions(+), 28 deletions(-)
Global cache time checking was using wrong file name and computing
wrong
count of fonts per file
src/fccache.c | 10 +++++-----
src/fcdir.c | 8 ++++++--
src/fcint.h | 2 +-
3 files changed, 12 insertions(+), 8 deletions(-)
Ship manual
fc-list/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
Updated RPM specfile for 2.1.92 and fixed remaining known spec
file issues
ChangeLog | 8 ++++++++
fontconfig.spec.in | 19 +++++++++++++++++--
2 files changed, 25 insertions(+), 2 deletions(-)
Bump version to 2.1.92
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
add version.sgml to .cvsignore
doc/.cvsignore | 1 +
1 file changed, 1 insertion(+)
Add version number to user doc
doc/fontconfig-user.sgml | 27 +++++++++++++++++----------
doc/func.sgml | 1 +
2 files changed, 18 insertions(+), 10 deletions(-)
Add version number to documentation
configure.in | 1 +
doc/fontconfig-devel.sgml | 13 +++----------
doc/func.sgml | 4 ++++
doc/version.sgml.in | 24 ++++++++++++++++++++++++
4 files changed, 32 insertions(+), 10 deletions(-)
wasnt rebuilding most of the docs
doc/Makefile.am | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
distribute man page
fc-cache/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
note that default mandir is usually wrong
INSTALL | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
get manuals to install with automake-1.4
doc/Makefile.am | 44 +++++++++++++++++++++-----------------------
1 file changed, 21 insertions(+), 23 deletions(-)
Create fontconfig-user.html
doc/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add more to .cvsignore
doc/.cvsignore | 9 +++++++++
1 file changed, 9 insertions(+)
Make documentation build
doc/Makefile.am | 172
+++++++++++++++++++++++++++--------------------
doc/edit-sgml.c | 2 +-
doc/fontconfig-user.sgml | 2 +-
3 files changed, 102 insertions(+), 74 deletions(-)
Finish reformatting developer documentation
doc/Makefile.am | 16 +-
doc/edit-sgml.c | 17 +-
doc/fcatomic.fncs | 93 +++++++++
doc/fcconfig.fncs | 153 ++++++++-------
doc/fcfile.fncs | 78 ++++++++
doc/fcfreetype.fncs | 69 +++++++
doc/fcinit.fncs | 78 ++++++++
doc/fcstring.fncs | 150 +++++++++++++++
doc/fcstrset.fncs | 104 ++++++++++
doc/fontconfig-devel.sgml | 475
+++++++++++-----------------------------------
10 files changed, 795 insertions(+), 438 deletions(-)
Add copyright
doc/func.sgml | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Use <parameter> tags. Add copyrights
doc/fcconfig.fncs | 46 +++++++++++++++++++++++-----------------------
doc/fcconstant.fncs | 10 +++++-----
doc/fcobjecttype.fncs | 6 +++---
doc/fcpattern.fncs | 14 +++++++-------
doc/fcvalue.fncs | 4 ++--
5 files changed, 40 insertions(+), 40 deletions(-)
Add lots more function documentation
doc/Makefile.am | 16 ++-
doc/fcblanks.fncs | 58 +++++++++
doc/fccharset.fncs | 23 ++++
doc/fcconfig.fncs | 279
+++++++++++++++++++++++++++++++++++++++++++
doc/fcconstant.fncs | 58 +++++++++
doc/fcfontset.fncs | 49 ++++++++
doc/fcmatrix.fncs | 23 ++++
doc/fcobjectset.fncs | 61 ++++++++++
doc/fcobjecttype.fncs | 48 ++++++++
doc/fcpattern.fncs | 23 ++++
doc/fcvalue.fncs | 23 ++++
doc/fontconfig-devel.sgml | 292
+++-------------------------------------------
12 files changed, 677 insertions(+), 276 deletions(-)
Rework documentation to build man pages for each function
doc/Makefile.am | 84 ++-
doc/fccharset.fncs | 144 +++++
doc/fcmatrix.fncs | 100 ++++
doc/fcpattern.fncs | 287 ++++++++++
doc/fcvalue.fncs | 17 +
doc/fontconfig-devel.sgml | 1355
++++++++++++++++++---------------------------
doc/fontconfig-user.sgml | 396 ++++++-------
doc/func.sgml | 61 ++
8 files changed, 1411 insertions(+), 1033 deletions(-)
Add func doc creation program edit-sgml
doc/edit-sgml.c | 426
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 426 insertions(+)
Update Changelog
ChangeLog | 7 +++++++
1 file changed, 7 insertions(+)
Added back the configure macro options --disable-docs because
otherwise
fontconfig installs docs into /usr/share/doc/fontconfig (with no
version number) unconditionally, causing RPM to fail the build
due to
_unpackaged_files_terminate_build. We pick up the pregenerated
docs
with %doc already.
fontconfig.spec.in | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Updated rpm specfile changelog and Changelog to reflect today's
changes
ChangeLog | 13 ++++++++++++-
fontconfig.spec.in | 9 ++++++++-
2 files changed, 20 insertions(+), 2 deletions(-)
Reordered %files lists to be a bit tidier. Made -devel package own the
%{_includedir}/fontconfig directory
fontconfig.spec.in | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Put %post script in {}'s for tidyness, and change the call to
fc-cache to
use %{_bindir}/fc-cache
fontconfig.spec.in | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Changed BuildRequires: lines to use %{_bindir} macro instead of
hard coded
/usr/bin
fontconfig.spec.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Replace commented out %define at top of specfile with a comment
preceding
the freetype2 define, since rpm expands macros in comments. Also
remove
-j flag from make, as _smp_mflags expands to -jN already.
fontconfig.spec.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
switch vesion to version
fontconfig.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
optimize string compares even more
src/fcstr.c | 19 +++----------------
1 file changed, 3 insertions(+), 16 deletions(-)
Use VERSION in fontconfig.pc.in
fontconfig.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
No longer using config directory
configure.in | 2 --
1 file changed, 2 deletions(-)
use FcToLower instead of tolower
src/fcname.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
Add FcLangSetPrint
src/fcdbg.c | 29 ++++++++++++++++++-----------
1 file changed, 18 insertions(+), 11 deletions(-)
AddFcLangSetContains for font listing, add first-letter table for
language
lookups, change RCS tag
src/fccfg.c | 8 +--
src/fcint.h | 7 +-
src/fclang.c | 231
++++++++++++++++++++++++++++++++++++++++++++++++++++-------
src/fclist.c | 6 +-
4 files changed, 219 insertions(+), 33 deletions(-)
Change RCS tag
fc-cache/fc-cache.c | 4 ++--
fc-cache/fc-cache.man | 4 ++--
fc-list/fc-list.c | 4 ++--
fc-list/fc-list.man | 4 ++--
src/fcatomic.c | 4 ++--
src/fcblanks.c | 4 ++--
src/fccache.c | 4 ++--
src/fccharset.c | 4 ++--
src/fcdefault.c | 4 ++--
src/fcdir.c | 4 ++--
src/fcfreetype.c | 4 ++--
src/fcfs.c | 4 ++--
src/fcinit.c | 4 ++--
src/fcmatch.c | 4 ++--
src/fcmatrix.c | 2 +-
src/fcpat.c | 4 ++--
src/fcstr.c | 4 ++--
src/fcxml.c | 4 ++--
src/fontconfig-def.cpp | 2 +-
19 files changed, 36 insertions(+), 36 deletions(-)
Add letter ranges to speed lang lookups, change CVS tag
fc-lang/fc-lang.c | 38 ++++++++++++++++++++++++++++++++++++--
fc-lang/fc-lang.man | 4 ++--
fc-lang/fclang.tmpl.h | 4 ++--
3 files changed, 40 insertions(+), 6 deletions(-)
Change RCS tag, add FcLangSetContains
fontconfig/fcfreetype.h | 4 ++--
fontconfig/fcprivate.h | 4 ++--
fontconfig/fontconfig.h | 11 ++++++++---
3 files changed, 12 insertions(+), 7 deletions(-)
Switch RCS tag label
fc-lang/aa.orth | 4 ++--
fc-lang/ab.orth | 4 ++--
fc-lang/af.orth | 4 ++--
fc-lang/am.orth | 4 ++--
fc-lang/ar.orth | 4 ++--
fc-lang/ast.orth | 4 ++--
fc-lang/ava.orth | 4 ++--
fc-lang/ay.orth | 4 ++--
fc-lang/az.orth | 4 ++--
fc-lang/ba.orth | 4 ++--
fc-lang/bam.orth | 4 ++--
fc-lang/be.orth | 4 ++--
fc-lang/bg.orth | 4 ++--
fc-lang/bh.orth | 4 ++--
fc-lang/bho.orth | 4 ++--
fc-lang/bi.orth | 4 ++--
fc-lang/bin.orth | 4 ++--
fc-lang/bn.orth | 4 ++--
fc-lang/bo.orth | 4 ++--
fc-lang/br.orth | 4 ++--
fc-lang/bs.orth | 4 ++--
fc-lang/bua.orth | 4 ++--
fc-lang/ca.orth | 4 ++--
fc-lang/ce.orth | 4 ++--
fc-lang/ch.orth | 4 ++--
fc-lang/chm.orth | 4 ++--
fc-lang/chr.orth | 4 ++--
fc-lang/co.orth | 4 ++--
fc-lang/cs.orth | 4 ++--
fc-lang/cu.orth | 4 ++--
fc-lang/cv.orth | 4 ++--
fc-lang/cy.orth | 4 ++--
fc-lang/da.orth | 4 ++--
fc-lang/de.orth | 4 ++--
fc-lang/dz.orth | 4 ++--
fc-lang/el.orth | 4 ++--
fc-lang/en.orth | 4 ++--
fc-lang/eo.orth | 4 ++--
fc-lang/es.orth | 4 ++--
fc-lang/et.orth | 4 ++--
fc-lang/eu.orth | 4 ++--
fc-lang/fa.orth | 4 ++--
fc-lang/fi.orth | 4 ++--
fc-lang/fj.orth | 4 ++--
fc-lang/fo.orth | 4 ++--
fc-lang/fr.orth | 4 ++--
fc-lang/ful.orth | 4 ++--
fc-lang/fur.orth | 4 ++--
fc-lang/fy.orth | 4 ++--
fc-lang/ga.orth | 4 ++--
fc-lang/gd.orth | 4 ++--
fc-lang/gez.orth | 4 ++--
fc-lang/gl.orth | 4 ++--
fc-lang/gn.orth | 4 ++--
fc-lang/gu.orth | 4 ++--
fc-lang/gv.orth | 4 ++--
fc-lang/ha.orth | 4 ++--
fc-lang/haw.orth | 4 ++--
fc-lang/he.orth | 4 ++--
fc-lang/hi.orth | 4 ++--
fc-lang/ho.orth | 4 ++--
fc-lang/hr.orth | 4 ++--
fc-lang/hu.orth | 4 ++--
fc-lang/hy.orth | 4 ++--
fc-lang/ia.orth | 4 ++--
fc-lang/ibo.orth | 4 ++--
fc-lang/id.orth | 4 ++--
fc-lang/ie.orth | 4 ++--
fc-lang/ik.orth | 4 ++--
fc-lang/io.orth | 4 ++--
fc-lang/is.orth | 4 ++--
fc-lang/it.orth | 4 ++--
fc-lang/iu.orth | 4 ++--
fc-lang/ja.orth | 4 ++--
fc-lang/ka.orth | 4 ++--
fc-lang/kaa.orth | 4 ++--
fc-lang/ki.orth | 4 ++--
fc-lang/kk.orth | 4 ++--
fc-lang/kl.orth | 4 ++--
fc-lang/km.orth | 4 ++--
fc-lang/kn.orth | 4 ++--
fc-lang/ko.orth | 4 ++--
fc-lang/kok.orth | 4 ++--
fc-lang/ks.orth | 4 ++--
fc-lang/ku.orth | 4 ++--
fc-lang/kum.orth | 4 ++--
fc-lang/kv.orth | 4 ++--
fc-lang/kw.orth | 4 ++--
fc-lang/ky.orth | 4 ++--
fc-lang/la.orth | 4 ++--
fc-lang/lb.orth | 4 ++--
fc-lang/lez.orth | 4 ++--
fc-lang/lo.orth | 4 ++--
fc-lang/lt.orth | 4 ++--
fc-lang/lv.orth | 4 ++--
fc-lang/mg.orth | 4 ++--
fc-lang/mh.orth | 4 ++--
fc-lang/mi.orth | 4 ++--
fc-lang/mk.orth | 4 ++--
fc-lang/ml.orth | 4 ++--
fc-lang/mn.orth | 4 ++--
fc-lang/mo.orth | 4 ++--
fc-lang/mr.orth | 4 ++--
fc-lang/mt.orth | 4 ++--
fc-lang/my.orth | 4 ++--
fc-lang/nb.orth | 4 ++--
fc-lang/ne.orth | 4 ++--
fc-lang/nl.orth | 4 ++--
fc-lang/nn.orth | 4 ++--
fc-lang/no.orth | 4 ++--
fc-lang/ny.orth | 4 ++--
fc-lang/oc.orth | 4 ++--
fc-lang/om.orth | 4 ++--
fc-lang/or.orth | 4 ++--
fc-lang/os.orth | 4 ++--
fc-lang/pl.orth | 4 ++--
fc-lang/pt.orth | 4 ++--
fc-lang/rm.orth | 4 ++--
fc-lang/ro.orth | 4 ++--
fc-lang/ru.orth | 4 ++--
fc-lang/sa.orth | 4 ++--
fc-lang/sah.orth | 4 ++--
fc-lang/sco.orth | 4 ++--
fc-lang/se.orth | 4 ++--
fc-lang/sel.orth | 4 ++--
fc-lang/sh.orth | 4 ++--
fc-lang/si.orth | 4 ++--
fc-lang/sk.orth | 4 ++--
fc-lang/sl.orth | 4 ++--
fc-lang/sm.orth | 4 ++--
fc-lang/sma.orth | 4 ++--
fc-lang/smj.orth | 4 ++--
fc-lang/smn.orth | 4 ++--
fc-lang/sms.orth | 4 ++--
fc-lang/so.orth | 4 ++--
fc-lang/sq.orth | 4 ++--
fc-lang/sr.orth | 4 ++--
fc-lang/sv.orth | 4 ++--
fc-lang/sw.orth | 4 ++--
fc-lang/syr.orth | 4 ++--
fc-lang/ta.orth | 4 ++--
fc-lang/te.orth | 4 ++--
fc-lang/tg.orth | 4 ++--
fc-lang/th.orth | 4 ++--
fc-lang/ti_er.orth | 4 ++--
fc-lang/ti_et.orth | 4 ++--
fc-lang/tig.orth | 4 ++--
fc-lang/tk.orth | 4 ++--
fc-lang/tl.orth | 4 ++--
fc-lang/tn.orth | 4 ++--
fc-lang/to.orth | 4 ++--
fc-lang/tr.orth | 4 ++--
fc-lang/ts.orth | 4 ++--
fc-lang/tt.orth | 4 ++--
fc-lang/tw.orth | 4 ++--
fc-lang/tyv.orth | 4 ++--
fc-lang/ug.orth | 4 ++--
fc-lang/uk.orth | 4 ++--
fc-lang/ur.orth | 4 ++--
fc-lang/uz.orth | 4 ++--
fc-lang/ven.orth | 4 ++--
fc-lang/vi.orth | 4 ++--
fc-lang/vo.orth | 4 ++--
fc-lang/vot.orth | 4 ++--
fc-lang/wa.orth | 4 ++--
fc-lang/wen.orth | 4 ++--
fc-lang/wo.orth | 4 ++--
fc-lang/xh.orth | 4 ++--
fc-lang/yap.orth | 4 ++--
fc-lang/yi.orth | 4 ++--
fc-lang/yo.orth | 4 ++--
fc-lang/zh_cn.orth | 4 ++--
fc-lang/zh_hk.orth | 4 ++--
fc-lang/zh_mo.orth | 4 ++--
fc-lang/zh_sg.orth | 4 ++--
fc-lang/zh_tw.orth | 4 ++--
fc-lang/zu.orth | 4 ++--
177 files changed, 354 insertions(+), 354 deletions(-)
Add .cvsignore
doc/.cvsignore | 4 ++++
1 file changed, 4 insertions(+)
Allow multiple directories in --with-add-fonts, by default add only
scalable fonts from X directory
configure.in | 48 ++++++++++++++++++++++++++++++++----------------
1 file changed, 32 insertions(+), 16 deletions(-)
Update version to 2.1.91
configure.in | 2 +-
fontconfig/fontconfig.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Sun Mar 2 14:16:17 2003 Owen Taylor <otaylor@redhat.com>
fontconfig.spec.in: Improvements from Red Hat spec file.
{fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
docs/*.sgml: SGML fixes.
ChangeLog | 8 ++
doc/fontconfig-devel.sgml | 237
+++++++++++++++++++++++-----------------------
doc/fontconfig-user.sgml | 8 +-
fc-cache/Makefile.am | 2 +
fc-lang/Makefile.am | 2 +
fc-list/Makefile.am | 2 +
fontconfig.spec.in | 86 +++++++++--------
7 files changed, 191 insertions(+), 154 deletions(-)
Ignore dist files
.cvsignore | 1 +
1 file changed, 1 insertion(+)
Switch back to -version-info for fontconfig as its at minor 0. Add
--system-only to fc-cache. Fix FC_VERSION to match product version
rather than .so version
Makefile.am | 1 -
configure.in | 23 +-
fc-cache/fc-cache.c | 8 +
fc-lang/fc-lang.c | 6 +
fontconfig/fontconfig.h | 16 +-
ltmain.sh | 6192
-----------------------------------------------
src/Makefile.am | 2 +-
src/fccfg.c | 25 +-
src/fcint.h | 3 +
src/fcstr.c | 8 +-
src/fcxml.c | 14 +-
11 files changed, 79 insertions(+), 6219 deletions(-)
oops -- X fonts referenced from the wrong place
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Make default confdir point to sysconfdir
configure.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Add ltmain.sh to the package
Makefile.am | 1 +
1 file changed, 1 insertion(+)
make dist works now. Update to 2.1.90 in preparation for eventual 2.2
release
COPYING | 4 +-
ChangeLog | 20 +
INSTALL | 11 +-
Makefile.am | 3 +-
README | 6 +-
configure.in | 11 +-
fc-lang/Makefile.am | 2 +
src/Makefile.am | 2 +
src/fcknownsets.h | 1895
---------------------------------------------------
test/Makefile.am | 3 +
10 files changed, 42 insertions(+), 1915 deletions(-)
Add .cvsignore
test/.cvsignore | 2 ++
1 file changed, 2 insertions(+)
Add simple tests
Makefile.am | 2 +-
configure.in | 1 +
test/4x6.pcf | Bin 0 -> 70952 bytes
test/8x16.pcf | Bin 0 -> 21320 bytes
test/Makefile.am | 4 +++
test/fonts.conf.in | 4 +++
test/out.expected | 8 +++++
test/run-test.sh | 85
+++++++++++++++++++++++++++++++++++++++++++++++++++++
8 files changed, 103 insertions(+), 1 deletion(-)
Add --disable-docs flag
configure.in | 16 ++++++++++++++++
doc/Makefile.am | 21 ++++++++++++++++-----
src/Makefile.am | 4 ----
3 files changed, 32 insertions(+), 9 deletions(-)
Switch to docbook and split documentation into pieces
Makefile.am | 2 +-
configure.in | 15 +
doc/Makefile.am | 35 ++
src/fontconfig.3 | 1466
------------------------------------------------------
4 files changed, 51 insertions(+), 1467 deletions(-)
Reformat documentation into sgml for docbook, split into user/devel
guides
doc/fontconfig-devel.sgml | 1257
+++++++++++++++++++++++++++++++++++++++++++++
doc/fontconfig-user.sgml | 559 ++++++++++++++++++++
doc/fontconfig.tex | 55 --
3 files changed, 1816 insertions(+), 55 deletions(-)
Disable globaladvance for batang fonts
fonts.conf.in | 10 ++++++++++
1 file changed, 10 insertions(+)
Disable globaladvance for gulim fonts
fonts.conf.in | 15 +++++++++++++++
1 file changed, 15 insertions(+)
Stop setting FC_SPACING from font hints. Theyre always wrong
src/fcfreetype.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Avoid crashing with null expressions in debug code
src/fcdbg.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Allow double or integer for numeric values in matching
src/fcdbg.c | 4 ++--
src/fcmatch.c | 34 ++++++++++++++++++++++++++--------
2 files changed, 28 insertions(+), 10 deletions(-)
Add remaining .cvsignore files
fc-cache/.cvsignore | 5 +++++
fc-lang/.cvsignore | 6 ++++++
fc-list/.cvsignore | 5 +++++
fontconfig/.cvsignore | 2 ++
src/.cvsignore | 6 ++++++
5 files changed, 24 insertions(+)
Add .cvsignore file
.cvsignore | 15 +++++++++++++++
1 file changed, 15 insertions(+)
Switch to automake
Makefile.am | 49 +
Makefile.in | 91 -
autogen.sh | 89 +
config.h.in | 138 --
configure.in | 425 ++--
cvscompile.sh | 11 -
fc-cache/Makefile.am | 28 +
fc-cache/Makefile.in | 53 -
fc-lang/Makefile.am | 38 +
fc-list/Makefile.am | 28 +
fc-list/Makefile.in | 54 -
findfonts | 4 -
fontconfig.spec.in | 74 +
fontconfig/Makefile.am | 8 +
fontconfig/Makefile.in | 39 -
fontconfig/fontconfig.h | 3 +-
fonts.conf.in | 12 +-
local.conf | 5 +
local.def | 70 -
ltmain.sh | 6192
+++++++++++++++++++++++++++++++++++++++++++++++
setfontdirs | 36 -
src/Makefile.am | 38 +
src/Makefile.in | 120 -
src/fontconfig.3 | 1466 +++++++++++
src/fontconfig.man | 1466 -----------
25 files changed, 8214 insertions(+), 2323 deletions(-)
Dont attempt to use cache if NULL
src/fcdir.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Remove broken fontconfig-config script
Makefile.in | 9 -----
configure.in | 3 +-
fontconfig-config.in | 94
----------------------------------------------------
3 files changed, 1 insertion(+), 105 deletions(-)
Track dirs containing fonts.cache files referenced from ~/.fonts.cache
file
src/fccache.c | 45 ++++++++++++++++++++++++++++++++++++++-------
src/fcdir.c | 3 +++
src/fcint.h | 4 ++++
3 files changed, 45 insertions(+), 7 deletions(-)
Have fc-cache skip directories without write access
fc-cache/fc-cache.c | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)
Add prefer_outline hacks to replace bitmap fonts with equivalent
outlines
fonts.conf.in | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Add "same" binding for edits to inherit binding from matched element
fonts.dtd | 2 +-
src/fccfg.c | 10 +++++++++-
src/fcint.h | 2 +-
src/fcxml.c | 2 ++
4 files changed, 13 insertions(+), 3 deletions(-)
Output langsets and all bindings in debug messages
src/fcdbg.c | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
Make FcStrCmpIgnoreCase a bit faster
src/fcstr.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Dont cache directorys until theyve been scanned. Avoids losing subdir
contents. Also fixed cache hashing function (was returning
constant).
Lots of comments
src/fccache.c | 38 ++++++++++++++++++++++++++++++++------
src/fcdir.c | 11 +++++++++--
2 files changed, 41 insertions(+), 8 deletions(-)
fontconfig is no longer affiliated with xfree86
src/fontconfig.man | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Emphasize that fonts.conf isnt the right place for local configuration
fonts.conf.in | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Remove Imakefile
Imakefile | 90
---------------------------------------------------------------
1 file changed, 90 deletions(-)
Build fc-lang, install local.conf
Makefile.in | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
Avoid crash when $HOME is not set
src/fcstr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Update greek orthography from vvas@hal.csd.auth.gr (Vasilis Vasaitis)
fc-lang/el.orth | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
add shared library support for Tru64 UNIX and IRIX (bug #14)
configure.in | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
Fix inconsistent const usage in FcConfigCompareValue
src/fccfg.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Build fclang.h before building library This required compiling
the charset
funcs into fc-lang, which was done by refactoring code in
fccharset.c
and fcfreetype.c a bit
Updated ethiopic orthographies
Remove imake support
Install empty local.conf file if none is present
fc-cache/Imakefile | 22 -
fc-lang/Imakefile | 56 -
fc-lang/am.orth | 10 +-
fc-lang/fc-lang.c | 21 +-
fc-lang/fclang.h | 4006
--------------------------------------------------
fc-lang/gez.orth | 55 +-
fc-lang/ti.orth | 28 -
fc-lang/ti_er.orth | 56 +
fc-lang/ti_et.orth | 33 +
fc-lang/tig.orth | 52 +
fc-list/Imakefile | 17 -
fontconfig/Imakefile | 8 -
src/Imakefile | 48 -
src/fccharset.c | 769 +---------
src/fcfreetype.c | 768 ++++++++++
src/fcint.h | 19 +-
16 files changed, 975 insertions(+), 4993 deletions(-)
Bug #4 The last entry for the terminator should not be 0xfffa,
but 0xfffb.
fonts.conf.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Bug #2 If a sub-make fails, then the build will still happily
continue. I
will attach a patch I have been using in the Debian package for a
while.
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
703. Eliminate locale-dependent behaviour in fontconfig's setfontdirs
script (#A.1483, Markus Kuhn).
setfontdirs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
On Darwin add Mac font directories to fonts.conf.
Imakefile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
677. Fix a segfault in fontconfig (#A.1450, Keith Packard).
src/fccfg.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Test for "ed" and "ex" -- part of update for LynxOS/PowerPC build
fixes
(Stuart Lissaman).
setfontdirs | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
633. Perform country-independent matching for Chinese languages in
fontconfig (#A.1406, Keith Packard).
fc-lang/fc-lang.c | 76
++++++++++++++++++++++++++++++++++++++++++++++++++-----
fc-lang/fclang.h | 10 +++++++-
src/fclang.c | 15 +++++++----
3 files changed, 89 insertions(+), 12 deletions(-)
632. Finish off the UTF-16 APIs in Xft, and fix the UTF-16 conversion
code
in fontconfig (#A.1411, Keith Packard, Jungshik Shin).
src/fcstr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
574. Make RENDER optional for Xvfb. When RENDER is enabled add
depth 32
pixmap format to list of supported pixmaps (Egbert Eich).
573. Fix va_args glitches for xterm/libfontconfig: 0 == (void*)0
isn't true
for all platforms (Egbert Eich).
572. Fix lbxproxy to also build on platforms that don't have
snprintf()
(Egbert Eich).
571. Fix va_args glitches in mkfontscale: arg stack isn't preserved
after
calling va_arg on all platforms (Egbert Eich).
570. Fixed x11perf aa benchmarks to support non-default
visuals/colormaps
(Egbert Eich).
fontconfig/fcprivate.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
In debugging output, mark weakly bound values with (w)
src/fcdbg.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Use unique local Imake define for fonts.conf dir (#5482, Mike
A. Harris)
Imakefile | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
483. Fix fontconfig to obey NothingOutsideProjectRoot, so that the
directory /usr/share/fonts is ignored in this case (#A.1325,
Joe Moss).
Imakefile | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
Elide historic cyrillic letters from several orthographies as they are
unnecessary for modern documents and ill supported by fonts
fc-lang/bua.orth | 6 +++---
fc-lang/fclang.h | 14 +++++++-------
fc-lang/kaa.orth | 6 +++---
fc-lang/ky.orth | 6 +++---
fc-lang/ru.orth | 10 +++++++---
fc-lang/sah.orth | 6 +++---
fc-lang/tk.orth | 6 +++---
fc-lang/tt.orth | 6 +++---
fc-lang/tyv.orth | 6 +++---
9 files changed, 35 insertions(+), 31 deletions(-)
Add a bunch more consts to Xft and fontconfig apis
fontconfig/fcfreetype.h | 2 +-
fontconfig/fontconfig.h | 20 ++++++++++----------
src/fcpat.c | 20 ++++++++++----------
3 files changed, 21 insertions(+), 21 deletions(-)
Change comments a bit in fonts.conf.in
fonts.conf.in | 7 +++++++
1 file changed, 7 insertions(+)
English orthography included 0xd. instead of 0xe. for several
codepoints.
Oops
fc-lang/en.orth | 8 ++++----
fc-lang/fclang.h | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
Add FC_RGBA_UNKNOWN
fontconfig/fontconfig.h | 5 +++--
src/fcname.c | 5 +++--
src/fontconfig.man | 4 +++-
3 files changed, 9 insertions(+), 5 deletions(-)
Fix alignment issue on sparc
src/fcpat.c | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
Add fontversion field
fontconfig/fontconfig.h | 3 ++-
src/fcdefault.c | 6 +++++-
src/fcfreetype.c | 18 +++++++++++++++++-
src/fcmatch.c | 15 ++++++++++++---
src/fcname.c | 3 ++-
5 files changed, 38 insertions(+), 7 deletions(-)
Was losing local cached dirs in global cache list
src/fccache.c | 17 ++++++++---------
src/fcdir.c | 4 +++-
src/fcint.h | 10 ++++++----
3 files changed, 17 insertions(+), 14 deletions(-)
Add a few more permissable blank glyphs
fonts.conf.in | 6 ++++++
1 file changed, 6 insertions(+)
Pacify gcc 3.2
fc-cache/fc-cache.c | 3 ++-
src/fclist.c | 4 ++--
src/fcpat.c | 4 ++--
3 files changed, 6 insertions(+), 5 deletions(-)
Fix structure alignment and array wlk bugs
src/fcpat.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Add a bunch more blank glyphs, plus label existing blanks with
official
unicode names
fonts.conf.in | 66
+++++++++++++++++++++++++++++++++--------------------------
1 file changed, 37 insertions(+), 29 deletions(-)
Found a few more blank glyphs to add
fonts.conf.in | 4 ++++
1 file changed, 4 insertions(+)
Add more blank glyphs to default config
fonts.conf.in | 14 ++++++++++++++
1 file changed, 14 insertions(+)
Update ChangeLog with a few notes
ChangeLog | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
More complete memory tracking. Install always overwrites header files
fontconfig/Makefile.in | 17 ++++-------------
src/fcatomic.c | 8 +++++++-
src/fcblanks.c | 8 ++++++++
src/fccache.c | 37 +++++++++++++++++++++++++++----------
src/fccfg.c | 6 ++++--
src/fccharset.c | 10 +++++++---
src/fcdir.c | 3 ++-
src/fcfreetype.c | 8 +++++---
src/fcinit.c | 48
++++++++++++++++++++++++++++++------------------
src/fcint.h | 16 ++++++++++++++--
src/fcmatch.c | 3 ++-
src/fcname.c | 7 ++++++-
src/fcpat.c | 3 ++-
src/fcstr.c | 5 +++++
src/fcxml.c | 33 ++++++++++++++++++++++++++++-----
15 files changed, 151 insertions(+), 61 deletions(-)
Update latin and cyrillic orthographies by comparing those found at
evertype.com with those from eki.ee
fc-lang/ab.orth | 7 +-
fc-lang/az.orth | 65 ++-
fc-lang/ba.orth | 43 +-
fc-lang/be.orth | 20 +-
fc-lang/bg.orth | 21 +-
fc-lang/br.orth | 33 +-
fc-lang/ca.orth | 50 +-
fc-lang/cs.orth | 67 ++-
fc-lang/da.orth | 83 ++-
fc-lang/de.orth | 33 +-
fc-lang/es.orth | 42 +-
fc-lang/et.orth | 35 +-
fc-lang/eu.orth | 26 +-
fc-lang/fclang.h | 1602
++++++++++++++++++++++++++----------------------------
fc-lang/fi.orth | 40 +-
fc-lang/fo.orth | 57 +-
fc-lang/fy.orth | 24 +-
fc-lang/ga.orth | 78 ++-
fc-lang/gd.orth | 23 +-
fc-lang/gl.orth | 7 +-
fc-lang/hr.orth | 33 +-
fc-lang/hu.orth | 13 +-
fc-lang/is.orth | 31 +-
fc-lang/it.orth | 24 +-
fc-lang/kk.orth | 15 +-
fc-lang/kl.orth | 35 +-
fc-lang/lt.orth | 11 +-
fc-lang/lv.orth | 7 +-
fc-lang/mt.orth | 50 +-
fc-lang/nl.orth | 27 +-
fc-lang/no.orth | 49 +-
fc-lang/oc.orth | 37 +-
fc-lang/pl.orth | 16 +-
fc-lang/pt.orth | 40 +-
fc-lang/rm.orth | 13 +-
fc-lang/ro.orth | 6 +-
fc-lang/sk.orth | 31 +-
fc-lang/sl.orth | 82 ++-
fc-lang/sq.orth | 7 +-
fc-lang/sr.orth | 25 +-
fc-lang/sv.orth | 76 ++-
fc-lang/tr.orth | 34 +-
fc-lang/uk.orth | 20 +-
fc-lang/vot.orth | 5 +-
44 files changed, 1799 insertions(+), 1244 deletions(-)
FcLangSetHasLang was not actually checking the language set itself
ChangeLog | 4 ++++
src/fclang.c | 7 ++++---
2 files changed, 8 insertions(+), 3 deletions(-)
Update ChangeLog, fix some bugs in the man page
ChangeLog | 3 +++
src/fontconfig.man | 68
+++++++++++++++++++++++++++++-------------------------
2 files changed, 39 insertions(+), 32 deletions(-)
Append version number to cache file names
fontconfig/fontconfig.h | 18 +++++++++++++++---
src/fcdir.c | 6 +++---
src/fcint.h | 2 +-
src/fontconfig.man | 5 +++--
4 files changed, 22 insertions(+), 9 deletions(-)
Add const to a bunch of string APIs
fontconfig/fontconfig.h | 32 ++++++++++++++++----------------
src/fcstr.c | 46
+++++++++++++++++++++++-----------------------
2 files changed, 39 insertions(+), 39 deletions(-)
Add contains/not_contains, fix LangSet equal operator to use
FcLangEqual
ChangeLog | 13 +++++++++++++
fonts.dtd | 6 ++++--
src/fccfg.c | 28 +++++++++++++++++++++-------
src/fcdbg.c | 9 ++++++---
src/fcint.h | 4 ++--
src/fclang.c | 1 +
src/fclist.c | 8 ++++----
src/fcxml.c | 19 ++++++++++++++++---
8 files changed, 67 insertions(+), 21 deletions(-)
Reimplement FC_LANG as FcTypeLang, freeze patterns, other cleanup
ChangeLog | 22 +-
fc-lang/fc-lang.c | 24 ++-
fc-lang/fclang.h | 556
++++++++++++++++++++++++------------------------
fontconfig/fcprivate.h | 5 +-
fontconfig/fontconfig.h | 46 +++-
src/fccache.c | 16 +-
src/fccfg.c | 22 +-
src/fccharset.c | 80 ++++---
src/fcdbg.c | 5 +-
src/fcfreetype.c | 11 +-
src/fcinit.c | 14 +-
src/fcint.h | 35 +--
src/fclang.c | 431 ++++++++++++++++++++++++++++++++-----
src/fclist.c | 4 +-
src/fcmatch.c | 31 ++-
src/fcname.c | 29 ++-
src/fcpat.c | 301 +++++++++++++++++++++++++-
src/fcstr.c | 14 +-
18 files changed, 1235 insertions(+), 411 deletions(-)
Memory leak in XML parsing of matrices (thanks Owen)
src/fcxml.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Various config changes plus a couple of optimizations from Owen
ChangeLog | 19 ++++++++
config.h.in | 9 ----
config/Makedefs.in | 25 +++++------
configure.in | 117
++++++++----------------------------------------
fc-cache/Imakefile | 2 +-
fc-lang/Imakefile | 4 +-
fc-lang/ja.orth | 4 +-
fc-lang/ko.orth | 5 ++-
fc-lang/zh_cn.orth | 5 ++-
fc-lang/zh_sg.orth | 4 +-
fc-list/Imakefile | 2 +-
fontconfig/fcprivate.h | 4 +-
fontconfig/fontconfig.h | 18 ++++----
fonts.conf.in | 12 +++++
src/Imakefile | 2 +-
src/fccache.c | 69 +++++++++++++++++-----------
src/fccfg.c | 33 ++++++--------
src/fcdbg.c | 7 +--
src/fclist.c | 4 +-
src/fcmatch.c | 5 +--
src/fcname.c | 4 +-
src/fcpat.c | 43 +-----------------
src/fcxml.c | 17 +------
src/fontconfig.man | 22 ++++-----
24 files changed, 159 insertions(+), 277 deletions(-)
Make missing font directory messages only displayed when verbose
fc-cache/fc-cache.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Clean up French orthography, update 639-1 list of supported languages
fc-lang/fclang.h | 2 +-
fc-lang/fr.orth | 59 +++++++++++++++------------
fc-lang/iso639-1 | 122
+++++++++++++++++++++++++++----------------------------
3 files changed, 95 insertions(+), 88 deletions(-)
Fix weird first/not-first lameness in font matches, replacing
with target
qualifiers on test elements. Update library manual page.
fontconfig/fcprivate.h | 5 +-
fontconfig/fontconfig.h | 23 +++-
fonts.conf.in | 9 +-
fonts.dtd | 4 +
src/fccfg.c | 142 ++++++++-------------
src/fcdbg.c | 29 +++--
src/fcint.h | 19 ++-
src/fclist.c | 4 +-
src/fcmatch.c | 19 +--
src/fcname.c | 4 +-
src/fcpat.c | 43 ++++++-
src/fcxml.c | 33 ++++-
src/fontconfig.man | 332
++++++++++++++++++++++++++++++++++++++++++++----
13 files changed, 510 insertions(+), 156 deletions(-)
Help message said -v was for --force
fc-cache/fc-cache.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Add Afar, Amharic, Aymara, Bini, Dzongkha, Fijian, Hiri Motu,
Interlingua,
Interlingue, Ido, Kikuyu, Burmese, Oromo, Somali, Swahili,
Tigrinya,
Tsonga, Twi, Uighur, Urdu, Xhosa and Zulu orthographies
fc-lang/Imakefile | 42 +-
fc-lang/aa.orth | 40 ++
fc-lang/am.orth | 28 +
fc-lang/ay.orth | 37 ++
fc-lang/bin.orth | 55 ++
fc-lang/dz.orth | 28 +
fc-lang/fclang.h | 1752
+++++++++++++++++++++++++++++------------------------
fc-lang/fj.orth | 34 ++
fc-lang/ho.orth | 33 +
fc-lang/ia.orth | 29 +
fc-lang/ie.orth | 29 +
fc-lang/io.orth | 29 +
fc-lang/iso639-2 | 48 +-
fc-lang/ki.orth | 33 +
fc-lang/my.orth | 37 ++
fc-lang/om.orth | 29 +
fc-lang/so.orth | 29 +
fc-lang/sw.orth | 29 +
fc-lang/ti.orth | 28 +
fc-lang/ts.orth | 29 +
fc-lang/tw.orth | 50 ++
fc-lang/ug.orth | 29 +
fc-lang/ur.orth | 29 +
fc-lang/xh.orth | 29 +
fc-lang/zu.orth | 29 +
25 files changed, 1718 insertions(+), 846 deletions(-)
Add Asturian, Old Church Slavonic, Friulian, Manx Gaelic, Cornish,
Scots,
Syriac and Votic orthographies
fc-lang/Imakefile | 39 +-
fc-lang/ast.orth | 47 ++
fc-lang/cu.orth | 42 ++
fc-lang/fclang.h | 1776
++++++++++++++++++++++++++++-------------------------
fc-lang/fur.orth | 39 ++
fc-lang/fy.orth | 26 +-
fc-lang/gv.orth | 31 +
fc-lang/iso639-2 | 20 +-
fc-lang/kw.orth | 35 ++
fc-lang/sco.orth | 32 +
fc-lang/syr.orth | 29 +
fc-lang/to.orth | 4 +-
fc-lang/vot.orth | 37 ++
13 files changed, 1300 insertions(+), 857 deletions(-)
Short circuit FcPatternEqual when both args point at the same pattern
src/fcpat.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Update fontconfig manual to match current bits
src/fontconfig.man | 100
++++++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 83 insertions(+), 17 deletions(-)
Uninitialized member of cache structure could lead to non-updated
cache
files
src/fccache.c | 1 +
1 file changed, 1 insertion(+)
Fix Imakefile to make fclang.h writable
fc-lang/Imakefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add Latin-1 characters needed by Welsh
fc-lang/cy.orth | 17 +-
fc-lang/fclang.h | 1430
+++++++++++++++++++++++++++---------------------------
2 files changed, 733 insertions(+), 714 deletions(-)
Always install fonts.conf and fonts.dtd, moving any existing
fonts.conf to
fonts.conf.bak. Add ~/.fonts to default font directories and
add some
useful comments to fonts.conf
Imakefile | 17 +++++++++++++++--
fonts.conf.in | 12 ++++++++++++
setfontdirs | 2 ++
3 files changed, 29 insertions(+), 2 deletions(-)
Fix autoconf build BSD install and sysconfdir problems
ChangeLog | 17 +++++++++++++++++
Makefile.in | 10 +++++-----
config.h.in | 3 +++
config/Makedefs.in | 5 +++--
configure.in | 14 +++++++++++++-
fc-cache/Makefile.in | 4 ++--
fc-list/Makefile.in | 4 ++--
fontconfig/Makefile.in | 8 ++++----
src/Makefile.in | 2 +-
9 files changed, 50 insertions(+), 17 deletions(-)
Warning fix
fontconfig/fontconfig.h | 5 ++++-
src/fcint.h | 5 +----
2 files changed, 5 insertions(+), 5 deletions(-)
Add binding property to edit element
fonts.conf.in | 12 +++++++++---
fonts.dtd | 3 ++-
src/fccfg.c | 8 ++++----
src/fcint.h | 3 ++-
src/fcxml.c | 35 ++++++++++++++++++++++++++++-------
5 files changed, 45 insertions(+), 16 deletions(-)
Rewrite global cache handling code in fontconfig to eliminate per-file
syscalls
fontconfig/fontconfig.h | 5 +-
src/fccache.c | 968
+++++++++++++++++++++++++++++++-----------------
src/fccfg.c | 23 +-
src/fcdir.c | 183 +++++----
src/fcint.h | 126 +++++--
src/fcmatrix.c | 9 +-
6 files changed, 830 insertions(+), 484 deletions(-)
Add ngai tahu specific chars to maori orthography
fc-lang/Imakefile | 1 +
fc-lang/fclang.h | 802
+++++++++++++++++++++++++++---------------------------
fc-lang/mi.orth | 1 +
3 files changed, 405 insertions(+), 399 deletions(-)
Add fclang.c to Makefile.in
src/Makefile.in | 2 ++
1 file changed, 2 insertions(+)
Trim ja orthography of a couple codepoints not found in kochi fonts
fc-lang/fclang.h | 4 ++--
fc-lang/ja.orth | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
Fix typo in geez (ethiopic) orthography
fc-lang/fclang.h | 2 +-
fc-lang/gez.orth | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Add some Utf16 support, extract font family and style names from
name table
for sfnt fonts
fontconfig/fontconfig.h | 23 +++-
src/fccharset.c | 40 ++++--
src/fcfreetype.c | 342
++++++++++++++++++++++++++++++++++++++++++++++--
src/fcint.h | 11 ++
src/fcstr.c | 99 +++++++++++++-
5 files changed, 495 insertions(+), 20 deletions(-)
Clean up some coverage files; a few accidentally included PUA
values and
punctuation. Add debugging stuff to dump out missing codepoints
during
cache building when missing only a few
fc-lang/bg.orth | 13 +-
fc-lang/bi.orth | 10 +-
fc-lang/bo.orth | 17 +-
fc-lang/el.orth | 20 +-
fc-lang/fclang.h | 1630
++++++++++++++++++++++++++----------------------------
fc-lang/ga.orth | 4 +-
fc-lang/gn.orth | 4 +-
fc-lang/hy.orth | 6 +-
fc-lang/km.orth | 6 +-
fc-lang/ko.orth | 128 ++---
fc-lang/lb.orth | 10 +-
fc-lang/mg.orth | 6 +-
fc-lang/mh.orth | 14 +-
fc-lang/mk.orth | 12 +-
fc-lang/mn.orth | 14 +-
fc-lang/mo.orth | 4 +-
fc-lang/ro.orth | 4 +-
fc-lang/si.orth | 8 +-
fc-lang/tl.orth | 11 +-
fc-lang/yo.orth | 80 +--
src/fclang.c | 33 +-
21 files changed, 1017 insertions(+), 1017 deletions(-)
Add a bunch more languages that use the Latin alphabet
fc-lang/Imakefile | 35 +-
fc-lang/af.orth | 46 ++
fc-lang/bam.orth | 37 ++
fc-lang/bi.orth | 39 ++
fc-lang/bs.orth | 39 ++
fc-lang/ch.orth | 35 +
fc-lang/cy.orth | 48 ++
fc-lang/fclang.h | 1900
+++++++++++++++++++++++++++++++++--------------------
fc-lang/ful.orth | 38 ++
fc-lang/gn.orth | 48 ++
fc-lang/ha.orth | 36 +
fc-lang/haw.orth | 35 +
fc-lang/ibo.orth | 35 +
fc-lang/id.orth | 31 +
fc-lang/iso639-2 | 64 +-
fc-lang/lb.orth | 60 ++
fc-lang/mg.orth | 35 +
fc-lang/mh.orth | 45 ++
fc-lang/mi.orth | 34 +
fc-lang/ny.orth | 30 +
fc-lang/se.orth | 37 ++
fc-lang/sm.orth | 30 +
fc-lang/sma.orth | 37 ++
fc-lang/smj.orth | 37 ++
fc-lang/smn.orth | 40 ++
fc-lang/sms.orth | 48 ++
fc-lang/tn.orth | 33 +
fc-lang/to.orth | 30 +
fc-lang/ven.orth | 34 +
fc-lang/vi.orth | 58 ++
fc-lang/wen.orth | 42 ++
fc-lang/wo.orth | 42 ++
fc-lang/yap.orth | 35 +
fc-lang/yo.orth | 86 +++
src/fcxml.c | 12 +-
35 files changed, 2522 insertions(+), 749 deletions(-)
Add nynorsk and bokml, remove double angle quotes from other languages
fc-lang/Imakefile | 31 +-
fc-lang/ab.orth | 6 +-
fc-lang/ba.orth | 6 +-
fc-lang/be.orth | 6 +-
fc-lang/br.orth | 8 +-
fc-lang/da.orth | 6 +-
fc-lang/de.orth | 6 +-
fc-lang/fclang.h | 854
+++++++++++++++++++++++++++---------------------------
fc-lang/fr.orth | 10 +-
fc-lang/gl.orth | 10 +-
fc-lang/iso639-2 | 4 +-
fc-lang/kk.orth | 6 +-
fc-lang/kl.orth | 6 +-
fc-lang/nb.orth | 25 ++
fc-lang/nn.orth | 43 +++
fc-lang/no.orth | 6 +-
fc-lang/ru.orth | 6 +-
fc-lang/uk.orth | 6 +-
18 files changed, 565 insertions(+), 480 deletions(-)
Missed adding kumyk
fc-lang/Imakefile | 19 +++++------
fc-lang/fclang.h | 74 +++++++++++++++++++++---------------------
fc-lang/iso639-2 | 2 +-
fc-lang/kum.orth | 96
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 145 insertions(+), 46 deletions(-)
Add devanagari and cyrillic languages. Add Geez
fc-lang/Imakefile | 36 +-
fc-lang/ava.orth | 97 ++++
fc-lang/bh.orth | 25 +
fc-lang/bho.orth | 25 +
fc-lang/bua.orth | 102 ++++
fc-lang/ce.orth | 97 ++++
fc-lang/chm.orth | 109 ++++
fc-lang/cv.orth | 109 ++++
fc-lang/fclang.h | 1612
+++++++++++++++++++++++++++++++----------------------
fc-lang/gez.orth | 57 ++
fc-lang/hi.orth | 35 ++
fc-lang/ik.orth | 100 ++++
fc-lang/iso639-2 | 54 +-
fc-lang/iu.orth | 77 +++
fc-lang/kaa.orth | 110 ++++
fc-lang/kok.orth | 25 +
fc-lang/ks.orth | 25 +
fc-lang/ku.orth | 94 ++++
fc-lang/kv.orth | 101 ++++
fc-lang/ky.orth | 102 ++++
fc-lang/lez.orth | 97 ++++
fc-lang/mr.orth | 25 +
fc-lang/ne.orth | 25 +
fc-lang/os.orth | 96 ++++
fc-lang/sa.orth | 25 +
fc-lang/sah.orth | 108 ++++
fc-lang/sel.orth | 96 ++++
fc-lang/tg.orth | 108 ++++
fc-lang/tk.orth | 106 ++++
fc-lang/tt.orth | 108 ++++
fc-lang/tyv.orth | 102 ++++
fc-lang/uz.orth | 98 ++++
32 files changed, 3278 insertions(+), 708 deletions(-)
Remove old FC_LANG constants now that fontconfig uses RFC 3066
based names
fontconfig/fontconfig.h | 42 +-----------------------------------------
1 file changed, 1 insertion(+), 41 deletions(-)
Use presentation forms for arabic matching, fix comment labeling
persian
general forms
fc-lang/ar.orth | 114
+++++++++++++++++++++++++++++++------------------------
fc-lang/fa.orth | 4 +-
fc-lang/fclang.h | 4 +-
3 files changed, 69 insertions(+), 53 deletions(-)
Use locale data set FC_LANG by default. Reorder FcPattern and
FcValueList
to match Xft1.
src/fcdefault.c | 53
+++++++++++++++++++++++++++++++++++++++++++++++++++++
src/fcint.h | 4 ++--
2 files changed, 55 insertions(+), 2 deletions(-)
Trim ideographic punctuation and Suzhou numerals from zh-tw
orthography.
Had accidentally swapped codePageRange bits for traditional and
simplified chinese. Add persian (fa) and HKSCS (zh-hk). Fix
possible
bug in charset walking
fc-lang/Imakefile | 18 +-
fc-lang/fa.orth | 53 ++
fc-lang/fclang.h | 1554 ++++++++++++++++++++++--------------
fc-lang/iso639-2 | 4 +-
fc-lang/zh_hk.orth | 2240
++++++++++++++++++++++++++++++++++++++++++++++++++++
fc-lang/zh_tw.orth | 33 +-
src/fccharset.c | 4 +-
src/fcfreetype.c | 6 +-
8 files changed, 3292 insertions(+), 620 deletions(-)
Update iso639-2 language coverage info, fix Georgian orthography to
eliminate Mingrelian and Svan glyphs, use coverage for inclusion
and
OS/2 for Han exclusion, restructure fclang.c to use fclang.h from
fc-lang dir
fc-lang/Imakefile | 8 +-
fc-lang/fclang.h | 2624
++++++++++++++++++++++++++++++++++++++++++++++++
fc-lang/fclang.tmpl.c | 130 ---
fc-lang/fclang.tmpl.h | 25 +
fc-lang/iso639-2 | 30 +-
fc-lang/ka.orth | 5 +-
fc-lang/zh_mo.orth | 27 +
fc-lang/zh_sg.orth | 27 +
src/fcfreetype.c | 238 +----
src/fcint.h | 9 +-
src/fclang.c | 2632
+------------------------------------------------
11 files changed, 2794 insertions(+), 2961 deletions(-)
Add walloon, update fclang.c to include recent language additions
fc-lang/Imakefile | 4 +-
fc-lang/wa.orth | 47 ++
src/fclang.c | 1252
++++++++++++++++++++++++++++++-----------------------
3 files changed, 757 insertions(+), 546 deletions(-)
Share more duplicate charset data
fc-lang/Imakefile | 19 ++++++++++---------
fc-lang/bn.orth | 41 +++++++++++++++++++++++++++++++++++++++++
fc-lang/bo.orth | 30 ++++++++++++++++++++++++++++++
fc-lang/fc-lang.c | 28 ++++++++++++++++++++++++++--
fc-lang/gu.orth | 41 +++++++++++++++++++++++++++++++++++++++++
fc-lang/iso639-2 | 26 +++++++++++++-------------
fc-lang/km.orth | 29 +++++++++++++++++++++++++++++
fc-lang/kn.orth | 40 ++++++++++++++++++++++++++++++++++++++++
fc-lang/lo.orth | 45 +++++++++++++++++++++++++++++++++++++++++++++
fc-lang/ml.orth | 38 ++++++++++++++++++++++++++++++++++++++
fc-lang/mn.orth | 31 +++++++++++++++++++++++++++++++
fc-lang/or.orth | 41 +++++++++++++++++++++++++++++++++++++++++
fc-lang/si.orth | 38 ++++++++++++++++++++++++++++++++++++++
fc-lang/ta.orth | 43 +++++++++++++++++++++++++++++++++++++++++++
fc-lang/te.orth | 39 +++++++++++++++++++++++++++++++++++++++
fc-lang/tl.orth | 29 +++++++++++++++++++++++++++++
16 files changed, 534 insertions(+), 24 deletions(-)
Add fclang.c to CVS; easier than attempting to build it on the fly
src/fclang.c | 2561
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 2561 insertions(+)
Remove at and grave from latin languages, add copyright, license
and RCS
header
fc-lang/Imakefile | 2 ++
fc-lang/ab.orth | 23 +++++++++++++++++++++++
fc-lang/ar.orth | 23 +++++++++++++++++++++++
fc-lang/az.orth | 27 +++++++++++++++++++++++++--
fc-lang/ba.orth | 23 +++++++++++++++++++++++
fc-lang/be.orth | 23 +++++++++++++++++++++++
fc-lang/bg.orth | 23 +++++++++++++++++++++++
fc-lang/br.orth | 27 +++++++++++++++++++++++++--
fc-lang/ca.orth | 27 +++++++++++++++++++++++++--
fc-lang/chr.orth | 23 +++++++++++++++++++++++
fc-lang/co.orth | 23 +++++++++++++++++++++++
fc-lang/cs.orth | 27 +++++++++++++++++++++++++--
fc-lang/da.orth | 27 +++++++++++++++++++++++++--
fc-lang/de.orth | 27 +++++++++++++++++++++++++--
fc-lang/el.orth | 23 +++++++++++++++++++++++
fc-lang/en.orth | 27 +++++++++++++++++++++++++--
fc-lang/eo.orth | 27 +++++++++++++++++++++++++--
fc-lang/es.orth | 27 +++++++++++++++++++++++++--
fc-lang/et.orth | 27 +++++++++++++++++++++++++--
fc-lang/eu.orth | 27 +++++++++++++++++++++++++--
fc-lang/fi.orth | 27 +++++++++++++++++++++++++--
fc-lang/fo.orth | 27 +++++++++++++++++++++++++--
fc-lang/fr.orth | 27 +++++++++++++++++++++++++--
fc-lang/fy.orth | 23 +++++++++++++++++++++++
fc-lang/ga.orth | 27 +++++++++++++++++++++++++--
fc-lang/gd.orth | 27 +++++++++++++++++++++++++--
fc-lang/gl.orth | 27 +++++++++++++++++++++++++--
fc-lang/he.orth | 23 +++++++++++++++++++++++
fc-lang/hr.orth | 27 +++++++++++++++++++++++++--
fc-lang/hu.orth | 27 +++++++++++++++++++++++++--
fc-lang/hy.orth | 23 +++++++++++++++++++++++
fc-lang/is.orth | 27 +++++++++++++++++++++++++--
fc-lang/it.orth | 27 +++++++++++++++++++++++++--
fc-lang/ja.orth | 23 +++++++++++++++++++++++
fc-lang/ka.orth | 23 +++++++++++++++++++++++
fc-lang/kk.orth | 23 +++++++++++++++++++++++
fc-lang/kl.orth | 27 +++++++++++++++++++++++++--
fc-lang/ko.orth | 23 +++++++++++++++++++++++
fc-lang/la.orth | 27 +++++++++++++++++++++++++--
fc-lang/lt.orth | 27 +++++++++++++++++++++++++--
fc-lang/lv.orth | 27 +++++++++++++++++++++++++--
fc-lang/mk.orth | 23 +++++++++++++++++++++++
fc-lang/mo.orth | 27 +++++++++++++++++++++++++--
fc-lang/mt.orth | 27 +++++++++++++++++++++++++--
fc-lang/nl.orth | 27 +++++++++++++++++++++++++--
fc-lang/no.orth | 27 +++++++++++++++++++++++++--
fc-lang/oc.orth | 27 +++++++++++++++++++++++++--
fc-lang/pl.orth | 27 +++++++++++++++++++++++++--
fc-lang/pt.orth | 27 +++++++++++++++++++++++++--
fc-lang/rm.orth | 27 +++++++++++++++++++++++++--
fc-lang/ro.orth | 27 +++++++++++++++++++++++++--
fc-lang/ru.orth | 23 +++++++++++++++++++++++
fc-lang/sh.orth | 23 +++++++++++++++++++++++
fc-lang/sk.orth | 27 +++++++++++++++++++++++++--
fc-lang/sl.orth | 27 +++++++++++++++++++++++++--
fc-lang/sq.orth | 27 +++++++++++++++++++++++++--
fc-lang/sr.orth | 23 +++++++++++++++++++++++
fc-lang/sv.orth | 27 +++++++++++++++++++++++++--
fc-lang/th.orth | 23 +++++++++++++++++++++++
fc-lang/tr.orth | 27 +++++++++++++++++++++++++--
fc-lang/uk.orth | 23 +++++++++++++++++++++++
fc-lang/vo.orth | 23 +++++++++++++++++++++++
fc-lang/yi.orth | 23 +++++++++++++++++++++++
fc-lang/zh_cn.orth | 23 +++++++++++++++++++++++
fc-lang/zh_tw.orth | 23 +++++++++++++++++++++++
65 files changed, 1552 insertions(+), 78 deletions(-)
Switch to RFC 3066 based lang names
fontconfig/fontconfig.h | 5 +-
src/Imakefile | 8 +-
src/fccharset.c | 8 +-
src/fcfreetype.c | 406
++++++++++++++++++++++++------------------------
src/fcint.h | 28 ++++
src/fcmatch.c | 43 ++++-
src/fcpat.c | 22 ++-
src/fcstr.c | 25 ++-
8 files changed, 330 insertions(+), 215 deletions(-)
Add a few more common font families to the default configuration
fonts.conf.in | 7 +++++++
1 file changed, 7 insertions(+)
Add coverage documentation files
fc-lang/iso639-1 | 139 ++++++++++++++++
fc-lang/iso639-2 | 473
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 612 insertions(+)
Add fc-lang program to generate language coverage tables
fc-lang/Imakefile | 44 +
fc-lang/ab.orth | 17 +
fc-lang/ar.orth | 49 +
fc-lang/az.orth | 26 +
fc-lang/ba.orth | 16 +
fc-lang/be.orth | 11 +
fc-lang/bg.orth | 12 +
fc-lang/br.orth | 17 +
fc-lang/ca.orth | 23 +
fc-lang/chr.orth | 2 +
fc-lang/co.orth | 2 +
fc-lang/cs.orth | 27 +
fc-lang/da.orth | 27 +
fc-lang/de.orth | 17 +
fc-lang/el.orth | 26 +
fc-lang/en.orth | 17 +
fc-lang/eo.orth | 9 +
fc-lang/es.orth | 19 +
fc-lang/et.orth | 15 +
fc-lang/eu.orth | 8 +
fc-lang/fc-lang.c | 295 +
fc-lang/fc-lang.man | 41 +
fc-lang/fclang.tmpl.c | 130 +
fc-lang/fi.orth | 15 +
fc-lang/fo.orth | 25 +
fc-lang/fr.orth | 28 +
fc-lang/fy.orth | 2 +
fc-lang/ga.orth | 29 +
fc-lang/gd.orth | 15 +
fc-lang/gl.orth | 22 +
fc-lang/he.orth | 2 +
fc-lang/hr.orth | 21 +
fc-lang/hu.orth | 19 +
fc-lang/hy.orth | 5 +
fc-lang/is.orth | 26 +
fc-lang/it.orth | 14 +
fc-lang/ja.orth | 6540 +++++++++++++++++++
fc-lang/ka.orth | 9 +
fc-lang/kk.orth | 15 +
fc-lang/kl.orth | 23 +
fc-lang/ko.orth | 16217
++++++++++++++++++++++++++++++++++++++++++++++++
fc-lang/la.orth | 8 +
fc-lang/lt.orth | 13 +
fc-lang/lv.orth | 16 +
fc-lang/mk.orth | 15 +
fc-lang/mo.orth | 14 +
fc-lang/mt.orth | 18 +
fc-lang/nl.orth | 15 +
fc-lang/no.orth | 18 +
fc-lang/oc.orth | 15 +
fc-lang/pl.orth | 10 +
fc-lang/pt.orth | 19 +
fc-lang/rm.orth | 15 +
fc-lang/ro.orth | 11 +
fc-lang/ru.orth | 11 +
fc-lang/sh.orth | 2 +
fc-lang/sk.orth | 29 +
fc-lang/sl.orth | 21 +
fc-lang/sq.orth | 7 +
fc-lang/sr.orth | 11 +
fc-lang/sv.orth | 21 +
fc-lang/th.orth | 3 +
fc-lang/tr.orth | 12 +
fc-lang/uk.orth | 12 +
fc-lang/vo.orth | 13 +
fc-lang/yi.orth | 2 +
fc-lang/zh_cn.orth | 6766 ++++++++++++++++++++
fc-lang/zh_tw.orth | 13079 ++++++++++++++++++++++++++++++++++++++
68 files changed, 44053 insertions(+)
Object list to FcObjectSetBuild wasnt terminated with 0
fc-list/fc-list.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Indent line
fc-list/Imakefile | 2 ++
1 file changed, 2 insertions(+)
Ident line
fc-cache/Imakefile | 2 ++
1 file changed, 2 insertions(+)
Make fc-cache avoid reading the whole world full of fonts
fc-cache/fc-cache.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Make fc-list more useful
fc-list/fc-list.c | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
Add FC_LANG_UNKNOWN (needed by auto lang-detecting fcfreetype.c)
fontconfig/fontconfig.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Add strong/weak pattern value binding, add known charsets for
automatic
lang computation
src/fccfg.c | 3 +-
src/fccharset.c | 40 +-
src/fcfreetype.c | 235 ++++++-
src/fcint.h | 15 +-
src/fcknownsets.h | 1895
+++++++++++++++++++++++++++++++++++++++++++++++++++++
src/fcmatch.c | 112 ++--
src/fcname.c | 7 +-
src/fcpat.c | 3 +-
8 files changed, 2222 insertions(+), 88 deletions(-)
Construct empty constant charsets correctly (using null pointers)
src/fccharset.c | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
Permit empty charsets in fonts.cache files
src/fcname.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Steal idea for locale-insensitive strtod from glib
src/fcxml.c | 59
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 57 insertions(+), 2 deletions(-)
Oops. Made a mistake when adding config file names to monitor list
src/fcxml.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Fix automatic file time checking, transcoding table searches. Actually
add
config files used to config structure so they can be time
checked as
well
src/fccfg.c | 31 ++++++++++++++-----------------
src/fccharset.c | 11 +++--------
src/fcxml.c | 5 ++++-
3 files changed, 21 insertions(+), 26 deletions(-)
Accidentally falling through several case blocks
src/fccfg.c | 3 ++-
src/fcdbg.c | 6 +++---
2 files changed, 5 insertions(+), 4 deletions(-)
Add slanting for fonts without oblique/italic varient. Fix matching
code to
make this work
fonts.conf.in | 28 ++++++++++++++++++++++++++++
src/fcmatch.c | 4 ++--
2 files changed, 30 insertions(+), 2 deletions(-)
Make fc-cache more tolerant of missing font directories
fc-cache/fc-cache.c | 28 ++++++++++++++++++++++++++--
1 file changed, 26 insertions(+), 2 deletions(-)
Add ref counting to font config patterns so that FcFontSort return
values
are persistant
fontconfig/fontconfig.h | 5 ++++-
fonts.dtd | 5 ++++-
src/fccache.c | 11 +++++++++--
src/fccfg.c | 4 ++++
src/fcdbg.c | 8 +++++++-
src/fcdir.c | 5 +++--
src/fcint.h | 9 +++++----
src/fclist.c | 2 +-
src/fcmatch.c | 21 +++++++++++++++++++--
src/fcname.c | 3 ++-
src/fcpat.c | 12 +++++++++++-
src/fcxml.c | 4 ++++
12 files changed, 73 insertions(+), 16 deletions(-)
Add a few aliases suggested by Owen and Mike
fonts.conf.in | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
Add a few more families to fonts.conf, make FC_ANTIALIAS less
important for
matching, fix family->generic mapping
src/fccfg.c | 7 ++++---
src/fcmatch.c | 22 +++++++++++-----------
2 files changed, 15 insertions(+), 14 deletions(-)
Fix compiler warning
src/fcxml.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Fix incorrect size in memmove call in FcObjectSetAdd that crashed
FcFontSetList calls
src/fclist.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Fix fontconfig.pc generation in Imakefile
Imakefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Add FcPatternHash, clean up a few valgrind issues
fontconfig/fontconfig.h | 3 ++
src/fccfg.c | 2 +-
src/fcmatch.c | 11 ++++---
src/fcpat.c | 78
+++++++++++++++++++++++++++++++++++++++++++++++++
src/fcxml.c | 13 ++++++++-
5 files changed, 101 insertions(+), 6 deletions(-)
Make autoconf use correct options to build solaris shared libraries
configure.in | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
171. Fix LIBXML2LIBDIR name clash in lib/Imakefile (#5180, ISHIKAWA
Mutsumi).
170. Avoid a problem with setfontdirs when run in some locales (#5179,
ISHIKAWA Mutsumi).
169. A little tuning for XtAppPeekEvent() (#5178, Dan McNichol).
setfontdirs | 5 +++++
1 file changed, 5 insertions(+)
Add FcPatternEqualSubset for Pango, clean up some internal FcPattern
interfaces
fontconfig/fontconfig.h | 7 ++-
src/fccfg.c | 12 ++--
src/fcint.h | 7 ++-
src/fclist.c | 72 ++++++++++++++--------
src/fcmatch.c | 6 +-
src/fcname.c | 8 +--
src/fcpat.c | 161
+++++++++++++++++++++++++++++-------------------
7 files changed, 166 insertions(+), 107 deletions(-)
Eliminate some compiler warnings, avoid seg fault when matching
missing
values
src/fccfg.c | 4 ++--
src/fcdbg.c | 5 ++++-
src/fclist.c | 4 +++-
src/fcmatch.c | 4 ++--
src/fcname.c | 4 +++-
5 files changed, 14 insertions(+), 7 deletions(-)
Add aspect ratio support to Xft and fontconfig
fontconfig/fontconfig.h | 3 ++-
src/fcname.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
Expression parsing in fonts.conf file mis-freed elements. Constant
identity
matrix was accidentally freed. Add ability to comare FTFace
pattern
elements (not that its all that useful)
src/fccfg.c | 18 +++++++++++++++---
src/fcxml.c | 5 +++--
2 files changed, 18 insertions(+), 5 deletions(-)
Add support for user-provided freetype faces to Xft
fontconfig/fcfreetype.h | 8 +++++++-
fontconfig/fcprivate.h | 4 +++-
fontconfig/fontconfig.h | 7 +++++--
src/fccharset.c | 5 +----
src/fcfreetype.c | 1 -
src/fcint.h | 3 ++-
src/fcpat.c | 29 ++++++++++++++++++++++++++++-
7 files changed, 46 insertions(+), 11 deletions(-)
Fix Xft2 to build right library version on old systems with xmkmf. Fix
fc-cache location for xmkmf out-of-tree build on old systems
local.def | 2 ++
1 file changed, 2 insertions(+)
Fix up support for building Xft1, Xrender and fontconfig out of
the tree
fc-list/Imakefile | 5 +++++
local.def | 14 ++++++++++++++
2 files changed, 19 insertions(+)
Change FcCharSet datastructure, add FcFontSort API
fontconfig/fontconfig.h | 9 +-
src/fccharset.c | 772
++++++++++++++++++++++++++----------------------
src/fcint.h | 27 +-
src/fcmatch.c | 26 +-
4 files changed, 451 insertions(+), 383 deletions(-)
Optimize after profiling. Fix FcStrCmp to return correct sign
src/fccharset.c | 103 ++++++++++++++++++++++++++++++----------
src/fcint.h | 1 +
src/fcmatch.c | 143
+++++++++++++++++++++++++++++++++++++++++---------------
src/fcname.c | 4 +-
src/fcpat.c | 13 +++---
src/fcstr.c | 6 +--
6 files changed, 197 insertions(+), 73 deletions(-)
Apply some obvious fixes to FcFontSetSort from Owen. Speed up
FcCharSet
primitives and FcFontSetSort
fontconfig/fontconfig.h | 8 +-
src/fccfg.c | 10 +--
src/fccharset.c | 197
+++++++++++++++++++++++++++++++++++++++++++++---
src/fcint.h | 3 +-
src/fcmatch.c | 23 ++++--
5 files changed, 219 insertions(+), 22 deletions(-)
Use explicit cd for non-gmake systems
Makefile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
$< in a non-implicit rule is a GNU-makeism. It's not supported by
BSD make.
Imakefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Clean up autoconf install to obey DESTDIR
Makefile.in | 67
++++++++++++++++++++++++++++++++++----------------
fc-cache/Makefile.in | 23 ++++++++++-------
fc-list/Makefile.in | 22 +++++++++++------
fontconfig/Makefile.in | 24 +++++++++---------
src/Makefile.in | 48 +++++++++++++++++++++++++-----------
5 files changed, 119 insertions(+), 65 deletions(-)
Change charset enumeration functions to more sensible API
fontconfig/fontconfig.h | 13 ++++++++++++-
src/fccharset.c | 46
+++++++++++++++++++++++++++++++++-------------
2 files changed, 45 insertions(+), 14 deletions(-)
A few autoconf build fixes
Makefile.in | 12 ++++++++----
configure.in | 4 ++--
fontconfig-config.in | 10 +++++-----
3 files changed, 15 insertions(+), 11 deletions(-)
A few random fontconfig build fixes
config/config-subst | 12 +++++++-----
fontconfig/fontconfig.h | 7 +++++--
src/fcinit.c | 8 +++++++-
3 files changed, 19 insertions(+), 8 deletions(-)
Dont require freetype to build with fontconfig
fontconfig.pc.in | 1 -
1 file changed, 1 deletion(-)
Add pkgconfig control file and fontconfig-config script
INSTALL | 17 ++++++++--
Imakefile | 33 +++++++++++++++++-
Makefile.in | 18 ++++++++--
README | 13 ++++++++
config/config-subst | 8 +++++
configure.in | 18 ++++++----
fontconfig-config.in | 94
++++++++++++++++++++++++++++++++++++++++++++++++++++
fontconfig.pc.in | 11 ++++++
8 files changed, 199 insertions(+), 13 deletions(-)
Fonts.dtd had "blanks" instead of "blank"
fonts.dtd | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Missed a Makefile.in for fontconfig includes
fontconfig/Makefile.in | 48
++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Replace silly avl sort with qsort, add FcPatternEqual
fontconfig/fontconfig.h | 8 +-
src/Imakefile | 6 +-
src/Makefile.in | 4 +-
src/fcavl.c | 419
------------------------------------------------
src/fcavl.h | 46 ------
src/fcmatch.c | 76 ++++-----
src/fcpat.c | 109 ++++++++++++-
src/fcxml.c | 9 +-
8 files changed, 162 insertions(+), 515 deletions(-)
More autoconf cleanup for fontconfig
Makefile.in | 8 +++-----
config.h.in | 2 +-
config/Makedefs.in | 10 +++++++++-
configure.in | 55
++++++++++++++++++++++++----------------------------
fc-cache/Makefile.in | 4 +++-
fc-list/Makefile.in | 4 +++-
src/Imakefile | 4 ++--
src/Makefile.in | 5 +----
src/fcinit.c | 4 ++--
9 files changed, 49 insertions(+), 47 deletions(-)
Fix xmkmf build process for fontconfig
Imakefile | 2 +-
Makefile.in | 54 +++++++++
acconfig.h | 2 -
config.h.in | 144 +++++++++++++++++++++++
configure.in | 360
+++++++++++++++++++++++++++++++++++++++++++---------------
cvscompile.sh | 11 +-
findfonts | 8 +-
fonts.conf.in | 77 ++++++-------
fonts.dtd | 13 ++-
local.def | 54 +++++++++
setfontdirs | 4 +-
11 files changed, 581 insertions(+), 148 deletions(-)
Fix autoconf build process for fontconfig
config/Makedefs.in | 68 +++
config/config.guess | 1391
+++++++++++++++++++++++++++++++++++++++++++++++
config/config.sub | 1355
+++++++++++++++++++++++++++++++++++++++++++++
config/install.sh | 240 ++++++++
fc-cache/Imakefile | 7 +-
fc-cache/Makefile.in | 46 ++
fc-cache/fc-cache.c | 161 ++++--
fc-list/Makefile.in | 46 ++
fontconfig/fontconfig.h | 80 ++-
src/Makefile.in | 105 ++++
src/fccache.c | 164 ++++--
src/fccfg.c | 352 ++++++++----
src/fcdir.c | 84 ++-
src/fcinit.c | 109 +++-
src/fcint.h | 52 +-
src/fclist.c | 5 +-
src/fcstr.c | 228 +++++++-
src/fcxml.c | 215 +++++---
18 files changed, 4377 insertions(+), 331 deletions(-)
Don't run fc-cache on make install if DESTDIR is set. Instead;
run it from
Xinstall.sh after XFree86 is installed.
fc-cache/Imakefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
put fontconfig-def.cpp in the right place.
fontconfig-def.cpp | 170
-------------------------------------------------
src/fontconfig-def.cpp | 170
+++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 170 insertions(+), 170 deletions(-)
new preprocessor files. (#5215-#5218, Alexander Gottwald).
fontconfig-def.cpp | 170
+++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 170 insertions(+)
Fix FT_Get_Next_Char API to match official 2.0.9 released version
src/fccharset.c | 26 ++++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)
Warning fixes
src/fcatomic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Add match routine that returns list of fonts
fontconfig/fontconfig.h | 14 ++
src/fcavl.c | 419
++++++++++++++++++++++++++++++++++++++++++++++++
src/fcavl.h | 46 ++++++
src/fcmatch.c | 225 ++++++++++++++++++++++----
4 files changed, 671 insertions(+), 33 deletions(-)
Eliminate duplicate definitions in fcint.h and fontconfig.h
src/fcint.h | 6 ------
1 file changed, 6 deletions(-)
fontconfig: bail scanning directory on fatal error
src/fcdir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Eliminate compiler warnings
src/fccharset.c | 1026
+++++++++++++++++++++++++++----------------------------
1 file changed, 512 insertions(+), 514 deletions(-)
Add fcatomic.c
src/Imakefile | 4 +-
src/fcatomic.c | 183
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/fccache.c | 4 ++
3 files changed, 189 insertions(+), 2 deletions(-)
Add new FcAtomic datatype for config file locking
fontconfig/fontconfig.h | 30 +++++++++++++++++++++++++++++-
src/Imakefile | 12 ++++++------
src/fccache.c | 34 ++++++++++++++--------------------
src/fcint.h | 9 ++++++++-
4 files changed, 57 insertions(+), 28 deletions(-)
Add missing clean rule
Imakefile | 6 ++++++
1 file changed, 6 insertions(+)
Port Xft1 to fontconfig
fontconfig/fontconfig.h | 8 +++++++-
src/fccache.c | 13 +++++++------
src/fccfg.c | 10 +++++-----
src/fcdir.c | 4 ++--
4 files changed, 21 insertions(+), 14 deletions(-)
Add better error reporting when loading config file
fc-list/fc-list.c | 2 +-
fontconfig/fontconfig.h | 16 +++++++++++++++-
src/fclist.c | 36 ++++++++++++++++++++++++++++++------
src/fcmatch.c | 38 +++++++++++++++++++++++++++++++-------
src/fcxml.c | 12 +++++++++++-
5 files changed, 88 insertions(+), 16 deletions(-)
Warning fixes
fc-cache/fc-cache.c | 13 ++++++++++++-
fc-list/fc-list.c | 15 +++++++++++++--
2 files changed, 25 insertions(+), 3 deletions(-)
Check font edit value lists for empty
src/fccfg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
fontconfig: some config file parsing mistakes
src/fcfreetype.c | 2 +-
src/fcint.h | 9 ---------
src/fcxml.c | 8 ++++++--
3 files changed, 7 insertions(+), 12 deletions(-)
Remove fcxml.h include file as it cant work anymore anyhow
fontconfig/Imakefile | 2 +-
fontconfig/fcxml.h | 37 -------------------------------------
2 files changed, 1 insertion(+), 38 deletions(-)
dont complain about missing optional included font config files
src/fcxml.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Automatically initialize the fontconfig library
src/fccfg.c | 15 +++++++++------
src/fcinit.c | 4 ++--
src/fcint.h | 4 +++-
3 files changed, 14 insertions(+), 9 deletions(-)
Eliminate const in FcPatternGetString; too hard. Add FcCharSetCoverage
to
enumarate Unicode coverage efficiently
fontconfig/fontconfig.h | 7 +++++--
src/fccache.c | 4 ++--
src/fccharset.c | 23 ++++++++++++++++++++++-
src/fcpat.c | 6 +++---
4 files changed, 32 insertions(+), 8 deletions(-)
Switch fontconfig from libxml2 to expat
src/Imakefile | 3 +-
src/fccharset.c | 12 +-
src/fcdbg.c | 20 +-
src/fcint.h | 34 +-
src/fcname.c | 98 +---
src/fcstr.c | 92 ++-
src/fcxml.c | 1764
++++++++++++++++++++++++++++++++++++-------------------
7 files changed, 1326 insertions(+), 697 deletions(-)
fontconfig fc-cache program needs to be executed with correct
environment
on install
fc-cache/Imakefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Update to Xft version 2
fc-cache/fc-cache.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
fontconfig library: build fixes and compiler warning fixes
fc-cache/Imakefile | 2 +-
fc-list/Imakefile | 2 +-
fc-list/fc-list.c | 5 +-
fontconfig/fcfreetype.h | 1 +
fontconfig/fcprivate.h | 2 +-
fontconfig/fcxml.h | 2 +-
fontconfig/fontconfig.h | 61 ++++++++---------
src/fccache.c | 176
++++++++++++++++++++++++++++++------------------
src/fccfg.c | 126 +++++++++++++++++-----------------
src/fccharset.c | 23 ++++---
src/fcdir.c | 58 ++++++++--------
src/fcfreetype.c | 106 ++++++++++++++---------------
src/fcinit.c | 2 +-
src/fcint.h | 74 ++++++++------------
src/fcmatch.c | 7 +-
src/fcname.c | 92 ++++++++++++-------------
src/fcpat.c | 10 +--
src/fcstr.c | 32 ++++-----
src/fcxml.c | 135 +++++++++++++++++++------------------
19 files changed, 473 insertions(+), 443 deletions(-)
Update fontconfig and libxml2 to get them working with in-tree build
process
fc-cache/Imakefile | 12 +++---------
fc-list/Imakefile | 13 +++----------
src/Imakefile | 55
++++++------------------------------------------------
3 files changed, 12 insertions(+), 68 deletions(-)
Add new font configuration library which forms the basis of the
new version
of Xft
Initial revision
AUTHORS | 1 +
COPYING | 22 +
ChangeLog | 0
INSTALL | 3 +
Imakefile | 25 +
NEWS | 0
README | 2 +
acconfig.h | 2 +
configure.in | 202 +++++++
cvscompile.sh | 6 +
doc/fontconfig.tex | 55 ++
fc-cache/Imakefile | 19 +
fc-cache/fc-cache.c | 145 +++++
fc-cache/fc-cache.man | 45 ++
fc-list/Imakefile | 17 +
fc-list/fc-list.c | 128 ++++
fc-list/fc-list.man | 36 ++
findfonts | 8 +
fontconfig/Imakefile | 8 +
fontconfig/fcfreetype.h | 34 ++
fontconfig/fcprivate.h | 117 ++++
fontconfig/fcxml.h | 37 ++
fontconfig/fontconfig.h | 551 +++++++++++++++++
fonts.conf.in | 191 ++++++
fonts.dtd | 165 +++++
setfontdirs | 19 +
src/Imakefile | 90 +++
src/fcblanks.c | 84 +++
src/fccache.c | 592 ++++++++++++++++++
src/fccfg.c | 1369 ++++++++++++++++++++++++++++++++++++++++++
src/fccharset.c | 1521
+++++++++++++++++++++++++++++++++++++++++++++++
src/fcdbg.c | 272 +++++++++
src/fcdefault.c | 87 +++
src/fcdir.c | 178 ++++++
src/fcfreetype.c | 236 ++++++++
src/fcfs.c | 82 +++
src/fcinit.c | 174 ++++++
src/fcint.h | 480 +++++++++++++++
src/fclist.c | 442 ++++++++++++++
src/fcmatch.c | 347 +++++++++++
src/fcmatrix.c | 112 ++++
src/fcname.c | 621 +++++++++++++++++++
src/fcpat.c | 491 +++++++++++++++
src/fcstr.c | 188 ++++++
src/fcxml.c | 1032 ++++++++++++++++++++++++++++++++
src/fontconfig.man | 1113 ++++++++++++++++++++++++++++++++++
46 files changed, 11349 insertions(+)