]> git.wh0rd.org - fontconfig.git/log
fontconfig.git
15 years agoBump version to 2.6.0 2.6.0
Keith Packard [Sun, 1 Jun 2008 02:24:35 +0000 (19:24 -0700)] 
Bump version to 2.6.0

15 years agoBump version to 2.5.93 2.5.93
Keith Packard [Sun, 25 May 2008 00:52:41 +0000 (17:52 -0700)] 
Bump version to 2.5.93

15 years agoIgnore empty <dir></dir> elements
Keith Packard [Sun, 25 May 2008 00:14:24 +0000 (17:14 -0700)] 
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.

15 years agoOops. Fix for bug 15928 used wrong path for installed fc-cache.
Keith Packard [Sun, 25 May 2008 00:01:12 +0000 (17:01 -0700)] 
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.

15 years agoLibs.private needs freetype libraries
Keith Packard [Sat, 24 May 2008 23:32:27 +0000 (16:32 -0700)] 
Libs.private needs freetype libraries

To make static linking work, fontconfig.pc needs @FREETYPE_LIBS@ in
Libs.private.

15 years agoFcConfigUptoDate breaks if directory mtime is in the future. Bug 14424.
Sayamindu Dasgupta [Sat, 24 May 2008 23:15:27 +0000 (16:15 -0700)] 
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.

15 years agoFix index/offset for 'decorative' matcher. Bug 15890.
Evgeniy Stepanov [Sat, 24 May 2008 23:09:17 +0000 (16:09 -0700)] 
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?

15 years agoFix Win32 build error: install tries to run fc-cache locally (bug 15928).
Glen Low [Sat, 24 May 2008 22:59:35 +0000 (15:59 -0700)] 
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)

15 years agoAdd Secwepemctsin Orthography. Bug 15996.
Neskie Manuel [Sat, 24 May 2008 22:51:41 +0000 (15:51 -0700)] 
Add Secwepemctsin Orthography. Bug 15996.

15 years agoPersian conf update. (bug 16066).
Behdad Esfahbod [Sat, 24 May 2008 22:48:00 +0000 (15:48 -0700)] 
Persian conf update. (bug 16066).

15 years agoFix FcStrDirname documentation. (bug 16068)
Alexey Khoroshilov [Sat, 24 May 2008 22:44:00 +0000 (15:44 -0700)] 
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.

15 years agoAdd a copy of dolt.m4 to acinclude.m4.
Keith Packard [Mon, 5 May 2008 15:30:44 +0000 (08:30 -0700)] 
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.

15 years agoFreetype 2.3.5 (2007-jul-02) fixes indic font hinting. re-enable (bug 15822)
Keith Packard [Mon, 5 May 2008 02:08:31 +0000 (19:08 -0700)] 
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.

15 years agoAdd extended, caps, dunhill style mappings.
Keith Packard [Sun, 4 May 2008 08:27:42 +0000 (01:27 -0700)] 
Add extended, caps, dunhill style mappings.

extended -> expanded.
caps, dunhill -> decorative

15 years agoFix a few memory tracking mistakes.
Keith Packard [Sun, 4 May 2008 08:26:40 +0000 (01:26 -0700)] 
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.

15 years agoCall FcFini to make memory debugging easier
Keith Packard [Sun, 4 May 2008 08:25:04 +0000 (01:25 -0700)] 
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.

15 years agoBump version to 2.5.92 2.5.92
Keith Packard [Sun, 4 May 2008 03:39:07 +0000 (20:39 -0700)] 
Bump version to 2.5.92

15 years agogit ignore doltcompile
Keith Packard [Sun, 4 May 2008 03:38:29 +0000 (20:38 -0700)] 
git ignore doltcompile

15 years agoAllow for RC versions in README update
Keith Packard [Sun, 4 May 2008 03:37:49 +0000 (20:37 -0700)] 
Allow for RC versions in README update

15 years agoDeal with libtool 2.2 which doesn't let us use LT_ variables. (bug 15692)
Keith Packard [Sun, 4 May 2008 03:23:37 +0000 (20:23 -0700)] 
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.

15 years agoAdd FreeType-dependent functions to fontconfig.def file. (bug 15415)
Carlo Bramini [Sun, 4 May 2008 03:17:16 +0000 (20:17 -0700)] 
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.

15 years agoMake fc-match behave better when style is unknown (bug 15332)
Keith Packard [Sun, 4 May 2008 03:14:07 +0000 (20:14 -0700)] 
Make fc-match behave better when style is unknown (bug 15332)

