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