]> git.wh0rd.org Git - fontconfig.git/log
fontconfig.git
19 years agoFix addressing in the global cache file, preventing infinite loops. Get rid
Patrick Lam [Fri, 2 Sep 2005 06:16:49 +0000 (06:16 +0000)]
Fix addressing in the global cache file, preventing infinite loops. Get rid
    of unused variables.

19 years agoApply Matthias Clasen's patch to fix obvious bogosity (i.e. missing
Patrick Lam [Thu, 1 Sep 2005 18:29:28 +0000 (18:29 +0000)]
Apply Matthias Clasen's patch to fix obvious bogosity (i.e. missing
    FcObjectPtrU).

19 years agoFix embarassing attempt to free a static buffer.
Patrick Lam [Thu, 1 Sep 2005 06:59:44 +0000 (06:59 +0000)]
Fix embarassing attempt to free a static buffer.

19 years ago:
Patrick Lam [Thu, 1 Sep 2005 06:14:46 +0000 (06:14 +0000)]
:
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...

19 years agoOnly load requested fonts for fc-cache, and cleanup memory handling:
Patrick Lam [Wed, 31 Aug 2005 15:12:41 +0000 (15:12 +0000)]
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.

19 years agoFix compilation error exposed with gcc 2.95.
Patrick Lam [Tue, 30 Aug 2005 23:03:42 +0000 (23:03 +0000)]
Fix compilation error exposed with gcc 2.95.

19 years agosrc/fcint.c
Patrick Lam [Tue, 30 Aug 2005 05:55:13 +0000 (05:55 +0000)]
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.

19 years agoEmit and verify machine signature (sizeof (stuff) + endianness) in cache
Patrick Lam [Sun, 28 Aug 2005 05:20:23 +0000 (05:20 +0000)]
Emit and verify machine signature (sizeof (stuff) + endianness) in cache
    files. Fix bugs in FcCacheBankToIndex.

19 years agoReplace FcObjectStaticName by FcStrStaticName. Implement serialization of
Patrick Lam [Sat, 27 Aug 2005 02:34:24 +0000 (02:34 +0000)]
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.

19 years agoReinstate the old global cache code. For the forseeable future, it's
Patrick Lam [Thu, 25 Aug 2005 07:38:02 +0000 (07:38 +0000)]
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.

19 years agoOverhaul the serialization system to create one mmapable file per directory
Patrick Lam [Wed, 24 Aug 2005 06:21:30 +0000 (06:21 +0000)]
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.

19 years ago#ifdef out old cache stuff, replace with first version of new mmapping
Patrick Lam [Mon, 25 Jul 2005 04:10:09 +0000 (04:10 +0000)]
#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.

19 years agoForward port cworth's patch to branch.
Patrick Lam [Fri, 15 Jul 2005 18:49:12 +0000 (18:49 +0000)]
Forward port cworth's patch to branch.

19 years agoConvert ObjectPtr from a fat structure to a simple index into an id table;
Patrick Lam [Thu, 7 Jul 2005 12:09:10 +0000 (12:09 +0000)]
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.

19 years agoAdd functionality to allow fontconfig data structure serialization.
Patrick Lam [Tue, 28 Jun 2005 03:41:02 +0000 (03:41 +0000)]
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.

19 years agoMake FcOpNotContains use FcStrStr for strings so that it matches semantics
Keith Packard [Fri, 17 Jun 2005 03:01:43 +0000 (03:01 +0000)]
Make FcOpNotContains use FcStrStr for strings so that it matches semantics
    for !FcOpContains.
reviewed by: keithp

19 years agoMove fontconfig source package to libs as per override
Keith Packard [Fri, 20 May 2005 16:21:39 +0000 (16:21 +0000)]
Move fontconfig source package to libs as per override

19 years agoThe ka.orth file requires several characters which are not used anymore in
Keith Packard [Fri, 20 May 2005 15:56:51 +0000 (15:56 +0000)]
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

19 years agoUpdate date to real 2.3.2 release date. Fix change attributions fc-2_3_2
Keith Packard [Wed, 27 Apr 2005 19:08:08 +0000 (19:08 +0000)]
Update date to real 2.3.2 release date. Fix change attributions

19 years agoBump so revision for 2.3.2
Keith Packard [Wed, 27 Apr 2005 16:22:46 +0000 (16:22 +0000)]
Bump so revision for 2.3.2
Fix a few minor leaks in error cases.

