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