Keith Packard
f45d39b1fd
FcFontList broken when presented a charset - was comparing inclusion in the
...
wrong direction
2003-04-24 15:29:33 +00:00
Keith Packard
5f84b65a26
Handle pattern elements moving during multiple edits
2003-04-22 06:27:27 +00:00
Keith Packard
965f77940c
From James Su -- only part of page 0xff is Latin
2003-04-20 04:44:09 +00:00
Keith Packard
29d961a28e
Guard calls to FT_Get_BDF_Property to avoid freetype jumping through null
...
pointer
2003-04-18 15:56:05 +00:00
Keith Packard
3a30abdb84
Pass FONTCONFIG_PATH in arguments to get expanded
2003-04-17 21:50:24 +00:00
Keith Packard
2b2f2a714a
BDF properties not available until FreeType 2.1.4
2003-04-17 21:29:12 +00:00
Colin Walters
12d49d3cf4
Remove some unused variables, and initialize some other ones so gcc doesn't
...
warn us.
2003-04-17 17:43:04 +00:00
Keith Packard
0e7a434783
Search through the BDF properties for width and foundry information
2003-04-16 18:08:47 +00:00
Keith Packard
2e2121f910
Move foundry detection data into fcfreetype.c (which is getting rather
...
large at this point)
2003-04-16 16:19:38 +00:00
Keith Packard
3f7653c2ba
Fix unary operator parsing. Add floor, ceil, trunc and round unary
...
operators
2003-04-15 23:38:06 +00:00
Keith Packard
52253696cd
Clean up ps font weight matching and check for NULL
2003-04-15 17:01:39 +00:00
Juliusz Chroboczek
2ae95e77f7
Implemented foundry generation for Type 1 and TrueType
2003-04-11 23:45:59 +00:00
Keith Packard
9f2bcb3e41
Switch to locale-independent string compare function
2003-04-11 22:24:23 +00:00
Keith Packard
d6ea834746
Bug #46 , #47 fontconfig should retrieve type 1 font information from
...
FontInfo dictionary Patch provided by g2@magestudios.net (Gerard
Escalante)
2003-04-11 22:17:11 +00:00
Colin Walters
15b49a7fbe
Fix dummy makefile target names when MS_LIB_AVAILABLE isn't set.
2003-04-08 03:58:08 +00:00
Keith Packard
848d32bd3f
Set spacing to mono if every encoded glyph is the same width
2003-03-28 17:08:35 +00:00
Tor Lillqvist
daeed6e048
Changes for Windows:
...
On Windows with gcc (a.k.a. mingw) build as a DLL.
We don't want to hardcode the fonts.conf file location in the DLL, so we
look up the DLL location at run-time in a DllMain() function. The
fonts.conf location is deduced from that.
The colon can't be used as path separator on Windows, semicolon is used
instead. File path components can be separated with either slash or
backslash. Absolute paths can also begin with a drive letter.
Add internal function FcStrLastSlash that strrchr's the last slash, or
backslash on Windows.
There is no link() on Windows. For atomicity checks, mkdir a lock directory
instead.
In addition to HOME, also look for USERPROFILE.
Recognize the special font directory token WINDOWSFONTDIR, to use the
system's font directory.
Remove the fontconfig-def.cpp that was obsolete. Add fontconfig.def(.in),
without internal functions.
Add a fontconfig-zip(.in) script, used to build a binary distribution.
2003-03-22 21:25:34 +00:00
Keith Packard
cc9dd09816
switch // comment
2003-03-22 01:55:00 +00:00
Keith Packard
f4007a6728
Avoid crashing on empty test/edit lists
2003-03-20 02:00:15 +00:00
Keith Packard
1b16ef20c9
FcCharSetIsSubset errored on fonts with subsets in early blocks and extra
...
blocks not present in the second argument
2003-03-18 08:03:42 +00:00
Keith Packard
81fa16c336
add font widths and extend weight from OS/2 table
2003-03-12 22:16:43 +00:00
Keith Packard
a8386abc91
Global cache time checking was using wrong file name and computing wrong
...
count of fonts per file
2003-03-12 22:15:39 +00:00
Keith Packard
d93fb00e8d
optimize string compares even more
2003-03-05 06:09:36 +00:00
Keith Packard
94421e4097
use FcToLower instead of tolower
2003-03-05 05:53:10 +00:00
Keith Packard
55ef7dac64
Add FcLangSetPrint
2003-03-05 05:52:51 +00:00
Keith Packard
793e946c2f
AddFcLangSetContains for font listing, add first-letter table for language
...
lookups, change RCS tag
2003-03-05 05:52:31 +00:00
Keith Packard
4bd4418ab5
Change RCS tag
2003-03-05 05:51:27 +00:00
Keith Packard
ff3f1f98ed
Switch back to -version-info for fontconfig as its at minor 0. Add
...
--system-only to fc-cache. Fix FC_VERSION to match product version
rather than .so version
2003-03-02 19:12:23 +00:00
Keith Packard
8fc10a72ad
make dist works now. Update to 2.1.90 in preparation for eventual 2.2
...
release
2003-03-02 07:28:24 +00:00
Keith Packard
9238fc061d
Add --disable-docs flag
2003-03-01 05:21:02 +00:00
Keith Packard
0da305f7f8
Switch to docbook and split documentation into pieces
2003-03-01 03:06:37 +00:00
Keith Packard
148656ed8b
Stop setting FC_SPACING from font hints. Theyre always wrong
2003-02-27 07:04:59 +00:00
Keith Packard
662b879681
Avoid crashing with null expressions in debug code
2003-02-27 07:04:31 +00:00
Keith Packard
2d39321f1e
Allow double or integer for numeric values in matching
2003-02-26 19:13:17 +00:00
Keith Packard
f2aacf1ed9
Add remaining .cvsignore files
2003-02-24 17:52:44 +00:00
Keith Packard
20fa60c9ae
Switch to automake
2003-02-24 17:18:50 +00:00
Keith Packard
46d003c34e
Dont attempt to use cache if NULL
2003-02-24 16:51:29 +00:00
Keith Packard
c4ab52dcb5
Track dirs containing fonts.cache files referenced from ~/.fonts.cache file
2003-02-13 16:42:38 +00:00
Keith Packard
dda7794f1b
Add "same" binding for edits to inherit binding from matched element
2003-02-12 18:22:12 +00:00
Keith Packard
602e6b1f26
Output langsets and all bindings in debug messages
2003-02-12 18:21:21 +00:00
Keith Packard
b2b6903259
Make FcStrCmpIgnoreCase a bit faster
2003-02-12 18:20:04 +00:00
Keith Packard
c8d5753c0f
Dont cache directorys until theyve been scanned. Avoids losing subdir
...
contents. Also fixed cache hashing function (was returning constant).
Lots of comments
2003-02-12 18:19:33 +00:00
Keith Packard
d2b5cc7e12
fontconfig is no longer affiliated with xfree86
2003-02-07 00:15:09 +00:00
Keith Packard
dda27aa9ee
Avoid crash when $HOME is not set
2003-02-06 19:30:32 +00:00
Keith Packard
ca4339b8bb
Fix inconsistent const usage in FcConfigCompareValue
2003-02-06 19:22:43 +00:00
Keith Packard
c647f6f1e4
Build fclang.h before building library This required compiling the charset
...
funcs into fc-lang, which was done by refactoring code in fccharset.c
and fcfreetype.c a bit
Updated ethiopic orthographies
Remove imake support
Install empty local.conf file if none is present
2003-02-06 17:46:06 +00:00
David Dawes
432913ead5
677. Fix a segfault in fontconfig (#A.1450, Keith Packard).
2002-12-21 02:31:53 +00:00
David Dawes
234397b429
633. Perform country-independent matching for Chinese languages in
...
fontconfig (#A.1406, Keith Packard).
2002-12-14 02:03:59 +00:00
David Dawes
45fb31aa91
632. Finish off the UTF-16 APIs in Xft, and fix the UTF-16 conversion code
...
in fontconfig (#A.1411, Keith Packard, Jungshik Shin).
2002-12-14 01:59:38 +00:00
Keith Packard
7657345c10
In debugging output, mark weakly bound values with (w)
2002-11-22 02:12:16 +00:00
Keith Packard
bff801144b
Add a bunch more consts to Xft and fontconfig apis
2002-10-11 17:53:03 +00:00
Keith Packard
1852d49035
Add FC_RGBA_UNKNOWN
2002-10-02 07:11:30 +00:00
Keith Packard
2d79b58621
Fix alignment issue on sparc
2002-09-26 00:30:30 +00:00
Keith Packard
a342e87dc3
Add fontversion field
2002-09-26 00:17:28 +00:00
Keith Packard
e712133ca7
Was losing local cached dirs in global cache list
2002-09-26 00:16:23 +00:00
Marc Aurele La France
d1bec8c66d
Pacify gcc 3.2
2002-09-18 17:11:46 +00:00
Marc Aurele La France
05336fd8be
Fix structure alignment and array wlk bugs
2002-09-12 20:56:03 +00:00
Keith Packard
9dac3c5945
More complete memory tracking. Install always overwrites header files
2002-08-31 22:17:32 +00:00
Keith Packard
2458a6d8d8
FcLangSetHasLang was not actually checking the language set itself
2002-08-26 23:34:31 +00:00
Keith Packard
5d6788ac7e
Update ChangeLog, fix some bugs in the man page
2002-08-26 20:52:59 +00:00
Keith Packard
f21f40f347
Append version number to cache file names
2002-08-26 19:57:40 +00:00
Keith Packard
0f9a306e71
Add const to a bunch of string APIs
2002-08-24 20:08:53 +00:00
Keith Packard
47d4f9501f
Add contains/not_contains, fix LangSet equal operator to use FcLangEqual
2002-08-22 18:53:22 +00:00
Keith Packard
d8d7395877
Reimplement FC_LANG as FcTypeLang, freeze patterns, other cleanup
2002-08-22 07:36:45 +00:00
Keith Packard
f4fe447f49
Memory leak in XML parsing of matrices (thanks Owen)
2002-08-20 23:17:03 +00:00
Keith Packard
fa244f3d88
Various config changes plus a couple of optimizations from Owen
2002-08-19 19:32:05 +00:00
Keith Packard
938bc63358
Fix weird first/not-first lameness in font matches, replacing with target
...
qualifiers on test elements. Update library manual page.
2002-08-11 18:11:04 +00:00
Keith Packard
bd724c8596
Short circuit FcPatternEqual when both args point at the same pattern
2002-08-07 01:45:59 +00:00
Keith Packard
0e344dec0b
Update fontconfig manual to match current bits
2002-08-06 19:54:10 +00:00
Keith Packard
bb356b68ab
Uninitialized member of cache structure could lead to non-updated cache
...
files
2002-08-06 19:00:43 +00:00
Keith Packard
aefb2c41c8
Fix autoconf build BSD install and sysconfdir problems
2002-08-01 15:57:26 +00:00
Marc Aurele La France
c2e9d0240b
Warning fix
2002-08-01 01:35:02 +00:00
Keith Packard
6fff2cda0a
Add binding property to edit element
2002-07-31 01:36:37 +00:00
Keith Packard
327a7fd491
Rewrite global cache handling code in fontconfig to eliminate per-file
...
syscalls
2002-07-28 10:50:59 +00:00
Keith Packard
1a9ae91a16
Add fclang.c to Makefile.in
2002-07-17 17:51:52 +00:00
Keith Packard
69937bd941
Add some Utf16 support, extract font family and style names from name table
...
for sfnt fonts
2002-07-13 05:43:25 +00:00
Keith Packard
c80d2ac486
Clean up some coverage files; a few accidentally included PUA values and
...
punctuation. Add debugging stuff to dump out missing codepoints during
cache building when missing only a few
2002-07-12 21:06:03 +00:00
Keith Packard
b4a2c1f012
Add a bunch more languages that use the Latin alphabet
2002-07-12 19:19:16 +00:00
Keith Packard
e709ddfa10
Use locale data set FC_LANG by default. Reorder FcPattern and FcValueList
...
to match Xft1.
2002-07-09 22:08:14 +00:00
Keith Packard
2fcac34973
Trim ideographic punctuation and Suzhou numerals from zh-tw orthography.
...
Had accidentally swapped codePageRange bits for traditional and
simplified chinese. Add persian (fa) and HKSCS (zh-hk). Fix possible
bug in charset walking
2002-07-09 02:28:29 +00:00
Keith Packard
e50b9ae711
Update iso639-2 language coverage info, fix Georgian orthography to
...
eliminate Mingrelian and Svan glyphs, use coverage for inclusion and
OS/2 for Han exclusion, restructure fclang.c to use fclang.h from
fc-lang dir
2002-07-08 07:31:53 +00:00
Keith Packard
d6dabf3686
Add walloon, update fclang.c to include recent language additions
2002-07-07 19:30:53 +00:00
Keith Packard
3de8881ec9
Add fclang.c to CVS; easier than attempting to build it on the fly
2002-07-07 00:00:43 +00:00
Keith Packard
82f4243f22
Switch to RFC 3066 based lang names
2002-07-06 23:47:44 +00:00
Keith Packard
4c0036053a
Add strong/weak pattern value binding, add known charsets for automatic
...
lang computation
2002-06-29 20:31:02 +00:00
Keith Packard
5c7fb8274c
Construct empty constant charsets correctly (using null pointers)
2002-06-26 22:56:51 +00:00
Keith Packard
c552f59ba2
Permit empty charsets in fonts.cache files
2002-06-26 22:14:08 +00:00
Keith Packard
223c028949
Steal idea for locale-insensitive strtod from glib
2002-06-26 16:11:29 +00:00
Keith Packard
4aded3e0dd
Oops. Made a mistake when adding config file names to monitor list
2002-06-21 07:01:11 +00:00
Keith Packard
4645eedfcc
Fix automatic file time checking, transcoding table searches. Actually add
...
config files used to config structure so they can be time checked as
well
2002-06-21 06:14:45 +00:00
Keith Packard
8c96d1fc10
Accidentally falling through several case blocks
2002-06-20 03:43:09 +00:00
Keith Packard
c689ec2291
Add slanting for fonts without oblique/italic varient. Fix matching code to
...
make this work
2002-06-19 21:32:51 +00:00
Keith Packard
6f6563edb5
Add ref counting to font config patterns so that FcFontSort return values
...
are persistant
2002-06-19 20:08:22 +00:00
Keith Packard
f534109f5a
Add a few more families to fonts.conf, make FC_ANTIALIAS less important for
...
matching, fix family->generic mapping
2002-06-18 22:23:05 +00:00
Keith Packard
2623c1ebee
Fix compiler warning
2002-06-18 16:47:33 +00:00
Keith Packard
5b1bfa5d82
Fix incorrect size in memmove call in FcObjectSetAdd that crashed
...
FcFontSetList calls
2002-06-18 16:47:12 +00:00
Keith Packard
d0f07b8d58
Add FcPatternHash, clean up a few valgrind issues
2002-06-08 17:32:05 +00:00
Keith Packard
e9be9cd10a
Add FcPatternEqualSubset for Pango, clean up some internal FcPattern
...
interfaces
2002-06-03 08:31:15 +00:00
Keith Packard
88c747e206
Eliminate some compiler warnings, avoid seg fault when matching missing
...
values
2002-06-02 21:07:57 +00:00
Keith Packard
2a41214a25
Add aspect ratio support to Xft and fontconfig
2002-06-02 20:52:06 +00:00
Keith Packard
8ec077f22b
Expression parsing in fonts.conf file mis-freed elements. Constant identity
...
matrix was accidentally freed. Add ability to comare FTFace pattern
elements (not that its all that useful)
2002-06-02 19:51:36 +00:00
Keith Packard
be0948508c
Add support for user-provided freetype faces to Xft
2002-05-31 23:21:25 +00:00
Keith Packard
20ac65ab00
Change FcCharSet datastructure, add FcFontSort API
2002-05-31 04:42:42 +00:00
Keith Packard
bc9469baad
Optimize after profiling. Fix FcStrCmp to return correct sign
2002-05-29 22:07:33 +00:00
Keith Packard
1412a69926
Apply some obvious fixes to FcFontSetSort from Owen. Speed up FcCharSet
...
primitives and FcFontSetSort
2002-05-29 08:21:33 +00:00
Keith Packard
ed2547b858
Clean up autoconf install to obey DESTDIR
2002-05-24 06:25:52 +00:00
Keith Packard
3673201215
Change charset enumeration functions to more sensible API
2002-05-24 05:20:02 +00:00
Keith Packard
48db40f692
A few random fontconfig build fixes
2002-05-23 23:00:46 +00:00
Keith Packard
0ab36ca8f9
Replace silly avl sort with qsort, add FcPatternEqual
2002-05-22 04:37:07 +00:00
Keith Packard
446bb9c9e0
More autoconf cleanup for fontconfig
2002-05-21 17:48:15 +00:00
Keith Packard
179c39959c
Fix autoconf build process for fontconfig
2002-05-21 17:06:22 +00:00
Alan Hourihane
28e413038d
put fontconfig-def.cpp in the right place.
2002-04-10 11:28:10 +00:00
Keith Packard
d9db7b9e94
Fix FT_Get_Next_Char API to match official 2.0.9 released version
2002-03-27 04:33:55 +00:00
Marc Aurele La France
8c7b2a9d83
Warning fixes
2002-03-04 21:15:28 +00:00
Keith Packard
216fac98e0
Add match routine that returns list of fonts
2002-03-03 18:39:05 +00:00
Keith Packard
ee9061efe9
Eliminate duplicate definitions in fcint.h and fontconfig.h
2002-03-03 18:36:26 +00:00
Keith Packard
5faa099cd5
fontconfig: bail scanning directory on fatal error
2002-03-03 18:35:22 +00:00
Keith Packard
17e16fa110
Eliminate compiler warnings
2002-03-03 18:31:20 +00:00
Keith Packard
a391da8f0f
Add fcatomic.c
2002-03-03 00:19:43 +00:00
Keith Packard
134f6011f3
Add new FcAtomic datatype for config file locking
2002-03-01 22:06:30 +00:00
Keith Packard
9c8e07f195
Port Xft1 to fontconfig
2002-03-01 01:00:54 +00:00
Keith Packard
80c053b725
Add better error reporting when loading config file
2002-02-28 16:51:48 +00:00
Keith Packard
c5350655be
Check font edit value lists for empty
2002-02-24 01:23:35 +00:00
Keith Packard
bbbaac3691
fontconfig: some config file parsing mistakes
2002-02-22 18:54:07 +00:00
Keith Packard
24c90386bb
dont complain about missing optional included font config files
2002-02-20 00:32:30 +00:00
Keith Packard
6e9fc5ded4
Automatically initialize the fontconfig library
2002-02-19 08:33:23 +00:00
Keith Packard
aae6f7d487
Eliminate const in FcPatternGetString; too hard. Add FcCharSetCoverage to
...
enumarate Unicode coverage efficiently
2002-02-19 07:50:44 +00:00
Keith Packard
c2e7c611cb
Switch fontconfig from libxml2 to expat
2002-02-18 22:29:28 +00:00
Keith Packard
ccb3e93b27
fontconfig library: build fixes and compiler warning fixes
2002-02-15 06:01:28 +00:00
Keith Packard
3be03bed39
Update fontconfig and libxml2 to get them working with in-tree build
...
process
2002-02-15 00:49:44 +00:00
Keith Packard
24330d27f8
Initial revision
2002-02-14 23:34:13 +00:00