19 years agoUpdate for version 2.3.2
Keith Packard [Sat, 23 Apr 2005 04:32:23 +0000 (04:32 +0000)]
Update for version 2.3.2

19 years agoDon't force bitmap font enable in default configuration; allows users to
Keith Packard [Thu, 21 Apr 2005 19:03:53 +0000 (19:03 +0000)]
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.

19 years agoCheck that a pattern isn't already frozen in FcPatternFreeze
Ross Burton [Wed, 13 Apr 2005 09:11:52 +0000 (09:11 +0000)]
Check that a pattern isn't already frozen in FcPatternFreeze

19 years agoPut all FcPattern objects though FcObjectStaticName and do pointer trather
Ross Burton [Thu, 31 Mar 2005 19:16:49 +0000 (19:16 +0000)]
Put all FcPattern objects though FcObjectStaticName and do pointer trather
    than string compares

19 years agoAdd the .dll to the dll name.
Tor Lillqvist [Thu, 17 Mar 2005 08:57:11 +0000 (08:57 +0000)]
Add the .dll to the dll name.

19 years agoUpdate to reflect configuration changes fc-2_3_1-2
Keith Packard [Thu, 10 Mar 2005 22:06:20 +0000 (22:06 +0000)]
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

19 years agoUpdate debian for 2.3.1
Keith Packard [Wed, 9 Mar 2005 04:57:42 +0000 (04:57 +0000)]
Update debian for 2.3.1

19 years agoGet the DLL from "bin" where modern libtools put it, not "lib".
Tor Lillqvist [Wed, 9 Mar 2005 00:47:11 +0000 (00:47 +0000)]
Get the DLL from "bin" where modern libtools put it, not "lib".
Check also drive letter prefix on Win32.

19 years agoUpdate for 2.3.1 fc-2_3_1
Keith Packard [Tue, 8 Mar 2005 23:39:02 +0000 (23:39 +0000)]
Update for 2.3.1

19 years agoInclude space and remove numbers from valid script tags. This ensures that
Keith Packard [Sat, 5 Mar 2005 23:50:55 +0000 (23:50 +0000)]
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)

19 years agoRework GSUB/GPOS script parsing to survive broken fonts. Thanks for the
Keith Packard [Sat, 5 Mar 2005 23:34:57 +0000 (23:34 +0000)]
Rework GSUB/GPOS script parsing to survive broken fonts. Thanks for the
    broken font go to Manish Singh

19 years agoJosselin Mouette:
Keith Packard [Sat, 5 Mar 2005 20:58:39 +0000 (20:58 +0000)]
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

19 years agoMove debian-specific conf file examples upstream.
Keith Packard [Thu, 3 Mar 2005 06:20:57 +0000 (06:20 +0000)]
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.

19 years agoIgnore more build detritus
Keith Packard [Thu, 3 Mar 2005 01:59:28 +0000 (01:59 +0000)]
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

19 years agoUpdate for 2.3.0 fc-2_3_0
Keith Packard [Tue, 1 Mar 2005 20:48:36 +0000 (20:48 +0000)]
Update for 2.3.0

19 years agoGenerate and install PDF versions of the manuals
Keith Packard [Tue, 1 Mar 2005 20:36:48 +0000 (20:36 +0000)]
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.

19 years agoCreate prototype /etc/fonts/conf.d directory with a few sample
Keith Packard [Mon, 28 Feb 2005 18:56:15 +0000 (18:56 +0000)]
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

