]> git.wh0rd.org Git - fontconfig.git/log
fontconfig.git
13 years agoFcStrPathPlus: new helper function
Mike Frysinger [Mon, 7 Nov 2011 19:50:47 +0000 (14:50 -0500)]
FcStrPathPlus: new helper function

This is like FcStrPlus, except that it takes an arbitrary number of
additional strings to append, and it handles the path separator.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agomakealias: handle missing funcs better
Mike Frysinger [Tue, 8 Nov 2011 19:19:57 +0000 (14:19 -0500)]
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>
13 years agoFcObjectValidType: tweak -1 checking
Mike Frysinger [Tue, 8 Nov 2011 01:09:10 +0000 (20:09 -0500)]
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>
13 years agofix build warnings when using --with-arch
Mike Frysinger [Tue, 8 Nov 2011 00:29:57 +0000 (19:29 -0500)]
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>
13 years agofc-{list,match}: constify format string
Mike Frysinger [Mon, 7 Nov 2011 20:33:12 +0000 (15:33 -0500)]
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>
13 years agoFcName{,Get}Constant: constify string input
Mike Frysinger [Mon, 7 Nov 2011 20:26:52 +0000 (15:26 -0500)]
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>
13 years agofc-cat: fix pointer warning
Mike Frysinger [Mon, 7 Nov 2011 20:24:53 +0000 (15:24 -0500)]
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>
13 years agoFcStat: change to FcChar8 for first arg
Mike Frysinger [Mon, 7 Nov 2011 20:21:51 +0000 (15:21 -0500)]
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>
13 years agodelete unused variables
Mike Frysinger [Mon, 7 Nov 2011 20:18:26 +0000 (15:18 -0500)]
delete unused variables

Newer gcc is better at detecting set-but-unused variables.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agoFcStrPlus: optimize a little
Mike Frysinger [Mon, 7 Nov 2011 19:25:51 +0000 (14:25 -0500)]
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>
13 years agoAdd FcPublic to FcLangSetUnion and FcLangSetSubtract
Behdad Esfahbod [Thu, 6 Oct 2011 18:59:04 +0000 (14:59 -0400)]
Add FcPublic to FcLangSetUnion and FcLangSetSubtract

Patch from ssp

13 years agoFix parallel build
Behdad Esfahbod [Wed, 5 Oct 2011 19:12:48 +0000 (15:12 -0400)]
Fix parallel build

13 years agoBug 41171 - Invalid use of memset
Behdad Esfahbod [Sat, 24 Sep 2011 17:52:05 +0000 (13:52 -0400)]
Bug 41171 - Invalid use of memset

13 years agoFix stupid bug in FcFontSort()
Behdad Esfahbod [Wed, 22 Jun 2011 17:06:19 +0000 (13:06 -0400)]
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!

13 years agoSwitch fc-cat to use FcPatternFormat()
Behdad Esfahbod [Mon, 20 Jun 2011 15:55:25 +0000 (11:55 -0400)]
Switch fc-cat to use FcPatternFormat()

Added the a builtin "fccat" to FcPatternFormat().

13 years agoSwitch fc-match to use FcPatternFormat()
Behdad Esfahbod [Mon, 20 Jun 2011 15:32:46 +0000 (11:32 -0400)]
Switch fc-match to use FcPatternFormat()

Fix small bug in FcPatternFormat that was letting element-default to
consume the convertor sequence.

13 years agoBug 26718 - "fc-match sans file" doesn't work
Behdad Esfahbod [Mon, 20 Jun 2011 15:22:17 +0000 (11:22 -0400)]
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.

13 years agoBug 36577 - Updating cache with no-bitmaps disables bitmap fonts...
Behdad Esfahbod [Mon, 20 Jun 2011 15:07:56 +0000 (11:07 -0400)]
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.

13 years ago[.gitignore] Update
Behdad Esfahbod [Wed, 13 Apr 2011 02:15:37 +0000 (22:15 -0400)]
[.gitignore] Update

13 years agoBug 35587 - Add padding to make valgrind and glibc not hate each other
Behdad Esfahbod [Mon, 28 Mar 2011 20:33:12 +0000 (16:33 -0400)]
Bug 35587 - Add padding to make valgrind and glibc not hate each other

