]>
git.wh0rd.org Git - fontconfig.git/log
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.
Behdad Esfahbod [Tue, 17 Nov 2009 17:10:01 +0000 (12:10 -0500)]
Make sure fclang.h and fcarch.h are built
Behdad Esfahbod [Mon, 16 Nov 2009 23:29:26 +0000 (18:29 -0500)]
[lang] Fix serializing LangSet from older versions
Behdad Esfahbod [Mon, 16 Nov 2009 22:38:40 +0000 (17:38 -0500)]
[arch] Try to ensure proper FcLangSet alignment in arch
Behdad Esfahbod [Mon, 16 Nov 2009 22:00:50 +0000 (17:00 -0500)]
[xml] Remove unused code
Behdad Esfahbod [Mon, 16 Nov 2009 21:57:53 +0000 (16:57 -0500)]
[int] Remove more unused macros
Behdad Esfahbod [Mon, 16 Nov 2009 20:48:20 +0000 (15:48 -0500)]
Enable automake silent rules
Behdad Esfahbod [Mon, 16 Nov 2009 20:46:46 +0000 (15:46 -0500)]
[int] Remove fc_value_* macros that did nothing other than renaming
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
Behdad Esfahbod [Mon, 16 Nov 2009 20:41:58 +0000 (15:41 -0500)]
Remove unused macros
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.
Behdad Esfahbod [Mon, 16 Nov 2009 21:57:10 +0000 (16:57 -0500)]
[int] Define MIN/MAX/ABS macros
Behdad Esfahbod [Mon, 16 Nov 2009 20:17:56 +0000 (15:17 -0500)]
[fc-arch] Add FcAlign to arch signature
Behdad Esfahbod [Mon, 16 Nov 2009 20:12:52 +0000 (15:12 -0500)]
Move FcAlign to fcint.h
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.
Behdad Esfahbod [Tue, 8 Sep 2009 15:45:26 +0000 (11:45 -0400)]
Bump version to 2.7.3
Behdad Esfahbod [Tue, 8 Sep 2009 15:44:59 +0000 (11:44 -0400)]
Bump libtool version in preparation for release
Behdad Esfahbod [Mon, 7 Sep 2009 02:10:22 +0000 (22:10 -0400)]
Use default config in FcFileScan() and FcDirScan()
Before a NULL config was passed down adn essentially FcFileScan was
equivalent to FcFreeTypeQuery. Now fc-scan tool correctly applies
the configuration to the scanned patterns.
Roozbeh Pournader [Thu, 3 Sep 2009 03:03:42 +0000 (20:03 -0700)]
Updated Arabic, Persian, and Urdu orthographies
- Arabic (ar), Persian (fa), and Urdu (ur) now use generic forms (bug #23004)
- Persian (fa) orthography updated to latest standards and orthographies
- Persian dialects Dari/Eastern Farsi (prs) and Western Farsi (pes) added
Roozbeh Pournader [Thu, 3 Sep 2009 01:54:24 +0000 (18:54 -0700)]
Correct Ewe (ee) orthography to use U+025B (bug #20711)
Behdad Esfahbod [Mon, 31 Aug 2009 21:32:36 +0000 (17:32 -0400)]
Bump version to 2.7.2
Behdad Esfahbod [Mon, 31 Aug 2009 21:32:13 +0000 (17:32 -0400)]
Bump libtool version for release
Behdad Esfahbod [Wed, 26 Aug 2009 00:40:30 +0000 (20:40 -0400)]
Revert "Fix FcNameUnparseLangSet()" and redo it
This reverts commit
5c6d1ff23bda4386984a1d6e4c024958f8f5547c and
fixes that bug using the new reverse-map I added in the previous
commit.
Behdad Esfahbod [Wed, 26 Aug 2009 00:39:20 +0000 (20:39 -0400)]
Bug 23419 - "contains" expression seems not working on the fontconfig rule
Fix bug in FcLangSetContains(), similar to
5c6d1ff23bda4386984a1d6e4c024958f8f5547c
Behdad Esfahbod [Fri, 21 Aug 2009 17:41:41 +0000 (13:41 -0400)]
Bug 22037 - No Fonts installed on a default install on Windows Server 2003
Make it easy to install on older Windows
Tor Lillqvist [Thu, 13 Aug 2009 21:16:18 +0000 (00:16 +0300)]
Use multi-byte codepage aware string function on Windows
The East Asian double-byte codepages have characters with backslash as
the second byte, so we must use _mbsrchr() instead of strrchr() when
looking at pathnames in the system codepage.
Tor Lillqvist [Thu, 13 Aug 2009 21:08:17 +0000 (00:08 +0300)]
Fix heap corruption on Windows in FcEndElement()
Must not call FcStrFree() on a value returned by
FcStrBufDoneStatic(). In the Windows code don't bother with dynamic
allocation, just use a local buffer.
Tor Lillqvist [Thu, 13 Aug 2009 21:02:59 +0000 (00:02 +0300)]
Fix MinGW compilation
Need to define _WIN32_WINNT as 0x0500 to get declaration for
GetSystemWindowsDirectory().
Behdad Esfahbod [Tue, 28 Jul 2009 18:24:21 +0000 (14:24 -0400)]
[ja.orth] Comment out FULLWIDTH YEN SIGN (#22942)
Behdad Esfahbod [Tue, 28 Jul 2009 18:23:10 +0000 (14:23 -0400)]
Improve charset printing
Behdad Esfahbod [Mon, 27 Jul 2009 21:53:26 +0000 (17:53 -0400)]
Bump version to 2.7.1
Behdad Esfahbod [Mon, 27 Jul 2009 21:51:17 +0000 (17:51 -0400)]
Update .gitignore
Behdad Esfahbod [Mon, 27 Jul 2009 21:48:29 +0000 (17:48 -0400)]
Bump libtool versions that 2.7.0 (I forgot to do back then)
Behdad Esfahbod [Mon, 27 Jul 2009 19:07:12 +0000 (15:07 -0400)]
Hardcode /etc/fonts instead of @CONFDIR@ in docs (#22911)
We distribute the docs, so it makes little sense to distribute with
@CONFDIR@ replaced. Until we find a better solution, I've hardcoded
/etc/fonts now.
Behdad Esfahbod [Mon, 27 Jul 2009 18:50:44 +0000 (14:50 -0400)]
[doc] Add ~/fonts.conf.d to user docs
Behdad Esfahbod [Sat, 25 Jul 2009 20:38:52 +0000 (16:38 -0400)]
TT_MS_ID_UCS_4 is really UTF-16BE, not UTF-32
Reported by Yuriy Kaminskiy.
Behdad Esfahbod [Fri, 24 Jul 2009 18:59:07 +0000 (14:59 -0400)]
Fix doc syntax (#22902)
Behdad Esfahbod [Wed, 22 Jul 2009 23:25:24 +0000 (19:25 -0400)]
Fix FcNameUnparseLangSet()
Was broken since
ffd6668b469508177c4baf7745ae42aee5b00322
Behdad Esfahbod [Wed, 22 Jul 2009 23:01:06 +0000 (19:01 -0400)]
Remove unused macros
Karl Tomlinson [Wed, 22 Jul 2009 12:39:23 +0000 (08:39 -0400)]
Don't change the order of names unnecessarily (#20128)
so that TT_NAME_ID_PREFERRED_FAMILY is consistently preferred over
TT_NAME_ID_FONT_FAMILY when both are specified for the default language.
Behdad Esfahbod [Tue, 21 Jul 2009 19:41:47 +0000 (15:41 -0400)]
Use GetSystemWindowsDirectory() instead of GetWindowsDirectory() (#22037)
Behdad Esfahbod [Tue, 21 Jul 2009 19:39:58 +0000 (15:39 -0400)]
Improve libtool version parsing (#22122)
Behdad Esfahbod [Mon, 20 Jul 2009 20:30:12 +0000 (16:30 -0400)]
Fix leak with string VStack objects
Behdad Esfahbod [Fri, 10 Jul 2009 17:09:42 +0000 (18:09 +0100)]
Add Inconsolata to monospace config (#22710)
Behdad Esfahbod [Sun, 28 Jun 2009 18:14:46 +0000 (14:14 -0400)]
Remove unused ftglue code
Behdad Esfahbod [Sun, 28 Jun 2009 17:49:09 +0000 (13:49 -0400)]
Replace spaces with tabs in conf files
Behdad Esfahbod [Sun, 28 Jun 2009 17:46:41 +0000 (13:46 -0400)]
Fix win32 build
Behdad Esfahbod [Wed, 24 Jun 2009 19:19:13 +0000 (15:19 -0400)]
git-tag -s again
Behdad Esfahbod [Wed, 24 Jun 2009 19:04:11 +0000 (15:04 -0400)]
Bump version to 2.7.0
Behdad Esfahbod [Wed, 24 Jun 2009 19:03:32 +0000 (15:03 -0400)]
Remove keithp's GPG key id
Behdad Esfahbod [Wed, 24 Jun 2009 18:43:32 +0000 (14:43 -0400)]
Fix distcheck
Behdad Esfahbod [Thu, 11 Jun 2009 11:08:10 +0000 (07:08 -0400)]
Bug 22154 -- fontconfig.pc doesn't include libxml2 link flags
Behdad Esfahbod [Sat, 6 Jun 2009 02:59:06 +0000 (22:59 -0400)]
[xml] Intern more strings
Behdad Esfahbod [Sat, 6 Jun 2009 02:32:31 +0000 (22:32 -0400)]
[xml] Allocate FcExpr's in a pool in FcConfig
Reduces number of malloc's for FcExprs from hundreds into single digits.
Behdad Esfahbod [Sat, 6 Jun 2009 01:37:01 +0000 (21:37 -0400)]
[xml] Mark more symbols static
Behdad Esfahbod [Fri, 5 Jun 2009 22:40:46 +0000 (18:40 -0400)]
[xml] Centralize FcExpr allocation
To be improved, using a central pool.
Behdad Esfahbod [Fri, 5 Jun 2009 22:27:47 +0000 (18:27 -0400)]
Remove unused prototypes and function
Behdad Esfahbod [Fri, 5 Jun 2009 22:16:38 +0000 (18:16 -0400)]
[charset] Grow internal FcCharset arrays exponentially
Behdad Esfahbod [Fri, 5 Jun 2009 21:15:53 +0000 (17:15 -0400)]
Always set *changed in FcCharsetMerge
Behdad Esfahbod [Fri, 5 Jun 2009 20:57:35 +0000 (16:57 -0400)]
Add XXX note about Unicode Plane 16
Behdad Esfahbod [Fri, 5 Jun 2009 20:49:07 +0000 (16:49 -0400)]
Simplify FcValueSave() semantics
Behdad Esfahbod [Tue, 2 Jun 2009 01:14:56 +0000 (21:14 -0400)]
Use/prefer WWS family/style (name table id 21/22)
Behdad Esfahbod [Tue, 26 May 2009 00:26:56 +0000 (20:26 -0400)]
Mark matchers array const (#21935)
Roozbeh Pournader [Thu, 7 May 2009 21:31:11 +0000 (14:31 -0700)]
Reorganize Panjabi/Punjabi and Lahnda orthographies (bug #19890)
The correct ISO 639 code for Pakistani/Western Panjabi seems to be 'lah',
not 'pa'. We are keeping 'pa_pk.orth' for compatiblity with glibc.
Signed-off-by: Behdad Esfahbod <behdad@behdad.org>
Behdad Esfahbod [Thu, 9 Apr 2009 17:31:18 +0000 (13:31 -0400)]
Detect TrueType Collections by checking the font data header
Instead of checking for "face->num_faces >1". (GNOME bug #577952)
Serge van den Boom [Sun, 5 Apr 2009 23:00:18 +0000 (19:00 -0400)]
Correctly handle mmap() failure (#21062)
Behdad Esfahbod [Thu, 26 Mar 2009 03:40:40 +0000 (23:40 -0400)]
[fc-cache] Remove obsolete sentence from man page
Behdad Esfahbod [Wed, 18 Mar 2009 23:28:52 +0000 (19:28 -0400)]
[fc-lang] Make LangSet representation in the cache files stable
Fontconfig assigns an index number to each language it knows about.
The index is used to index a bit in FcLangSet language map. The bit
map is stored in the cache.
Previously fc-lang simply sorted the list of languages and assigned
them an index starting from zero. Net effect is that whenever new
orth files were added, all the FcLangSet info in the cache files would
become invalid. This was causing weird bugs like this one:
https://bugzilla.redhat.com/show_bug.cgi?id=490888
With this commit we fix the index assigned to each language. The index
will be based on the order the orth files are passed to fc-lang. As a
result all orth files are explicitly listed in Makefile.am now, and
new additions should be made to the end of the list. The list is made
to reflect the sorted list of orthographies from 2.6.0 released followed
by new additions since.
This fixes the stability problem. Needless to say, recreating caches
is necessary before any new orthography is recognized in existing fonts,
but at least the existing caches are still valid and don't cause bugs
like the above.
Behdad Esfahbod [Wed, 18 Mar 2009 22:50:14 +0000 (18:50 -0400)]
[fcstr] Remove unused variable
Behdad Esfahbod [Wed, 18 Mar 2009 22:43:09 +0000 (18:43 -0400)]
[fc-lang] Fix bug in country map generation
Previously the county map code was using an uninitialized variable and
hence was totally failing to populate same-lang-different-territory map.
Behdad Esfahbod [Tue, 17 Mar 2009 16:52:48 +0000 (12:52 -0400)]
Revert "[conf] Disable hinting when emboldening (#19904)" (#20599)
This reverts commit
10609af4aa4030a15c19573198462fa002d2ef13 .
Apparently disabling hinting can cause worse rendering with certain
fonts. This is better handled on a per font basis.
Behdad Esfahbod [Mon, 16 Mar 2009 21:59:50 +0000 (17:59 -0400)]
[Makefile.am] Don't clean ChangeLog in distclean
Behdad Esfahbod [Fri, 13 Mar 2009 21:26:21 +0000 (17:26 -0400)]
Document FcPatternFormat() format
Behdad Esfahbod [Fri, 13 Mar 2009 16:11:13 +0000 (12:11 -0400)]
[fcformat] Fix default-value handling
Behdad Esfahbod [Thu, 12 Mar 2009 20:00:08 +0000 (16:00 -0400)]
Replace 'KEITH PACKARD' with 'THE AUTHOR(S)' in license text in all files
Behdad Esfahbod [Thu, 12 Mar 2009 17:48:07 +0000 (13:48 -0400)]
Call git tools using "git cmd" instead of "git-cmd" syntax
Recent git doesn't install the git-* commands in path.
Behdad Esfahbod [Thu, 12 Mar 2009 16:31:57 +0000 (12:31 -0400)]
[fcxml.c] Embed a static 64-byte attr buffer in FcPStack
Reduces number of mallocs called from FcConfigSaveAttr in my small test
from 160 down to 6.
Behdad Esfahbod [Thu, 12 Mar 2009 16:22:37 +0000 (12:22 -0400)]
[fcxml] Embed 64 static FcVStack objects in FcConfigParse
This reduces the number of mallocs called from FcVStackPush from
over 800 down to zero.
Behdad Esfahbod [Thu, 12 Mar 2009 15:58:04 +0000 (11:58 -0400)]
[fcxml] Embed 8 static FcPStack objects in FcConfigParse
This reduces the number of mallocs called from FcPStackPush from
over 900 down to zero.
Behdad Esfahbod [Thu, 12 Mar 2009 13:27:20 +0000 (09:27 -0400)]
[fcxml] Don't allocate attr array if there are no attributes
Reduces number of mallocs from FcConfigSaveAttr() in my small test
from over 900 down to 157.
Behdad Esfahbod [Wed, 11 Mar 2009 18:07:15 +0000 (14:07 -0400)]
[fcstr,fcxml] Don't copy FcStrBuf contents when we would free it soon
We can simply NUL-terminate the buffer and use it. Reduces number of
mallocs called from FcStrBufDone in my small test from 631 down to 66.
Behdad Esfahbod [Wed, 11 Mar 2009 17:56:09 +0000 (13:56 -0400)]
[fcstr.c] Embed a static 64-byte buffer in FcStrBuf
Reduces number of mallocs called from FcStrBufChar in my small test
from 900 down to 6.
Behdad Esfahbod [Tue, 10 Mar 2009 06:15:37 +0000 (02:15 -0400)]
Fix Makefile's to not create target file in case of failure
Behdad Esfahbod [Tue, 10 Mar 2009 06:14:15 +0000 (02:14 -0400)]
Fix Fanti (fat) orth file (#20390)
Roozbeh Pournader [Tue, 3 Mar 2009 06:48:37 +0000 (22:48 -0800)]
Add Sundanese (su) orthography (bug #20440)
Roozbeh Pournader [Tue, 3 Mar 2009 04:53:26 +0000 (20:53 -0800)]
Add Kanuri (kr) orthography (bug #20438)
Roozbeh Pournader [Mon, 2 Mar 2009 10:21:17 +0000 (02:21 -0800)]
Add Nauru (na) orthography (bug #20418)
Roozbeh Pournader [Sun, 1 Mar 2009 11:53:11 +0000 (03:53 -0800)]
Add Javanese (jv) orthography (bug #20403)
Roozbeh Pournader [Sun, 1 Mar 2009 11:50:46 +0000 (03:50 -0800)]
Add Sichuan Yi (ii) orthography (bug #20402)
Roozbeh Pournader [Sun, 1 Mar 2009 11:46:48 +0000 (03:46 -0800)]
Add Shona (sn) orthography (bug #20394)
Roozbeh Pournader [Sun, 1 Mar 2009 11:30:58 +0000 (03:30 -0800)]
Add orthographies for Oshiwambo languages (bug #20401)
The languages are Kuanyama/Kwanyama (kj), Ndonga (ng), and Kwambi (kwm).
Roozbeh Pournader [Sun, 1 Mar 2009 10:33:54 +0000 (02:33 -0800)]
Add Zhuang (za) orthography (bug #20399)
Roozbeh Pournader [Sun, 1 Mar 2009 10:12:38 +0000 (02:12 -0800)]
Add Rundi (rn) orthography (bug #20398)
Roozbeh Pournader [Sun, 1 Mar 2009 03:43:02 +0000 (19:43 -0800)]
Add Navajo (nv) orthography (bug #20395)
Roozbeh Pournader [Sun, 1 Mar 2009 02:25:20 +0000 (18:25 -0800)]
Add Tahitian (ty) orthography (bug #20391)
Roozbeh Pournader [Sun, 1 Mar 2009 02:01:11 +0000 (18:01 -0800)]
Add Sango (sg) orthography (bug #20393)
Roozbeh Pournader [Sun, 1 Mar 2009 01:38:21 +0000 (17:38 -0800)]
Added Quechua (qu) orthography (bug #20392)
Roozbeh Pournader [Sun, 1 Mar 2009 01:05:11 +0000 (17:05 -0800)]
Add Akan (ak) and Fanti (fat) orthographies (bug #20390)
Roozbeh Pournader [Sun, 1 Mar 2009 00:29:07 +0000 (16:29 -0800)]
Add Herero (hz) orthograhy (bug #20387)
Roozbeh Pournader [Sun, 1 Mar 2009 00:03:51 +0000 (16:03 -0800)]
Add Ewe (ee) orthography (bug #20386)