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