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