Commit Graph

1662 Commits

Author SHA1 Message Date
Akira TAGOH aa22e6e639 Warn if no <test> nor <edit> elements in <match>
This corrects an error message being reported at
  https://bugs.freedesktop.org/show_bug.cgi?id=71085
  Bug 71085 - "out of memory" errors on empty match element in fonts.conf

and somewhat works as a workaround for
  https://bugs.freedesktop.org/show_bug.cgi?id=59438
  Bug 59438 - Fix <alias> inside <match>
2013-10-31 21:48:27 +09:00
Akira TAGOH 525a135ccf Change the default weight on match to FC_WEIGHT_NORMAL 2013-10-28 11:54:04 +09:00
Akira TAGOH 65872e9e46 Fix a build issue on Solaris 10
Use own mkdtemp implementation if not available.

Reported by Thomas Klausner and Jörn Clausen
2013-10-24 19:35:26 +09:00
Akira TAGOH 76ea9af816 Use stat() if there are no d_type in struct dirent
Reported by Thomas Klausner
2013-10-22 15:01:11 +09:00
Akira TAGOH 5e029db497 Fix the dynamic loading issue on NetBSD
On NetBSD, it is not supported to load a library linked against
libpthread into a program that wasn't (since the C library provides
stubs for some pthread-functions, which might have already been called
before libpthread is loaded, leading to problems).

Patch from Matthias Drochner
2013-10-21 12:16:46 +09:00
Akira TAGOH ff0e0d17b2 Update ax_pthread.m4 to the latest version 2013-10-21 12:13:31 +09:00
Akira TAGOH 06b388523d Fix build issue on Debian/kFreeBSD 7.0
There are posix_fadvise(2) but not POSIX_FADV_WILLNEED.
Patch from Ryo ONODERA.
2013-10-21 11:50:55 +09:00
Akira TAGOH 5406919c5e do not build test-migration for Win32
This testing code is for XDG base directory spec which may be not interesting for them
2013-10-11 19:31:22 +09:00
Akira TAGOH f16c3118e2 Bump version to 2.11.0 2013-10-11 13:27:33 +09:00
Akira TAGOH f82a032f41 Update CaseFolding.txt to Unicode 6.3
No real updates between 6.2 and 6.3.
2013-10-11 13:27:24 +09:00
Akira TAGOH c4c90ffc7a Bump libtool revision 2013-10-11 12:40:42 +09:00
Akira TAGOH 9a4310176b Add missing doc for FcStrListFirst and fix a typo 2013-10-09 12:19:35 +09:00
Akira TAGOH 604c2a683f exit with the error code when FcNameParse() failed 2013-10-03 19:59:30 +09:00
Akira TAGOH 0203055520 Workaround the race condition issue on updating cache 2013-10-02 16:34:34 +09:00
Akira TAGOH 9161ed1e4a Add the relative path for <include> to fonts.conf if the parent path is same to fonts.conf
Bug 69836 - fonts.conf.in update for Windows cross-compiling
2013-09-30 11:30:00 +09:00
Akira TAGOH 96c5f3cf0f clean up 2013-09-26 18:44:10 +09:00
Akira TAGOH 43f768b53f avoid reading config.h twice
config.h is read from fcint.h now so having a line of the sort of #include "config.h"
is duplicate.

Bug 69833 - Incorrect SIZEOF_VOID_P and ALIGNOF_DOUBLE definitions causes nasty warnings on MacOSX when building fat libraries
2013-09-26 17:51:15 +09:00
Akira TAGOH 102864d0db Add the description of -q option to the man page 2013-09-25 11:41:23 +09:00
W. Trevor King 2b0fca14ad doc/fccharset.fncs: Describe the map format in more detail
The previous documentation for FcCharSetFirstPage and
FcCharSetNextPage was technically accurate, but a bit terse.  I've
added an example using the returned page (root code point) and map to
give folks something concrete to work with.  I've also documented
FC_CHARSET_DONE, which wasn't mentioned at all before.
2013-09-24 11:19:28 +09:00
Akira TAGOH 8a174b6c51 Fix a crash when FcPattern is set to null on FcFontSetList() and FcFontList() 2013-09-24 11:14:57 +09:00
Jan Alexander Steffens (heftig) 643f8088f0 Further changes to 30-metric-aliases.conf
Big changes:
* Handle more PostScript fonts (further reduce 30-urw-aliases.conf)
* Update the big comment