13 years agoFix warning
Behdad Esfahbod [Mon, 14 Mar 2011 21:58:13 +0000 (18:58 -0300)]
Fix warning

13 years agoAlways define FcStat as a function
Behdad Esfahbod [Mon, 14 Mar 2011 21:49:21 +0000 (18:49 -0300)]
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.

13 years agoMore doc typo fixes
Behdad Esfahbod [Mon, 14 Mar 2011 21:23:56 +0000 (18:23 -0300)]
More doc typo fixes

13 years agoMark constant strings as constant
Behdad Esfahbod [Mon, 14 Mar 2011 21:21:32 +0000 (18:21 -0300)]
Mark constant strings as constant

Fixes a few compiler warnings in fcxml.c and makes it clear that they
should not be freed.

13 years agoBug 30566 - fcformat.c:interpret_enumerate() passes uninitialized idx to FcPatternGet...
Behdad Esfahbod [Mon, 14 Mar 2011 21:04:59 +0000 (18:04 -0300)]
Bug 30566 - fcformat.c:interpret_enumerate() passes uninitialized idx to FcPatternGetLangSet()

13 years agoBug 20113 - Uighur (ug) orthography incomplete
Behdad Esfahbod [Mon, 14 Mar 2011 20:28:53 +0000 (17:28 -0300)]
Bug 20113 - Uighur (ug) orthography incomplete

13 years agoDocumentation fixes
Brad Hards [Fri, 11 Mar 2011 22:43:42 +0000 (19:43 -0300)]
Documentation fixes

13 years agoRemove --enable-maintainer-mode from autogen.sh
Behdad Esfahbod [Fri, 11 Mar 2011 22:40:38 +0000 (19:40 -0300)]
Remove --enable-maintainer-mode from autogen.sh

13 years agoUpdate CaseFolding.txt to Unicode 6.0
Behdad Esfahbod [Fri, 21 Jan 2011 21:34:52 +0000 (16:34 -0500)]
Update CaseFolding.txt to Unicode 6.0

13 years agoRemove AM_MAINTAINER_MODE
Behdad Esfahbod [Tue, 4 Jan 2011 03:18:38 +0000 (22:18 -0500)]
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

13 years agoFix assertion failure on le32d4
Behdad Esfahbod [Sun, 2 Jan 2011 20:25:29 +0000 (13:25 -0700)]
Fix assertion failure on le32d4

Reported by Jon TURNEY.

13 years agoDoc nit
Behdad Esfahbod [Tue, 28 Dec 2010 08:58:16 +0000 (02:58 -0600)]
Doc nit

13 years agoSkip <range> elements with begin > end
Behdad Esfahbod [Tue, 28 Dec 2010 08:55:31 +0000 (02:55 -0600)]
Skip <range> elements with begin > end

13 years agoAdd <range> support for <blank> into the DTD
Behdad Esfahbod [Tue, 28 Dec 2010 08:52:06 +0000 (02:52 -0600)]
Add <range> support for <blank> into the DTD

13 years agoAllow editing charset and lang in target="scan"
Behdad Esfahbod [Tue, 28 Dec 2010 08:50:16 +0000 (02:50 -0600)]
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"

13 years agoBump version
Behdad Esfahbod [Tue, 28 Dec 2010 07:28:39 +0000 (01:28 -0600)]
Bump version

13 years agoMake fc-arch stuff cross-compiling-safe
Behdad Esfahbod [Tue, 28 Dec 2010 06:59:19 +0000 (00:59 -0600)]
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

13 years agoMake most generated-files cross-compiling-safe
Behdad Esfahbod [Mon, 27 Dec 2010 19:20:47 +0000 (13:20 -0600)]
Make most generated-files cross-compiling-safe

By simply including a copy in the tarball.

Remains fc-arch which is trickier.

13 years agoadd some documents
Akira TAGOH [Thu, 9 Dec 2010 02:57:24 +0000 (11:57 +0900)]
add some documents

13 years agoAdd editing langset feature.
Akira TAGOH [Mon, 6 Dec 2010 03:38:18 +0000 (12:38 +0900)]
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>

13 years agoAdd the range support in blank element
Akira TAGOH [Mon, 6 Dec 2010 03:18:23 +0000 (12:18 +0900)]
Add the range support in blank element

