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