19 years agoFree patterns from fonts which are rejected by configuration (bug #2518)
Keith Packard [Thu, 10 Feb 2005 23:00:51 +0000 (23:00 +0000)]
Free patterns from fonts which are rejected by configuration (bug #2518)
reviewed by: pborelli@katamail.com

19 years agoUpdate for version 2.2.99 fc-2_2_99
Keith Packard [Sat, 29 Jan 2005 00:42:37 +0000 (00:42 +0000)]
Update for version 2.2.99

19 years agoAdd a few pointers
Keith Packard [Sat, 29 Jan 2005 00:33:47 +0000 (00:33 +0000)]
Add a few pointers

19 years agoPolite typechecking for test and edit expressions. Helps catch errors in
Keith Packard [Fri, 28 Jan 2005 23:55:14 +0000 (23:55 +0000)]
Polite typechecking for test and edit expressions. Helps catch errors in
    the font configuration.

19 years agoHave --with-expat set EXPAT_CFLAGS (bug 2278)
Keith Packard [Sun, 16 Jan 2005 01:41:24 +0000 (01:41 +0000)]
Have --with-expat set EXPAT_CFLAGS (bug 2278)
reviewed by: Keith Packard <keithp@keithp.com>

19 years agoAdd SEE ALSO section (bug 2085)
Keith Packard [Thu, 13 Jan 2005 18:31:50 +0000 (18:31 +0000)]
Add SEE ALSO section (bug 2085)
Cross compiling fixes (bug 280)
reviewed by: Keith Packard <keithp@keithp.com>

19 years agoUpdate blanks list (Closes bug 86)
Keith Packard [Thu, 13 Jan 2005 18:10:42 +0000 (18:10 +0000)]
Update blanks list (Closes bug 86)

19 years agoVerify that every font pattern loaded from cache has both FC_FILE and
Keith Packard [Tue, 4 Jan 2005 21:54:50 +0000 (21:54 +0000)]
Verify that every font pattern loaded from cache has both FC_FILE and
    FC_FAMILY entries. Attempt to fix bug #2219.

19 years agoUpdate for version 2.2.98 fc-2_2_98
Keith Packard [Wed, 29 Dec 2004 19:44:51 +0000 (19:44 +0000)]
Update for version 2.2.98

19 years agoDocument ASCII limitations of Fc character conversion macros
Keith Packard [Wed, 29 Dec 2004 19:37:14 +0000 (19:37 +0000)]
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)

19 years agoAdd territory database
Keith Packard [Wed, 29 Dec 2004 10:07:10 +0000 (10:07 +0000)]
Add territory database
Reviewed by: Keith Packard
Remove Han characters from Korean orthography

19 years agoReorder utility programs to make sure fc-case is run before fc-lang as
Keith Packard [Wed, 29 Dec 2004 09:57:49 +0000 (09:57 +0000)]
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

19 years agoAdopt some RedHat suggestions for standard font configuration.
Keith Packard [Wed, 29 Dec 2004 09:15:17 +0000 (09:15 +0000)]
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)

19 years agoI changed FcFontSetSort to respect the generic aliases better in the face
Keith Packard [Tue, 14 Dec 2004 00:12:25 +0000 (00:12 +0000)]
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>

19 years agoConfiguration changes to request synthetic emboldening of fonts. The actual
Keith Packard [Fri, 10 Dec 2004 16:48:08 +0000 (16:48 +0000)]
Configuration changes to request synthetic emboldening of fonts. The actual
    emboldening code will live in Xft.
reviewed by: Keith Packard <keithp@keithp.com>

19 years agoCurrently Russian (ru) requires 0406 and 0456 (І and і), but these were
Keith Packard [Thu, 9 Dec 2004 19:36:30 +0000 (19:36 +0000)]
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>

19 years agoReviewed by: Keith Packard <keithp@keithp.com>
Keith Packard [Tue, 7 Dec 2004 01:36:26 +0000 (01:36 +0000)]
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.

19 years agoChange files from ISO-Latin-1 to UTF-8
Keith Packard [Tue, 7 Dec 2004 01:14:46 +0000 (01:14 +0000)]
Change files from ISO-Latin-1 to UTF-8

19 years agoUpdate links to new freedesktop.org locations fc-2_2_97
Keith Packard [Sun, 5 Dec 2004 07:44:08 +0000 (07:44 +0000)]
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'

19 years agoUpdates for version 2.2.97
Keith Packard [Sun, 5 Dec 2004 06:38:54 +0000 (06:38 +0000)]
Updates for version 2.2.97

19 years agoSleep for two seconds before exiting to make sure timestamps for future
Keith Packard [Sun, 5 Dec 2004 06:19:46 +0000 (06:19 +0000)]
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>

19 years agoJust remove the FC_FONTDATE -- it has locale issues and annoys redhat
Keith Packard [Sun, 5 Dec 2004 05:49:20 +0000 (05:49 +0000)]
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

