Commit Graph

1634 Commits

Author SHA1 Message Date
Behdad Esfahbod e1bb01bfdc Update CaseFolding.txt to Unicode 6.0 2011-01-21 16:34:52 -05:00
Behdad Esfahbod e10a42178c 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
2011-01-03 22:18:38 -05:00
Behdad Esfahbod 0c7b867617 Fix assertion failure on le32d4
Reported by Jon TURNEY.
2011-01-02 13:25:29 -07:00
Behdad Esfahbod e63f90ce74 Doc nit 2010-12-28 02:58:16 -06:00
Behdad Esfahbod 43bf659eed Skip <range> elements with begin > end 2010-12-28 02:55:31 -06:00
Behdad Esfahbod 8c625aa01f Add <range> support for <blank> into the DTD 2010-12-28 02:52:06 -06:00
Behdad Esfahbod 549c9962a4 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"
2010-12-28 02:51:10 -06:00
Behdad Esfahbod 30fd4fac9c Bump version 2010-12-28 01:28:39 -06:00
Behdad Esfahbod d1a0fca316 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
2010-12-28 01:22:34 -06:00
Behdad Esfahbod 2a6b235ff6 Make most generated-files cross-compiling-safe
By simply including a copy in the tarball.

Remains fc-arch which is trickier.
2010-12-27 13:20:47 -06:00
Akira TAGOH fa269cf812 add some documents 2010-12-09 11:57:24 +09:00
Akira TAGOH 3c862aad9f 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>
2010-12-09 11:40:08 +09:00
Akira TAGOH d975cdda78 Add the range support in blank element 2010-12-09 11:36:26 +09:00
Akira TAGOH 51e352a1bd add some document for range and charset. 2010-12-09 11:32:26 +09:00
Akira TAGOH 857b7efe1e 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>
...
2010-12-09 11:09:24 +09:00
Behdad Esfahbod 0d47cfabd8 Bug 28958 - lang=en matches other langs
Patch from Akira TAGOH.
2010-12-07 18:48:56 -05:00
Behdad Esfahbod 1e7a2a4f6c Fix returned value 2010-12-02 08:13:59 -05:00
Behdad Esfahbod 5aaf466d38 Cleanup copyright notices to replace "Keith Packard" with "the author(s)" 2010-11-10 16:45:42 -05:00
Behdad Esfahbod 1f5c675fed Add more copyright owners 2010-11-10 15:27:10 -05:00
Jeremy Huddleston 039b9fd090 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 81b542b50f

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Tested-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2010-11-06 18:00:49 -07:00
Jeremy Huddleston 81b542b50f fontconfig.pc: Add variables for confdir and cachedir
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-10-06 16:31:43 -07:00
Behdad Esfahbod caa4bec945 Bug 24729 - [ne_NP] Fix ortho file
Exclude three characters (U+090C..090E) from Nepalese.
2010-09-21 13:18:05 -04:00
Behdad Esfahbod 0a023b24da [fc-lang] Support excluding characters
By prefixing a line by a hyphen/minus sign.  Useful when including
other orth files.
2010-09-21 13:14:55 -04:00
Behdad Esfahbod 52960d05eb Add new public API: FcCharSetDelChar() 2010-09-21 13:14:41 -04:00
Behdad Esfahbod 9d8d0226d9 Bug 29995 - fc-cat does not invoke FcFini() 2010-09-03 08:11:00 -04:00
Behdad Esfahbod 25afea879d Add comments 2010-08-18 11:31:31 -04:00
Behdad Esfahbod c2764d959c Bug 29338 - fc-pattern.sgml, open para tag 2010-08-05 15:58:09 -04:00
Alan Coopersmith 7836684446 Fix compiler warnings 2010-06-02 22:38:19 -04:00
Behdad Esfahbod ba7b50ab33 Add fc-pattern cmdline tool 2010-04-20 23:18:00 -04:00
Behdad Esfahbod ac5a233643 Fix comment 2010-04-12 12:49:53 -04:00
Behdad Esfahbod 594dcef0f3 Remove all training whitespaces 2010-04-12 12:19:05 -04:00
Behdad Esfahbod d0d1f3904c More whitespace 2010-04-12 12:10:05 -04:00
Behdad Esfahbod 2b0f3f1128 Whitespace 2010-04-12 11:52:09 -04:00
Behdad Esfahbod 632612b810 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.
2010-04-07 12:49:30 -04:00
Behdad Esfahbod 300b495dc4 Don't include unistd.h in fontconfig.h
Bug 26783 patch: unistd.h not exist on ms windows
2010-03-03 13:26:55 -05:00
Behdad Esfahbod 111e5b6d69 Bug 25152 Don't sleep(2) if all caches were uptodate 2010-02-26 01:47:56 -05:00
Behdad Esfahbod 3cd1e673a9 Bug 26157 Solaris/Sun C 5.8: compilation of 2.8.0 and 2.7.3 fails 2010-02-25 17:11:14 -05:00
Behdad Esfahbod 2c93614ea0 Bug 18886 installation crashes if fontconfig already installed
Run the uninstalled fc-cache, not the installed one.
2010-02-25 15:10:41 -05:00
Behdad Esfahbod 2e375b6894 More doc typo fixes 2010-02-14 20:27:22 -05:00
Behdad Esfahbod 77be30cb9f Fix doc typo 2010-02-14 20:20:00 -05:00
Behdad Esfahbod d635132505 Add note about autogen.sh to INSTALL 2010-01-26 12:45:09 -05:00
Behdad Esfahbod 0dbbf9f20b Update INSTALL 2010-01-26 12:43:51 -05:00
Behdad Esfahbod af4a82863f Bug 25508 configure assumes bash > 2.0 is on system
Remove dolt.  With libtool2, there's not much need for dolt.
2009-12-08 21:15:15 -05:00
Behdad Esfahbod aabe0f9d7d [doc] Fix typo 2009-11-30 16:09:55 -05:00
Behdad Esfahbod 38bd85b83b [fc-cache] Document -r argument in man page 2009-11-20 18:44:04 -05:00
Behdad Esfahbod 4a3bef8ac3 Bump version to 2.8.0 2009-11-18 18:49:09 -05:00
Behdad Esfahbod 2e44cbe1b9 Bump libtool revision in preparation for release 2009-11-18 18:49:09 -05:00
Tor Lillqvist 91a73751dc Improve zip "distribution"
Don't put entries for directories in the zip file. Fetch manpages from
correct place.
2009-11-18 21:56:16 +02:00
Tor Lillqvist bb8fdae8ad 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.
2009-11-18 21:55:39 +02:00
Behdad Esfahbod 1845f3100d [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
2009-11-18 14:39:34 -05:00