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