19 years agoChange default set of fonts to include all of /usr/X11R6/lib/X11/fonts (or
Keith Packard [Sun, 5 Dec 2004 05:03:52 +0000 (05:03 +0000)]
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.

19 years agoReport command line for $srcdir/configure accurately. Bug #212.
Keith Packard [Sun, 5 Dec 2004 04:14:17 +0000 (04:14 +0000)]
Report command line for $srcdir/configure accurately. Bug #212.

19 years agoCheck for non-empty face->family_name and face->style_name before using
Keith Packard [Sun, 5 Dec 2004 04:11:11 +0000 (04:11 +0000)]
Check for non-empty face->family_name and face->style_name before using
    those for the font. Empty names match everything. Bug #171.

19 years agoCreate FC_FONTFORMAT from FT_Get_X11_Font_Format function where available.
Keith Packard [Sun, 5 Dec 2004 00:26:06 +0000 (00:26 +0000)]
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.

19 years agoFix typo.
Keith Packard [Sat, 4 Dec 2004 22:06:52 +0000 (22:06 +0000)]
Fix typo.
Add detection for font capabilities (bug #105)
reviewed by: Keith Packard <keithp@keithp.com>

19 years agoMove existing fonts.conf to fonts.conf.bak
Keith Packard [Sat, 4 Dec 2004 19:41:10 +0000 (19:41 +0000)]
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.

20 years agoRemove spurious / after $(DESTDIR)
Keith Packard [Thu, 9 Sep 2004 14:31:18 +0000 (14:31 +0000)]
Remove spurious / after $(DESTDIR)
reviewed by: keithp

20 years agoUpdate for 2.2.96 fc-2_2_96
Keith Packard [Wed, 30 Jun 2004 20:06:41 +0000 (20:06 +0000)]
Update for 2.2.96

20 years agoProvided by: Lubos Lunak <l.lunak@suse.cz>
Keith Packard [Wed, 30 Jun 2004 18:41:52 +0000 (18:41 +0000)]
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.

20 years agoRemove comma at end of FcResult enum definition.
Keith Packard [Thu, 3 Jun 2004 14:16:38 +0000 (14:16 +0000)]
Remove comma at end of FcResult enum definition.

20 years agoAdd steps to md5sum release
Keith Packard [Sat, 29 May 2004 20:07:46 +0000 (20:07 +0000)]
Add steps to md5sum release

20 years agoAdd sh autogen.sh to INSTALL fc-2_2_95
Keith Packard [Sat, 29 May 2004 19:49:52 +0000 (19:49 +0000)]
Add sh autogen.sh to INSTALL

20 years agoUpdate for 2.2.95
Keith Packard [Sat, 29 May 2004 19:36:32 +0000 (19:36 +0000)]
Update for 2.2.95

20 years agoAdd FcResultOutOfMemory to provide an accurate error when FcFontSetMatch
Keith Packard [Sat, 29 May 2004 19:32:41 +0000 (19:32 +0000)]
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)

20 years agoReplace MIN/MAX/ABS macros which happen to have come from FreeType with
Keith Packard [Thu, 6 May 2004 02:28:37 +0000 (02:28 +0000)]
Replace MIN/MAX/ABS macros which happen to have come from FreeType with
    fontconfig-specific ones (FC_*)

20 years agoExtend release preparation instructions to include notification and
Keith Packard [Sat, 24 Apr 2004 02:54:40 +0000 (02:54 +0000)]
Extend release preparation instructions to include notification and
    distribution steps

20 years agoUpdate to 2.2.94 (2.2.93 shipped with broken libtool bits) fc-2_2_94
Keith Packard [Sat, 24 Apr 2004 01:09:36 +0000 (01:09 +0000)]
Update to 2.2.94 (2.2.93 shipped with broken libtool bits)

20 years agoIgnore a few more autotool files
Keith Packard [Sat, 24 Apr 2004 01:06:32 +0000 (01:06 +0000)]
Ignore a few more autotool files

20 years agoAdd instructions for doing a release fc-2_2_93
Keith Packard [Wed, 14 Apr 2004 18:08:41 +0000 (18:08 +0000)]
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.

20 years agoForce FC_FOUNDRY and FC_WIDTH to always be set so that matches looking for
Keith Packard [Sat, 6 Mar 2004 23:44:11 +0000 (23:44 +0000)]
Force FC_FOUNDRY and FC_WIDTH to always be set so that matches looking for
    explicit values prefer exact matches

20 years agoSupplied by: mfabian@suse.de (Mike FABIAN)
Keith Packard [Tue, 2 Mar 2004 16:48:51 +0000 (16:48 +0000)]
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)).

20 years agoCast strlen to int for printf, so we're 64-bit clean.
Manish Singh [Sun, 22 Feb 2004 02:21:37 +0000 (02:21 +0000)]
Cast strlen to int for printf, so we're 64-bit clean.

