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