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