20 years agoOk, so I messed up the test for y_ppem. Let's see if I got it right this
Keith Packard [Wed, 11 Feb 2004 18:53:05 +0000 (18:53 +0000)]
Ok, so I messed up the test for y_ppem. Let's see if I got it right this
    time.

20 years agoPre-2.1.5 versions of FreeType didn't include y_ppem in the FT_Bitmap_Size
Keith Packard [Tue, 10 Feb 2004 18:38:58 +0000 (18:38 +0000)]
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).

20 years agoAdd Low Saxon orthography (Kenneth Rohde Christiansen <kenneth@gnu.org>)
Keith Packard [Sat, 7 Feb 2004 07:13:48 +0000 (07:13 +0000)]
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...

20 years agofontconfig, at least as used by GIMP and/or PangoFT2 on Windows, crashes
Tor Lillqvist [Sun, 1 Feb 2004 19:32:36 +0000 (19:32 +0000)]
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.

20 years agoAdded orthographies for Iranian Azerbaijani and Kurdish, and Pashto (Afghan
Roozbeh Pournader [Sat, 3 Jan 2004 18:27:29 +0000 (18:27 +0000)]
Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto (Afghan
    and Pakistani).
Updated Urdu orthography with real data.

20 years agoRemove excessive whitespace (missed on previous commit)
Carl Worth [Fri, 12 Dec 2003 17:07:55 +0000 (17:07 +0000)]
Remove excessive whitespace (missed on previous commit)

20 years agoMove man_MANS into the 'if USEDOCBOOK' block.
Carl Worth [Thu, 11 Dec 2003 19:30:07 +0000 (19:30 +0000)]
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).

20 years agoSwitch to FreeType 2.1.7 style includes. Bug #150.
Keith Packard [Tue, 18 Nov 2003 07:53:04 +0000 (07:53 +0000)]
Switch to FreeType 2.1.7 style includes. Bug #150.
reviewed by: Keith Packard <keithp@keithp.com>

21 years agoAdd some example usages.
Noah Levitt [Sun, 16 Nov 2003 19:08:04 +0000 (19:08 +0000)]
Add some example usages.

21 years agoFixed a bug "FcStrtod" in handling some cases with two-byte decimal
Roozbeh Pournader [Mon, 10 Nov 2003 17:34:36 +0000 (17:34 +0000)]
Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
    separators.

21 years agoUpdate to version 2.2.92 fc-2_2_92
Keith Packard [Mon, 27 Oct 2003 10:47:53 +0000 (10:47 +0000)]
Update to version 2.2.92

21 years agoYet more cleanups to finish getting 'make distcheck' working This has been
Keith Packard [Mon, 27 Oct 2003 10:44:13 +0000 (10:44 +0000)]
Yet more cleanups to finish getting 'make distcheck' working This has been
    tested to ensure that it even works from a _build directory.

21 years agoAttempts to fix 'make distcheck' work. Things are progressing pretty well,
Keith Packard [Mon, 27 Oct 2003 06:30:29 +0000 (06:30 +0000)]
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.

21 years agoTag version 2.2.91 fc-2_2_91
Keith Packard [Sun, 26 Oct 2003 16:52:28 +0000 (16:52 +0000)]
Tag version 2.2.91

21 years agoInclude confdir.sgml.in in EXTRA_DIST
Keith Packard [Sun, 26 Oct 2003 16:45:23 +0000 (16:45 +0000)]
Include confdir.sgml.in in EXTRA_DIST

21 years agoReplace fc-cache and fc-list manpages with more detailed, SGML versions.
Josselin Mouette [Thu, 9 Oct 2003 18:21:49 +0000 (18:21 +0000)]
Replace fc-cache and fc-list manpages with more detailed, SGML versions.

21 years agoAdd a FC_HINT_STYLE key for patterns, with possible values
Owen Taylor [Tue, 23 Sep 2003 20:12:20 +0000 (20:12 +0000)]
Add a FC_HINT_STYLE key for patterns, with possible values
    HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL. (Bug #117)

21 years agoRemove Georgian capitals, they aren't used for normal writing. (Bug #116)
Owen Taylor [Tue, 23 Sep 2003 20:06:40 +0000 (20:06 +0000)]
Remove Georgian capitals, they aren't used for normal writing. (Bug #116)

21 years agoAdd new spacing value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
Noah Levitt [Sat, 6 Sep 2003 19:40:41 +0000 (19:40 +0000)]
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.