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