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