Specific->Generic:
* Add missing maps, for symmetry

Generic<->Generic:
* Add "Helvetica Condensed" <-> "Arial Narrow" map

Generic->Specific:
* Add missing Courier -> Cursor alias
* Add "Helvetica Condensed" -> "Heros Cn" alias
* Remove Arial -> Heros and "Times New Roman" -> Termes maps
2013-09-20 12:52:11 +09:00
Akira TAGOH 5e6b8894ea Copy all values from the font to the pattern if the pattern doesn't have the element 2013-09-18 17:33:45 +09:00
Akira TAGOH 7e44a0b5a8 Bug 68955 - Deprecate / remove FC_RASTERIZER 2013-09-10 17:45:11 +09:00
Akira TAGOH a61e145304 Fix memory leaks in FcFreeTypeQueryFace 2013-09-09 19:59:31 +09:00
Akira TAGOH 6720892e97 Add a test case of the migration for config place 2013-09-02 20:52:20 +09:00
Akira TAGOH 3e5f70a16a Do not create a config dir for migration when no config files nor dirs 2013-09-02 20:51:46 +09:00
Akira TAGOH d2bb1a8381 Bump version to 2.10.95 2013-08-31 10:50:07 +09:00
Akira TAGOH 272a99217b Fix a crash 2013-08-31 10:43:13 +09:00
Akira TAGOH 071ce44c35 Fix a typo 2013-08-29 20:53:58 +09:00
Akira TAGOH 06dd98b2a3 Bump version to 2.10.94 2013-08-29 17:38:29 +09:00
Akira TAGOH 53ad60deab Add quz.orth to Makefile.am 2013-08-29 17:12:45 +09:00
Akira TAGOH c6228f8091 Bug 68587 - copy qu.orth to quz.orth 2013-08-27 12:28:52 +09:00
Akira TAGOH fba9efecd2 Fix a wrong edit position when 'kind' is different 2013-08-26 12:47:07 +09:00
Akira TAGOH 223c1384c9 Fix a crash when non-builtin objects are edited 2013-08-24 13:46:44 +09:00
Akira TAGOH 6c664d533d Fix a typo 2013-08-24 13:46:40 +09:00
Behdad Esfahbod f3bb3f19c9 Fix assertion
Apparently some AIX versions have 64bit pointers yet 32bit double
alignment.  Fix assertion.
2013-08-21 14:31:55 -04:00
Behdad Esfahbod ec3f0af6f0 Minor 2013-08-21 14:27:16 -04:00
Akira TAGOH 104a2af0dd Bug 63399 - Add default aliases for Georgia, Garamond, Palatino Linotype, Trebuchet MS 2013-08-21 13:12:41 +09:00
Akira TAGOH 010c973df5 Bug 68340 - More metric compat fonts 2013-08-21 13:12:22 +09:00
Akira TAGOH 084cf7c44e Bug 16818 - fontformat in match pattern is not respected? 2013-08-14 12:51:26 +09:00
Akira TAGOH 45221ab12f Bug 67845 - Match on FC_SCALABLE 2013-08-07 12:19:33 +09:00
Akira TAGOH 041deb0cc5 warn deprecated only when migration failed 2013-08-07 12:05:32 +09:00
Akira TAGOH d52daa0024 Bug 67809 - Invalid read/write with valgrind when assigning something twice 2013-08-06 15:09:23 +09:00
Akira TAGOH a51d2767ce Fix wrong edit position 2013-08-06 13:05:53 +09:00
Akira TAGOH 338ffe6b88 Correct fontconfig.pc to add certain dependencies for static build 2013-07-12 15:11:59 +09:00
Akira TAGOH 7274f6e37a Correct fontconfig.pc to add certain dependencies for build 2013-07-12 12:39:36 +09:00
Akira TAGOH 04bd904632 trivial code optimization 2013-07-09 16:43:26 +09:00
Akira TAGOH d420e1df98 Rework to apply the intermixed test and edit elements in one-pass 2013-07-04 19:51:03 +09:00
Akira TAGOH 1162515a98 Add FC_UNUSED to FC_ASSERT_STATIC macro to avoid compiler warning 2013-07-03 11:56:58 +09:00
Akira TAGOH cbf06d7d3c Use INT_MAX instead of unreliable hardcoding value 2013-07-02 19:04:36 +09:00