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