Tor Lillqvist
c3941ba9c0
Fix cut&paste error.
2003-06-15 22:35:52 +00:00
Tor Lillqvist
e5206dbcb3
Check also for DLL_EXPORT as indication of being built as a DLL on Win32.
2003-06-13 23:04:35 +00:00
Tor Lillqvist
ee1d81259e
Add share/doc directory. Add Fc*.3 man pages.
...
Set FC_DEFAULT_FONTS on Win32 to the WINDOWSFONTDIR token.
Move the LIBRARY and VERSION lines to the end, not to confuse libtool,
which expects the EXPORTS line to be the first. Add FcConfigEnableHome.
2003-06-13 22:43:28 +00:00
Keith Packard
947afeb566
Optimization in FcLangSetIndex was broken, occasionally returning a pointer
...
to the wrong location on miss
2003-06-09 17:31:03 +00:00
James Su
d4d1e8bc60
Fix "contains" op for strings and langsets.
2003-05-28 01:34:38 +00:00
Keith Packard
53183e66e5
Fix build error with BDF prop local. Free langset after query
2003-05-17 02:17:19 +00:00
Keith Packard
f777f1b35d
oops. Left the psfontinfo.weight matching code commented out while testing
...
other stuff...
2003-05-16 16:37:16 +00:00
Juliusz Chroboczek
ecb7c180d0
Extract spacing from XLFD atom
2003-05-14 20:23:24 +00:00
Keith Packard
0b7a0da20b
Use FcIsWidth to share code
...
Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
misclassifying some Han fonts as monospaced.
2003-05-12 20:48:59 +00:00
Juliusz Chroboczek
65d1441df8
Reinstate SETWIDTH_NAME parsing for legacy fonts, disappeared in 1.30.
2003-05-12 09:11:10 +00:00
Juliusz Chroboczek
0f362ad520
Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2003-05-12 09:04:24 +00:00
Keith Packard
d47c9d6efe
Add filename-based accept/reject to ammend available fonts.
...
change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for older
FreeType releases.
2003-05-07 16:13:24 +00:00
Keith Packard
8ef6a58cb0
Add more .cvsignore entries
2003-05-04 22:58:29 +00:00
Keith Packard
7769c3213d
Handle Adobe glyph names for fonts which include ADOBE_CUSTOM encodings
2003-05-04 22:53:49 +00:00
Keith Packard
11fec41c0e
Grub through style to find weight/slant/width values when other techniques
...
fail
2003-05-02 01:11:53 +00:00
Keith Packard
1f71c4d878
Add book constant for book weight
2003-05-02 01:11:09 +00:00
Keith Packard
3760a63825
Add demi and book postscript weight names. Allow spaces in postscript and X
...
matching
2003-05-01 14:31:04 +00:00
Keith Packard
1af9b7b4d9
Typo in bitstream foundry name
2003-04-30 15:17:42 +00:00
Keith Packard
70ee88099e
Debug output for unknown ps weight names. ignore italic_angle for PS fonts
...
as FreeType already checks that
2003-04-24 17:31:03 +00:00
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