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