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