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