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