Commit Graph

125 Commits

Author SHA1 Message Date
Patrick Lam d6217cc6bc 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
2006-04-07 04:42:32 +00:00
Patrick Lam b17cf498be Fix multiarch support (don't destroy multiarch files!)
Require pkg-config. (Thanks Behdad; better solution wanted for libxml2
    detection!)
reviewed by: plam
2006-03-24 15:21:10 +00:00
Patrick Lam 63d2df3f92 Bump version to 2.3.94. 2006-02-24 19:19:09 +00:00
Patrick Lam 3bfae75d44 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.
2005-12-21 03:31:19 +00:00
Patrick Lam ea44e21841 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.
2005-12-09 16:36:45 +00:00
Patrick Lam e6d3e251ee Bump version to 2.3.92. 2005-11-04 06:17:00 +00:00
Patrick Lam bc5784ff00 Bump version number to 2.3.91. 2005-10-01 19:18:51 +00:00
Patrick Lam e99f0f0a45 Use libxml2 if requested (with --enable-libxml2) or if expat is not
available.
reviewed by: plam
2005-09-29 20:53:30 +00:00
Patrick Lam f28f090d25 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.
2005-09-23 05:59:19 +00:00
Keith Packard 1cb309adcb Update for version 2.3.2 2005-04-23 04:32:23 +00:00
Keith Packard d49dde9f90 Update for 2.3.1 2005-03-08 23:39:02 +00:00
Keith Packard 4afc00ca02 Update for 2.3.0 2005-03-01 20:48:36 +00:00
Keith Packard 414f720281 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
2005-02-28 18:56:15 +00:00
Keith Packard afca783626 Update for version 2.2.99 2005-01-29 00:42:37 +00:00
Keith Packard 59e149e757 Have --with-expat set EXPAT_CFLAGS (bug 2278)
reviewed by: Keith Packard <keithp@keithp.com>
2005-01-16 01:41:24 +00:00
Keith Packard d8ae9c9219 Add SEE ALSO section (bug 2085)
Cross compiling fixes (bug 280)
reviewed by: Keith Packard <keithp@keithp.com>
2005-01-13 18:31:50 +00:00
Keith Packard d53461812d Update for version 2.2.98 2004-12-29 19:44:51 +00:00
Keith Packard 192296d852 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)
2004-12-29 09:15:17 +00:00
Keith Packard 46b51147d1 Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
Keith Packard 308dc9c3ea Updates for version 2.2.97 2004-12-05 06:38:54 +00:00
Keith Packard 2d9c79c049 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.
2004-12-05 05:03:52 +00:00
Keith Packard 537e3d23fa 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.
2004-12-05 00:26:06 +00:00
Keith Packard 4f27c1c0a3 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.
2004-12-04 19:41:10 +00:00
Keith Packard b5f36ca0b5 Update for 2.2.96 2004-06-30 20:06:41 +00:00
Keith Packard d81271eb21 Update for 2.2.95 2004-05-29 19:36:32 +00:00
Keith Packard 626a70167d Update to 2.2.94 (2.2.93 shipped with broken libtool bits) 2004-04-24 01:09:36 +00:00
Keith Packard 6ae6acf317 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.
2004-04-14 18:08:41 +00:00
Keith Packard 208a720f00 Ok, so I messed up the test for y_ppem. Let's see if I got it right this
time.
2004-02-11 18:53:05 +00:00
Keith Packard 4f38fa8106 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).
2004-02-10 18:38:58 +00:00
Keith Packard 27143fc9a2 Update to version 2.2.92 2003-10-27 10:47:53 +00:00
Keith Packard 4cbc3ee8fe Yet more cleanups to finish getting 'make distcheck' working This has been
tested to ensure that it even works from a _build directory.
2003-10-27 10:44:13 +00:00
Keith Packard 394b2bf046 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.
2003-10-27 06:30:29 +00:00
Keith Packard 3541556bd3 Tag version 2.2.91 2003-10-26 16:52:28 +00:00
Keith Packard 656c69d6a8 Add autoconf checks for FT_Has_PS_Glyph_Names 2003-06-26 08:19:11 +00:00
Keith Packard 79621aa5c7 Lean on autoconf to find useful FreeType functions (bug 95) 2003-06-25 23:21:03 +00:00
Keith Packard 2b45ef3a8a Bug 75: dont build docs unless docbook is available. Dont install docs
unless they are pre-built or buildable
2003-06-17 18:28:20 +00:00
Tor Lillqvist ee1d81259e 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.
2003-06-13 22:43:28 +00:00
Keith Packard 4ae7f71c89 Update to version 2.2.90 2003-06-09 19:21:06 +00:00
Keith Packard 440e705485 Add fc-match program to demonstrate font matching from the command line 2003-06-09 18:49:19 +00:00
Keith Packard 7769c3213d Handle Adobe glyph names for fonts which include ADOBE_CUSTOM encodings 2003-05-04 22:53:49 +00:00
Noah Levitt a6a66da0ad Fix expat function check. 2003-05-01 16:20:27 +00:00
Noah Levitt 700a41281a Check for an expat function that won't be there if expat is too old. 2003-05-01 16:15:28 +00:00
Noah Levitt 4b4f42ab58 Getting closer to fixing /etc/fonts hard-coding. 2003-04-23 00:08:03 +00:00
Noah Levitt 27de1f430a Testing syncmail yet again. 2003-04-22 23:34:50 +00:00
Keith Packard 781f10486d Update to version 2.2.0 2003-04-21 16:12:22 +00:00
Noah Levitt 8eb4a52ed8 Fixed variable name mistake. 2003-04-21 06:17:23 +00:00
Keith Packard 996580dce5 Solaris porting fixes 2003-04-17 15:47:34 +00:00
Keith Packard e2925d7dc2 bump version to 2.1.94 2003-04-16 21:50:51 +00:00
Keith Packard 0a557ec372 update version number to 2.1.93 2003-04-11 23:00:51 +00:00
Keith Packard 7dbeec1738 Wrong pattern for matching font file names. Fix submitted by
hjchoe@hancom.com (Choe Hwanjin)
2003-03-24 05:03:20 +00:00
Tor Lillqvist daeed6e048 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.
2003-03-22 21:25:34 +00:00
Keith Packard 3910f3221b Fix configure arguments (bug 45) 2003-03-14 00:16:56 +00:00
Keith Packard 6348213702 Bump version to 2.1.92 2003-03-07 21:04:52 +00:00
Keith Packard fddb839bba Add version number to documentation 2003-03-07 20:45:43 +00:00
Keith Packard 83e42969fc No longer using config directory 2003-03-05 05:57:11 +00:00
Keith Packard af82b48c2b Allow multiple directories in --with-add-fonts, by default add only
scalable fonts from X directory
2003-03-04 00:14:58 +00:00
Keith Packard bb7743ae7e Update version to 2.1.91 2003-03-03 05:47:14 +00:00
Keith Packard ff3f1f98ed 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
2003-03-02 19:12:23 +00:00
Keith Packard bf0093b724 oops -- X fonts referenced from the wrong place 2003-03-02 08:46:04 +00:00
Keith Packard ad9b233c98 Make default confdir point to sysconfdir 2003-03-02 08:00:24 +00:00
Keith Packard 8fc10a72ad make dist works now. Update to 2.1.90 in preparation for eventual 2.2
release
2003-03-02 07:28:24 +00:00
Keith Packard 44d903783d Add simple tests 2003-03-01 05:55:17 +00:00
Keith Packard 9238fc061d Add --disable-docs flag 2003-03-01 05:21:02 +00:00
Keith Packard 0da305f7f8 Switch to docbook and split documentation into pieces 2003-03-01 03:06:37 +00:00
Keith Packard 20fa60c9ae Switch to automake 2003-02-24 17:18:50 +00:00
Keith Packard e54692ac1e Remove broken fontconfig-config script 2003-02-17 17:35:28 +00:00
Keith Packard 9db8fbeccf add shared library support for Tru64 UNIX and IRIX (bug #14) 2003-02-06 19:25:53 +00:00
Keith Packard fa244f3d88 Various config changes plus a couple of optimizations from Owen 2002-08-19 19:32:05 +00:00
Keith Packard aefb2c41c8 Fix autoconf build BSD install and sysconfdir problems 2002-08-01 15:57:26 +00:00
Keith Packard 8a39040e2a Make autoconf use correct options to build solaris shared libraries 2002-06-07 17:55:41 +00:00
Keith Packard c9f55ecb06 A few autoconf build fixes 2002-05-24 05:19:30 +00:00
Keith Packard 2eafe0904d Add pkgconfig control file and fontconfig-config script 2002-05-23 17:06:46 +00:00
Keith Packard 446bb9c9e0 More autoconf cleanup for fontconfig 2002-05-21 17:48:15 +00:00
Keith Packard fb9545b1ba Fix xmkmf build process for fontconfig 2002-05-21 17:08:42 +00:00
Keith Packard 24330d27f8 Initial revision 2002-02-14 23:34:13 +00:00