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