15 years agoUse of ":=" in src/Makefile.am is unportable (bug 14420)
Keith Packard [Sun, 4 May 2008 03:07:35 +0000 (20:07 -0700)] 
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.

15 years agoRemove doltcompile in distclean
Keith Packard [Sun, 4 May 2008 03:06:48 +0000 (20:06 -0700)] 
Remove doltcompile in distclean

15 years agofontconfig build fails if "head" is missing or unusable (bug 14304)
Ryan Schmidt [Sun, 4 May 2008 02:49:07 +0000 (19:49 -0700)] 
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.

15 years agoProper config path for static libraries in win32
Dennis Schridde [Sun, 4 May 2008 02:45:31 +0000 (19:45 -0700)] 
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.

15 years agoKorean font in the default config - replacing baekmuk with un (bug 13569)
Changwoo Ryu [Sun, 4 May 2008 02:39:56 +0000 (19:39 -0700)] 
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).

15 years agoFontconfig options for freetype sub-pixel filter configuration
Sylvain Pasche [Sun, 4 May 2008 02:33:45 +0000 (19:33 -0700)] 
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.

15 years agoMerge some of Mandriva configuration into upstream configuration. Bug 13247
Frederic Crozat [Sun, 4 May 2008 02:26:09 +0000 (19:26 -0700)] 
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.

15 years agoAdd --all flag to fc-match to show the untrimmed list. Bug 13018.
Keith Packard [Sun, 4 May 2008 02:09:57 +0000 (19:09 -0700)] 
Add --all flag to fc-match to show the untrimmed list. Bug 13018.

15 years agoAdd some sample cursive and fantasy families.
Keith Packard [Sun, 4 May 2008 01:04:32 +0000 (18:04 -0700)] 
Add some sample cursive and fantasy families.

15 years agoRemove size and dpi values from bitmap fonts. Bug 8765.
Keith Packard [Sun, 4 May 2008 00:43:39 +0000 (17:43 -0700)] 
Remove size and dpi values from bitmap fonts. Bug 8765.

The only relevant information is the pixel size; don't report anything else.

15 years agoWork around for bitmap-only TrueType fonts that are missing the glyf table.
Keith Packard [Sun, 4 May 2008 00:19:43 +0000 (17:19 -0700)] 
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.

15 years agoUse DOLT if available
Keith Packard [Sun, 4 May 2008 00:18:01 +0000 (17:18 -0700)] 
Use DOLT if available

16 years agoFix build with !ENABLE_DOCS and no built manpages.
Eric Anholt [Fri, 18 Apr 2008 18:52:41 +0000 (11:52 -0700)] 
Fix build with !ENABLE_DOCS and no built manpages.

16 years agoBump version to 2.5.91 2.5.91
Keith Packard [Thu, 10 Jan 2008 18:58:25 +0000 (10:58 -0800)] 
Bump version to 2.5.91

16 years agogit-tag requires space after -m flag
Keith Packard [Thu, 10 Jan 2008 18:58:22 +0000 (10:58 -0800)] 
git-tag requires space after -m flag

16 years agonew-version.sh was mis-editing files
Keith Packard [Thu, 10 Jan 2008 18:56:52 +0000 (10:56 -0800)] 
new-version.sh was mis-editing files

16 years agoAdd more files to .gitignore
Keith Packard [Thu, 10 Jan 2008 18:48:00 +0000 (10:48 -0800)] 
Add more files to .gitignore

16 years agoDistribute khmer font aliases
Keith Packard [Thu, 10 Jan 2008 18:43:33 +0000 (10:43 -0800)] 
Distribute khmer font aliases

16 years agoCreate new-version.sh to help with releases, update INSTALL instructions
Keith Packard [Thu, 10 Jan 2008 18:40:41 +0000 (10:40 -0800)] 
Create new-version.sh to help with releases, update INSTALL instructions

16 years agoDistribute new fcftint.h file
Keith Packard [Thu, 10 Jan 2008 16:58:57 +0000 (08:58 -0800)] 
Distribute new fcftint.h file

16 years agoEliminate references to freetype from utility Makefile.am's
Keith Packard [Tue, 8 Jan 2008 20:34:19 +0000 (12:34 -0800)] 
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.

16 years agoInclude fcftaliastail.h so that the freetype funcs are exported.
Keith Packard [Tue, 8 Jan 2008 00:31:06 +0000 (16:31 -0800)] 
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.

16 years agoRemove freetype requirement for build-time applications.
Keith Packard [Wed, 2 Jan 2008 16:47:14 +0000 (08:47 -0800)] 
Remove freetype requirement for build-time applications.

