]> git.wh0rd.org - fontconfig.git/blame - ChangeLog
Insert check for integer overflow in # of fonts.
[fontconfig.git] / ChangeLog
CommitLineData
f076169d
PL
12006-02-06 Dirk Mueller <dmueller@suse.de>
2 reviewed by: plam
3
4 * src/fcfs.c (FcFontSetUnserialize):
5
6 Insert check for integer overflow in # of fonts.
7
788c4af2
PL
82006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
9 reviewed by: plam
10
11 * doc/Makefile.am:
12 * fc-cache/Makefile.am:
13 * fc-cat/Makefile.am:
14 * fc-list/Makefile.am:
15
16 Make 'make distcheck' work with automake 1.6.3.
17
68355f38
PL
182006-02-03 Takashi IWAI <tiwai@suse.de>
19 reviewed by: plam
20
21 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
22 FcCacheFileRead):
23
24 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
25 FcDirCacheConsume, FcDirCacheWrite)
26 * src/fcxml.c (FcConfigMessage):
27
28 Check I/O call return values and eliminate unused variable
29 warnings.
30
c4c47a76
PL
312006-02-03 Takashi Iwai <tiwai@suse.de>
32 reviewed by: plam
33
34 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
35
36 Fix memory leak.
37
a8e4d9eb
PL
382006-02-03 Dirk Mueller <dmueller@suse.de>
39 reviewed by: plam
40
41 * src/fcfs.c (FcFontSetUnserialize):
42
43 Gracefully handle the case where a cache asserts that it
44 has a negative number of fonts, causing overflow.
45
1af0f574
PL
462006-02-03 Patrick Lam <plam@mit.edu>
47 * src/fccache.c (FcDirCacheUnlink):
48
49 Fix double free in error case.
50
80ba0571
PL
512006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
52 Stephan Kulow <coolo@suse.de>
53 reviewed by: plam
54
55 * fc-cache/Makefile.am:
56
57 Replace 'stamp' target with mkinstalldirs.
58
28aefd01
PL
592006-01-31 Mike Fabian <mfabian@suse.de>
60 reviewed by: plam
61
62 * src/fccache.c (FcGlobalCacheLoad):
63
64 Toast broken global cache files.
65
3616cbe2
PL
662006-01-30 Patrick Lam <plam@mit.edu>
67 * src/fccache.c (FcGlobalCacheReadDir):
68
69 Actually use the directories that I added to the global cache.
70 Fixes 'make check'.
71
275cf6cd
PL
722006-01-30 Mike Fabian <mfabian@suse.de>
73 reviewed by: plam
74
75 * fc-cache/fc-cache.c (scanDirs):
76
77 Don't stop scanning if a directory in fonts.conf doesn't
78 exist, because subsequent directories might exist.
79
81d97094
PL
802006-01-30 Patrick Lam <plam@mit.edu>
81 * src/fccache.c (FcGlobalCacheLoad):
82
83 Make global cache work again after putting dir names into global
84 cache (I misplaced the recording of a file offset).
85
2c4e0124
PL
862006-01-30 Patrick Lam <plam@mit.edu>
87 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
88
89 Update fc-cat to handle subdir lists in global cache file.
90
91 * src/fccache.c (FcGlobalCacheLoad):
92
93 Another FcCacheReadString return value check.
94
c5411c4c
PL
952006-01-30 Mike Fabian <mfabian@suse.de>
96 reviewed by: plam
97
98 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
99 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
100
101 Make fccache more resilient to broken cache files by checking
102 return value of FcCacheReadString all the time.
103
946478e1
PL
1042006-01-30 Frederic Crozat <fcrozat@mandriva.com>
105 reviewed by: plam
106
107 * fc-match/fc-match.1:
108 * fc-lang/fc-lang.man:
109
110 Remove references to dead fontconfig(3) manpages in
111 other fontconfig manpages.
112
af7a965f
PL
1132006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
114 reviewed by: plam
115
116 * doc/fcpattern.fncs:
117
118 Fix world's tiniest typo in code example.
119
30c4189d
PL
1202006-01-29 Mike Fabian <mfabian@suse.de>
121 reviewed by: plam
122
123 * src/fccache.c (FcGlobalCacheReadDir):
124
125 Fix global cache reads of subdirectories.
126
971cf180
PL
1272006-01-29 Patrick Lam <plam@mit.edu>
128 * doc/fcconfig.fncs:
129 Add documentation for FcConfigNormalizeFontDir.
130
131 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
132 FcGlobalCacheUpdate, FcGlobalCacheSave):
133 * src/fcdir.c (FcDirScanConfig):
134 * src/fcint.h:
135
136 Write directory information to global caches to fix make check
137 (reported by Ronny V. Vindenes). This changes the global cache
138 format again.
139
97293e07
PL
1402006-01-27 Patrick Lam <plam@mit.edu>
141 * fc-cache/fc-cache.c (scanDirs):
142 * fontconfig/fontconfig.h:
143 * src/fcint.h:
144 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
145
146 Move FcConfigNormalizeFontDir call so that it doesn't result in
147 infinite recursion (reported by Ronny V. Vindenes).
148
3cf9f5ce
PL
1492006-01-26 Patrick Lam <plam@mit.edu>
150 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
151 * src/fccfg.c (FcConfigNormalizeFontDir):
152
153 Add a couple of missing normalizations to make fc-cache work
154 right; only scan subdirectories once.
155
4073203d
PL
1562006-01-26 Mike Fabian <mfabian@suse.de>
157 reviewed by: plam
158
159 * src/fcacache.c (FcGlobalCacheReadDir):
160
161 Don't crash on non-existant directories in global cache.
162
f468f568
PL
1632006-01-26 Patirck Lam <plam@mit.edu>
164 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
165 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
166 * src/fcdir.c (FcDirScanConfig):
167 * src/fcxml.c (FcEndElement):
168
169 Stop trampling the directory name when writing out caches.
170 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
171 subdirs when necessary. Don't scan directories that can't be
172 normalized.
173
575a37b7
PL
1742006-01-25 Patrick Lam <plam@mit.edu>
175 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
176 * src/fccfg.c (FcConfigEvaluate):
177 * src/fcfreetype.c (FcPatternAddWithBinding):
178
179 Fix additional memory leaks reported by Ronny V. Vindenes: don't
180 invoke FcValueSave on hashed static strings in
181 FcPatternAddWithBinding.
182
183 Add another st_dev check in FcDirCacheOpen.
184
16a71eff
PL
1852006-01-24 James Su <james.su@gmail.com>
186 reviewed by: plam
187
188 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
189 * fc-lang/zh_hk.orth:
190
191 Treat zh-hk fonts differently from zh-tw fonts. This patch may
192 cause fontconfig to treat A-X fonts differently from A-Y fonts;
193 please mail the fontconfig list if this causes any problems.
194
6f9fcb51
PL
1952006-01-24 Patrick Lam <plam@mit.edu>
196 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
197 * src/fcfreetype.c (FcFreeTypeQuery):
198
199 Fix memory leaks reported by Ronny V. Vindenes.
200
986e3597
PL
2012006-01-19 Andreas Schwab <schwab@suse.de>
202 reviewed by: plam
203
204 * src/fcpat.c (FcStrNeededBytes):
205
206 Fix for unaligned memory accesses.
207
58bdd296
PL
2082006-01-18 Mike Fabian <mfabian@suse.de>
209 reviewed by: plam
210
211 * src/fcdir.c (FcDirScanConfig):
212
213 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
214 calls to avoid crashes.
215
986e3597 2162006-01-14 Patrick Lam <plam@mit.edu>
eadadf48
PL
217 * src/fccache.c (FcDirCacheConsume):
218
219 Fix segfault when consuming zero-length caches in fc-cat
220 (which has no config, so FcConfigAddFontDir shouldn't be called.)
221
8a0b0ed6
PL
2222006-01-14 Patrick Lam <plam@mit.edu>
223 * fc-cache/fc-cache.c (scanDirs):
224 * fontconfig/fontconfig.h:
225 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
226 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
227 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
228 * src/fcdir.c (FcDirScanConfig):
229 * src/fcint.h:
230
231 Compare device numbers as well as inodes.
232 Always normalize directory names before comparing them.
233
2342006-01-11 Mike Fabian <mfabian@suse.de>
235 reviewed by: plam
236
237 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
238
239 Allocate extra space for appended '/' in directory name.
240
df3efc11
PL
2412006-01-10 Patrick Lam <plam@mit.edu>
242 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
243 FcDirCacheValid, FcDirCacheHasCurrentArch,
244 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
245 * fc-cache/fc-cache.c (main):
246
247 Explicitly add font dirs to config.fontDirs even if they're empty.
248 Set current config in fc-cache.c.
249 Fix treatment of cache directory as read from cache file; don't
250 use string equality to determine if we have the right file,
251 use inode equality.
252
cd9bca69
PL
2532006-01-09 Patrick Lam <plam@mit.edu>
254 * fc-cache/fc-cache.c (scanDirs):
255 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
256 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
257 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
258 * src/fccfg.c (FcConfigNormalizeFontDir):
259 * src/fcdir.c (FcDirScanConfig):
260 * src/fcint.h:
261
262 Normalize font dirs by using the form, as given in fonts.conf, and
263 recorded in FcConfig's fontDirs string set, as canonical.
264
265 Actually update config.fontDirs as font directories are scanned.
266
a6d3757d
PL
2672006-01-08 James Su <james.su@gmail.com>
268 * src/fcmatch.c (FcFontSetMatch):
269
270 Fix matching bug when multiple elements match; don't use
271 the sum of all scores, but the best score.
272
273 Also more perf opts, e.g. evaluate best over all font sets
274 rather than on a per-set basis (and other changes).
275
05a98eaf
PL
2762006-01-08 Patrick Lam <plam@mit.edu>
277 * src/fccache.c (FcDirCacheConsume):
278
279 Properly skip past dir caches that contain zero fonts (as occurs
280 in global caches.) Reported by Mike Fabian.
281
5fe09702
PL
2822006-01-06 Patrick Lam <plam@mit.edu>
283 * src/fcdbg.c (FcPatternPrint):
284
285 Print out full pathname in fc-match -v as well. Reported by
286 Frederic Crozat.
287
2882006-01-06 Mike Fabian <mfabian@suse.de>
289 reviewed by: plam
290
291 * src/fcname.c (FcNameParse):
292
293 Fix bug where fc-match crashes when given __DUMMY__ property to
294 match on.
295
296 (I added the __DUMMY__ string to enable callers of
297 FcObjectToPtrLookup to distinguish an error return from a
298 successful return. -PL)
299
c60ec7cc
PL
3002006-01-05 Patrick Lam <plam@mit.edu>
301 * AUTHORS:
302
303 Add self to AUTHORS list.
304
305 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
306 FcCacheFileRead, FcCachePrintSet, main):
307 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
308 FcGlobalCacheSave, FcCacheNextOffset,
309 FcDirCacheHasCurrentArch, FcDirCacheRead,
310 FcDirCacheConsume, FcDirCacheWrite):
311 * src/fcint.h:
312 * src/fcpat.c (comment):
313
314 Minor change to global cache file format to fix fc-cat bug
315 reported by Frederic Crozat, and buglet with not globally caching
316 directories with zero fonts cached.
317
52ac91f7
PL
3182006-01-02 Lubos Lunak <l.lunak@suse.cz>
319 reviewed by: plam
320
321 * src/fccfg.c (FcConfigEvaluate):
322
323 Fix double-free which occurs because FcValueCanonicalize doesn't
324 create an extra copy of the returned value, it only canonicalizes
325 it.
326
3272006-01-02 Patrick Lam <plam@mit.edu>
cea78a87
PL
328 * doc/fontconfig-user.sgml:
329
330 Fix version of .cache file (currently 1 -> currently 2). Reported
331 by Jim Osborn.
332
ebc157f9
PL
3332005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
334 reviewed by: plam
335
336 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
337
338 Shut up GCC warnings on amd.
339
3bfae75d
PL
3402005-12-20 Patrick Lam <plam@mit.edu>
341 * ChangeLog:
342 * README:
343 * configure.in:
344 * fontconfig/fontconfig.h:
345
346 Bump version to 2.3.93.
347
19ea60bc
PL
3482005-12-20 Patrick Lam <plam@mit.edu>
349 * src/fccharset.c (FcLangCharSetPopulate):
350 * src/fcint.h (FcCacheBankToIndex):
351
352 Avoid check on _fcBankId nullness and fix case where it used to
353 crash.
354
6f767cec 3552005-12-20 Patrick Lam <plam@mit.edu>
3bfae75d
PL
356 * src/fcxml.c (FcConfigParseAndLoad):
357
358 Use open instead of fopen (requested by Phil Race for Sun).
359
3602005-12-20 Patrick Lam <plam@mit.edu>
361 * src/fccache.c (FcDirCacheWrite);
362 * fc-cache/Makefile.am:
363
364 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
365 dir.
366
3672005-12-20 Patrick Lam <plam@mit.edu>
6f767cec
PL
368 * src/fcfreetype.c (FcFreeTypeQuery):
369
370 Restore code to skip over PCF fonts that have no encoded
371 characters.
372 (We guess that a font is PCF by presence of the PIXEL_SIZE
373 BDF property.)
374
ec760b17
PL
3752005-12-12 Patrick Lam <plam@mit.edu>
376 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
377
378 Read and write the original location as a fallback for the
379 hashed cache file locations. This is mostly for users to be
380 able to have per-directory cache files.
381
83b67390
PL
3822005-12-12 Patrick Lam <plam@mit.edu>
383 * fc-cache/fc-cache.c (scanDirs):
384 * fc-cache/Makefile.am:
385 * src/fccache.c (FcDirCacheHashName):
386
387 Improve error message when fc-cache can't write the cache. Add
388 missing slash. Reported by Behdad. Incorporate Behdad's patch to
389 create /var/cache/fontconfig when appropriate.
390
368104c3
PL
3912005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
392 reviewed by: plam
393
394 * src/fcxml.c (FcConfigGetAttribute):
395
396 Fix crash reported by Frederic Crozat when using libxml2.
397
ea44e218
PL
3982005-12-09 Patrick Lam <plam@mit.edu>
399 * INSTALL:
400 * configure.in:
401 * fc-cache/Makefile.am:
402 * fc-cat/Makefile.am:
403 * src/Makefile.am:
404 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
405 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
406 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
407 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
408 FcDirCacheHasCurrentArch, FcDirCacheHashName,
409 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
410
411 Migrate cache files from fonts directories to
412 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
413 but requires that all caches get rebuilt.
414
415 Also, autogen.sh now needs the additional parameter
416 --localstatedir=/var.
417
204da5a8
PL
4182005-12-07 Patrick Lam <plam@mit.edu>
419 * src/fcpat.c (FcPatternAddString):
420
421 Because we've changed FcPatternAddString to use FcStrStaticName
422 and not FcValueSave, explicitly handle the case of a null string.
423
982b5982
PL
4242005-12-06 Patrick Lam <plam@mit.edu>
425 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
426
427 Fix warnings.
428
c6103dfb
PL
4292005-12-05 Patrick Lam <plam@mit.edu>
430 * src/fcname.c (FcNameGetObjectType):
431
432 Don't assign types to user object names.
433
9ede93f1
PL
4342005-12-05 Patrick Lam <plam@mit.edu>
435 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
436
437 Don't free strings that have been returned from FcStrStaticName.
438
6059daed
PL
4392005-12-01 Patrick Lam <plam@mit.edu>
440 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
441
442 Add codepath for reading global cache files as well.
443
2c6fead7
PL
4442005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
445 reviewed by: plam
446
447 * conf.d/10-fonts.persian.conf:
448 * conf.d/Makefile.am:
449
450 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
451
4522005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
cb6d97eb
PL
453 reviewed by: plam
454
455 * src/fcxml.c (FcConfigParseAndLoad):
456
457 Only add a config file to the set of config files once.
458
93a27747
PL
4592005-11-29 Patrick Lam <plam@mit.edu>
460 * src/fcint.h (FcCacheBankToIndex);
461
462 Fix segfault by guarding array dereference.
463
b8948e85
PL
4642005-11-29 Dirk Mueller <dmueller@suse.de>
465 reviewed by: plam
466
467 * fc-lang/fc-lang.c:
468 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
469 FcCacheBankToIndex, FcCacheBankToIndexMTF,
470 FcCacheAddBankDir):
471 * src/fcint.h:
472
473 Refactor FcCacheBankToIndex into an inlineable part
474 (in fcint.h) which checks the front of the list and a
475 non-inlineable part which finds and moves the appropriate element
476 to the front of the list.
477
9fad72ab
PL
4782005-11-29 Patrick Lam <plam@mit.edu>
479 * src/fccfg.c (FcConfigBuildFonts):
480 * src/fccache.c (FcCacheReadDirs):
481
482 Make the perf guys hate me a bit less: hoist the directory-name
483 FcConfigAcceptFont check for cached fonts up to directory cache
484 read time, rather than running it for each font.
485
51af0509
PL
4862005-11-29 Patrick Lam <plam@mit.edu>
487 * src/fccfg.c (FcConfigBuildFonts):
488 * src/fcint.h:
489 * src/fcpat.c (FcPatternFindFullFname):
490
491 Don't make FcPatternFindFullFname available to fccfg, it's not
492 really safe. Instead go through FcPatternGetString (sorry,
493 perf guys.) Also, use globs for dirs as well.
494
e0421d02
PL
4952005-11-28 Patrick Lam <plam@mit.edu>
496 * src/fccfg.c (FcConfigBuildFonts):
497
498 Fix segfault.
499
ced3f0a0
PL
5002005-11-28 Patrick Lam <plam@mit.edu>
501 * src/fcint.h:
502 * src/fcpat.c (FcPatternFindFullFname):
503 * src/fccfg.c (FcConfigBuildFonts):
504
505 Fix problem dating back at least to 2.3.2 where globs weren't
506 being applied to patterns loaded from a cache.
507
5082005-11-28 Patrick Lam <plam@mit.edu>
509 * doc/fontconfig-user.sgml:
510
511 Fix some obvious spelling mistakes.
512
1ed98a0c
PL
5132005-11-28 Dirk Mueller <dmueller@suse.com>
514 Stephan Kulow <coolo@suse.de>
515 reviewed by: plam
516
517 * src/fcmatch.c (FcFontSetMatch):
518
519 Don't kill all fonts during match (oops!)
520
521
5222005-11-25 Dirk Mueller <dmueller@suse.com>
523 Stephan Kulow <coolo@suse.de>
524 Michael Matz <matz@suse.de>
525 reviewed by: plam
526
527 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
528 FcFontSetMatch):
529
530 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
531 inline FcCompare into FcFontSetMatch and reorder the
532 loops, adding a boolean array which blocks patterns from future
533 consideration if they're known to not be best on some past
534 criterion.
535
200a44fe
PL
5362005-11-26 Dirk Mueller <dmueller@suse.com>
537 reviewed by: plam
538
539 * src/fcmatch.c (FcCompareValueList):
540
541 Fix incorrect merge.
542
cbe1df81
PL
5432005-11-25 Patrick Lam <plam@mit.edu>
544 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
545
546 Don't do random matching when bad objects are passed into
547 FcCompareValueList.
548
81fe99fd
PL
5492005-11-25 Patrick Lam <plam@mit.edu>
550 * src/fcint.h:
551 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
552 FcPatternSerialize, FcPatternUnserialize,
553 FcValueListEnsureBank, FcValueListDistributeBytes,
554 FcValueListUnserialize):
555
556 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
557 _fcPatternElts, _fcValueLists for consistency.
558
d854eaf8
PL
5592005-11-25 Dirk Mueller <dmueller@suse.com>
560 reviewed by: plam
561
562 * src/fcmatch.c:
563
564 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
565
61571f3f
PL
5662005-11-25 Patrick Lam <plam@mit.edu>
567 * src/fcint.h:
568 * src/fccache.c (FcDirCacheConsume):
569 * src/fccharset.c (FcCharSetUnserialize):
570 * src/fcfs.c (FcFontSetUnserialize):
571 * src/fclang.c (FcLangSetUnserialize):
572 * src/fcname.c (FcObjectUnserialize):
573 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
574 FcPatternUnserialize):
575
576 Pass around FcCache *s to the Unserialize functions for extra
577 consistency (and less overhead, for what that's worth).
578
9ab79bdf
PL
5792005-11-24 Dirk Mueller <dmueller@suse.com>
580 reviewed by: plam
581
582 * src/fcint.h:
583 * src/fcmatch.c (FcCompare*, FcFontSetSort):
584 * src/fcname.c (FcNameUnparseValue):
585
586 Inline the *PtrU functions to gain perf.
587 Remove unneeded params for the FcCompare* functions.
588
5892005-11-24 Dirk Mueller <dmueller@suse.com>
1c9fdcca
PL
590 reviewed by: plam
591
592 * src/fcint.h, fontconfig/fontconfig.h:
593
594 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
595
596 * src/fcpat.c, src/fcint.h, src/fcname.c:
597
598 Check for type validity during FcPatternAddWithBinding, don't
599 verify type in FcFontMatch, don't call FcCanonicalize here
600 (which always does a deep copy).
601
4f8b266f
PL
6022005-11-24 Dirk Mueller <dmueller@suse.com>
603 reviewed by: plam
604
605 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
606 * src/fcpat.c (FcPatternAddWithBinding):
607
608 Make FcCompareString and FcCompareFamily less expensive.
609 Only add a value for FC_FAMILY if the proposed value is a string.
610
6112005-11-24 Dirk Mueller <dmueller@suse.com>
b97a34b5
PL
612 reviewed by: plam
613
614 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
615 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
616 * src/fcint.h (FcDebug):
617
618 Inline FcDebug invocations and only initialize once, in FcInit*.
619 Improve debug msg in FcPatternPrint.
620
f7c4624f
PL
6212005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
622 reviewed by: plam
623
624 * fontconfig/fontconfig.h:
625 * fc-cat/fc-cat.c:
626
627 Minor code warning cleanups.
628
435fc660
PL
6292005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
630 reviewed by: plam
631
632 * fc-match/fc-match.c (main):
633
634 Make getopt_long accept -s parameter to fc-match as well.
635
adac22f2
PL
6362005-11-21 Dirk Mueller <dmueller@suse.com>
637 reviewed by: plam
638
639 * src/fcmatch.c (FcCompareValueList):
640
641 Manually perform inlining & partial redundancy elimination to
642 reduce calls to FcValueListPtrU.
643
6442005-11-21 Dirk Mueller <dmueller@suse.com>
645 reviewed by: plam
646
647 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
648 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
649
650 Only invoke strlen() when really necessary.
651
8ebf7725
PL
6522005-11-19 Matthias Clasen <mclasen@redhat.com>
653 reviewed by: plam
654
655 * src/Makefile.am:
656 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
657 FcFontCapabilities):
8c24aa6b
PL
658 * src/ftglue.c:
659 * src/ftglue.h:
8ebf7725
PL
660
661 Get rid of the use of freetype internal headers in fcfreetype.c,
662 since those headers will go away with freetype 2.2. Replace with
663 public domain ftglue code from pango. Note that the patch removes
664 some extra error checking in FT_Get_BDF_Property() and comments
665 out the skipping of empty pcf fonts.
666
a151aced
PL
6672005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
668 reviewed by: plam
669
670 * fc-lang/fc-lang.c (main):
671
672 Further fix of patch from 2005-11-04: miscounted numbers count
673 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
674 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
675
676 Removed leafidx_count and numbers_count since they are the same
677 and replaced them with offset_count.
678
8f2a8078
PL
6792005-11-18 Frederic Crozat <fcrozat@mandriva.com>
680 reviewed by: plam
681
682 * fc-cat/fc-cat.c (main):
683
684 Don't crash when fc-cat invoked with no arguments.
685
6862005-11-18 Frederic Crozat <fcrozat@mandriva.com>
687 reviewed by: plam
688
689 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
690
691 Fix invalid read access caused by premature free and
692 GCC4 warnings in libxml2 codepath.
693
6942005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
82912b06
PL
695 reviewed by: plam
696
697 * src/fccfg.c (FcConfigValues):
698
699 List iteration not needed in FcConfigValues, since it's building
700 up the list itself; we can just strip FcVoid elements during
701 construction.
702
38b2ecad
PL
7032005-11-17 Patrick Lam <plam@mit.edu>
704 * src/fccfg.c (FcConfigValues):
705
706 Fix crash on invalid constants in config files (forgot to update
707 a pointer upon list iteration.)
708
f28472fd
PL
7092005-11-17 Frederic Crozat <fcrozat@mandriva.com>
710 reviewed by: plam
711
712 * src/fcxml.c (FcTypecheckExpr):
713
714 Complain about invalid constants in config files.
715
1c5b6345
PL
7162005-11-17 Andreas Schwab <schwab@suse.de>
717 reviewed by: plam
718
719 * src/fccache.c (FcGlobalCacheSave):
720
721 Don't add current_arch_start more than once.
722
7232005-11-16 Patrick Lam <plam@mit.edu>
724 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
725 * src/fcfs.c (FcFontSetUnserialize):
726 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
727 * src/fcpat.c (FcStrUnserialize):
728
729 Fix ordering of ALIGN with respect to saving block_ptr; add
730 another ALIGN to fcfs.c.
731
8e351527
PL
7322005-11-16 Patrick Lam <plam@mit.edu>
733 * src/fccache.c (FcDirCacheProduce)
734
735 Fix case where alignment bytes bumped up metadata->count
736 causing unwarranted failures to write cache files.
737 (Reported by Stephan Kulow).
738
7fd7221e
PL
7392005-11-16 Patrick Lam <plam@mit.edu>
740 * src/fccache.c (FcDirCacheProduce):
741 * src/fccharset.c (FcCharSetDistributeBytes):
742 * src/fcfs.c (FcFontSetDistributeBytes):
743 * src/fcint.h:
744 * src/fclang.c (FcLangSetDistributeBytes):
745 * src/fcname.c (FcObjectDistributeBytes):
746 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
747 FcStrNeededBytes):
748
749 Add *NeededBytesAlign(), which overestimates the padding which is
750 later added by the new ALIGN macro. Fix alignment problems on
751 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
752 version by Andreas Schwab).
753
7542005-11-16 Stephan Kulow <coolo@kde.org>
755 reviewed by: plam
756
757 * src/fccache.c:
758
759 Use sysconf to determine proper PAGESIZE value; this
760 appears to be POSIX-compliant. (reported by Andreas Schwab)
761
82f35f8b
PL
7622005-11-04 Patrick Lam <plam@mit.edu>
763 * fc-lang/fc-lang.c:
764 * src/fccharset.c:
765 * src/fcint.h:
766 * src/fclang.c:
767
768 Fix bug 2878 (excessive relocations at startup for charsets,
769 reported by Ross Burton): fc-lang/fc-lang now creates the
770 static form of the langset, not the dynamic form, so that
771 the charsets should now be in .rodata.
772
50544b13
PL
7732005-11-04 Patrick Lam <plam@mit.edu>
774 * src/fcdir.c (FcDirScanConfig):
775
776 Add test for validity of directory caches that
777 somehow got lost (reported by make distcheck).
778
e6d3e251
PL
7792005-11-04 Patrick Lam <plam@mit.edu>
780 * ChangeLog:
781 * README:
782 * configure.in:
783 * fontconfig/fontconfig.h:
784
785 Bump version to 2.3.92.
786
ea9726b6
PL
7872005-11-02 Patrick Lam <plam@mit.edu>
788 * src/fcpat.c (FcPatternDuplicate):
789
790 Fix argument ordering problem in call to FcPatternTransferFullFname.
791
7358dae4
PL
7922005-11-02 Patrick Lam <plam@mit.edu>
793 * src/fcfreetype.c (FcFreetypeQuery):
794 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
795 FcPatternTransferFullFname):
796
797 Fix warnings and embarrassing double-free error.
798
efa9f2bd
PL
7992005-11-02 Zhe Su <zsu@novell.com>
800 reviewed by: plam
801
802 * fonts.conf.in:
803
804 Change the rule for artificial emboldening in fonts.conf.in. This
805 enables the support for artificial emboldening included in cairo.
806
d7b3ac63
PL
8072005-11-02 Patrick Lam <plam@mit.edu>
808 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
809
810 Don't zero out full names for FC_REF_CONSTANT fonts;
811 also, duplicate full names when transferring, and free
812 full names when freeing the associated font.
813 Reported by Jinghua Luo.
814
303bcf9b
PL
8152005-11-02 Patrick Lam <plam@mit.edu>
816 * fc-cache/fc-cache.c (scanDirs):
817 * src/fcpat.c (FcValueListSerialize):
818
819 Revert the previous patch and commit the correct patch:
820 I forgot a canonicalization in FcValueListSerialize, so
821 that it would choke on already-serialized input files. Duh!
822
c6b75577
PL
8232005-11-02 Patrick Lam <plam@mit.edu>
824 * fc-cache/fc-cache.c (scanDirs):
825
826 Forcibly rescan a directory before writing a fresh local
827 cache file for that directory, fixing the losing-fonts
828 problem reported by Mike Fabian and also apparently the
829 font cache file corruption.
830
9090cb9e
PL
8312005-11-02 Patrick Lam <plam@mit.edu>
832 * src/fccache.c (FcGlobalCacheLoad):
833
834 Fix thinko: actually, the whole global cache is stale
835 if the global cache is older than the (newest) config file.
836
2b25f00c
PL
8372005-11-02 Patrick Lam <plam@mit.edu>
838 * src/fccache.c (FcGlobalCacheLoad):
839 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
840 * src/fcint.h:
841
842 Declare the global cache of a directory's contents to be stale if
843 the directory is newer than the (newest) configuration file.
844
793154ed
PL
8452005-10-31 Patrick Lam <plam@mit.edu>
846 * src/fcint.h:
847 * src/fclist.c (FcListAppend):
848 * src/fcmatch.c (FcFontRenderPrepare):
849 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
850 FcPatternFreeze, FcPatternBaseFreeze):
851
852 Copy the full pathname whenever duplicating an FcPattern; otherwise,
853 applications continue breaking.
854
d6946c1a
PL
8552005-10-31 Patrick Lam <plam@mit.edu>
856 * fc-cat/fc-cat.c (FcCacheFileRead, main):
857 * src/fcfreetype.c (FcFreeTypeQuery):
858
859 Fix small memory error (tried to free argv); use basename and
860 dirname correctly (they can modify their arguments).
861
e77c1718
PL
8622005-10-31 Patrick Lam <plam@mit.edu>
863 * fc-cat/fc-cat.c:
864 * src/fccache.c:
865 * src/fcfreetype.c:
866 * src/fcint.h:
867 * src/fclist.c:
868 * src/fcpat.c:
869
870 Reinstate basename patch, but keep a hash table linking FcPatterns
871 to their fully-qualified font names for clients' benefit. Clients
872 only pay for the font names once they request the FC_FILE property
873 from an FcPattern, but the font name is malloc'd at that point (i.e.
874 not mmapped: that's impossible, since it may vary between machines.)
875 Clients do have to pay for a copy of the path name per cache file.
876
877 Note that FcPatternGetString now does some rewriting if you ask
878 for an FC_FILE, appending the pathname as appropriate.
879
8802005-10-31 Patrick Lam <plam@mit.edu>
881 * src/fcfreetype.c (FcFreeTypeQuery):
882
883 Revert basename patch, which breaks fontconfig clients on my system.
884
720298e7
PL
8852005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
886 reviewed by: plam
887
888 * fontconfig/fonts.conf.in:
889 * fontconfig/fontconfig.h:
890 * src/fcdefault.c:
891 * src/fcname.c:
892
893 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
894 to load embedded bitmaps or not.
895
961d9b99
PL
8962005-10-25 Patrick Lam <plam@mit.edu>
897 * src/fcfreetype.c (FcFreeTypeQuery):
898
899 Only add basename to patterns' FC_FILE element, not any part of
900 the dirname.
901
573da729
PL
9022005-10-22 Patrick Lam <plam@mit.edu>
903 * src/fcfreetype.c:
904
905 Add some more consts, fixing more GCC4 warnings.
906
90442681
PL
9072005-10-22 Zhe Su <zsu@novell.com>
908 reviewed by: plam
909
910 Support localized font family and style names.
911 This has been reported to break old apps like xfd, but modern
912 (gtk+/qt/mozilla) apps work fine.
913
e58b50e8
PL
9142005-10-21 Patrick Lam <plam@mit.edu>
915 * src/fccache.c (FcGlobalCacheLoad):
916
917 Destroy the global cache file if it's terminally broken. (reported by
918 Mike Fabian)
919
2fa3f27e
PL
9202005-10-21 Patrick Lam <plam@mit.edu>
921 * fc-list/fc-list.c (main):
922 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
923 * fontconfig/fontconfig.h:
924
e58b50e8
PL
925 Prevent fc-list from escaping strings when printing them (reported by
926 Matthias Clasen).
2fa3f27e 927
250c1cd4
PL
9282005-10-20 Marcus Meissner <meissner@suse.de>
929 reviewed by: plam
930
931 * fontconfig/fontconfig.h:
932
933 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
934
9352005-10-14 Ross Burton <ross@burtonini.com>
21696e5b
PL
936 reviewed by: plam
937
938 * fc-glyphname/fc-glyphname.c:
939 * src/fclang.c:
940
941 Add consts to variables so as to move arrays into .rodata.
942
15d7bd0a
PL
9432005-10-14 Mike Fabian <mfabian@suse.de>
944 reviewed by: plam
945
946 * src/fccache.c (FcDirCacheUnlink):
947
948 Check existence of directory cache file before attempting to unlink.
949
1178b569
PL
9502005-10-13 Patrick Lam <plam@mit.edu>
951 * src/fccache.c (FcDirCacheUnlink):
952
953 Fix flipped return value on unlink. (Reported by Mike Fabian)
954
9552005-10-12 Patrick Lam <plam@mit.edu>
956
957 * src/fccache.c:
958 * src/fcdir.c (FcDirScanConfig):
959 * src/fcint.h:
960
961 When fc-cache is run without --force, use directory cache files
962 to speed up fc-cache run time. (Reported by Mike Fabian)
963
23787a8f
PL
9642005-10-06 Patrick Lam <plam@mit.edu>
965
966 * src/fcname.c (FcObjectToPtr):
967 * src/fcpat.c (FcStrStaticName):
968
969 Add padding to make valgrind and glibc not hate each other
970 when calling strlen().
971
328929f5
PL
9722005-10-05 Simos Xenitellis <simos74@gmx.net>
973 reviewed by: plam & keithp
974
975 * fonts.conf.in:
976
977 Modify config file to use Greek fonts before Asian fonts with
978 Greek glyphs.
979
1ed67f65
PL
9802005-10-05 Christian Biesinger <cbiesinger@web.de>
981 reviewed by: plam & keithp
982
983 * src/Makefile.am:
984
985 Use libtool -no-undefined flag on all platforms.
986
751932dd
PL
9872005-10-05 Patrick Lam <plam@mit.edu>
988 * src/fccache.c (FcCacheHaveBank):
989
990 Implement move-to-front array for banks (perf regression
991 reported by Ronny V. Vindenes).
992
55c8fa4f
PL
9932005-10-04 Patrick Lam <plam@mit.edu>
994 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
995 FcDirCacheHasCurrentArch):
996 * fc-cache/fc-cache.c (scanDirs):
997 * fontconfig/fontconfig.h:
998
999 Add new API which unlinks directory caches and checks dir caches
1000 for existence of appropriate sections. Fix fc-cache to unlink
1001 stale cache files and save directory caches that lack relevant
1002 sections.
1003
6bf23804
PL
10042005-10-03 Patrick Lam <plam@mit.edu>
1005 * src/fccache.c (FcDirCacheValid):
1006
1007 Ensure that a directory cache has the appropriate section
1008 before reporting that it is valid (reported by Matthias Clasen).
1009
e99f0f0a
PL
10102005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1011
1012 reviewed by: plam
1013
1014 * configure.in:
1015 * src/Makefile.am:
1016 * src/fcxml.c:
1017
1018 Use libxml2 if requested (with --enable-libxml2) or if
1019 expat is not available.
1020
649cc361
PL
10212005-09-29 Patrick Lam <plam@mit.edu>
1022 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1023
1024 Fix multi-arch cache files: compute the position for the
1025 block to be added using info from OrigFile, not NewFile.
1026
cd310911
PL
10272005-09-28 Patrick Lam <plam@mit.edu>
1028 * src/fccache.c (FcCacheMachineSignature):
1029
1030 Cast results of sizeof() to unsigned int to get rid of
1031 warnings on x86_64 (thanks Matthias Clasen).
1032
10332005-09-27 Patrick Lam <plam@mit.edu>
9ecb9a9a
PL
1034 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1035 FcDirCacheWrite):
1036
1037 Use FcAtomic to rewrite cache files.
1038
10392005-09-27 Patrick Lam <plam@mit.edu>
1040
1041 * src/fccache.c (FcDirCacheWrite):
1042
1043 Don't unlink the fonts.cache-2 file even if there's no data
1044 to write; just write an empty cache file. (thanks Lubos Lunak)
1045
10462005-09-27 Patrick Lam <plam@mit.edu>
1047
1048 * src/fccache.c (FcDirCacheWrite):
1049
1050 Allocate room for the subdirectory names in each
1051 directory cache. Thanks to James Cloos for finding
1052 and diagnosing this bug!
1053
10542005-09-22 Patrick Lam <plam@mit.edu>
1055
1056 * fc-cache/fc-cache.sgml:
1057 * src/fccache.c (FcDirCacheWrite):
1058 * src/fccache.h (struct FcCache):
1059
1060 Update documentation -- fc-cache's man page now says that you
1061 need to run fc-cache once per cached architecture; add some
1062 documentation to the FcCache structure.
1063
1064 Make fc-cache write out fonts.cache-2 files for directories with
1065 no fonts (i.e. only subdirectories).
1066
35c2c7f1
PL
10672005-09-22 Patrick Lam <plam@mit.edu>
1068 * doc/edit-sgml.c:
1069 * fc-cache/fc-cache.sgml:
1070 * fc-case/fc-case.c:
1071 * fc-glyphname/fc-glyphname.c:
1072 * src/fcdefault.c:
1073 * src/fcfreetype.c:
1074 * src/fcinit.c:
1075 * src/fcxml.c:
1076
1077 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1078
1079 * Makefile.am:
1080 * configure.in:
1081 * fc-lang/fc-lang.c:
1082 * fontconfig/fcprivate.h:
1083 * fontconfig/fontconfig.h:
1084 * src/fccache.c:
1085 * src/fccfg.c:
1086 * src/fccharset.c:
1087 * src/fcdbg.c:
1088 * src/fcdir.c:
1089 * src/fcfs.c:
1090 * src/fcint.h:
1091 * src/fclang.c:
1092 * src/fclist.c:
1093 * src/fcmatch.c:
1094 * src/fcname.c:
1095 * src/fcpat.c:
1096
1097 Implement new mmaped cache for font information.
1098 Bump so revision to 2.3.90.
1099
8245771d
PL
11002005-07-25 Keith Packard <keithp@keithp.com>
1101
1102 * doc/fontconfig-user.sgml:
1103 * fc-glyphname/fc-glyphname.c: (scan), (main):
1104 * fc-lang/fc-lang.c: (FcConfigHome):
1105 * fc-match/fc-match.c: (main):
1106 * src/fccfg.c: (FcConfigHome):
1107 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1108 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1109 (addtag), (FcFontCapabilities):
1110 * src/fcpat.c: (FcValueListEntCreate):
1111 * src/fcstr.c: (FcStrCaseWalkerInit):
1112 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1113
1114 Various GCC 4 cleanups for signed vs unsigned char
1115
1116 Match only [0-9]*.conf files in <include>{directory}</include>
1117 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1118
e1b9d091
PL
11192005-07-15 Carl Worth <cworth@cworth.org>
1120
1121 * src/fcint.h:
1122 * src/fcinit.c: (FcFini):
1123 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1124 FcPatternFini.
1125
1126 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1127 Pull the FcObjectStateName hash table out to file scope, and add
1128 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1129 as well.
1130
1131 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1132 fclose.
1133
f1a42f6b
KP
11342005-06-16 Patrick Lam <plam@MIT.EDU>
1135
1136 reviewed by: keithp
1137
1138 * src/fccfg.c: (FcConfigCompareValue):
1139 Make FcOpNotContains use FcStrStr for strings so that
1140 it matches semantics for !FcOpContains.
1141
adc7abac
KP
11422005-05-20 Keith Packard <keithp@keithp.com>
1143
1144 * debian/changelog:
1145 * debian/control:
1146 Move fontconfig source package to libs as per override
1147
a65a77ae
KP
11482005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1149
1150 reviewed by: Mike Fabian
1151
1152 * fc-lang/ka.orth:
1153 The ka.orth file requires several characters which are not
1154 used anymore in modern Georgian and which are missing in the free
1155 Georgian TrueType fonts downloadable at:
1156
1157 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1158
87c88746
KP
11592005-04-27 Keith Packard <keithp@keithp.com>
1160
1161 * README:
1162 * debian/changelog:
1163 Update date to real 2.3.2 release date.
1164 Fix change attributions
1165
11662005-04-27 Keith Packard <keithp@keithp.com>
1167
1168 * configure.in:
1169 Bump so revision for 2.3.2
1170 * fc-cache/fc-cache.c: (scanDirs):
1171 Fix a few minor leaks in error cases.
1172
1cb309ad
KP
11732005-04-23 Keith Packard <keithp@keithp.com>
1174
1175 * README:
1176 * configure.in:
1177 * debian/changelog:
1178 * fontconfig/fontconfig.h:
1179 Update for version 2.3.2
1180
716ac8b8
KP
11812005-04-21 Keith Packard <keithp@keithp.com>
1182
1183 * debian/fontconfig.postinst:
1184 Don't force bitmap font enable in default
1185 configuration; allows users to override this in
1186 ~/.fonts.conf
1187 * debian/po/cs.po:
1188 * debian/po/da.po:
1189 * debian/po/de.po:
1190 * debian/po/es.po:
1191 * debian/po/fr.po:
1192 * debian/po/ja.po:
1193 * debian/po/nl.po:
1194 * debian/po/pt.po:
1195 * debian/po/pt_BR.po:
1196 * debian/po/templates.pot:
1197 * debian/po/tr.po:
1198 * debian/po/zh_CN.po:
1199 Updated translations
1200
1201 * fc-cache/fc-cache.c: (main):
1202 Destroy font configuration on exit to help valgrind
1203
1204 * fonts.conf.in:
1205 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1206 (FcFreeTypeCheckGlyph):
1207 Use own transcoding routines in preference to iconv
1208 which appears to have leaks in some translators.
1209 Call iconv_close after using iconv (oops).
1210
1211 Prefer unicode encoding of Euro char as some
1212 fonts mis-encode Euro in other ones.
1213
1214 Must fetch bitmap glyphs to get width values
1215 to check for monospace/dual-width fonts.
1216
2ff4f076
RB
12172005-04-13 Ross Burton <ross@burtonini.com>
1218
1219 * src/fcpat.c:
1220 Check that a pattern isn't already frozen in FcPatternFreeze.
1221
ae7d0f35
RB
12222005-03-31 Ross Burton <ross@burtonini.com>
1223
1224 * src/fclist.c:
1225 * src/fcmatch.c:
1226 * src/fcpat.c:
1227 Run all FcPattern objects through FcObjectStaticName, so that
1228 compares can be done on pointers instead of strings (#2659)
1229
15603274
TL
12302005-03-17 Tor Lillqvist <tml@novell.com>
1231
1232 * src/fontconfig.def.in: Add the .dll to the dll name.
1233
5f347d9c
KP
12342005-03-10 Keith Packard <keithp@keithp.com>
1235
1236 * debian/README.Debian:
1237 Update to reflect configuration changes
1238 * debian/changelog:
1239 * debian/fontconfig.postinst:
1240 Fix Autohint vs Autohinter mistake
1241 * debian/fontconfig.templates:
1242 Adopt changes from Josselin Mouette for configuration descriptions
1243 Update debian to version 2.3.1-2
1244
8c740260
KP
12452005-03-08 Keith Packard <keithp@keithp.com>
1246
1247 * debian/changelog:
1248 * debian/rules:
1249 Update debian for 2.3.1
1250
79da4fe9
TL
12512005-03-09 Tor Lillqvist <tml@novell.com>
1252
1253 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1254 put it, not "lib".
1255
1256 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1257 prefix on Win32.
1258
d49dde9f
KP
12592005-03-08 Keith Packard <keithp@keithp.com>
1260
1261 * README:
1262 * configure.in:
1263 * fontconfig/fontconfig.h:
1264 Update for 2.3.1
1265
76a8dfa3
KP
12662005-03-05 Keith Packard <keithp@keithp.com>
1267
1268 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1269 Include space and remove numbers from valid script tags.
1270 This ensures that tags like 'lao ' work while rejecting
1271 those which have any digits.
1272 Eliminate a spurious debugging variable (len)
1273
219f7818
KP
12742005-03-05 Keith Packard <keithp@keithp.com>
1275
1276 * src/fcfreetype.c: (addtag), (GetScriptTags),
1277 (FcFontCapabilities):
1278 Rework GSUB/GPOS script parsing to survive broken fonts.
1279 Thanks for the broken font go to Manish Singh
1280
97bde49a
KP
12812005-03-05 Keith Packard <keithp@keithp.com>
1282
1283 Josselin Mouette:
1284 * debian/changelog:
1285 * debian/control:
1286 * debian/fontconfig.config:
1287 * debian/fontconfig.templates:
1288 * debian/rules:
1289 Include 2.3 release information in changelog
1290 Add Josselin Mouette as an Uploader
1291 Set hinting_type to low priority configuration option
1292
1293 Manish Singh:
1294 * debian/fontconfig.postinst:
1295 yes_bitmaps.conf -> yes-bitmaps.conf
1296
1297 Funda Wang:
1298 * src/fcfreetype.c:
1299 Johap -> Johab
1300
683dc3c4
KP
13012005-03-02 Keith Packard <keithp@keithp.com>
1302
1303 * Makefile.am:
1304 * conf.d/Makefile.am:
1305 * conf.d/autohint.conf:
1306 * conf.d/no-sub-pixel.conf:
1307 * conf.d/sub-pixel.conf:
1308 * conf.d/unhinted.conf:
1309 * debian/autohint.conf:
1310 * debian/fontconfig.install:
1311 * debian/fontconfig.postinst:
1312 * debian/fontconfig.templates:
1313 * debian/no-sub-pixel.conf:
1314 * debian/unhinted.conf:
1315 Move debian-specific conf file examples upstream.
1316
1317 Sub-pixel configuration examples must smash subpixel value
1318 as Xft always sets it from X.
1319
1320 Change sub-pixel rendering debconf descriptions from
1321 Enable/Disable to Always/Never.
1322
dc2e06ab
KP
13232005-03-02 Keith Packard <keithp@keithp.com>
1324
1325 * .cvsignore:
1326 * conf.d/.cvsignore:
1327 * doc/.cvsignore:
1328 Ignore more build detritus
1329
1330 * Makefile.am:
1331 Add debian package construction stuff.
1332
1333 * config/config.guess:
1334 * config/config.sub:
1335 Update to newer versions of these tools
1336
1337 * doc/Makefile.am:
1338 Get library manuals to build again (we love automake).
1339
1340 * debian/README.Debian:
1341 * debian/autohint.conf:
1342 * debian/changelog:
1343 * debian/compat:
1344 * debian/control:
1345 * debian/copyright:
1346 * debian/fontconfig-udeb.install:
1347 * debian/fontconfig.config:
1348 * debian/fontconfig.defoma:
1349 * debian/fontconfig.dirs:
1350 * debian/fontconfig.install:
1351 * debian/fontconfig.postinst:
1352 * debian/fontconfig.postrm:
1353 * debian/fontconfig.templates:
1354 * debian/libfontconfig1-dev.install:
1355 * debian/libfontconfig1.install:
1356 * debian/local.conf.md5sum:
1357 * debian/no-sub-pixel.conf:
1358 * debian/po/POTFILES.in:
1359 * debian/po/cs.po:
1360 * debian/po/da.po:
1361 * debian/po/de.po:
1362 * debian/po/es.po:
1363 * debian/po/fr.po:
1364 * debian/po/ja.po:
1365 * debian/po/nl.po:
1366 * debian/po/pt.po:
1367 * debian/po/pt_BR.po:
1368 * debian/po/templates.pot:
1369 * debian/po/tr.po:
1370 * debian/po/zh_CN.po:
1371 * debian/rules:
1372 * debian/unhinted.conf:
1373 Update debian build system to switch maintainers and
1374 deal with 2.3 functionality
1375
4afc00ca
KP
13762005-03-01 Keith Packard <keithp@keithp.com>
1377
1378 * README:
1379 * configure.in:
1380 * fontconfig/fontconfig.h:
1381 Update for 2.3.0
1382
0c009d2b
KP
13832005-03-01 Keith Packard <keithp@keithp.com>
1384
1385 * doc/Makefile.am:
1386 Generate and install PDF versions of the manuals
1387
1388 * doc/fcpattern.fncs:
1389 Fix formatting
1390
1391 * doc/fcstring.fncs:
1392 Add missing exported functions, fix data types
1393
1394 * doc/fontconfig-devel.sgml:
1395 Add missing pattern elements.
1396
1397 * doc/fontconfig-user.sgml:
1398 Add missing pattern elements. Document conf.d usage,
1399 clarify available orthography list. Fix some config file
1400 attributes. Complete list of constants.
1401
1402 * fontconfig/fontconfig.h:
1403 Mark FC_SOURCE deprecated.
1404
1405 * src/fcfreetype.c: (FcFreeTypeQuery):
1406 Don't set FC_SOURCE any longer.
1407
414f7202
KP
14082005-02-28 Keith Packard <keithp@keithp.com>
1409
1410 * Makefile.am:
1411 * conf.d/Makefile.am:
1412 * conf.d/README:
1413 * conf.d/no-bitmaps.conf:
1414 * conf.d/sub-pixel.conf:
1415 * conf.d/yes-bitmaps.conf:
1416 * configure.in:
1417 Create prototype /etc/fonts/conf.d directory with a few
1418 sample configuration files.
1419 Deprecate use of local.conf for local customizations in favor of
1420 this directory based scheme which is more easily integrated into
1421 installation systems.
1422
1423 * src/fcname.c:
1424 Tag FC_EMBOLDEN as a boolean variable
1425
47b49bf1
KP
14262005-02-10 Keith Packard <keithp@keithp.com>
1427
1428 reviewed by: pborelli@katamail.com
1429
1430 * src/fcdir.c: (FcFileScanConfig):
1431 Free patterns from fonts which are rejected by configuration
1432 (bug #2518)
1433
845a0bf3
KP
14342005-01-28 Keith Packard <keithp@keithp.com>
1435
1436 * README:
afca7836
KP
1437 * configure.in:
1438 * fontconfig/fontconfig.h:
1439 Update for version 2.2.99
1440
14412005-01-28 Keith Packard <keithp@keithp.com>
1442
1443 * README:
1444 Add a few pointers (#2284, #2285)
845a0bf3 1445
ca60d2b5
KP
14462005-01-28 Keith Packard <keithp@keithp.com>
1447
1448 * src/fcint.h:
1449 * src/fcname.c: (FcNameBool):
1450 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1451 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1452 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1453 Polite typechecking for test and edit expressions. Helps
afca7836 1454 catch errors in the font configuration. (bug 229)
ca60d2b5 1455
59e149e7
KP
14562005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1457
1458 reviewed by: Keith Packard <keithp@keithp.com>
1459
1460 * configure.in:
1461 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1462
d8ae9c92
KP
14632005-01-13 Keith Packard <keithp@keithp.com>
1464
1465 * doc/fontconfig-user.sgml:
1466 Add SEE ALSO section (bug 2085)
1467
14682005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1469
1470 reviewed by: Keith Packard <keithp@keithp.com>
1471
1472 * Makefile.am:
1473 * configure.in:
1474 * doc/Makefile.am:
1475 * fc-case/Makefile.am:
1476 * fc-glyphname/Makefile.am:
1477 * fc-lang/Makefile.am:
1478 * src/fontconfig.def.in:
1479 Cross compiling fixes (bug 280)
1480
8759822e
KP
14812005-01-13 Keith Packard <keithp@keithp.com>
1482
1483 * fonts.conf.in:
1484 Update blanks list (Closes bug 86)
1485
fce87a18
KP
14862005-01-04 Keith Packard <keithp@keithp.com>
1487
1488 * src/fccache.c: (FcCacheFontSetAdd):
1489 Verify that every font pattern loaded from cache has
1490 both FC_FILE and FC_FAMILY entries.
1491 Attempt to fix bug #2219.
1492
d5346181
KP
14932004-12-29 Keith Packard <keithp@keithp.com>
1494
1495 * README:
1496 * configure.in:
1497 * fontconfig/fontconfig.h:
1498 Update for version 2.2.98
1499
479f551f
KP
15002004-12-29 Keith Packard <keithp@keithp.com>
1501
1502 * fontconfig/fontconfig.h:
1503 Document ASCII limitations of Fc character conversion macros
1504 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1505 Fix off-by-one error in utf-8 case walking code.
1506 Add FcStrDowncase (useful for testing case conversion functions)
1507
02748dd3
KP
15082004-12-29 Keith Packard <keithp@keithp.com>
1509
1510 * .cvsignore:
1511 * fc-case/.cvsignore:
1512 clean up CVS ignore lists
1513 * fc-lang/iso-3166.txt:
1514 Add territory database
1515
15162004-12-29 Tor Andersson <tor.andersson@gmail.com>
1517
1518 Reviewed by: Keith Packard
1519
1520 * fc-lang/ko.orth:
1521 Remove Han characters from Korean orthography
1522
2ba729ed
KP
15232004-12-29 Keith Packard <keithp@keithp.com>
1524
1525 * Makefile.am:
1526 Reorder utility programs to make sure fc-case is run before fc-lang
1527 as fc-lang uses fcstr.c which uses fccase.h
1528 * fonts.conf.in:
1529 Fix broken XML
1530
192296d8
KP
15312004-12-29 Keith Packard <keithp@keithp.com>
1532
1533 * fonts.conf.in:
1534 Adopt some RedHat suggestions for standard font configuration.
1535
1536 * Makefile.am:
1537 * configure.in:
1538 * fc-case/CaseFolding.txt:
1539 * fc-case/Makefile.am:
1540 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1541 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1542 (dump), (parseRaw), (caseFoldReadRaw), (main):
1543 * fc-case/fccase.tmpl.h:
1544 Add new helper program 'fc-case' to construct case folding
1545 tables from standard Unicode CaseFolding.txt file
1546
1547 * src/fcint.h:
1548 * src/fclist.c: (FcListValueHash):
1549 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1550 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1551 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1552 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1553 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1554 Re-implement case insensitive functions with Unicode
1555 aware versions (including full case folding mappings)
1556
5cf8c536
KP
15572004-12-13 Keith Packard <keithp@keithp.com>
1558
1559 reviewed by: Owen Taylor <otaylor@redhat.com>
1560
1561 * src/fcmatch.c: (FcFontSetSort):
1562 I changed FcFontSetSort to respect the generic aliases better
1563 in the face of language matching.
1564
1565 What I did was to ammend the strict sort order used by FcFontSort so
1566 that it 'satisfies' the language specified in the pattern by locating
1567 the best matching font supporting each pattern language and then
1568 ignores language in the remaining fonts for purposes of matching.
1569
1570 So, when asking for 'sans:lang=en', you'll get an English font first,
1571 and then the remaining fonts sorted with respect to the 'sans' alias
1572 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1573
46a10637
KP
15742004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1575
1576 reviewed by: Keith Packard <keithp@keithp.com>
1577
1578 * fontconfig/fontconfig.h:
1579 * fonts.conf.in:
1580
1581 Configuration changes to request synthetic emboldening of
1582 fonts. The actual emboldening code will live in Xft.
1583
9af19286
KP
15842004-12-09 John Thacker <thacker@math.cornell.edu>
1585
1586 reviewed by: Keith Packard <keithp@keithp.com>
1587
1588 * fc-lang/ru.orth:
1589
1590 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1591 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1592 и), and don't even appear in KOI8-R. (The hypothesis that they
1593 don't appear in KOI8-R due to their similarity with Latin I and i is
1594 eliminated by their presence in KOI8-U.) I have a couple of fonts
1595 with Russian support that don't have the letter.
1596
1597 Therefore, 0406 and 0456 should be removed from or commented out of
1598 ru.orth
1599
1c52c0f0
KP
16002004-12-06 michael meeks <mmeeks@novell.com>
1601
1602 Reviewed by: Keith Packard <keithp@keithp.com>
1603
1604 * src/fcinit.c: (FcMemReport):
1605 * src/fcint.h:
1606 * src/fclist.c: (FcObjectSetAdd):
1607 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1608 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1609 * src/fcxml.c: (FcParsePatelt):
1610 memoize strings and share a single copy for all uses. Note that
1611 this could be improved further by using statically allocated blocks
1612 and gluing multiple strings together, but I'm basically lazy.
1613 In my environment with 800 font files, I get a savings of about 90KB.
1614
46b51147
KP
16152004-12-06 Keith Packard <keithp@keithp.com>
1616
1617 * COPYING:
1618 * Makefile.am:
1619 * config/Makedefs.in:
1620 * configure.in:
1621 * doc/edit-sgml.c:
1622 * doc/fcatomic.fncs:
1623 * doc/fcblanks.fncs:
1624 * doc/fccharset.fncs:
1625 * doc/fcconfig.fncs:
1626 * doc/fcconstant.fncs:
1627 * doc/fcfile.fncs:
1628 * doc/fcfontset.fncs:
1629 * doc/fcfreetype.fncs:
1630 * doc/fcinit.fncs:
1631 * doc/fcmatrix.fncs:
1632 * doc/fcobjectset.fncs:
1633 * doc/fcobjecttype.fncs:
1634 * doc/fcpattern.fncs:
1635 * doc/fcstring.fncs:
1636 * doc/fcstrset.fncs:
1637 * doc/fcvalue.fncs:
1638 * doc/fontconfig-devel.sgml:
1639 * doc/fontconfig-user.sgml:
1640 * doc/func.sgml:
1641 * doc/version.sgml.in:
1642 * fc-cache/Makefile.am:
1643 * fc-cache/fc-cache.c:
1644 * fc-glyphname/Makefile.am:
1645 * fc-glyphname/fc-glyphname.c:
1646 * fc-glyphname/fcglyphname.tmpl.h:
1647 * fc-lang/Makefile.am:
1648 * fc-lang/aa.orth:
1649 * fc-lang/ab.orth:
1650 * fc-lang/af.orth:
1651 * fc-lang/am.orth:
1652 * fc-lang/ar.orth:
1653 * fc-lang/ast.orth:
1654 * fc-lang/ava.orth:
1655 * fc-lang/ay.orth:
1656 * fc-lang/az.orth:
1657 * fc-lang/az_ir.orth:
1658 * fc-lang/ba.orth:
1659 * fc-lang/bam.orth:
1660 * fc-lang/be.orth:
1661 * fc-lang/bg.orth:
1662 * fc-lang/bh.orth:
1663 * fc-lang/bho.orth:
1664 * fc-lang/bi.orth:
1665 * fc-lang/bin.orth:
1666 * fc-lang/bn.orth:
1667 * fc-lang/bo.orth:
1668 * fc-lang/br.orth:
1669 * fc-lang/bs.orth:
1670 * fc-lang/bua.orth:
1671 * fc-lang/ca.orth:
1672 * fc-lang/ce.orth:
1673 * fc-lang/ch.orth:
1674 * fc-lang/chm.orth:
1675 * fc-lang/chr.orth:
1676 * fc-lang/co.orth:
1677 * fc-lang/cs.orth:
1678 * fc-lang/cu.orth:
1679 * fc-lang/cv.orth:
1680 * fc-lang/cy.orth:
1681 * fc-lang/da.orth:
1682 * fc-lang/de.orth:
1683 * fc-lang/dz.orth:
1684 * fc-lang/el.orth:
1685 * fc-lang/en.orth:
1686 * fc-lang/eo.orth:
1687 * fc-lang/es.orth:
1688 * fc-lang/et.orth:
1689 * fc-lang/eu.orth:
1690 * fc-lang/fa.orth:
1691 * fc-lang/fc-lang.c:
1692 * fc-lang/fc-lang.man:
1693 * fc-lang/fclang.tmpl.h:
1694 * fc-lang/fi.orth:
1695 * fc-lang/fj.orth:
1696 * fc-lang/fo.orth:
1697 * fc-lang/fr.orth:
1698 * fc-lang/ful.orth:
1699 * fc-lang/fur.orth:
1700 * fc-lang/fy.orth:
1701 * fc-lang/ga.orth:
1702 * fc-lang/gd.orth:
1703 * fc-lang/gez.orth:
1704 * fc-lang/gl.orth:
1705 * fc-lang/gn.orth:
1706 * fc-lang/gu.orth:
1707 * fc-lang/gv.orth:
1708 * fc-lang/ha.orth:
1709 * fc-lang/haw.orth:
1710 * fc-lang/he.orth:
1711 * fc-lang/hi.orth:
1712 * fc-lang/ho.orth:
1713 * fc-lang/hr.orth:
1714 * fc-lang/hu.orth:
1715 * fc-lang/hy.orth:
1716 * fc-lang/ia.orth:
1717 * fc-lang/ibo.orth:
1718 * fc-lang/id.orth:
1719 * fc-lang/ie.orth:
1720 * fc-lang/ik.orth:
1721 * fc-lang/io.orth:
1722 * fc-lang/is.orth:
1723 * fc-lang/iso639-2:
1724 * fc-lang/it.orth:
1725 * fc-lang/iu.orth:
1726 * fc-lang/ja.orth:
1727 * fc-lang/ka.orth:
1728 * fc-lang/kaa.orth:
1729 * fc-lang/ki.orth:
1730 * fc-lang/kk.orth:
1731 * fc-lang/kl.orth:
1732 * fc-lang/km.orth:
1733 * fc-lang/kn.orth:
1734 * fc-lang/ko.orth:
1735 * fc-lang/kok.orth:
1736 * fc-lang/ks.orth:
1737 * fc-lang/ku.orth:
1738 * fc-lang/ku_ir.orth:
1739 * fc-lang/kum.orth:
1740 * fc-lang/kv.orth:
1741 * fc-lang/kw.orth:
1742 * fc-lang/ky.orth:
1743 * fc-lang/la.orth:
1744 * fc-lang/lb.orth:
1745 * fc-lang/lez.orth:
1746 * fc-lang/lo.orth:
1747 * fc-lang/lt.orth:
1748 * fc-lang/lv.orth:
1749 * fc-lang/mg.orth:
1750 * fc-lang/mh.orth:
1751 * fc-lang/mi.orth:
1752 * fc-lang/mk.orth:
1753 * fc-lang/ml.orth:
1754 * fc-lang/mn.orth:
1755 * fc-lang/mo.orth:
1756 * fc-lang/mr.orth:
1757 * fc-lang/mt.orth:
1758 * fc-lang/my.orth:
1759 * fc-lang/nb.orth:
1760 * fc-lang/nds.orth:
1761 * fc-lang/ne.orth:
1762 * fc-lang/nl.orth:
1763 * fc-lang/nn.orth:
1764 * fc-lang/no.orth:
1765 * fc-lang/ny.orth:
1766 * fc-lang/oc.orth:
1767 * fc-lang/om.orth:
1768 * fc-lang/or.orth:
1769 * fc-lang/os.orth:
1770 * fc-lang/pl.orth:
1771 * fc-lang/ps_af.orth:
1772 * fc-lang/ps_pk.orth:
1773 * fc-lang/pt.orth:
1774 * fc-lang/rm.orth:
1775 * fc-lang/ro.orth:
1776 * fc-lang/ru.orth:
1777 * fc-lang/sa.orth:
1778 * fc-lang/sah.orth:
1779 * fc-lang/sco.orth:
1780 * fc-lang/se.orth:
1781 * fc-lang/sel.orth:
1782 * fc-lang/sh.orth:
1783 * fc-lang/si.orth:
1784 * fc-lang/sk.orth:
1785 * fc-lang/sl.orth:
1786 * fc-lang/sm.orth:
1787 * fc-lang/sma.orth:
1788 * fc-lang/smj.orth:
1789 * fc-lang/smn.orth:
1790 * fc-lang/sms.orth:
1791 * fc-lang/so.orth:
1792 * fc-lang/sq.orth:
1793 * fc-lang/sr.orth:
1794 * fc-lang/sv.orth:
1795 * fc-lang/sw.orth:
1796 * fc-lang/syr.orth:
1797 * fc-lang/ta.orth:
1798 * fc-lang/te.orth:
1799 * fc-lang/tg.orth:
1800 * fc-lang/th.orth:
1801 * fc-lang/ti_er.orth:
1802 * fc-lang/ti_et.orth:
1803 * fc-lang/tig.orth:
1804 * fc-lang/tk.orth:
1805 * fc-lang/tl.orth:
1806 * fc-lang/tn.orth:
1807 * fc-lang/to.orth:
1808 * fc-lang/tr.orth:
1809 * fc-lang/ts.orth:
1810 * fc-lang/tt.orth:
1811 * fc-lang/tw.orth:
1812 * fc-lang/tyv.orth:
1813 * fc-lang/ug.orth:
1814 * fc-lang/uk.orth:
1815 * fc-lang/ur.orth:
1816 * fc-lang/uz.orth:
1817 * fc-lang/ven.orth:
1818 * fc-lang/vi.orth:
1819 * fc-lang/vo.orth:
1820 * fc-lang/vot.orth:
1821 * fc-lang/wa.orth:
1822 * fc-lang/wen.orth:
1823 * fc-lang/wo.orth:
1824 * fc-lang/xh.orth:
1825 * fc-lang/yap.orth:
1826 * fc-lang/yi.orth:
1827 * fc-lang/yo.orth:
1828 * fc-lang/zh_cn.orth:
1829 * fc-lang/zh_hk.orth:
1830 * fc-lang/zh_mo.orth:
1831 * fc-lang/zh_sg.orth:
1832 * fc-lang/zh_tw.orth:
1833 * fc-lang/zu.orth:
1834 * fc-list/Makefile.am:
1835 * fc-list/fc-list.c:
1836 * fc-match/Makefile.am:
1837 * fc-match/fc-match.1:
1838 * fc-match/fc-match.c:
1839 * fontconfig/fcfreetype.h:
1840 * fontconfig/fcprivate.h:
1841 * fontconfig/fontconfig.h:
1842 * src/fcatomic.c:
1843 * src/fcblanks.c:
1844 * src/fccache.c:
1845 * src/fccfg.c:
1846 * src/fccharset.c:
1847 * src/fcdbg.c:
1848 * src/fcdefault.c:
1849 * src/fcdir.c:
1850 * src/fcfreetype.c:
1851 * src/fcfs.c:
1852 * src/fcinit.c:
1853 * src/fcint.h:
1854 * src/fclang.c:
1855 * src/fclist.c:
1856 * src/fcmatch.c:
1857 * src/fcmatrix.c:
1858 * src/fcname.c:
1859 * src/fcpat.c:
1860 * src/fcstr.c:
1861 * src/fcxml.c:
1862 Change files from ISO-Latin-1 to UTF-8
1863
fc2cc873
KP
18642004-12-04 Keith Packard <keithp@keithp.com>
1865
1866 * INSTALL:
1867 Update links to new freedesktop.org locations
1868 * Makefile.am:
1869 Add uninstall-local to get rid of fonts.conf and local.conf if they
1870 match the distributed versions. Fixes 'make distcheck'
1871
308dc9c3
KP
18722004-12-04 Keith Packard <keithp@keithp.com>
1873
1874 * README:
1875 * configure.in:
1876 * fontconfig/fontconfig.h:
1877 Updates for version 2.2.97
1878
54560b01
KP
18792004-12-04 Owen Taylor <otaylor@redhat.com>
1880
1881 reviewed by: Keith Packard <keithp@keithp.com>
1882
1883 * fc-cache/fc-cache.c: (main):
1884 Sleep for two seconds before exiting to make sure timestamps
1885 for future changes have distinct mod times in the file system.
1886 Bug #1982.
1887 * fc-lang/pa.orth:
1888 Add Punjabi orthography. Bug #1671.
1889
c5a0b541
KP
18902004-12-04 Keith Packard <keithp@keithp.com>
1891
1892 * fonts.conf.in:
1893 Just remove the FC_FONTDATE -- it has locale issues and
1894 annoys redhat multi-arch installs. Now that all X fonts are
1895 included without prejudice, the chances of the date being at
54560b01 1896 all interesting are rather limited. Bug #505.
c5a0b541
KP
1897 * src/Makefile.am:
1898 Add copyright and license
1899
2d9c79c0
KP
19002004-12-04 Keith Packard <keithp@keithp.com>
1901
1902 * configure.in:
1903 Change default set of fonts to include all of
1904 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1905 * doc/fontconfig-user.sgml:
1906 Document new <include>directory-name</include> semantics
1907 * fonts.conf.in:
1908 add <include ignore_missing="yes">conf.d</include>
1909 * local.conf:
1910 Add selectfont to ignore bitmap fonts, add comment for
1911 selectfont which accepts bitmap fonts.
1912 * src/fcdir.c:
1913 * src/fcint.h:
1914 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1915 Allow <include> configuration elements to reference directories.
1916 Parse and load all files of the form [0-9]* in sorted order.
1917
38e528e7
KP
19182004-12-04 Keith Packard <keithp@keithp.com>
1919
1920 * autogen.sh:
1921 Report command line for $srcdir/configure accurately.
1922 Bug #212.
1923
e4125ef9
KP
19242004-12-04 Keith Packard <keithp@keithp.com>
1925
1926 * src/fcfreetype.c: (FcFreeTypeQuery):
1927 Check for non-empty face->family_name and face->style_name
1928 before using those for the font. Empty names match everything.
38e528e7 1929 Bug #210.
e4125ef9 1930
537e3d23
KP
19312004-12-04 Keith Packard <keithp@keithp.com>
1932
1933 * configure.in:
1934 * fontconfig/fontconfig.h:
1935 * src/fcfreetype.c: (FcFreeTypeQuery):
1936 * src/fcname.c:
1937 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1938 available. This provides font file format information (BDF, Type 1,
1939 PCF, TrueType) for each font. Closes #109.
1940
dbf68dd5
KP
19412004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1942
1943 reviewed by: Keith Packard <keithp@keithp.com>
1944
1945 * doc/fontconfig-user.sgml:
1946 Fix typo.
1947
1948 * fontconfig/fontconfig.h:
1949 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1950 (GetScriptTags), (FcFontCapabilities):
1951 * src/fcname.c:
1952 Add detection for font capabilities (bug #105)
1953
4f27c1c0
KP
19542004-12-04 Keith Packard <keithp@keithp.com>
1955
1956 * Makefile.am:
1957 Move existing fonts.conf to fonts.conf.bak
1958
1959 * configure.in:
1960 Add detection of iconv
1961
1962 * doc/fcpattern.fncs:
1963 * doc/fontconfig-devel.sgml:
1964 * doc/fontconfig-user.sgml:
1965 * fonts.dtd:
1966 Document new selectfont elements
1967
1968 * fc-lang/nb.orth:
1969 Switch to UTF-8 in comment
1970
1971 * fontconfig/fontconfig.h:
1972 * src/fcname.c:
1973 Add fullname, and family/style/fullname language entries
1974
1975 * src/fccache.c: (FcCacheFontSetAdd):
1976 * src/fcdir.c: (FcFileScanConfig):
1977 Respect selectfont/*/glob
1978
1979 * src/fcint.h:
1980 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1981 (FcConfigCompareValue), (FcConfigPatternsAdd),
1982 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1983 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1984 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1985 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1986 Add support for selectfont
1987
1988 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1989 (FcStringInPatternElement), (FcFreeTypeQuery):
1990 Add multi-lingual family/style/fullname support
1991
1992 * src/fclist.c: (FcListPatternMatchAny):
1993 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1994
1995 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1996 (FcObjectStaticName):
1997 Add new FcPatternRemove/FcPatternAppend.
1998 FcObjectStaticName stores computed pattern element names which
1999 are required to be static.
2000
c641c77d
KP
20012004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2002
2003 reviewed by: keithp
2004
2005 * Makefile.am:
2006 Remove spurious / after $(DESTDIR)
2007
b5f36ca0
KP
20082004-06-30 Keith Packard <keithp@keithp.com>
2009
2010 * README:
2011 * configure.in:
2012 * fontconfig/fontconfig.h:
2013 Update for 2.2.96
2014
28f93bc4
KP
20152004-06-30 Keith Packard <keithp@keithp.com>
2016
2017 Provided by: Lubos Lunak <l.lunak@suse.cz>
2018
2019 * src/fccfg.c: (FcConfigUptoDate):
2020 However FcConfigUptoDate() doesn't seem to work. See the attached
2021 patch. First there's an obvious misplaced parenthesis making it
2022 return always false, and second, even this call fails to detect font
2023 changes (e.g. adding a new font to
2024 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2025 well. The problem seems to be triggered by my fonts.conf specifying
2026 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2027 doesn't include subdirs, unlike config->fontDirs.
2028
3d1ea0e5
KP
20292004-06-03 Keith Packard <keithp@keithp.com>
2030
2031 * fontconfig/fontconfig.h:
2032 Remove comma at end of FcResult enum definition.
2033
087d899c
KP
20342004-05-29 Keith Packard <keithp@keithp.com>
2035
2036 * INSTALL:
2037 Add steps to md5sum release
2038
d81271eb
KP
20392004-05-29 Keith Packard <keithp@keithp.com>
2040
2041 * README:
2042 * configure.in:
2043 * fontconfig/fontconfig.h:
2044 Update for 2.2.95
2045
ec0c740e
KP
20462004-05-29 Keith Packard <keithp@keithp.com>
2047
2048 * fontconfig/fontconfig.h:
2049 * src/fcmatch.c: (FcFontSetMatch):
2050 Add FcResultOutOfMemory to provide an accurate error when
2051 FcFontSetMatch fails in this way
2052
2053 * src/fcfreetype.c:
2054 Make #warning about lacking various FreeType features indicate
2055 which version those features appeared so users know how to
2056 fix the problem (Thanks to Anton Tropashko)
2057
55a69bd0
KP
20582004-05-05 Keith Packard <keithp@keithp.com>
2059
2060 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2061 Replace MIN/MAX/ABS macros which happen to have come
2062 from FreeType with fontconfig-specific ones (FC_*)
2063
bd0ddac8
KP
20642004-04-23 Keith Packard <keithp@keithp.com>
2065
2066 * INSTALL:
2067 Extend release preparation instructions to include
2068 notification and distribution steps
2069
626a7016
KP
20702004-04-23 Keith Packard <keithp@keithp.com>
2071
2072 * README:
2073 * configure.in:
2074 * fontconfig/fontconfig.h:
2075 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2076
7969113f
KP
20772004-04-23 Keith Packard <keithp@keithp.com>
2078
2079 * .cvsignore:
2080 Ignore a few more autotool files
2081
6ae6acf3
KP
20822004-04-14 Keith Packard <keithp@keithp.com>
2083
2084 * INSTALL:
2085 Add instructions for doing a release
2086
2087 * fontconfig.spec.in:
2088 clean up .spec file; perhaps this will be useful to somebody...
2089
2090 * README:
2091 * configure.in:
2092 * fontconfig/fontconfig.h:
2093 Update to 2.2.93
2094
2095 * fc-lang/fc-lang.c:
2096 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2097
2098 * fc-glyphname/Makefile.am:
2099 * fc-lang/Makefile.am:
2100 * fc-list/Makefile.am:
2101 * fc-match/Makefile.am:
2102 * src/Makefile.am:
2103 Add WARN_CFLAGS to pass -W flags for GCC systems
2104
2105 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2106 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2107 Change various char types around to match across
2108 function calls.
2109 Fixed bug in using available_sizes[i].height which
2110 is in pixels, not 64ths of a pixel.
2111
89e28590
KP
21122004-03-06 Keith Packard <keithp@keithp.com>
2113
2114 * src/fcfreetype.c: (FcFreeTypeQuery):
2115 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2116 matches looking for explicit values prefer exact matches
2117
02638f1a
KP
21182004-03-02 Keith Packard <keithp@keithp.com>
2119
2120 Supplied by: mfabian@suse.de (Mike FABIAN)
2121
2122 * src/fcfreetype.c: (FcFreeTypeQuery):
2123 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2124 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2125
de66e750
MS
21262004-02-21 Manish Singh <yosh@gimp.org>
2127
2128 * fc-glyphname/fc-glyphname.c: (main):
2129 Cast strlen to int for printf, so we're 64-bit clean.
2130
208a720f
KP
21312004-02-11 Keith Packard <keithp@keithp.com>
2132
2133 * configure.in:
2134 * src/fcfreetype.c: (FcGetPixelSize):
2135 Ok, so I messed up the test for y_ppem. Let's see if I
2136 got it right this time.
2137
4f38fa81
KP
21382004-02-10 Keith Packard <keithp@keithp.com>
2139
2140 * configure.in:
2141 * src/fcfreetype.c: (FcGetPixelSize):
2142 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2143 FT_Bitmap_Size record. Add a configure.in test for this
2144 and change the code accordingly (using height instead).
2145
b68b9646
KP
21462004-02-06 Keith Packard <keithp@keithp.com>
2147
2148 * fc-lang/nds.orth:
2149 Add Low Saxon orthography
2150 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2151
2152 * src/fccfg.c: (FcConfigNewestFile):
2153 Oops. Left 'newest.set' unset, which would miscompute
2154 the newest file
2155
2156 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2157 (FcFreeTypeCheckGlyph):
2158 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2159 font properties (which report the wrong value in current FreeType)
2160
2161 Don't attempt to check for empty glyphs in non-scalable fonts; they
2162 have no outlines...
2163
f4c52909
TL
21642004-02-01 Tor Lillqvist <tml@iki.fi>
2165
2166 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2167 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2168 cache if config->cache is NULL, which happens if FcConfigHome() is
2169 NULL. Guard against that by using the temp folder in that case.
2170
d3481737
RP
21712004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2172
2173 * fc-lang/az_ir.orth:
2174 * fc-lang/ku_ir.orth:
2175 * fc-lang/ps_af.orth:
2176 * fc-lang/ps_pk.orth:
2177 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2178 (Afghan and Pakistani).
2179 * fc-lang/ur.orth:
2180 Updated Urdu orthography with real data.
2181
d098e4eb
CW
21822003-12-11 Carl Worth <cworth@east.isi.edu>
2183
2184 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2185 USEDOCBOOK' block.
2186
2187 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2188 USEDOCBOOK' block.
2189 (all-local): Remove excessive whitespace.
2190
2191 * autogen.sh: Add 'set -e' to abort when any program fails,
2192 (avoids printing of 'now type make' after configure aborts).
2193
408dd9c0
KP
21942003-11-17 Eric Christopherson <rakko@charter.net>
2195
2196 reviewed by: Keith Packard <keithp@keithp.com>
2197
2198 * doc/Makefile.am:
2199 * fontconfig/fcfreetype.h:
2200 * src/fcfreetype.c:
2201 Switch to FreeType 2.1.7 style includes. Bug #150.
2202
8e8fcda4
NL
22032003-11-16 Noah Levitt <nlevitt@columbia.edu>
2204
2205 * fc-list/fc-list.sgml: Add some example usages.
2206
344a0e33
RP
22072003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2208
2209 * src/fcxml.c:
2210 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2211 separators.
2212
22132003-10-27 Keith Packard <keith@keithp.com>
27143fc9
KP
2214
2215 * configure.in:
2216 * fontconfig/fontconfig.h:
2217 Update to version 2.2.92
2218
4cbc3ee8
KP
22192003-10-27 Keith Packard <keithp@keithp.com>
2220
2221 * Makefile.am:
2222 * configure.in:
2223 * doc/Makefile.am:
2224 * fc-cache/Makefile.am:
2225 * fc-glyphname/Makefile.am:
2226 * fc-lang/Makefile.am:
2227 * fc-list/Makefile.am:
2228 * fc-match/Makefile.am:
2229 * test/Makefile.am:
2230 * test/run-test.sh:
2231 Yet more cleanups to finish getting 'make distcheck' working
2232 This has been tested to ensure that it even works from a _build
2233 directory.
2234
394b2bf0
KP
22352003-10-26 Keith Packard <keithp@keithp.com>
2236
2237 * configure.in:
2238 * doc/Makefile.am:
2239 * fc-cache/Makefile.am:
2240 * fc-glyphname/Makefile.am:
2241 * fc-lang/Makefile.am:
2242 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2243 * fc-list/Makefile.am:
2244 * fc-match/Makefile.am:
2245 Attempts to fix 'make distcheck' work. Things are
2246 progressing pretty well, but there are still failures
2247 long into the process dealing with docs (as always).
2248
2249 The big changes here are mostly to make $(srcdir) != "."
2250 work correctly, fixing the docbook related sections and
2251 fc-lang were particularily tricky. Docbook refuses to load
2252 system entities from anywhere other than where the original .sgml
2253 file was located, so no luck looking in "." for the
2254 configure-generated version.sgml and confdir.sgml files.
2255
2256 fc-lang needed help finding .orth files; added a -d option
2257 to set the directory as the least evil of many options.
2258
2259 Now to go use a faster machine and try and wring out the last
2260 issues.
2261
3541556b
KP
22622003-10-26 Keith Packard <keithp@keithp.com>
2263
2264 Tag version 2.2.91
2265
e99043ac
KP
22662003-10-26 Keith Packard <keithp@keithp.com>
2267
2268 * doc/Makefile.am:
2269 Include confdir.sgml.in in EXTRA_DIST
2270
75839218
JM
22712003-10-09 Josselin Mouette <joss@debian.org>
2272
2273 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2274 * fc-list/fc-list.sgml fc-list/Makefile.am:
2275 Replace fc-cache and fc-list manpages with more detailed, SGML
2276 versions.
2277
f077d662
OT
22782003-09-23 Owen Taylor <otaylor@redhat.com>
2279
2280 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2281 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2282 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2283 (Bug #117)
2284
44f59f71
OT
22852003-09-23 Owen Taylor <otaylor@redhat.com>
2286
2287 * fc-lang/ka.orth: Remove Georgian capitals, they
2288 aren't used for normal writing. (Bug #116)
2289
a05d257f
NL
22902003-09-06 Noah Levitt <nlevitt@columbia.edu>
2291
2292 * doc/fontconfig-devel.sgml:
2293 * doc/fontconfig-user.sgml:
2294 * fontconfig/fontconfig.h:
2295 * src/fcname.c:
2296 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2297 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2298
2299 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2300 monospace and dual-width fonts, allow roughly a 3% variance in the
2301 advances.
2302
3ef32bcd
MS
23032003-08-31 Manish Singh <yosh@gimp.org>
2304
2305 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2306 use default config.
2307
34cd0514
CW
23082003-08-15 Carl Worth <cworth@isi.edu>
2309
2310 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2311 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2312
2313 * src/fcpat.c (FcValueListEntDestroy): New function to support
2314 FcFini memory cleanup. Some statistics are not kept in
2315 synch. here.
2316 (FcValueListFreeze): Move hashTable outside this function so it
2317 can be accessed by FcValueListThawAll.
2318 (FcValueListThawAll): New function complements FcValueListFreeze.
2319 (FcPatternBaseFreeze): Move hashTable outside this function so it
2320 can be accessed by FcPatternBaseThawAll.
2321 (FcPatternBaseThawAll): New function complements
2322 FcPatternBaseFreeze.
2323 (FcPatternThawAll): New function complements FcPatternFreeze.
2324
2325 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2326
2327 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2328 allocated FcCharLeafEnt "blocks" so they can be freed later.
2329 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2330 can be accessed by FcCharSetThawAllLeaf.
2331 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2332 (FcCharSetFreezeBase): Move hashTable outside this function so it
2333 can be accessed by FcCharSetThawAll.
2334 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2335
2336 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2337 (FcConfigDestroy): Fic leak of FcBlanks.
2338
2339 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2340 (main): Add call to FcFini when finished.
2341
2342 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2343 static. Add prototypes.
2344
2345 * doc/fcinit.fncs: Add documentation for FcFini function.
2346
2347 * doc/edit-sgml.c: Mark several local functions as static. Add
2348 prototypes.
2349
2350 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2351
c3941ba9
TL
23522003-06-15 Tor Lillqvist <tml@iki.fi>
2353
231051f4
TL
2354 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2355 before comparing (needed on Windows).
2356
c3941ba9
TL
2357 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2358
ee1d8125
TL
23592003-06-13 Tor Lillqvist <tml@iki.fi>
2360
2361 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2362 man pages.
2363
2364 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2365 WINDOWSFONTDIR token.
2366
2367 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2368 end, not to confuse libtool, which expects the EXPORTS line to be
2369 the first. Add FcConfigEnableHome.
2370
e5206dbc
TL
2371 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2372 built as a DLL on Win32.
2373
4ae7f71c
KP
23742003-06-09 Keith Packard <keithp@keithp.com>
2375
2376 * Tag version 2.2.90
2377
8edb970e
KP
23782003-06-09 Keith Packard <keithp@keithp.com>
2379
2380 * Optimization in FcLangSetIndex was broken, occasionally
2381 returning a pointer to the wrong location on miss
2382
2383 * Add fc-match to test font matching from the command line.
2384
23852003-05-31 Keith Packard <keithp@keithp.com>
2386
2387 * (Bug 85) add support for culmus fonts
2388 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2389 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2390
23912003-05-28 James Su <suzhe@turbolinux.com.cn>
2392
2393 * Fix "contains" op for strings and langsets.
2394
23952003-05-17 Keith Packard <keithp@keithp.com>
2396
2397 * Fix build error with BDF prop local. Free langset after query
2398
23992003-05-14 Keith Packard <keithp@keithp.com>
2400
2401 * Extract spacing from XLFD atom
2402
24032003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2404
2405 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2406 disappeared in 1.30.
2407
2408 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2409
24102003-05-12 Keith Packard <keithp@keithp.com>
2411
2412 * Use FcIsWidth to share code
2413
2414 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2415 misclassifying some Han fonts as monospaced.
2416
24172003-05-07 Keith Packard <keithp@keithp.com>
2418
2419 * Add filename-based accept/reject to ammend available fonts.
2420
2421 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2422 older FreeType releases.
2423
24242003-05-06 Keith Packard <keithp@keithp.com>
2425
2426 * Remove 0b82 and Tamil numbers from tamil
2427 orthography (Jungshik Shin <jshin@mailaps.org>)
2428
24292003-05-04 Keith Packard <keithp@keithp.com>
86b12431
KP
2430
2431 + Map glyph names in fonts with adobe custom encoding to unicode
2432
8edb970e
KP
24332003-05-02 Keith Packard <keithp@keithp.com>
2434
2435 * Add FC_WEIGHT_BOOK as weight 75
2436
24372003-04-30 Keith Packard <keithp@keithp.com>
2438
2439 * Typo in bitstream foundry name
2440
24412003-04-24 Keith Packard <keithp@keithp.com>
2442
2443 * Eliminate italic_angle check for PS fonts
2444
24452003-04-23 Noah Levitt <nlevitt@columbia.edu>
2446
2447 * Getting closer to fixing /etc/fonts hard-coding.
2448
24492003-04-22 Keith Packard <keithp@keithp.com>
2450
2451 * Update autogen.sh to work with newer automake versions
2452 * Handle pattern elements moving during multiple edits
2453
8c87b429
KP
24542003-04-23 James Henstridge <james@daa.com.au>
2455
2456 * doc/fontconfig-devel.sgml: close the <para> element.
2457
2458 * doc/fcpattern.fncs: close the <para> element.
2459
2460 * doc/func.sgml: close the <refsynopsisdiv> element.
2461
8edb970e
KP
24622003-04-22 Keith Packard <keithp@keithp.com
2463
2464 * Update autogen.sh to work with newer automake versions
2465 * Handle pattern elements moving during multiple edits
2466
12d49d3c
CW
24672003-04-17 Colin Walters <walters@debian.org>
2468
2469 + Remove some unused variables, and initialize some other ones so
2470 gcc doesn't warn us.
2471
ab06f005
KP
24722003-04-16 Keith Packard <keithp@keithp.com>
2473
2474 + tag version 2.1.94
2475
24762003-04-16 Keith Packard <keithp@keithp.com>
2477
2478 + add BDF property fetching support for foundry
2479 (from Juliusz Chroboczek)
2480 + add BDF property fetching support for width
2481
24822003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2483
2484 + Implemented foundry generation for Type 1 and TrueType
2485
24862003-04-11 Gerard Escalante <g2@magestudios.net>
2487
2488 + Retrieve information from Type1 FontInfo dictionaries
2489
8c8caabd
CW
24902003-04-07 Colin Walters <walters@verbum.org>
2491
2492 + src/Makefile.am: Fix dummy makefile target names when
2493 MS_LIB_AVAILABLE isn't set.
2494
daeed6e0
TL
24952003-03-22 Tor Lillqvist <tml@iki.fi>
2496
2497 Changes for Windows:
2498
2499 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2500
2501 + We don't want to hardcode the fonts.conf file location in the
2502 DLL, so we look up the DLL location at run-time in a DllMain()
2503 function. The fonts.conf location is deduced from that.
2504
2505 + The colon can't be used as path separator on Windows,
2506 semicolon is used instead. File path components can be separated
2507 with either slash or backslash. Absolute paths can also begin
2508 with a drive letter.
2509
2510 + Add internal function FcStrLastSlash that strrchr's the last
2511 slash, or backslash on Windows.
2512
2513 + There is no link() on Windows. For atomicity checks, mkdir a
2514 lock directory instead.
2515
2516 + In addition to HOME, also look for USERPROFILE.
2517
2518 + Recognize the special font directory token WINDOWSFONTDIR, to
2519 use the system's font directory.
2520
2521 + Remove the fontconfig-def.cpp that was obsolete. Add
2522 fontconfig.def(.in), without internal functions.
2523
2524 + Add a fontconfig-zip(.in) script, used to build a binary
2525 distribution.
2526
dbe9a11e
MH
2527Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2528 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2529 to main package and man3/* to devel package
2530
2531 + Added missing defattr(-, root, root) to main RPM package
2532
2533 + Added HTML and text development documentation to -devel subpackage
2534
c92abf78
MH
2535Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2536 + Added back the configure macro options --disable-docs, otherwise
2537 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2538 version number) unconditionally, causing RPM to fail the build due
2539 to _unpackaged_files_terminate_build. We pick up the pregenerated
2540 docs with %doc already.
2541
b06766e4
MH
2542Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2543 + Removed commented out rpm macro define at top of spec file,
2544 replacing it with a simple explanation, since rpm macros are
2545 expanded by rpm even in comments.
2546
2547 + Changed /usr/bin to _bindir in BuildRequires lines
2548
2549 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2550
2551 + Reorganized file manifest lists
2552
2553Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
22dc6fc6
OT
2554
2555 + fontconfig.spec.in: Improvements from Red Hat spec file.
2556
2557 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2558
2559 + docs/*.sgml: SGML fixes.
2560
8fc10a72
KP
2561Sat Mar 1 17:28:53 PST 2003 keithp
2562 + Ok, so the ChangeLog is a bit out of date
2563
2564 + Lots of bugs fixed; most are in bugzilla, the
2565 biggest problems were in cache management where
2566 Owen discovered the library would lose badly when
2567 combining fonts-cache and ~/.fonts-cache data
2568
2569 + Converted from autoconf to automake. This after
2570 getting patches accepted into libtool to allow
2571 the '-version-number' argument which lets
2572 packages set version numbers explicitly rather
2573 than the roundabout libtool way
2574
2575 + Converted documentation to SGML using the docbook
2576 DTD. Now .txt and .html documents are installed
2577 in /usr/share/doc/fontconfig and there's no
2578 man page. Perhaps a man version can be written
2579 at some point.
2580
c2022f99
KP
2581Sat Aug 31 15:21:22 PDT 2002 keithp
2582 + Xrender and Xft had several bugs related to
2583 rendering manually placed or poly-face text
2584
2585 + Added more complete memory tracing in fontconfig
2586 Checked with (patched) mozilla and found no leaks
2587
2588 + Updated Latin orthographies by comparing those from
2589 evertype.com with those from eki.ee. Tried to make
2590 sensible choices, including chars that occured in both
2591 and leaving some optional chars out that occured only
2592 in one.
2593
2458a6d8 2594Mon Aug 26 16:33:04 PDT 2002 keithp
c2022f99 2595 + Owen discovered that FcLangSetHasLang wasn't actually
2458a6d8
KP
2596 checking the language set.
2597
5d6788ac
KP
2598Mon Aug 26 13:37:23 PDT 2002 keithp
2599 + Append a version number to cache filenames
2600
47d4f950
KP
2601Thu Aug 22 11:36:18 PDT 2002 keithp
2602
2603 + Add "contains" and "not_contains" operators and elements to
2604 font configuration
2605
2606 + Changed semantics of eq operator for LangSets to check for
2607 FcLangEqual so that any match will do
2608
2609 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2610 of FcValueEqual to check for identical values when inserting into
2611 the results. This broke when the above semantic change was made,
2612 now it uses FcValueEqual which is "more correct" in any case.
2613
d8d73958
KP
2614Thu Aug 22 00:32:29 PDT 2002 keithp
2615
2616 + Reimplement FC_LANG as new datatype. Lists of strings
2617 was consuming over a megabyte of memory for 401 fonts.
2618
2619 + Freeze patterns loaded from cache files. This shares
2620 common value lists and common patterns which saves
2621 considerable memory.
2622
2623 + Change the denotation of 'constant' charsets to use special
2624 ref value instead of separate boolean.
2625
2626 + Clean up leak tracing stuff, found several unannoted alloc/free
2627 calls
2628
2629Tue Aug 20 16:17:37 PDT 2002 keithp
2630
2631 + Fix memory leak when parsing matrices from XML
2632
2633Mon Aug 19 11:57:27 PDT 2002 keithp
2634
fa244f3d
KP
2635 + Fix autoconf files to pass FONTCONFIG_PATH on
2636 compile line so that ${prefix} gets substituted
2637 correctly.
2638
2639 + Use getc_unlocked/putc_unlocked on systems that
2640 provide them to avoid damage done to stdio by posix
2641
2642 + Eliminate FC_PATTERN and FcTypePattern in favor of
2643 an extended api for FcConfigSubstitute which takes
2644 both the font and the pattern.
2645
2646 + Add 'sans serif' alias for 'sans-serif' as some apps
2647 can't handle hyphens in family names
2648
2649 + Eliminate pretense of support for libxml2
2650
2651 + Comment origins of Han orthographies
2652
aefb2c41
KP
2653Tue Jul 30 18:37:09 PDT 2002 keithp
2654
2655 + Add binding property to edit element so that strong
2656 binding values may be inserted by the config file.
2657 The default remains weak.
2658
2659Sun 28 Jul 04:16:55 PDT 2002 keithp
2660
2661 + Tagged release candidate 1 in the CVS tree and
2662 placed fcpackage.rc1.tar.gz for distribution
2663
2664Thu Aug 1 08:55:08 PDT 2002 keithp
2665
2666 + Fixed autoconf builds to always specify install
2667 target files (for BSD). Also fixed to
2668 define FONTCONFIG_PATH in config.h so that
2669 nonstandard installs will actually work.