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