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