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