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