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