13 years agoadd some document for range and charset.
Akira TAGOH [Thu, 9 Dec 2010 02:32:26 +0000 (11:32 +0900)]
add some document for range and charset.

13 years agoAdd charset editing feature.
Akira TAGOH [Mon, 6 Dec 2010 03:10:17 +0000 (12:10 +0900)]
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>
...

13 years agoBug 28958 - lang=en matches other langs
Behdad Esfahbod [Tue, 7 Dec 2010 23:48:56 +0000 (18:48 -0500)]
Bug 28958 - lang=en matches other langs

Patch from Akira TAGOH.

13 years agoFix returned value
Behdad Esfahbod [Thu, 2 Dec 2010 13:13:59 +0000 (08:13 -0500)]
Fix returned value

14 years agoCleanup copyright notices to replace "Keith Packard" with "the author(s)"
Behdad Esfahbod [Wed, 10 Nov 2010 21:45:42 +0000 (16:45 -0500)]
Cleanup copyright notices to replace "Keith Packard" with "the author(s)"

14 years agoAdd more copyright owners
Behdad Esfahbod [Wed, 10 Nov 2010 20:27:10 +0000 (15:27 -0500)]
Add more copyright owners

14 years agofontconfig.pc.in: Add sysconfdir, localstatedir, and PACKAGE
Jeremy Huddleston [Wed, 3 Nov 2010 08:08:12 +0000 (01:08 -0700)]
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>
14 years agofontconfig.pc: Add variables for confdir and cachedir
Jeremy Huddleston [Wed, 6 Oct 2010 18:21:29 +0000 (11:21 -0700)]
fontconfig.pc: Add variables for confdir and cachedir

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
14 years agoBug 24729 - [ne_NP] Fix ortho file
Behdad Esfahbod [Tue, 21 Sep 2010 17:18:05 +0000 (13:18 -0400)]
Bug 24729 - [ne_NP] Fix ortho file

Exclude three characters (U+090C..090E) from Nepalese.

14 years ago[fc-lang] Support excluding characters
Behdad Esfahbod [Tue, 21 Sep 2010 17:14:55 +0000 (13:14 -0400)]
[fc-lang] Support excluding characters

By prefixing a line by a hyphen/minus sign.  Useful when including
other orth files.

14 years agoAdd new public API: FcCharSetDelChar()
Behdad Esfahbod [Tue, 21 Sep 2010 17:14:41 +0000 (13:14 -0400)]
Add new public API: FcCharSetDelChar()

14 years agoBug 29995 - fc-cat does not invoke FcFini()
Behdad Esfahbod [Fri, 3 Sep 2010 12:11:00 +0000 (08:11 -0400)]
Bug 29995 - fc-cat does not invoke FcFini()

14 years agoAdd comments
Behdad Esfahbod [Wed, 18 Aug 2010 15:31:31 +0000 (11:31 -0400)]
Add comments

14 years agoBug 29338 - fc-pattern.sgml, open para tag
Behdad Esfahbod [Thu, 5 Aug 2010 19:58:09 +0000 (15:58 -0400)]
Bug 29338 - fc-pattern.sgml, open para tag

14 years agoFix compiler warnings
Alan Coopersmith [Thu, 3 Jun 2010 02:38:19 +0000 (22:38 -0400)]
Fix compiler warnings

14 years agoAdd fc-pattern cmdline tool
Behdad Esfahbod [Wed, 21 Apr 2010 03:18:00 +0000 (23:18 -0400)]
Add fc-pattern cmdline tool

14 years agoFix comment
Behdad Esfahbod [Mon, 12 Apr 2010 16:49:53 +0000 (12:49 -0400)]
Fix comment

14 years agoRemove all training whitespaces
Behdad Esfahbod [Mon, 12 Apr 2010 16:18:50 +0000 (12:18 -0400)]
Remove all training whitespaces

14 years agoMore whitespace
Behdad Esfahbod [Mon, 12 Apr 2010 16:10:05 +0000 (12:10 -0400)]
More whitespace

14 years agoWhitespace
Behdad Esfahbod [Mon, 12 Apr 2010 15:52:09 +0000 (11:52 -0400)]
Whitespace

14 years agoAccept TT_PLATFORM_MICROSOFT, TT_MS_ID_SYMBOL_CS from name table
Behdad Esfahbod [Wed, 7 Apr 2010 16:47:37 +0000 (12:47 -0400)]
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.

