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