This avoids requiring the freetype development files when cross compiling

16 years agoFix OOM failure case in FcPStackPush.
Keith Packard [Sun, 23 Dec 2007 22:06:41 +0000 (14:06 -0800)] 
Fix OOM failure case in FcPStackPush.

When allocation for the node attributes fail, clean up the node allocation
and report failure.

16 years agoNot_contain should use strstr, not strcmp on strings. (bug 13632)
Hongbo Zhao [Thu, 13 Dec 2007 05:47:33 +0000 (21:47 -0800)] 
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".

16 years agoMove conf.avail/README to conf.d/README (bug 13392)
Keith Packard [Mon, 26 Nov 2007 00:35:55 +0000 (16:35 -0800)] 
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.

16 years agoBump version number to 2.5 2.5.0
Keith Packard [Wed, 14 Nov 2007 02:56:44 +0000 (18:56 -0800)] 
Bump version number to 2.5

16 years agoWorkaround for stat() brokenness in Microsoft's C library (bug 8526)
Tor Lillqvist [Wed, 14 Nov 2007 00:41:55 +0000 (16:41 -0800)] 
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.

16 years agoRevert "Remove fcprivate.h, move the remaining macros to fcint.h."
Keith Packard [Tue, 13 Nov 2007 23:48:30 +0000 (15:48 -0800)] 
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.

16 years agoDocument that FcConfigGetFonts returns the internal fontset (bug 13197)
Keith Packard [Tue, 13 Nov 2007 23:16:58 +0000 (15:16 -0800)] 
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.

16 years agoDocument that Match calls FcFontRenderPrepare (bug 13162).
Keith Packard [Tue, 13 Nov 2007 23:11:35 +0000 (15:11 -0800)] 
Document that Match calls FcFontRenderPrepare (bug 13162).

The behaviour of FcFontMatch and FcFontSetMatch is hard to understand without
knowing that they call FcFontRenderPrepare.

16 years agoDocument several function return values (Bug 13145).
Keith Packard [Tue, 13 Nov 2007 22:58:39 +0000 (14:58 -0800)] 
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.

16 years agoFix parallel build in doc directory. 2.4.92
Keith Packard [Tue, 6 Nov 2007 00:08:55 +0000 (16:08 -0800)] 
Fix parallel build in doc directory.

docbook2man has fixed output file names; place output in a subdirectory to
avoid collisions.

16 years agoUpdate version numbers to 2.4.92 (2.5 RC2)
Keith Packard [Mon, 5 Nov 2007 23:52:45 +0000 (15:52 -0800)] 
Update version numbers to 2.4.92 (2.5 RC2)

16 years agoSimplify/improve 30-metric-aliases.conf
Behdad Esfahbod [Mon, 5 Nov 2007 23:12:51 +0000 (18:12 -0500)] 
Simplify/improve 30-metric-aliases.conf

16 years agoRemove list of available conf files from README.
Behdad Esfahbod [Mon, 5 Nov 2007 22:07:36 +0000 (17:07 -0500)] 
Remove list of available conf files from README.
It was redundant and out-dated.

16 years agoFix documented conf-file naming format in README
Behdad Esfahbod [Mon, 5 Nov 2007 22:05:36 +0000 (17:05 -0500)] 
Fix documented conf-file naming format in README

16 years agoRemove 25-unhint-nonlatin.conf from default configuration by not linking it.
Behdad Esfahbod [Mon, 5 Nov 2007 22:01:44 +0000 (17:01 -0500)] 
Remove 25-unhint-nonlatin.conf from default configuration by not linking it.

16 years agoOops, fix Makefile.am.
Behdad Esfahbod [Mon, 5 Nov 2007 21:46:19 +0000 (16:46 -0500)] 
Oops, fix Makefile.am.

16 years agoRemove 20-lohit-gujarati.conf. It's covered by 25-unhint-nonlatin.conf now.
Behdad Esfahbod [Mon, 5 Nov 2007 21:43:49 +0000 (16:43 -0500)] 
Remove 20-lohit-gujarati.conf.  It's covered by 25-unhint-nonlatin.conf now.

16 years agoRemove redundant/obsolete comments from conf files.
Behdad Esfahbod [Mon, 5 Nov 2007 21:43:14 +0000 (16:43 -0500)] 
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.

16 years agoUse binding="same" in 30-urw-aliases.conf and remove duplicate entries.
Behdad Esfahbod [Mon, 5 Nov 2007 21:40:25 +0000 (16:40 -0500)] 
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.

