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