Behdad Esfahbod
e52fdbd2bc
Bump version to 2.7.2
2009-08-31 17:32:36 -04:00
Behdad Esfahbod
a74cfb63cb
Bump libtool version for release
2009-08-31 17:32:13 -04:00
Behdad Esfahbod
c5f0a65b36
Revert "Fix FcNameUnparseLangSet()" and redo it
...
This reverts commit 5c6d1ff23b
and
fixes that bug using the new reverse-map I added in the previous
commit.
2009-08-25 20:41:34 -04:00
Behdad Esfahbod
d354a321ee
Bug 23419 - "contains" expression seems not working on the fontconfig rule
...
Fix bug in FcLangSetContains(), similar to
5c6d1ff23b
2009-08-25 20:39:20 -04:00
Behdad Esfahbod
f33a23133e
Bug 22037 - No Fonts installed on a default install on Windows Server 2003
...
Make it easy to install on older Windows
2009-08-21 13:41:41 -04:00
Tor Lillqvist
8b1ceef0b7
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.
2009-08-13 18:19:56 -04:00
Tor Lillqvist
d15678127a
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.
2009-08-13 18:17:33 -04:00
Tor Lillqvist
a1b6e34a9a
Fix MinGW compilation
...
Need to define _WIN32_WINNT as 0x0500 to get declaration for
GetSystemWindowsDirectory().
2009-08-13 18:13:04 -04:00
Behdad Esfahbod
161620108b
[ja.orth] Comment out FULLWIDTH YEN SIGN ( #22942 )
2009-07-28 14:24:21 -04:00
Behdad Esfahbod
7c12181f7a
Improve charset printing
2009-07-28 14:23:10 -04:00
Behdad Esfahbod
d2c8ac373e
Bump version to 2.7.1
2009-07-27 17:54:03 -04:00
Behdad Esfahbod
16630692ec
Update .gitignore
2009-07-27 17:51:17 -04:00
Behdad Esfahbod
50d937b0e1
Bump libtool versions that 2.7.0 (I forgot to do back then)
2009-07-27 17:48:29 -04:00
Behdad Esfahbod
273e22c71f
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.
2009-07-27 15:07:12 -04:00
Behdad Esfahbod
21384990ff
[doc] Add ~/fonts.conf.d to user docs
2009-07-27 14:50:44 -04:00
Behdad Esfahbod
7575c66661
TT_MS_ID_UCS_4 is really UTF-16BE, not UTF-32
...
Reported by Yuriy Kaminskiy.
2009-07-25 16:38:52 -04:00
Behdad Esfahbod
558581c434
Fix doc syntax ( #22902 )
2009-07-24 14:59:07 -04:00
Behdad Esfahbod
5c6d1ff23b
Fix FcNameUnparseLangSet()
...
Was broken since ffd6668b46
2009-07-22 19:25:24 -04:00
Behdad Esfahbod
d9741a7f1a
Remove unused macros
2009-07-22 19:01:06 -04:00
Karl Tomlinson
792ce655cb
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.
2009-07-22 08:39:23 -04:00
Behdad Esfahbod
327fc9d183
Use GetSystemWindowsDirectory() instead of GetWindowsDirectory() ( #22037 )
2009-07-21 15:41:47 -04:00
Behdad Esfahbod
86dd857447
Improve libtool version parsing ( #22122 )
2009-07-21 15:39:58 -04:00
Behdad Esfahbod
16e55c7c85
Fix leak with string VStack objects
2009-07-20 16:30:12 -04:00
Behdad Esfahbod
c0ffd7733a
Add Inconsolata to monospace config ( #22710 )
2009-07-10 18:09:42 +01:00
Behdad Esfahbod
55e202a62d
Remove unused ftglue code
2009-06-28 14:14:46 -04:00
Behdad Esfahbod
52742ff86b
Replace spaces with tabs in conf files
2009-06-28 13:49:09 -04:00
Behdad Esfahbod
57cf838ccc
Fix win32 build
2009-06-28 13:46:41 -04:00
Behdad Esfahbod
76374f0ede
git-tag -s again
2009-06-24 15:19:13 -04:00
Behdad Esfahbod
0f40912599
Bump version to 2.7.0
2009-06-24 15:04:11 -04:00
Behdad Esfahbod
3734d6a5a2
Remove keithp's GPG key id
2009-06-24 15:03:55 -04:00
Behdad Esfahbod
d07059b7a3
Fix distcheck
2009-06-24 14:43:43 -04:00
Behdad Esfahbod
b65fa0c311
Bug 22154 -- fontconfig.pc doesn't include libxml2 link flags
2009-06-24 13:52:14 -04:00
Behdad Esfahbod
3164ac7622
[xml] Intern more strings
2009-06-24 13:52:13 -04:00
Behdad Esfahbod
390c05e64a
[xml] Allocate FcExpr's in a pool in FcConfig
...
Reduces number of malloc's for FcExprs from hundreds into single digits.
2009-06-24 13:52:13 -04:00
Behdad Esfahbod
398d436441
[xml] Mark more symbols static
2009-06-24 13:52:13 -04:00
Behdad Esfahbod
a96ecbfa20
[xml] Centralize FcExpr allocation
...
To be improved, using a central pool.
2009-06-24 13:52:13 -04:00
Behdad Esfahbod
5aebb3e299
Remove unused prototypes and function
2009-06-24 13:52:12 -04:00
Behdad Esfahbod
900723f3d2
[charset] Grow internal FcCharset arrays exponentially
2009-06-24 13:52:12 -04:00
Behdad Esfahbod
cce69b07ef
Always set *changed in FcCharsetMerge
2009-06-24 13:52:12 -04:00
Behdad Esfahbod
86bdf4598f
Add XXX note about Unicode Plane 16
2009-06-24 13:52:12 -04:00
Behdad Esfahbod
efe5eae26b
Simplify FcValueSave() semantics
2009-06-24 13:52:11 -04:00
Behdad Esfahbod
8ea654b2aa
Use/prefer WWS family/style (name table id 21/22)
2009-06-24 13:52:11 -04:00
Behdad Esfahbod
76845a40c5
Mark matchers array const ( #21935 )
2009-06-24 13:52:11 -04:00
Roozbeh Pournader
aa82a4f81d
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>
2009-06-24 13:52:11 -04:00
Behdad Esfahbod
58aa0c8ee8
Detect TrueType Collections by checking the font data header
...
Instead of checking for "face->num_faces >1". (GNOME bug #577952 )
2009-06-24 13:52:10 -04:00
Serge van den Boom
1dd95fcb8b
Correctly handle mmap() failure ( #21062 )
2009-06-24 13:52:10 -04:00
Behdad Esfahbod
35c5181151
[fc-cache] Remove obsolete sentence from man page
2009-06-24 13:52:10 -04:00
Behdad Esfahbod
ffd6668b46
[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.
2009-06-24 13:52:10 -04:00
Behdad Esfahbod
4d13536db4
[fcstr] Remove unused variable
2009-06-24 13:52:09 -04:00
Behdad Esfahbod
bb36e67685
[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.
2009-06-24 13:52:09 -04:00