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