16 years agoSplit 40-generic.conf into 40-nonlatin.conf and 45-latin.conf
Behdad Esfahbod [Mon, 5 Nov 2007 21:36:55 +0000 (16:36 -0500)] 
Split 40-generic.conf into 40-nonlatin.conf and 45-latin.conf

16 years agoAdd/update config files from Fedora.
Behdad Esfahbod [Mon, 5 Nov 2007 21:14:35 +0000 (16:14 -0500)] 
Add/update config files from Fedora.

16 years agoAdd FcGetLangs() and FcLangGetCharSet().
Behdad Esfahbod [Mon, 5 Nov 2007 20:29:44 +0000 (15:29 -0500)] 
Add FcGetLangs() and FcLangGetCharSet().

16 years agoFix trivial bugs in edit-sgml.c
Behdad Esfahbod [Mon, 5 Nov 2007 20:29:03 +0000 (15:29 -0500)] 
Fix trivial bugs in edit-sgml.c

16 years agoExport FcConfig{G,S}etRescanInverval from .so, mark as deprecated.
Keith Packard [Sun, 4 Nov 2007 20:20:45 +0000 (12:20 -0800)] 
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).

16 years agoIgnore new generated documentation
Keith Packard [Sun, 4 Nov 2007 06:43:48 +0000 (23:43 -0700)] 
Ignore new generated documentation

16 years agoLink new function documentation into the fontconfig-devel.sgml
Keith Packard [Sun, 4 Nov 2007 06:42:32 +0000 (23:42 -0700)] 
Link new function documentation into the fontconfig-devel.sgml

16 years agoFormatting syntax mistake in doc/fclangset.fncs.
Keith Packard [Sun, 4 Nov 2007 06:41:38 +0000 (23:41 -0700)] 
Formatting syntax mistake in doc/fclangset.fncs.

<parameter>ls</function> needed to be <parameter>ls</parameter>.

16 years agoGenerate fccache.sgml, fcdircache.sgml and fclangset.sgml.
Keith Packard [Sun, 4 Nov 2007 06:23:55 +0000 (23:23 -0700)] 
Generate fccache.sgml, fcdircache.sgml and fclangset.sgml.

Just adding the .fncs versions doesn't get these files generated.

16 years agoFix formatting syntax in doc/fccache.fncs
Keith Packard [Sun, 4 Nov 2007 06:23:09 +0000 (23:23 -0700)] 
Fix formatting syntax in doc/fccache.fncs

16 years agoReplace incorrect documentation uses of 'char' with 'FcChar8' (bug 13002).
Keith Packard [Sun, 4 Nov 2007 06:03:11 +0000 (23:03 -0700)] 
Replace incorrect documentation uses of 'char' with 'FcChar8' (bug 13002).

16 years agoRemove references to FcConfigParse and FcConfigLoad.
Keith Packard [Sun, 4 Nov 2007 05:53:12 +0000 (22:53 -0700)] 
Remove references to FcConfigParse and FcConfigLoad.

These functions no longer exist.

16 years agoHave FcConfigSetCurrent accept the current configuration and simply return
Keith Packard [Sun, 4 Nov 2007 05:45:31 +0000 (22:45 -0700)] 
Have FcConfigSetCurrent accept the current configuration and simply return
without updating anything.

16 years agoUpdate documentation for stale FcConfigGetConfig function.
Keith Packard [Sun, 4 Nov 2007 05:39:54 +0000 (22:39 -0700)] 
Update documentation for stale FcConfigGetConfig function.

The old per-user cache filename is no longer used.

16 years agoUpdate documentation for FcStrCopyFilename (bug 12964).
Keith Packard [Sun, 4 Nov 2007 05:31:16 +0000 (22:31 -0700)] 
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.

16 years agoDocument previously undocumented functions. (bug 12963)
Keith Packard [Sun, 4 Nov 2007 05:23:28 +0000 (22:23 -0700)] 
Document previously undocumented functions. (bug 12963)

16 years agoVerify documentation covers exposed symbols.
Keith Packard [Sun, 4 Nov 2007 05:01:33 +0000 (22:01 -0700)] 
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.

16 years agoUse FcLangDifferentTerritory instead of FcLangDifferentCountry.
Keith Packard [Sun, 4 Nov 2007 04:58:34 +0000 (21:58 -0700)] 
Use FcLangDifferentTerritory instead of FcLangDifferentCountry.

16 years agoDon't check cache file time stamps when cleaning cache dir.
Keith Packard [Sun, 4 Nov 2007 04:57:51 +0000 (21:57 -0700)] 
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.

