1 2006-01-26 Patirck Lam <plam@mit.edu>
2 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
3 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
4 * src/fcdir.c (FcDirScanConfig):
5 * src/fcxml.c (FcEndElement):
7 Stop trampling the directory name when writing out caches.
8 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
9 subdirs when necessary. Don't scan directories that can't be
12 2006-01-25 Patrick Lam <plam@mit.edu>
13 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
14 * src/fccfg.c (FcConfigEvaluate):
15 * src/fcfreetype.c (FcPatternAddWithBinding):
17 Fix additional memory leaks reported by Ronny V. Vindenes: don't
18 invoke FcValueSave on hashed static strings in
19 FcPatternAddWithBinding.
21 Add another st_dev check in FcDirCacheOpen.
23 2006-01-24 James Su <james.su@gmail.com>
26 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
29 Treat zh-hk fonts differently from zh-tw fonts. This patch may
30 cause fontconfig to treat A-X fonts differently from A-Y fonts;
31 please mail the fontconfig list if this causes any problems.
33 2006-01-24 Patrick Lam <plam@mit.edu>
34 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
35 * src/fcfreetype.c (FcFreeTypeQuery):
37 Fix memory leaks reported by Ronny V. Vindenes.
39 2006-01-19 Andreas Schwab <schwab@suse.de>
42 * src/fcpat.c (FcStrNeededBytes):
44 Fix for unaligned memory accesses.
46 2006-01-18 Mike Fabian <mfabian@suse.de>
49 * src/fcdir.c (FcDirScanConfig):
51 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
52 calls to avoid crashes.
54 2006-01-14 Patrick Lam <plam@mit.edu>
55 * src/fccache.c (FcDirCacheConsume):
57 Fix segfault when consuming zero-length caches in fc-cat
58 (which has no config, so FcConfigAddFontDir shouldn't be called.)
60 2006-01-14 Patrick Lam <plam@mit.edu>
61 * fc-cache/fc-cache.c (scanDirs):
62 * fontconfig/fontconfig.h:
63 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
64 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
65 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
66 * src/fcdir.c (FcDirScanConfig):
69 Compare device numbers as well as inodes.
70 Always normalize directory names before comparing them.
72 2006-01-11 Mike Fabian <mfabian@suse.de>
75 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
77 Allocate extra space for appended '/' in directory name.
79 2006-01-10 Patrick Lam <plam@mit.edu>
80 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
81 FcDirCacheValid, FcDirCacheHasCurrentArch,
82 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
83 * fc-cache/fc-cache.c (main):
85 Explicitly add font dirs to config.fontDirs even if they're empty.
86 Set current config in fc-cache.c.
87 Fix treatment of cache directory as read from cache file; don't
88 use string equality to determine if we have the right file,
91 2006-01-09 Patrick Lam <plam@mit.edu>
92 * fc-cache/fc-cache.c (scanDirs):
93 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
94 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
95 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
96 * src/fccfg.c (FcConfigNormalizeFontDir):
97 * src/fcdir.c (FcDirScanConfig):
100 Normalize font dirs by using the form, as given in fonts.conf, and
101 recorded in FcConfig's fontDirs string set, as canonical.
103 Actually update config.fontDirs as font directories are scanned.
105 2006-01-08 James Su <james.su@gmail.com>
106 * src/fcmatch.c (FcFontSetMatch):
108 Fix matching bug when multiple elements match; don't use
109 the sum of all scores, but the best score.
111 Also more perf opts, e.g. evaluate best over all font sets
112 rather than on a per-set basis (and other changes).
114 2006-01-08 Patrick Lam <plam@mit.edu>
115 * src/fccache.c (FcDirCacheConsume):
117 Properly skip past dir caches that contain zero fonts (as occurs
118 in global caches.) Reported by Mike Fabian.
120 2006-01-06 Patrick Lam <plam@mit.edu>
121 * src/fcdbg.c (FcPatternPrint):
123 Print out full pathname in fc-match -v as well. Reported by
126 2006-01-06 Mike Fabian <mfabian@suse.de>
129 * src/fcname.c (FcNameParse):
131 Fix bug where fc-match crashes when given __DUMMY__ property to
134 (I added the __DUMMY__ string to enable callers of
135 FcObjectToPtrLookup to distinguish an error return from a
136 successful return. -PL)
138 2006-01-05 Patrick Lam <plam@mit.edu>
141 Add self to AUTHORS list.
143 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
144 FcCacheFileRead, FcCachePrintSet, main):
145 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
146 FcGlobalCacheSave, FcCacheNextOffset,
147 FcDirCacheHasCurrentArch, FcDirCacheRead,
148 FcDirCacheConsume, FcDirCacheWrite):
150 * src/fcpat.c (comment):
152 Minor change to global cache file format to fix fc-cat bug
153 reported by Frederic Crozat, and buglet with not globally caching
154 directories with zero fonts cached.
156 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
159 * src/fccfg.c (FcConfigEvaluate):
161 Fix double-free which occurs because FcValueCanonicalize doesn't
162 create an extra copy of the returned value, it only canonicalizes
165 2006-01-02 Patrick Lam <plam@mit.edu>
166 * doc/fontconfig-user.sgml:
168 Fix version of .cache file (currently 1 -> currently 2). Reported
171 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
174 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
176 Shut up GCC warnings on amd.
178 2005-12-20 Patrick Lam <plam@mit.edu>
182 * fontconfig/fontconfig.h:
184 Bump version to 2.3.93.
186 2005-12-20 Patrick Lam <plam@mit.edu>
187 * src/fccharset.c (FcLangCharSetPopulate):
188 * src/fcint.h (FcCacheBankToIndex):
190 Avoid check on _fcBankId nullness and fix case where it used to
193 2005-12-20 Patrick Lam <plam@mit.edu>
194 * src/fcxml.c (FcConfigParseAndLoad):
196 Use open instead of fopen (requested by Phil Race for Sun).
198 2005-12-20 Patrick Lam <plam@mit.edu>
199 * src/fccache.c (FcDirCacheWrite);
200 * fc-cache/Makefile.am:
202 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
205 2005-12-20 Patrick Lam <plam@mit.edu>
206 * src/fcfreetype.c (FcFreeTypeQuery):
208 Restore code to skip over PCF fonts that have no encoded
210 (We guess that a font is PCF by presence of the PIXEL_SIZE
213 2005-12-12 Patrick Lam <plam@mit.edu>
214 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
216 Read and write the original location as a fallback for the
217 hashed cache file locations. This is mostly for users to be
218 able to have per-directory cache files.
220 2005-12-12 Patrick Lam <plam@mit.edu>
221 * fc-cache/fc-cache.c (scanDirs):
222 * fc-cache/Makefile.am:
223 * src/fccache.c (FcDirCacheHashName):
225 Improve error message when fc-cache can't write the cache. Add
226 missing slash. Reported by Behdad. Incorporate Behdad's patch to
227 create /var/cache/fontconfig when appropriate.
229 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
232 * src/fcxml.c (FcConfigGetAttribute):
234 Fix crash reported by Frederic Crozat when using libxml2.
236 2005-12-09 Patrick Lam <plam@mit.edu>
239 * fc-cache/Makefile.am:
240 * fc-cat/Makefile.am:
242 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
243 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
244 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
245 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
246 FcDirCacheHasCurrentArch, FcDirCacheHashName,
247 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
249 Migrate cache files from fonts directories to
250 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
251 but requires that all caches get rebuilt.
253 Also, autogen.sh now needs the additional parameter
254 --localstatedir=/var.
256 2005-12-07 Patrick Lam <plam@mit.edu>
257 * src/fcpat.c (FcPatternAddString):
259 Because we've changed FcPatternAddString to use FcStrStaticName
260 and not FcValueSave, explicitly handle the case of a null string.
262 2005-12-06 Patrick Lam <plam@mit.edu>
263 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
267 2005-12-05 Patrick Lam <plam@mit.edu>
268 * src/fcname.c (FcNameGetObjectType):
270 Don't assign types to user object names.
272 2005-12-05 Patrick Lam <plam@mit.edu>
273 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
275 Don't free strings that have been returned from FcStrStaticName.
277 2005-12-01 Patrick Lam <plam@mit.edu>
278 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
280 Add codepath for reading global cache files as well.
282 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
285 * conf.d/10-fonts.persian.conf:
286 * conf.d/Makefile.am:
288 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
290 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
293 * src/fcxml.c (FcConfigParseAndLoad):
295 Only add a config file to the set of config files once.
297 2005-11-29 Patrick Lam <plam@mit.edu>
298 * src/fcint.h (FcCacheBankToIndex);
300 Fix segfault by guarding array dereference.
302 2005-11-29 Dirk Mueller <dmueller@suse.de>
306 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
307 FcCacheBankToIndex, FcCacheBankToIndexMTF,
311 Refactor FcCacheBankToIndex into an inlineable part
312 (in fcint.h) which checks the front of the list and a
313 non-inlineable part which finds and moves the appropriate element
314 to the front of the list.
316 2005-11-29 Patrick Lam <plam@mit.edu>
317 * src/fccfg.c (FcConfigBuildFonts):
318 * src/fccache.c (FcCacheReadDirs):
320 Make the perf guys hate me a bit less: hoist the directory-name
321 FcConfigAcceptFont check for cached fonts up to directory cache
322 read time, rather than running it for each font.
324 2005-11-29 Patrick Lam <plam@mit.edu>
325 * src/fccfg.c (FcConfigBuildFonts):
327 * src/fcpat.c (FcPatternFindFullFname):
329 Don't make FcPatternFindFullFname available to fccfg, it's not
330 really safe. Instead go through FcPatternGetString (sorry,
331 perf guys.) Also, use globs for dirs as well.
333 2005-11-28 Patrick Lam <plam@mit.edu>
334 * src/fccfg.c (FcConfigBuildFonts):
338 2005-11-28 Patrick Lam <plam@mit.edu>
340 * src/fcpat.c (FcPatternFindFullFname):
341 * src/fccfg.c (FcConfigBuildFonts):
343 Fix problem dating back at least to 2.3.2 where globs weren't
344 being applied to patterns loaded from a cache.
346 2005-11-28 Patrick Lam <plam@mit.edu>
347 * doc/fontconfig-user.sgml:
349 Fix some obvious spelling mistakes.
351 2005-11-28 Dirk Mueller <dmueller@suse.com>
352 Stephan Kulow <coolo@suse.de>
355 * src/fcmatch.c (FcFontSetMatch):
357 Don't kill all fonts during match (oops!)
360 2005-11-25 Dirk Mueller <dmueller@suse.com>
361 Stephan Kulow <coolo@suse.de>
362 Michael Matz <matz@suse.de>
365 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
368 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
369 inline FcCompare into FcFontSetMatch and reorder the
370 loops, adding a boolean array which blocks patterns from future
371 consideration if they're known to not be best on some past
374 2005-11-26 Dirk Mueller <dmueller@suse.com>
377 * src/fcmatch.c (FcCompareValueList):
381 2005-11-25 Patrick Lam <plam@mit.edu>
382 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
384 Don't do random matching when bad objects are passed into
387 2005-11-25 Patrick Lam <plam@mit.edu>
389 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
390 FcPatternSerialize, FcPatternUnserialize,
391 FcValueListEnsureBank, FcValueListDistributeBytes,
392 FcValueListUnserialize):
394 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
395 _fcPatternElts, _fcValueLists for consistency.
397 2005-11-25 Dirk Mueller <dmueller@suse.com>
402 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
404 2005-11-25 Patrick Lam <plam@mit.edu>
406 * src/fccache.c (FcDirCacheConsume):
407 * src/fccharset.c (FcCharSetUnserialize):
408 * src/fcfs.c (FcFontSetUnserialize):
409 * src/fclang.c (FcLangSetUnserialize):
410 * src/fcname.c (FcObjectUnserialize):
411 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
412 FcPatternUnserialize):
414 Pass around FcCache *s to the Unserialize functions for extra
415 consistency (and less overhead, for what that's worth).
417 2005-11-24 Dirk Mueller <dmueller@suse.com>
421 * src/fcmatch.c (FcCompare*, FcFontSetSort):
422 * src/fcname.c (FcNameUnparseValue):
424 Inline the *PtrU functions to gain perf.
425 Remove unneeded params for the FcCompare* functions.
427 2005-11-24 Dirk Mueller <dmueller@suse.com>
430 * src/fcint.h, fontconfig/fontconfig.h:
432 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
434 * src/fcpat.c, src/fcint.h, src/fcname.c:
436 Check for type validity during FcPatternAddWithBinding, don't
437 verify type in FcFontMatch, don't call FcCanonicalize here
438 (which always does a deep copy).
440 2005-11-24 Dirk Mueller <dmueller@suse.com>
443 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
444 * src/fcpat.c (FcPatternAddWithBinding):
446 Make FcCompareString and FcCompareFamily less expensive.
447 Only add a value for FC_FAMILY if the proposed value is a string.
449 2005-11-24 Dirk Mueller <dmueller@suse.com>
452 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
453 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
454 * src/fcint.h (FcDebug):
456 Inline FcDebug invocations and only initialize once, in FcInit*.
457 Improve debug msg in FcPatternPrint.
459 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
462 * fontconfig/fontconfig.h:
465 Minor code warning cleanups.
467 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
470 * fc-match/fc-match.c (main):
472 Make getopt_long accept -s parameter to fc-match as well.
474 2005-11-21 Dirk Mueller <dmueller@suse.com>
477 * src/fcmatch.c (FcCompareValueList):
479 Manually perform inlining & partial redundancy elimination to
480 reduce calls to FcValueListPtrU.
482 2005-11-21 Dirk Mueller <dmueller@suse.com>
485 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
486 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
488 Only invoke strlen() when really necessary.
490 2005-11-19 Matthias Clasen <mclasen@redhat.com>
494 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
499 Get rid of the use of freetype internal headers in fcfreetype.c,
500 since those headers will go away with freetype 2.2. Replace with
501 public domain ftglue code from pango. Note that the patch removes
502 some extra error checking in FT_Get_BDF_Property() and comments
503 out the skipping of empty pcf fonts.
505 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
508 * fc-lang/fc-lang.c (main):
510 Further fix of patch from 2005-11-04: miscounted numbers count
511 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
512 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
514 Removed leafidx_count and numbers_count since they are the same
515 and replaced them with offset_count.
517 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
520 * fc-cat/fc-cat.c (main):
522 Don't crash when fc-cat invoked with no arguments.
524 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
527 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
529 Fix invalid read access caused by premature free and
530 GCC4 warnings in libxml2 codepath.
532 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
535 * src/fccfg.c (FcConfigValues):
537 List iteration not needed in FcConfigValues, since it's building
538 up the list itself; we can just strip FcVoid elements during
541 2005-11-17 Patrick Lam <plam@mit.edu>
542 * src/fccfg.c (FcConfigValues):
544 Fix crash on invalid constants in config files (forgot to update
545 a pointer upon list iteration.)
547 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
550 * src/fcxml.c (FcTypecheckExpr):
552 Complain about invalid constants in config files.
554 2005-11-17 Andreas Schwab <schwab@suse.de>
557 * src/fccache.c (FcGlobalCacheSave):
559 Don't add current_arch_start more than once.
561 2005-11-16 Patrick Lam <plam@mit.edu>
562 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
563 * src/fcfs.c (FcFontSetUnserialize):
564 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
565 * src/fcpat.c (FcStrUnserialize):
567 Fix ordering of ALIGN with respect to saving block_ptr; add
568 another ALIGN to fcfs.c.
570 2005-11-16 Patrick Lam <plam@mit.edu>
571 * src/fccache.c (FcDirCacheProduce)
573 Fix case where alignment bytes bumped up metadata->count
574 causing unwarranted failures to write cache files.
575 (Reported by Stephan Kulow).
577 2005-11-16 Patrick Lam <plam@mit.edu>
578 * src/fccache.c (FcDirCacheProduce):
579 * src/fccharset.c (FcCharSetDistributeBytes):
580 * src/fcfs.c (FcFontSetDistributeBytes):
582 * src/fclang.c (FcLangSetDistributeBytes):
583 * src/fcname.c (FcObjectDistributeBytes):
584 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
587 Add *NeededBytesAlign(), which overestimates the padding which is
588 later added by the new ALIGN macro. Fix alignment problems on
589 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
590 version by Andreas Schwab).
592 2005-11-16 Stephan Kulow <coolo@kde.org>
597 Use sysconf to determine proper PAGESIZE value; this
598 appears to be POSIX-compliant. (reported by Andreas Schwab)
600 2005-11-04 Patrick Lam <plam@mit.edu>
606 Fix bug 2878 (excessive relocations at startup for charsets,
607 reported by Ross Burton): fc-lang/fc-lang now creates the
608 static form of the langset, not the dynamic form, so that
609 the charsets should now be in .rodata.
611 2005-11-04 Patrick Lam <plam@mit.edu>
612 * src/fcdir.c (FcDirScanConfig):
614 Add test for validity of directory caches that
615 somehow got lost (reported by make distcheck).
617 2005-11-04 Patrick Lam <plam@mit.edu>
621 * fontconfig/fontconfig.h:
623 Bump version to 2.3.92.
625 2005-11-02 Patrick Lam <plam@mit.edu>
626 * src/fcpat.c (FcPatternDuplicate):
628 Fix argument ordering problem in call to FcPatternTransferFullFname.
630 2005-11-02 Patrick Lam <plam@mit.edu>
631 * src/fcfreetype.c (FcFreetypeQuery):
632 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
633 FcPatternTransferFullFname):
635 Fix warnings and embarrassing double-free error.
637 2005-11-02 Zhe Su <zsu@novell.com>
642 Change the rule for artificial emboldening in fonts.conf.in. This
643 enables the support for artificial emboldening included in cairo.
645 2005-11-02 Patrick Lam <plam@mit.edu>
646 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
648 Don't zero out full names for FC_REF_CONSTANT fonts;
649 also, duplicate full names when transferring, and free
650 full names when freeing the associated font.
651 Reported by Jinghua Luo.
653 2005-11-02 Patrick Lam <plam@mit.edu>
654 * fc-cache/fc-cache.c (scanDirs):
655 * src/fcpat.c (FcValueListSerialize):
657 Revert the previous patch and commit the correct patch:
658 I forgot a canonicalization in FcValueListSerialize, so
659 that it would choke on already-serialized input files. Duh!
661 2005-11-02 Patrick Lam <plam@mit.edu>
662 * fc-cache/fc-cache.c (scanDirs):
664 Forcibly rescan a directory before writing a fresh local
665 cache file for that directory, fixing the losing-fonts
666 problem reported by Mike Fabian and also apparently the
667 font cache file corruption.
669 2005-11-02 Patrick Lam <plam@mit.edu>
670 * src/fccache.c (FcGlobalCacheLoad):
672 Fix thinko: actually, the whole global cache is stale
673 if the global cache is older than the (newest) config file.
675 2005-11-02 Patrick Lam <plam@mit.edu>
676 * src/fccache.c (FcGlobalCacheLoad):
677 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
680 Declare the global cache of a directory's contents to be stale if
681 the directory is newer than the (newest) configuration file.
683 2005-10-31 Patrick Lam <plam@mit.edu>
685 * src/fclist.c (FcListAppend):
686 * src/fcmatch.c (FcFontRenderPrepare):
687 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
688 FcPatternFreeze, FcPatternBaseFreeze):
690 Copy the full pathname whenever duplicating an FcPattern; otherwise,
691 applications continue breaking.
693 2005-10-31 Patrick Lam <plam@mit.edu>
694 * fc-cat/fc-cat.c (FcCacheFileRead, main):
695 * src/fcfreetype.c (FcFreeTypeQuery):
697 Fix small memory error (tried to free argv); use basename and
698 dirname correctly (they can modify their arguments).
700 2005-10-31 Patrick Lam <plam@mit.edu>
708 Reinstate basename patch, but keep a hash table linking FcPatterns
709 to their fully-qualified font names for clients' benefit. Clients
710 only pay for the font names once they request the FC_FILE property
711 from an FcPattern, but the font name is malloc'd at that point (i.e.
712 not mmapped: that's impossible, since it may vary between machines.)
713 Clients do have to pay for a copy of the path name per cache file.
715 Note that FcPatternGetString now does some rewriting if you ask
716 for an FC_FILE, appending the pathname as appropriate.
718 2005-10-31 Patrick Lam <plam@mit.edu>
719 * src/fcfreetype.c (FcFreeTypeQuery):
721 Revert basename patch, which breaks fontconfig clients on my system.
723 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
726 * fontconfig/fonts.conf.in:
727 * fontconfig/fontconfig.h:
731 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
732 to load embedded bitmaps or not.
734 2005-10-25 Patrick Lam <plam@mit.edu>
735 * src/fcfreetype.c (FcFreeTypeQuery):
737 Only add basename to patterns' FC_FILE element, not any part of
740 2005-10-22 Patrick Lam <plam@mit.edu>
743 Add some more consts, fixing more GCC4 warnings.
745 2005-10-22 Zhe Su <zsu@novell.com>
748 Support localized font family and style names.
749 This has been reported to break old apps like xfd, but modern
750 (gtk+/qt/mozilla) apps work fine.
752 2005-10-21 Patrick Lam <plam@mit.edu>
753 * src/fccache.c (FcGlobalCacheLoad):
755 Destroy the global cache file if it's terminally broken. (reported by
758 2005-10-21 Patrick Lam <plam@mit.edu>
759 * fc-list/fc-list.c (main):
760 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
761 * fontconfig/fontconfig.h:
763 Prevent fc-list from escaping strings when printing them (reported by
766 2005-10-20 Marcus Meissner <meissner@suse.de>
769 * fontconfig/fontconfig.h:
771 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
773 2005-10-14 Ross Burton <ross@burtonini.com>
776 * fc-glyphname/fc-glyphname.c:
779 Add consts to variables so as to move arrays into .rodata.
781 2005-10-14 Mike Fabian <mfabian@suse.de>
784 * src/fccache.c (FcDirCacheUnlink):
786 Check existence of directory cache file before attempting to unlink.
788 2005-10-13 Patrick Lam <plam@mit.edu>
789 * src/fccache.c (FcDirCacheUnlink):
791 Fix flipped return value on unlink. (Reported by Mike Fabian)
793 2005-10-12 Patrick Lam <plam@mit.edu>
796 * src/fcdir.c (FcDirScanConfig):
799 When fc-cache is run without --force, use directory cache files
800 to speed up fc-cache run time. (Reported by Mike Fabian)
802 2005-10-06 Patrick Lam <plam@mit.edu>
804 * src/fcname.c (FcObjectToPtr):
805 * src/fcpat.c (FcStrStaticName):
807 Add padding to make valgrind and glibc not hate each other
808 when calling strlen().
810 2005-10-05 Simos Xenitellis <simos74@gmx.net>
811 reviewed by: plam & keithp
815 Modify config file to use Greek fonts before Asian fonts with
818 2005-10-05 Christian Biesinger <cbiesinger@web.de>
819 reviewed by: plam & keithp
823 Use libtool -no-undefined flag on all platforms.
825 2005-10-05 Patrick Lam <plam@mit.edu>
826 * src/fccache.c (FcCacheHaveBank):
828 Implement move-to-front array for banks (perf regression
829 reported by Ronny V. Vindenes).
831 2005-10-04 Patrick Lam <plam@mit.edu>
832 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
833 FcDirCacheHasCurrentArch):
834 * fc-cache/fc-cache.c (scanDirs):
835 * fontconfig/fontconfig.h:
837 Add new API which unlinks directory caches and checks dir caches
838 for existence of appropriate sections. Fix fc-cache to unlink
839 stale cache files and save directory caches that lack relevant
842 2005-10-03 Patrick Lam <plam@mit.edu>
843 * src/fccache.c (FcDirCacheValid):
845 Ensure that a directory cache has the appropriate section
846 before reporting that it is valid (reported by Matthias Clasen).
848 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
856 Use libxml2 if requested (with --enable-libxml2) or if
857 expat is not available.
859 2005-09-29 Patrick Lam <plam@mit.edu>
860 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
862 Fix multi-arch cache files: compute the position for the
863 block to be added using info from OrigFile, not NewFile.
865 2005-09-28 Patrick Lam <plam@mit.edu>
866 * src/fccache.c (FcCacheMachineSignature):
868 Cast results of sizeof() to unsigned int to get rid of
869 warnings on x86_64 (thanks Matthias Clasen).
871 2005-09-27 Patrick Lam <plam@mit.edu>
872 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
875 Use FcAtomic to rewrite cache files.
877 2005-09-27 Patrick Lam <plam@mit.edu>
879 * src/fccache.c (FcDirCacheWrite):
881 Don't unlink the fonts.cache-2 file even if there's no data
882 to write; just write an empty cache file. (thanks Lubos Lunak)
884 2005-09-27 Patrick Lam <plam@mit.edu>
886 * src/fccache.c (FcDirCacheWrite):
888 Allocate room for the subdirectory names in each
889 directory cache. Thanks to James Cloos for finding
890 and diagnosing this bug!
892 2005-09-22 Patrick Lam <plam@mit.edu>
894 * fc-cache/fc-cache.sgml:
895 * src/fccache.c (FcDirCacheWrite):
896 * src/fccache.h (struct FcCache):
898 Update documentation -- fc-cache's man page now says that you
899 need to run fc-cache once per cached architecture; add some
900 documentation to the FcCache structure.
902 Make fc-cache write out fonts.cache-2 files for directories with
903 no fonts (i.e. only subdirectories).
905 2005-09-22 Patrick Lam <plam@mit.edu>
907 * fc-cache/fc-cache.sgml:
909 * fc-glyphname/fc-glyphname.c:
915 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
920 * fontconfig/fcprivate.h:
921 * fontconfig/fontconfig.h:
935 Implement new mmaped cache for font information.
936 Bump so revision to 2.3.90.
938 2005-07-25 Keith Packard <keithp@keithp.com>
940 * doc/fontconfig-user.sgml:
941 * fc-glyphname/fc-glyphname.c: (scan), (main):
942 * fc-lang/fc-lang.c: (FcConfigHome):
943 * fc-match/fc-match.c: (main):
944 * src/fccfg.c: (FcConfigHome):
945 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
946 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
947 (addtag), (FcFontCapabilities):
948 * src/fcpat.c: (FcValueListEntCreate):
949 * src/fcstr.c: (FcStrCaseWalkerInit):
950 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
952 Various GCC 4 cleanups for signed vs unsigned char
954 Match only [0-9]*.conf files in <include>{directory}</include>
955 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
957 2005-07-15 Carl Worth <cworth@cworth.org>
960 * src/fcinit.c: (FcFini):
961 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
964 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
965 Pull the FcObjectStateName hash table out to file scope, and add
966 FcObjectStaticNameFini so that FcFini will cleanup this hash table
969 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
972 2005-06-16 Patrick Lam <plam@MIT.EDU>
976 * src/fccfg.c: (FcConfigCompareValue):
977 Make FcOpNotContains use FcStrStr for strings so that
978 it matches semantics for !FcOpContains.
980 2005-05-20 Keith Packard <keithp@keithp.com>
984 Move fontconfig source package to libs as per override
986 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
988 reviewed by: Mike Fabian
991 The ka.orth file requires several characters which are not
992 used anymore in modern Georgian and which are missing in the free
993 Georgian TrueType fonts downloadable at:
995 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
997 2005-04-27 Keith Packard <keithp@keithp.com>
1001 Update date to real 2.3.2 release date.
1002 Fix change attributions
1004 2005-04-27 Keith Packard <keithp@keithp.com>
1007 Bump so revision for 2.3.2
1008 * fc-cache/fc-cache.c: (scanDirs):
1009 Fix a few minor leaks in error cases.
1011 2005-04-23 Keith Packard <keithp@keithp.com>
1016 * fontconfig/fontconfig.h:
1017 Update for version 2.3.2
1019 2005-04-21 Keith Packard <keithp@keithp.com>
1021 * debian/fontconfig.postinst:
1022 Don't force bitmap font enable in default
1023 configuration; allows users to override this in
1033 * debian/po/pt_BR.po:
1034 * debian/po/templates.pot:
1036 * debian/po/zh_CN.po:
1037 Updated translations
1039 * fc-cache/fc-cache.c: (main):
1040 Destroy font configuration on exit to help valgrind
1043 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1044 (FcFreeTypeCheckGlyph):
1045 Use own transcoding routines in preference to iconv
1046 which appears to have leaks in some translators.
1047 Call iconv_close after using iconv (oops).
1049 Prefer unicode encoding of Euro char as some
1050 fonts mis-encode Euro in other ones.
1052 Must fetch bitmap glyphs to get width values
1053 to check for monospace/dual-width fonts.
1055 2005-04-13 Ross Burton <ross@burtonini.com>
1058 Check that a pattern isn't already frozen in FcPatternFreeze.
1060 2005-03-31 Ross Burton <ross@burtonini.com>
1065 Run all FcPattern objects through FcObjectStaticName, so that
1066 compares can be done on pointers instead of strings (#2659)
1068 2005-03-17 Tor Lillqvist <tml@novell.com>
1070 * src/fontconfig.def.in: Add the .dll to the dll name.
1072 2005-03-10 Keith Packard <keithp@keithp.com>
1074 * debian/README.Debian:
1075 Update to reflect configuration changes
1077 * debian/fontconfig.postinst:
1078 Fix Autohint vs Autohinter mistake
1079 * debian/fontconfig.templates:
1080 Adopt changes from Josselin Mouette for configuration descriptions
1081 Update debian to version 2.3.1-2
1083 2005-03-08 Keith Packard <keithp@keithp.com>
1087 Update debian for 2.3.1
1089 2005-03-09 Tor Lillqvist <tml@novell.com>
1091 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1094 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1097 2005-03-08 Keith Packard <keithp@keithp.com>
1101 * fontconfig/fontconfig.h:
1104 2005-03-05 Keith Packard <keithp@keithp.com>
1106 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1107 Include space and remove numbers from valid script tags.
1108 This ensures that tags like 'lao ' work while rejecting
1109 those which have any digits.
1110 Eliminate a spurious debugging variable (len)
1112 2005-03-05 Keith Packard <keithp@keithp.com>
1114 * src/fcfreetype.c: (addtag), (GetScriptTags),
1115 (FcFontCapabilities):
1116 Rework GSUB/GPOS script parsing to survive broken fonts.
1117 Thanks for the broken font go to Manish Singh
1119 2005-03-05 Keith Packard <keithp@keithp.com>
1124 * debian/fontconfig.config:
1125 * debian/fontconfig.templates:
1127 Include 2.3 release information in changelog
1128 Add Josselin Mouette as an Uploader
1129 Set hinting_type to low priority configuration option
1132 * debian/fontconfig.postinst:
1133 yes_bitmaps.conf -> yes-bitmaps.conf
1139 2005-03-02 Keith Packard <keithp@keithp.com>
1142 * conf.d/Makefile.am:
1143 * conf.d/autohint.conf:
1144 * conf.d/no-sub-pixel.conf:
1145 * conf.d/sub-pixel.conf:
1146 * conf.d/unhinted.conf:
1147 * debian/autohint.conf:
1148 * debian/fontconfig.install:
1149 * debian/fontconfig.postinst:
1150 * debian/fontconfig.templates:
1151 * debian/no-sub-pixel.conf:
1152 * debian/unhinted.conf:
1153 Move debian-specific conf file examples upstream.
1155 Sub-pixel configuration examples must smash subpixel value
1156 as Xft always sets it from X.
1158 Change sub-pixel rendering debconf descriptions from
1159 Enable/Disable to Always/Never.
1161 2005-03-02 Keith Packard <keithp@keithp.com>
1164 * conf.d/.cvsignore:
1166 Ignore more build detritus
1169 Add debian package construction stuff.
1171 * config/config.guess:
1172 * config/config.sub:
1173 Update to newer versions of these tools
1176 Get library manuals to build again (we love automake).
1178 * debian/README.Debian:
1179 * debian/autohint.conf:
1184 * debian/fontconfig-udeb.install:
1185 * debian/fontconfig.config:
1186 * debian/fontconfig.defoma:
1187 * debian/fontconfig.dirs:
1188 * debian/fontconfig.install:
1189 * debian/fontconfig.postinst:
1190 * debian/fontconfig.postrm:
1191 * debian/fontconfig.templates:
1192 * debian/libfontconfig1-dev.install:
1193 * debian/libfontconfig1.install:
1194 * debian/local.conf.md5sum:
1195 * debian/no-sub-pixel.conf:
1196 * debian/po/POTFILES.in:
1205 * debian/po/pt_BR.po:
1206 * debian/po/templates.pot:
1208 * debian/po/zh_CN.po:
1210 * debian/unhinted.conf:
1211 Update debian build system to switch maintainers and
1212 deal with 2.3 functionality
1214 2005-03-01 Keith Packard <keithp@keithp.com>
1218 * fontconfig/fontconfig.h:
1221 2005-03-01 Keith Packard <keithp@keithp.com>
1224 Generate and install PDF versions of the manuals
1226 * doc/fcpattern.fncs:
1229 * doc/fcstring.fncs:
1230 Add missing exported functions, fix data types
1232 * doc/fontconfig-devel.sgml:
1233 Add missing pattern elements.
1235 * doc/fontconfig-user.sgml:
1236 Add missing pattern elements. Document conf.d usage,
1237 clarify available orthography list. Fix some config file
1238 attributes. Complete list of constants.
1240 * fontconfig/fontconfig.h:
1241 Mark FC_SOURCE deprecated.
1243 * src/fcfreetype.c: (FcFreeTypeQuery):
1244 Don't set FC_SOURCE any longer.
1246 2005-02-28 Keith Packard <keithp@keithp.com>
1249 * conf.d/Makefile.am:
1251 * conf.d/no-bitmaps.conf:
1252 * conf.d/sub-pixel.conf:
1253 * conf.d/yes-bitmaps.conf:
1255 Create prototype /etc/fonts/conf.d directory with a few
1256 sample configuration files.
1257 Deprecate use of local.conf for local customizations in favor of
1258 this directory based scheme which is more easily integrated into
1259 installation systems.
1262 Tag FC_EMBOLDEN as a boolean variable
1264 2005-02-10 Keith Packard <keithp@keithp.com>
1266 reviewed by: pborelli@katamail.com
1268 * src/fcdir.c: (FcFileScanConfig):
1269 Free patterns from fonts which are rejected by configuration
1272 2005-01-28 Keith Packard <keithp@keithp.com>
1276 * fontconfig/fontconfig.h:
1277 Update for version 2.2.99
1279 2005-01-28 Keith Packard <keithp@keithp.com>
1282 Add a few pointers (#2284, #2285)
1284 2005-01-28 Keith Packard <keithp@keithp.com>
1287 * src/fcname.c: (FcNameBool):
1288 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1289 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1290 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1291 Polite typechecking for test and edit expressions. Helps
1292 catch errors in the font configuration. (bug 229)
1294 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1296 reviewed by: Keith Packard <keithp@keithp.com>
1299 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1301 2005-01-13 Keith Packard <keithp@keithp.com>
1303 * doc/fontconfig-user.sgml:
1304 Add SEE ALSO section (bug 2085)
1306 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1308 reviewed by: Keith Packard <keithp@keithp.com>
1313 * fc-case/Makefile.am:
1314 * fc-glyphname/Makefile.am:
1315 * fc-lang/Makefile.am:
1316 * src/fontconfig.def.in:
1317 Cross compiling fixes (bug 280)
1319 2005-01-13 Keith Packard <keithp@keithp.com>
1322 Update blanks list (Closes bug 86)
1324 2005-01-04 Keith Packard <keithp@keithp.com>
1326 * src/fccache.c: (FcCacheFontSetAdd):
1327 Verify that every font pattern loaded from cache has
1328 both FC_FILE and FC_FAMILY entries.
1329 Attempt to fix bug #2219.
1331 2004-12-29 Keith Packard <keithp@keithp.com>
1335 * fontconfig/fontconfig.h:
1336 Update for version 2.2.98
1338 2004-12-29 Keith Packard <keithp@keithp.com>
1340 * fontconfig/fontconfig.h:
1341 Document ASCII limitations of Fc character conversion macros
1342 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1343 Fix off-by-one error in utf-8 case walking code.
1344 Add FcStrDowncase (useful for testing case conversion functions)
1346 2004-12-29 Keith Packard <keithp@keithp.com>
1349 * fc-case/.cvsignore:
1350 clean up CVS ignore lists
1351 * fc-lang/iso-3166.txt:
1352 Add territory database
1354 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1356 Reviewed by: Keith Packard
1359 Remove Han characters from Korean orthography
1361 2004-12-29 Keith Packard <keithp@keithp.com>
1364 Reorder utility programs to make sure fc-case is run before fc-lang
1365 as fc-lang uses fcstr.c which uses fccase.h
1369 2004-12-29 Keith Packard <keithp@keithp.com>
1372 Adopt some RedHat suggestions for standard font configuration.
1376 * fc-case/CaseFolding.txt:
1377 * fc-case/Makefile.am:
1378 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1379 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1380 (dump), (parseRaw), (caseFoldReadRaw), (main):
1381 * fc-case/fccase.tmpl.h:
1382 Add new helper program 'fc-case' to construct case folding
1383 tables from standard Unicode CaseFolding.txt file
1386 * src/fclist.c: (FcListValueHash):
1387 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1388 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1389 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1390 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1391 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1392 Re-implement case insensitive functions with Unicode
1393 aware versions (including full case folding mappings)
1395 2004-12-13 Keith Packard <keithp@keithp.com>
1397 reviewed by: Owen Taylor <otaylor@redhat.com>
1399 * src/fcmatch.c: (FcFontSetSort):
1400 I changed FcFontSetSort to respect the generic aliases better
1401 in the face of language matching.
1403 What I did was to ammend the strict sort order used by FcFontSort so
1404 that it 'satisfies' the language specified in the pattern by locating
1405 the best matching font supporting each pattern language and then
1406 ignores language in the remaining fonts for purposes of matching.
1408 So, when asking for 'sans:lang=en', you'll get an English font first,
1409 and then the remaining fonts sorted with respect to the 'sans' alias
1410 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1412 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1414 reviewed by: Keith Packard <keithp@keithp.com>
1416 * fontconfig/fontconfig.h:
1419 Configuration changes to request synthetic emboldening of
1420 fonts. The actual emboldening code will live in Xft.
1422 2004-12-09 John Thacker <thacker@math.cornell.edu>
1424 reviewed by: Keith Packard <keithp@keithp.com>
1428 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1429 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1430 и), and don't even appear in KOI8-R. (The hypothesis that they
1431 don't appear in KOI8-R due to their similarity with Latin I and i is
1432 eliminated by their presence in KOI8-U.) I have a couple of fonts
1433 with Russian support that don't have the letter.
1435 Therefore, 0406 and 0456 should be removed from or commented out of
1438 2004-12-06 michael meeks <mmeeks@novell.com>
1440 Reviewed by: Keith Packard <keithp@keithp.com>
1442 * src/fcinit.c: (FcMemReport):
1444 * src/fclist.c: (FcObjectSetAdd):
1445 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1446 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1447 * src/fcxml.c: (FcParsePatelt):
1448 memoize strings and share a single copy for all uses. Note that
1449 this could be improved further by using statically allocated blocks
1450 and gluing multiple strings together, but I'm basically lazy.
1451 In my environment with 800 font files, I get a savings of about 90KB.
1453 2004-12-06 Keith Packard <keithp@keithp.com>
1457 * config/Makedefs.in:
1460 * doc/fcatomic.fncs:
1461 * doc/fcblanks.fncs:
1462 * doc/fccharset.fncs:
1463 * doc/fcconfig.fncs:
1464 * doc/fcconstant.fncs:
1466 * doc/fcfontset.fncs:
1467 * doc/fcfreetype.fncs:
1469 * doc/fcmatrix.fncs:
1470 * doc/fcobjectset.fncs:
1471 * doc/fcobjecttype.fncs:
1472 * doc/fcpattern.fncs:
1473 * doc/fcstring.fncs:
1474 * doc/fcstrset.fncs:
1476 * doc/fontconfig-devel.sgml:
1477 * doc/fontconfig-user.sgml:
1479 * doc/version.sgml.in:
1480 * fc-cache/Makefile.am:
1481 * fc-cache/fc-cache.c:
1482 * fc-glyphname/Makefile.am:
1483 * fc-glyphname/fc-glyphname.c:
1484 * fc-glyphname/fcglyphname.tmpl.h:
1485 * fc-lang/Makefile.am:
1495 * fc-lang/az_ir.orth:
1529 * fc-lang/fc-lang.c:
1530 * fc-lang/fc-lang.man:
1531 * fc-lang/fclang.tmpl.h:
1576 * fc-lang/ku_ir.orth:
1609 * fc-lang/ps_af.orth:
1610 * fc-lang/ps_pk.orth:
1639 * fc-lang/ti_er.orth:
1640 * fc-lang/ti_et.orth:
1666 * fc-lang/zh_cn.orth:
1667 * fc-lang/zh_hk.orth:
1668 * fc-lang/zh_mo.orth:
1669 * fc-lang/zh_sg.orth:
1670 * fc-lang/zh_tw.orth:
1672 * fc-list/Makefile.am:
1673 * fc-list/fc-list.c:
1674 * fc-match/Makefile.am:
1675 * fc-match/fc-match.1:
1676 * fc-match/fc-match.c:
1677 * fontconfig/fcfreetype.h:
1678 * fontconfig/fcprivate.h:
1679 * fontconfig/fontconfig.h:
1700 Change files from ISO-Latin-1 to UTF-8
1702 2004-12-04 Keith Packard <keithp@keithp.com>
1705 Update links to new freedesktop.org locations
1707 Add uninstall-local to get rid of fonts.conf and local.conf if they
1708 match the distributed versions. Fixes 'make distcheck'
1710 2004-12-04 Keith Packard <keithp@keithp.com>
1714 * fontconfig/fontconfig.h:
1715 Updates for version 2.2.97
1717 2004-12-04 Owen Taylor <otaylor@redhat.com>
1719 reviewed by: Keith Packard <keithp@keithp.com>
1721 * fc-cache/fc-cache.c: (main):
1722 Sleep for two seconds before exiting to make sure timestamps
1723 for future changes have distinct mod times in the file system.
1726 Add Punjabi orthography. Bug #1671.
1728 2004-12-04 Keith Packard <keithp@keithp.com>
1731 Just remove the FC_FONTDATE -- it has locale issues and
1732 annoys redhat multi-arch installs. Now that all X fonts are
1733 included without prejudice, the chances of the date being at
1734 all interesting are rather limited. Bug #505.
1736 Add copyright and license
1738 2004-12-04 Keith Packard <keithp@keithp.com>
1741 Change default set of fonts to include all of
1742 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1743 * doc/fontconfig-user.sgml:
1744 Document new <include>directory-name</include> semantics
1746 add <include ignore_missing="yes">conf.d</include>
1748 Add selectfont to ignore bitmap fonts, add comment for
1749 selectfont which accepts bitmap fonts.
1752 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1753 Allow <include> configuration elements to reference directories.
1754 Parse and load all files of the form [0-9]* in sorted order.
1756 2004-12-04 Keith Packard <keithp@keithp.com>
1759 Report command line for $srcdir/configure accurately.
1762 2004-12-04 Keith Packard <keithp@keithp.com>
1764 * src/fcfreetype.c: (FcFreeTypeQuery):
1765 Check for non-empty face->family_name and face->style_name
1766 before using those for the font. Empty names match everything.
1769 2004-12-04 Keith Packard <keithp@keithp.com>
1772 * fontconfig/fontconfig.h:
1773 * src/fcfreetype.c: (FcFreeTypeQuery):
1775 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1776 available. This provides font file format information (BDF, Type 1,
1777 PCF, TrueType) for each font. Closes #109.
1779 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1781 reviewed by: Keith Packard <keithp@keithp.com>
1783 * doc/fontconfig-user.sgml:
1786 * fontconfig/fontconfig.h:
1787 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1788 (GetScriptTags), (FcFontCapabilities):
1790 Add detection for font capabilities (bug #105)
1792 2004-12-04 Keith Packard <keithp@keithp.com>
1795 Move existing fonts.conf to fonts.conf.bak
1798 Add detection of iconv
1800 * doc/fcpattern.fncs:
1801 * doc/fontconfig-devel.sgml:
1802 * doc/fontconfig-user.sgml:
1804 Document new selectfont elements
1807 Switch to UTF-8 in comment
1809 * fontconfig/fontconfig.h:
1811 Add fullname, and family/style/fullname language entries
1813 * src/fccache.c: (FcCacheFontSetAdd):
1814 * src/fcdir.c: (FcFileScanConfig):
1815 Respect selectfont/*/glob
1818 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1819 (FcConfigCompareValue), (FcConfigPatternsAdd),
1820 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1821 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1822 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1823 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1824 Add support for selectfont
1826 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1827 (FcStringInPatternElement), (FcFreeTypeQuery):
1828 Add multi-lingual family/style/fullname support
1830 * src/fclist.c: (FcListPatternMatchAny):
1831 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1833 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1834 (FcObjectStaticName):
1835 Add new FcPatternRemove/FcPatternAppend.
1836 FcObjectStaticName stores computed pattern element names which
1837 are required to be static.
1839 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1844 Remove spurious / after $(DESTDIR)
1846 2004-06-30 Keith Packard <keithp@keithp.com>
1850 * fontconfig/fontconfig.h:
1853 2004-06-30 Keith Packard <keithp@keithp.com>
1855 Provided by: Lubos Lunak <l.lunak@suse.cz>
1857 * src/fccfg.c: (FcConfigUptoDate):
1858 However FcConfigUptoDate() doesn't seem to work. See the attached
1859 patch. First there's an obvious misplaced parenthesis making it
1860 return always false, and second, even this call fails to detect font
1861 changes (e.g. adding a new font to
1862 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1863 well. The problem seems to be triggered by my fonts.conf specifying
1864 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1865 doesn't include subdirs, unlike config->fontDirs.
1867 2004-06-03 Keith Packard <keithp@keithp.com>
1869 * fontconfig/fontconfig.h:
1870 Remove comma at end of FcResult enum definition.
1872 2004-05-29 Keith Packard <keithp@keithp.com>
1875 Add steps to md5sum release
1877 2004-05-29 Keith Packard <keithp@keithp.com>
1881 * fontconfig/fontconfig.h:
1884 2004-05-29 Keith Packard <keithp@keithp.com>
1886 * fontconfig/fontconfig.h:
1887 * src/fcmatch.c: (FcFontSetMatch):
1888 Add FcResultOutOfMemory to provide an accurate error when
1889 FcFontSetMatch fails in this way
1892 Make #warning about lacking various FreeType features indicate
1893 which version those features appeared so users know how to
1894 fix the problem (Thanks to Anton Tropashko)
1896 2004-05-05 Keith Packard <keithp@keithp.com>
1898 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1899 Replace MIN/MAX/ABS macros which happen to have come
1900 from FreeType with fontconfig-specific ones (FC_*)
1902 2004-04-23 Keith Packard <keithp@keithp.com>
1905 Extend release preparation instructions to include
1906 notification and distribution steps
1908 2004-04-23 Keith Packard <keithp@keithp.com>
1912 * fontconfig/fontconfig.h:
1913 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1915 2004-04-23 Keith Packard <keithp@keithp.com>
1918 Ignore a few more autotool files
1920 2004-04-14 Keith Packard <keithp@keithp.com>
1923 Add instructions for doing a release
1925 * fontconfig.spec.in:
1926 clean up .spec file; perhaps this will be useful to somebody...
1930 * fontconfig/fontconfig.h:
1933 * fc-lang/fc-lang.c:
1934 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1936 * fc-glyphname/Makefile.am:
1937 * fc-lang/Makefile.am:
1938 * fc-list/Makefile.am:
1939 * fc-match/Makefile.am:
1941 Add WARN_CFLAGS to pass -W flags for GCC systems
1943 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1944 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1945 Change various char types around to match across
1947 Fixed bug in using available_sizes[i].height which
1948 is in pixels, not 64ths of a pixel.
1950 2004-03-06 Keith Packard <keithp@keithp.com>
1952 * src/fcfreetype.c: (FcFreeTypeQuery):
1953 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1954 matches looking for explicit values prefer exact matches
1956 2004-03-02 Keith Packard <keithp@keithp.com>
1958 Supplied by: mfabian@suse.de (Mike FABIAN)
1960 * src/fcfreetype.c: (FcFreeTypeQuery):
1961 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1962 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1964 2004-02-21 Manish Singh <yosh@gimp.org>
1966 * fc-glyphname/fc-glyphname.c: (main):
1967 Cast strlen to int for printf, so we're 64-bit clean.
1969 2004-02-11 Keith Packard <keithp@keithp.com>
1972 * src/fcfreetype.c: (FcGetPixelSize):
1973 Ok, so I messed up the test for y_ppem. Let's see if I
1974 got it right this time.
1976 2004-02-10 Keith Packard <keithp@keithp.com>
1979 * src/fcfreetype.c: (FcGetPixelSize):
1980 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1981 FT_Bitmap_Size record. Add a configure.in test for this
1982 and change the code accordingly (using height instead).
1984 2004-02-06 Keith Packard <keithp@keithp.com>
1987 Add Low Saxon orthography
1988 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1990 * src/fccfg.c: (FcConfigNewestFile):
1991 Oops. Left 'newest.set' unset, which would miscompute
1994 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1995 (FcFreeTypeCheckGlyph):
1996 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1997 font properties (which report the wrong value in current FreeType)
1999 Don't attempt to check for empty glyphs in non-scalable fonts; they
2002 2004-02-01 Tor Lillqvist <tml@iki.fi>
2004 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2005 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2006 cache if config->cache is NULL, which happens if FcConfigHome() is
2007 NULL. Guard against that by using the temp folder in that case.
2009 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2011 * fc-lang/az_ir.orth:
2012 * fc-lang/ku_ir.orth:
2013 * fc-lang/ps_af.orth:
2014 * fc-lang/ps_pk.orth:
2015 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2016 (Afghan and Pakistani).
2018 Updated Urdu orthography with real data.
2020 2003-12-11 Carl Worth <cworth@east.isi.edu>
2022 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2025 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2027 (all-local): Remove excessive whitespace.
2029 * autogen.sh: Add 'set -e' to abort when any program fails,
2030 (avoids printing of 'now type make' after configure aborts).
2032 2003-11-17 Eric Christopherson <rakko@charter.net>
2034 reviewed by: Keith Packard <keithp@keithp.com>
2037 * fontconfig/fcfreetype.h:
2039 Switch to FreeType 2.1.7 style includes. Bug #150.
2041 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2043 * fc-list/fc-list.sgml: Add some example usages.
2045 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2048 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2051 2003-10-27 Keith Packard <keith@keithp.com>
2054 * fontconfig/fontconfig.h:
2055 Update to version 2.2.92
2057 2003-10-27 Keith Packard <keithp@keithp.com>
2062 * fc-cache/Makefile.am:
2063 * fc-glyphname/Makefile.am:
2064 * fc-lang/Makefile.am:
2065 * fc-list/Makefile.am:
2066 * fc-match/Makefile.am:
2069 Yet more cleanups to finish getting 'make distcheck' working
2070 This has been tested to ensure that it even works from a _build
2073 2003-10-26 Keith Packard <keithp@keithp.com>
2077 * fc-cache/Makefile.am:
2078 * fc-glyphname/Makefile.am:
2079 * fc-lang/Makefile.am:
2080 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2081 * fc-list/Makefile.am:
2082 * fc-match/Makefile.am:
2083 Attempts to fix 'make distcheck' work. Things are
2084 progressing pretty well, but there are still failures
2085 long into the process dealing with docs (as always).
2087 The big changes here are mostly to make $(srcdir) != "."
2088 work correctly, fixing the docbook related sections and
2089 fc-lang were particularily tricky. Docbook refuses to load
2090 system entities from anywhere other than where the original .sgml
2091 file was located, so no luck looking in "." for the
2092 configure-generated version.sgml and confdir.sgml files.
2094 fc-lang needed help finding .orth files; added a -d option
2095 to set the directory as the least evil of many options.
2097 Now to go use a faster machine and try and wring out the last
2100 2003-10-26 Keith Packard <keithp@keithp.com>
2104 2003-10-26 Keith Packard <keithp@keithp.com>
2107 Include confdir.sgml.in in EXTRA_DIST
2109 2003-10-09 Josselin Mouette <joss@debian.org>
2111 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2112 * fc-list/fc-list.sgml fc-list/Makefile.am:
2113 Replace fc-cache and fc-list manpages with more detailed, SGML
2116 2003-09-23 Owen Taylor <otaylor@redhat.com>
2118 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2119 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2120 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2123 2003-09-23 Owen Taylor <otaylor@redhat.com>
2125 * fc-lang/ka.orth: Remove Georgian capitals, they
2126 aren't used for normal writing. (Bug #116)
2128 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2130 * doc/fontconfig-devel.sgml:
2131 * doc/fontconfig-user.sgml:
2132 * fontconfig/fontconfig.h:
2134 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2135 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2137 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2138 monospace and dual-width fonts, allow roughly a 3% variance in the
2141 2003-08-31 Manish Singh <yosh@gimp.org>
2143 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2146 2003-08-15 Carl Worth <cworth@isi.edu>
2148 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2149 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2151 * src/fcpat.c (FcValueListEntDestroy): New function to support
2152 FcFini memory cleanup. Some statistics are not kept in
2154 (FcValueListFreeze): Move hashTable outside this function so it
2155 can be accessed by FcValueListThawAll.
2156 (FcValueListThawAll): New function complements FcValueListFreeze.
2157 (FcPatternBaseFreeze): Move hashTable outside this function so it
2158 can be accessed by FcPatternBaseThawAll.
2159 (FcPatternBaseThawAll): New function complements
2160 FcPatternBaseFreeze.
2161 (FcPatternThawAll): New function complements FcPatternFreeze.
2163 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2165 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2166 allocated FcCharLeafEnt "blocks" so they can be freed later.
2167 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2168 can be accessed by FcCharSetThawAllLeaf.
2169 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2170 (FcCharSetFreezeBase): Move hashTable outside this function so it
2171 can be accessed by FcCharSetThawAll.
2172 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2174 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2175 (FcConfigDestroy): Fic leak of FcBlanks.
2177 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2178 (main): Add call to FcFini when finished.
2180 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2181 static. Add prototypes.
2183 * doc/fcinit.fncs: Add documentation for FcFini function.
2185 * doc/edit-sgml.c: Mark several local functions as static. Add
2188 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2190 2003-06-15 Tor Lillqvist <tml@iki.fi>
2192 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2193 before comparing (needed on Windows).
2195 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2197 2003-06-13 Tor Lillqvist <tml@iki.fi>
2199 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2202 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2203 WINDOWSFONTDIR token.
2205 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2206 end, not to confuse libtool, which expects the EXPORTS line to be
2207 the first. Add FcConfigEnableHome.
2209 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2210 built as a DLL on Win32.
2212 2003-06-09 Keith Packard <keithp@keithp.com>
2214 * Tag version 2.2.90
2216 2003-06-09 Keith Packard <keithp@keithp.com>
2218 * Optimization in FcLangSetIndex was broken, occasionally
2219 returning a pointer to the wrong location on miss
2221 * Add fc-match to test font matching from the command line.
2223 2003-05-31 Keith Packard <keithp@keithp.com>
2225 * (Bug 85) add support for culmus fonts
2226 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2227 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2229 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2231 * Fix "contains" op for strings and langsets.
2233 2003-05-17 Keith Packard <keithp@keithp.com>
2235 * Fix build error with BDF prop local. Free langset after query
2237 2003-05-14 Keith Packard <keithp@keithp.com>
2239 * Extract spacing from XLFD atom
2241 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2243 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2244 disappeared in 1.30.
2246 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2248 2003-05-12 Keith Packard <keithp@keithp.com>
2250 * Use FcIsWidth to share code
2252 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2253 misclassifying some Han fonts as monospaced.
2255 2003-05-07 Keith Packard <keithp@keithp.com>
2257 * Add filename-based accept/reject to ammend available fonts.
2259 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2260 older FreeType releases.
2262 2003-05-06 Keith Packard <keithp@keithp.com>
2264 * Remove 0b82 and Tamil numbers from tamil
2265 orthography (Jungshik Shin <jshin@mailaps.org>)
2267 2003-05-04 Keith Packard <keithp@keithp.com>
2269 + Map glyph names in fonts with adobe custom encoding to unicode
2271 2003-05-02 Keith Packard <keithp@keithp.com>
2273 * Add FC_WEIGHT_BOOK as weight 75
2275 2003-04-30 Keith Packard <keithp@keithp.com>
2277 * Typo in bitstream foundry name
2279 2003-04-24 Keith Packard <keithp@keithp.com>
2281 * Eliminate italic_angle check for PS fonts
2283 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2285 * Getting closer to fixing /etc/fonts hard-coding.
2287 2003-04-22 Keith Packard <keithp@keithp.com>
2289 * Update autogen.sh to work with newer automake versions
2290 * Handle pattern elements moving during multiple edits
2292 2003-04-23 James Henstridge <james@daa.com.au>
2294 * doc/fontconfig-devel.sgml: close the <para> element.
2296 * doc/fcpattern.fncs: close the <para> element.
2298 * doc/func.sgml: close the <refsynopsisdiv> element.
2300 2003-04-22 Keith Packard <keithp@keithp.com
2302 * Update autogen.sh to work with newer automake versions
2303 * Handle pattern elements moving during multiple edits
2305 2003-04-17 Colin Walters <walters@debian.org>
2307 + Remove some unused variables, and initialize some other ones so
2308 gcc doesn't warn us.
2310 2003-04-16 Keith Packard <keithp@keithp.com>
2312 + tag version 2.1.94
2314 2003-04-16 Keith Packard <keithp@keithp.com>
2316 + add BDF property fetching support for foundry
2317 (from Juliusz Chroboczek)
2318 + add BDF property fetching support for width
2320 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2322 + Implemented foundry generation for Type 1 and TrueType
2324 2003-04-11 Gerard Escalante <g2@magestudios.net>
2326 + Retrieve information from Type1 FontInfo dictionaries
2328 2003-04-07 Colin Walters <walters@verbum.org>
2330 + src/Makefile.am: Fix dummy makefile target names when
2331 MS_LIB_AVAILABLE isn't set.
2333 2003-03-22 Tor Lillqvist <tml@iki.fi>
2335 Changes for Windows:
2337 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2339 + We don't want to hardcode the fonts.conf file location in the
2340 DLL, so we look up the DLL location at run-time in a DllMain()
2341 function. The fonts.conf location is deduced from that.
2343 + The colon can't be used as path separator on Windows,
2344 semicolon is used instead. File path components can be separated
2345 with either slash or backslash. Absolute paths can also begin
2346 with a drive letter.
2348 + Add internal function FcStrLastSlash that strrchr's the last
2349 slash, or backslash on Windows.
2351 + There is no link() on Windows. For atomicity checks, mkdir a
2352 lock directory instead.
2354 + In addition to HOME, also look for USERPROFILE.
2356 + Recognize the special font directory token WINDOWSFONTDIR, to
2357 use the system's font directory.
2359 + Remove the fontconfig-def.cpp that was obsolete. Add
2360 fontconfig.def(.in), without internal functions.
2362 + Add a fontconfig-zip(.in) script, used to build a binary
2365 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2366 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2367 to main package and man3/* to devel package
2369 + Added missing defattr(-, root, root) to main RPM package
2371 + Added HTML and text development documentation to -devel subpackage
2373 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2374 + Added back the configure macro options --disable-docs, otherwise
2375 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2376 version number) unconditionally, causing RPM to fail the build due
2377 to _unpackaged_files_terminate_build. We pick up the pregenerated
2378 docs with %doc already.
2380 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2381 + Removed commented out rpm macro define at top of spec file,
2382 replacing it with a simple explanation, since rpm macros are
2383 expanded by rpm even in comments.
2385 + Changed /usr/bin to _bindir in BuildRequires lines
2387 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2389 + Reorganized file manifest lists
2391 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2393 + fontconfig.spec.in: Improvements from Red Hat spec file.
2395 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2397 + docs/*.sgml: SGML fixes.
2399 Sat Mar 1 17:28:53 PST 2003 keithp
2400 + Ok, so the ChangeLog is a bit out of date
2402 + Lots of bugs fixed; most are in bugzilla, the
2403 biggest problems were in cache management where
2404 Owen discovered the library would lose badly when
2405 combining fonts-cache and ~/.fonts-cache data
2407 + Converted from autoconf to automake. This after
2408 getting patches accepted into libtool to allow
2409 the '-version-number' argument which lets
2410 packages set version numbers explicitly rather
2411 than the roundabout libtool way
2413 + Converted documentation to SGML using the docbook
2414 DTD. Now .txt and .html documents are installed
2415 in /usr/share/doc/fontconfig and there's no
2416 man page. Perhaps a man version can be written
2419 Sat Aug 31 15:21:22 PDT 2002 keithp
2420 + Xrender and Xft had several bugs related to
2421 rendering manually placed or poly-face text
2423 + Added more complete memory tracing in fontconfig
2424 Checked with (patched) mozilla and found no leaks
2426 + Updated Latin orthographies by comparing those from
2427 evertype.com with those from eki.ee. Tried to make
2428 sensible choices, including chars that occured in both
2429 and leaving some optional chars out that occured only
2432 Mon Aug 26 16:33:04 PDT 2002 keithp
2433 + Owen discovered that FcLangSetHasLang wasn't actually
2434 checking the language set.
2436 Mon Aug 26 13:37:23 PDT 2002 keithp
2437 + Append a version number to cache filenames
2439 Thu Aug 22 11:36:18 PDT 2002 keithp
2441 + Add "contains" and "not_contains" operators and elements to
2444 + Changed semantics of eq operator for LangSets to check for
2445 FcLangEqual so that any match will do
2447 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2448 of FcValueEqual to check for identical values when inserting into
2449 the results. This broke when the above semantic change was made,
2450 now it uses FcValueEqual which is "more correct" in any case.
2452 Thu Aug 22 00:32:29 PDT 2002 keithp
2454 + Reimplement FC_LANG as new datatype. Lists of strings
2455 was consuming over a megabyte of memory for 401 fonts.
2457 + Freeze patterns loaded from cache files. This shares
2458 common value lists and common patterns which saves
2459 considerable memory.
2461 + Change the denotation of 'constant' charsets to use special
2462 ref value instead of separate boolean.
2464 + Clean up leak tracing stuff, found several unannoted alloc/free
2467 Tue Aug 20 16:17:37 PDT 2002 keithp
2469 + Fix memory leak when parsing matrices from XML
2471 Mon Aug 19 11:57:27 PDT 2002 keithp
2473 + Fix autoconf files to pass FONTCONFIG_PATH on
2474 compile line so that ${prefix} gets substituted
2477 + Use getc_unlocked/putc_unlocked on systems that
2478 provide them to avoid damage done to stdio by posix
2480 + Eliminate FC_PATTERN and FcTypePattern in favor of
2481 an extended api for FcConfigSubstitute which takes
2482 both the font and the pattern.
2484 + Add 'sans serif' alias for 'sans-serif' as some apps
2485 can't handle hyphens in family names
2487 + Eliminate pretense of support for libxml2
2489 + Comment origins of Han orthographies
2491 Tue Jul 30 18:37:09 PDT 2002 keithp
2493 + Add binding property to edit element so that strong
2494 binding values may be inserted by the config file.
2495 The default remains weak.
2497 Sun 28 Jul 04:16:55 PDT 2002 keithp
2499 + Tagged release candidate 1 in the CVS tree and
2500 placed fcpackage.rc1.tar.gz for distribution
2502 Thu Aug 1 08:55:08 PDT 2002 keithp
2504 + Fixed autoconf builds to always specify install
2505 target files (for BSD). Also fixed to
2506 define FONTCONFIG_PATH in config.h so that
2507 nonstandard installs will actually work.