14 years agoDon't include unistd.h in fontconfig.h
Behdad Esfahbod [Wed, 3 Mar 2010 18:26:55 +0000 (13:26 -0500)]
Don't include unistd.h in fontconfig.h

Bug 26783 patch: unistd.h not exist on ms windows

14 years agoBug 25152 Don't sleep(2) if all caches were uptodate
Behdad Esfahbod [Fri, 26 Feb 2010 06:47:56 +0000 (01:47 -0500)]
Bug 25152 Don't sleep(2) if all caches were uptodate

14 years agoBug 26157 Solaris/Sun C 5.8: compilation of 2.8.0 and 2.7.3 fails
Behdad Esfahbod [Thu, 25 Feb 2010 22:11:14 +0000 (17:11 -0500)]
Bug 26157 Solaris/Sun C 5.8: compilation of 2.8.0 and 2.7.3 fails

14 years agoBug 18886 installation crashes if fontconfig already installed
Behdad Esfahbod [Thu, 25 Feb 2010 20:10:41 +0000 (15:10 -0500)]
Bug 18886 installation crashes if fontconfig already installed

Run the uninstalled fc-cache, not the installed one.

14 years agoMore doc typo fixes
Behdad Esfahbod [Mon, 15 Feb 2010 01:27:22 +0000 (20:27 -0500)]
More doc typo fixes

14 years agoFix doc typo
Behdad Esfahbod [Mon, 15 Feb 2010 01:20:00 +0000 (20:20 -0500)]
Fix doc typo

14 years agoAdd note about autogen.sh to INSTALL
Behdad Esfahbod [Tue, 26 Jan 2010 17:45:09 +0000 (12:45 -0500)]
Add note about autogen.sh to INSTALL

14 years agoUpdate INSTALL
Behdad Esfahbod [Tue, 26 Jan 2010 17:43:51 +0000 (12:43 -0500)]
Update INSTALL

14 years agoBug 25508 configure assumes bash > 2.0 is on system
Behdad Esfahbod [Wed, 9 Dec 2009 02:15:15 +0000 (21:15 -0500)]
Bug 25508 configure assumes bash > 2.0 is on system

Remove dolt.  With libtool2, there's not much need for dolt.

14 years ago[doc] Fix typo
Behdad Esfahbod [Mon, 30 Nov 2009 21:09:55 +0000 (16:09 -0500)]
[doc] Fix typo

15 years ago[fc-cache] Document -r argument in man page
Behdad Esfahbod [Fri, 20 Nov 2009 23:44:04 +0000 (18:44 -0500)]
[fc-cache] Document -r argument in man page

15 years agoBump version to 2.8.0 2.8.0
Behdad Esfahbod [Wed, 18 Nov 2009 23:45:19 +0000 (18:45 -0500)]
Bump version to 2.8.0

15 years agoBump libtool revision in preparation for release
Behdad Esfahbod [Wed, 18 Nov 2009 23:45:06 +0000 (18:45 -0500)]
Bump libtool revision in preparation for release

15 years agoImprove zip "distribution"
Tor Lillqvist [Wed, 18 Nov 2009 19:56:16 +0000 (21:56 +0200)]
Improve zip "distribution"

Don't put entries for directories in the zip file. Fetch manpages from
correct place.

15 years agoUse correct autoconf variable
Tor Lillqvist [Wed, 18 Nov 2009 19:54:39 +0000 (21:54 +0200)]
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.