16 years agoTypo error in function name: Inverval -> interval
Keith Packard [Sun, 4 Nov 2007 04:56:36 +0000 (21:56 -0700)] 
Typo error in function name: Inverval -> interval

16 years agoTrack line numbers in sgml edit tool input.
Keith Packard [Sun, 4 Nov 2007 04:55:39 +0000 (21:55 -0700)] 
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.

16 years agoClean up exported names in fontconfig.h.
Keith Packard [Sun, 4 Nov 2007 04:54:49 +0000 (21:54 -0700)] 
Clean up exported names in fontconfig.h.

Fix typo errors (Inverval indeed).
Remove FcPattern *p from FcValue (unused)
Remove spurious FcPublic from formals.

16 years agoMake file_stat argument to FcDirCacheLoadFile optional.
Keith Packard [Sat, 3 Nov 2007 21:16:29 +0000 (14:16 -0700)] 
Make file_stat argument to FcDirCacheLoadFile optional.

Allow file_stat to be NULL by using a local stat structure in that case.

16 years agoDocument skipping of fonts from FcFileScan/FcDirScan.
Keith Packard [Sat, 3 Nov 2007 20:44:59 +0000 (13:44 -0700)] 
Document skipping of fonts from FcFileScan/FcDirScan.

FcFileScan and FcDirScan will skip fonts under direction of the
configuration and default fontconfig policy.

16 years agoCorrect documentation for FcConfigUptoDate (bug 12948).
Keith Packard [Sat, 3 Nov 2007 20:26:16 +0000 (13:26 -0700)] 
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.

16 years agoRemove fcprivate.h, move the remaining macros to fcint.h.
Keith Packard [Sat, 3 Nov 2007 20:09:01 +0000 (13:09 -0700)] 
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.

16 years agoCorrect documentation for FcAtomicLock (Bug 12947).
Keith Packard [Sat, 3 Nov 2007 20:05:25 +0000 (13:05 -0700)] 
Correct documentation for FcAtomicLock (Bug 12947).

FcAtomicLock can only be called once from any process.

16 years agoPort fonts-persian.conf to new alias syntax with binding="same"
Behdad Esfahbod [Fri, 26 Oct 2007 06:02:19 +0000 (02:02 -0400)] 
Port fonts-persian.conf to new alias syntax with binding="same"

Signed-off-by: Keith Packard <keithp@koto.keithp.com>
16 years agoRespect "binding" attribute in <alias> entries.
Keith Packard [Fri, 26 Oct 2007 05:30:49 +0000 (22:30 -0700)] 
Respect "binding" attribute in <alias> entries.

This makes creating "same" aliases for renamed font families far easier.

16 years agoMake fc-match --sort call FcFontRenderPrepare.
Behdad Esfahbod [Fri, 26 Oct 2007 04:35:45 +0000 (21:35 -0700)] 
Make fc-match --sort call FcFontRenderPrepare.

This makes the --sort and regular output the same for each font.

16 years agoAlso check configDirs mtimes in FcConfigUptoDate
Keith Packard [Fri, 26 Oct 2007 04:23:36 +0000 (21:23 -0700)] 
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.

16 years agoA few fixups for make distcheck 2.4.91
Keith Packard [Thu, 25 Oct 2007 22:19:14 +0000 (15:19 -0700)] 
A few fixups for make distcheck

16 years agoSet version numbers to 2.4.91 (2.5 RC1)
Keith Packard [Thu, 25 Oct 2007 22:07:54 +0000 (15:07 -0700)] 
Set version numbers to 2.4.91 (2.5 RC1)

16 years agoBuild fix for Solaris 10 with GCC.
Keith Packard [Thu, 25 Oct 2007 21:36:24 +0000 (14:36 -0700)] 
Build fix for Solaris 10 with GCC.

Solaris 10 with GCC doesn't appear capable of supporting the symbol
visibility stuff, so disable it.

16 years agoUpdate CaseFolding.txt to Unicode 5.1.0
Behdad Esfahbod [Thu, 25 Oct 2007 21:20:06 +0000 (14:20 -0700)] 
Update CaseFolding.txt to Unicode 5.1.0

16 years agoMatch 'ultra' on word boundaries to detect ultra bold fonts. (bug 2511)
Keith Packard [Sat, 2 Sep 2006 03:25:21 +0000 (20:25 -0700)] 
Match 'ultra' on word boundaries to detect ultra bold fonts. (bug 2511)

Added FcStrContainsWord to detect strings on word boundaries.