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