15 years ago[fc-arch] Rename architecture names to better reflect what they are
Behdad Esfahbod [Wed, 18 Nov 2009 19:39:34 +0000 (14:39 -0500)]
[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

15 years ago[fc-arch] Beautify the arch template
Behdad Esfahbod [Wed, 18 Nov 2009 19:08:00 +0000 (14:08 -0500)]
[fc-arch] Beautify the arch template

15 years ago[fc-case] Update CaseFolding.txt to Unicode 5.2.0
Behdad Esfahbod [Wed, 18 Nov 2009 14:40:11 +0000 (09:40 -0500)]
[fc-case] Update CaseFolding.txt to Unicode 5.2.0

15 years ago[fc-glyphname] Remove Adobe glyphlist
Behdad Esfahbod [Wed, 18 Nov 2009 14:36:23 +0000 (09:36 -0500)]
[fc-glyphname] Remove Adobe glyphlist

It was unused.

15 years agoClean up Makefile's a bit
Behdad Esfahbod [Wed, 18 Nov 2009 14:35:40 +0000 (09:35 -0500)]
Clean up Makefile's a bit

15 years ago[fc-glyphname] Rename internal arrays to prefix with _fc_
Behdad Esfahbod [Wed, 18 Nov 2009 14:26:24 +0000 (09:26 -0500)]
[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.

15 years ago[src] Create fcglyphname.h automatically
Behdad Esfahbod [Wed, 18 Nov 2009 14:26:01 +0000 (09:26 -0500)]
[src] Create fcglyphname.h automatically

15 years ago[fc-glyphname] Cleanup Makefile.am
Behdad Esfahbod [Wed, 18 Nov 2009 14:25:42 +0000 (09:25 -0500)]
[fc-glyphname] Cleanup Makefile.am

15 years agoRemove bogus comment
Behdad Esfahbod [Wed, 18 Nov 2009 14:10:05 +0000 (09:10 -0500)]
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.

15 years agoMake sure fclang.h and fcarch.h are built
Behdad Esfahbod [Tue, 17 Nov 2009 17:10:01 +0000 (12:10 -0500)]
Make sure fclang.h and fcarch.h are built

15 years ago[lang] Fix serializing LangSet from older versions
Behdad Esfahbod [Mon, 16 Nov 2009 23:29:26 +0000 (18:29 -0500)]
[lang] Fix serializing LangSet from older versions

15 years ago[arch] Try to ensure proper FcLangSet alignment in arch
Behdad Esfahbod [Mon, 16 Nov 2009 22:38:40 +0000 (17:38 -0500)]
[arch] Try to ensure proper FcLangSet alignment in arch

15 years ago[xml] Remove unused code
Behdad Esfahbod [Mon, 16 Nov 2009 22:00:50 +0000 (17:00 -0500)]
[xml] Remove unused code

15 years ago[int] Remove more unused macros
Behdad Esfahbod [Mon, 16 Nov 2009 21:57:53 +0000 (16:57 -0500)]
[int] Remove more unused macros

15 years agoEnable automake silent rules
Behdad Esfahbod [Mon, 16 Nov 2009 20:48:20 +0000 (15:48 -0500)]
Enable automake silent rules

15 years ago[int] Remove fc_value_* macros that did nothing other than renaming
Behdad Esfahbod [Mon, 16 Nov 2009 20:46:46 +0000 (15:46 -0500)]
[int] Remove fc_value_* macros that did nothing other than renaming

15 years ago[int] Remove fc_storage_type() in favor of direct access to v->type
Behdad Esfahbod [Mon, 16 Nov 2009 20:43:08 +0000 (15:43 -0500)]
[int] Remove fc_storage_type() in favor of direct access to v->type

15 years agoRemove unused macros
Behdad Esfahbod [Mon, 16 Nov 2009 20:41:58 +0000 (15:41 -0500)]
Remove unused macros

15 years agoBump cache version up from 2 to 3 and fix FcLangSet caching/crash
Behdad Esfahbod [Mon, 16 Nov 2009 20:39:16 +0000 (15:39 -0500)]
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.

15 years ago[int] Define MIN/MAX/ABS macros
Behdad Esfahbod [Mon, 16 Nov 2009 21:57:10 +0000 (16:57 -0500)]
[int] Define MIN/MAX/ABS macros

15 years ago[fc-arch] Add FcAlign to arch signature
Behdad Esfahbod [Mon, 16 Nov 2009 20:17:56 +0000 (15:17 -0500)]
[fc-arch] Add FcAlign to arch signature

15 years agoMove FcAlign to fcint.h
Behdad Esfahbod [Mon, 16 Nov 2009 20:12:52 +0000 (15:12 -0500)]
Move FcAlign to fcint.h

15 years agoClarify default confdir and cachedir better.
Behdad Esfahbod [Mon, 9 Nov 2009 18:17:17 +0000 (13:17 -0500)]
Clarify default confdir and cachedir better.

Also remove --with-docdir.  It can be set by setting docdir variable.