1 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
5 * fc-cache/Makefile.am:
9 Make 'make distcheck' work with automake 1.6.3.
11 2006-02-03 Takashi IWAI <tiwai@suse.de>
14 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
17 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
18 FcDirCacheConsume, FcDirCacheWrite)
19 * src/fcxml.c (FcConfigMessage):
21 Check I/O call return values and eliminate unused variable
24 2006-02-03 Takashi Iwai <tiwai@suse.de>
27 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
31 2006-02-03 Dirk Mueller <dmueller@suse.de>
34 * src/fcfs.c (FcFontSetUnserialize):
36 Gracefully handle the case where a cache asserts that it
37 has a negative number of fonts, causing overflow.
39 2006-02-03 Patrick Lam <plam@mit.edu>
40 * src/fccache.c (FcDirCacheUnlink):
42 Fix double free in error case.
44 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
45 Stephan Kulow <coolo@suse.de>
48 * fc-cache/Makefile.am:
50 Replace 'stamp' target with mkinstalldirs.
52 2006-01-31 Mike Fabian <mfabian@suse.de>
55 * src/fccache.c (FcGlobalCacheLoad):
57 Toast broken global cache files.
59 2006-01-30 Patrick Lam <plam@mit.edu>
60 * src/fccache.c (FcGlobalCacheReadDir):
62 Actually use the directories that I added to the global cache.
65 2006-01-30 Mike Fabian <mfabian@suse.de>
68 * fc-cache/fc-cache.c (scanDirs):
70 Don't stop scanning if a directory in fonts.conf doesn't
71 exist, because subsequent directories might exist.
73 2006-01-30 Patrick Lam <plam@mit.edu>
74 * src/fccache.c (FcGlobalCacheLoad):
76 Make global cache work again after putting dir names into global
77 cache (I misplaced the recording of a file offset).
79 2006-01-30 Patrick Lam <plam@mit.edu>
80 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
82 Update fc-cat to handle subdir lists in global cache file.
84 * src/fccache.c (FcGlobalCacheLoad):
86 Another FcCacheReadString return value check.
88 2006-01-30 Mike Fabian <mfabian@suse.de>
91 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
92 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
94 Make fccache more resilient to broken cache files by checking
95 return value of FcCacheReadString all the time.
97 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
100 * fc-match/fc-match.1:
101 * fc-lang/fc-lang.man:
103 Remove references to dead fontconfig(3) manpages in
104 other fontconfig manpages.
106 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
109 * doc/fcpattern.fncs:
111 Fix world's tiniest typo in code example.
113 2006-01-29 Mike Fabian <mfabian@suse.de>
116 * src/fccache.c (FcGlobalCacheReadDir):
118 Fix global cache reads of subdirectories.
120 2006-01-29 Patrick Lam <plam@mit.edu>
122 Add documentation for FcConfigNormalizeFontDir.
124 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
125 FcGlobalCacheUpdate, FcGlobalCacheSave):
126 * src/fcdir.c (FcDirScanConfig):
129 Write directory information to global caches to fix make check
130 (reported by Ronny V. Vindenes). This changes the global cache
133 2006-01-27 Patrick Lam <plam@mit.edu>
134 * fc-cache/fc-cache.c (scanDirs):
135 * fontconfig/fontconfig.h:
137 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
139 Move FcConfigNormalizeFontDir call so that it doesn't result in
140 infinite recursion (reported by Ronny V. Vindenes).
142 2006-01-26 Patrick Lam <plam@mit.edu>
143 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
144 * src/fccfg.c (FcConfigNormalizeFontDir):
146 Add a couple of missing normalizations to make fc-cache work
147 right; only scan subdirectories once.
149 2006-01-26 Mike Fabian <mfabian@suse.de>
152 * src/fcacache.c (FcGlobalCacheReadDir):
154 Don't crash on non-existant directories in global cache.
156 2006-01-26 Patirck Lam <plam@mit.edu>
157 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
158 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
159 * src/fcdir.c (FcDirScanConfig):
160 * src/fcxml.c (FcEndElement):
162 Stop trampling the directory name when writing out caches.
163 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
164 subdirs when necessary. Don't scan directories that can't be
167 2006-01-25 Patrick Lam <plam@mit.edu>
168 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
169 * src/fccfg.c (FcConfigEvaluate):
170 * src/fcfreetype.c (FcPatternAddWithBinding):
172 Fix additional memory leaks reported by Ronny V. Vindenes: don't
173 invoke FcValueSave on hashed static strings in
174 FcPatternAddWithBinding.
176 Add another st_dev check in FcDirCacheOpen.
178 2006-01-24 James Su <james.su@gmail.com>
181 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
182 * fc-lang/zh_hk.orth:
184 Treat zh-hk fonts differently from zh-tw fonts. This patch may
185 cause fontconfig to treat A-X fonts differently from A-Y fonts;
186 please mail the fontconfig list if this causes any problems.
188 2006-01-24 Patrick Lam <plam@mit.edu>
189 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
190 * src/fcfreetype.c (FcFreeTypeQuery):
192 Fix memory leaks reported by Ronny V. Vindenes.
194 2006-01-19 Andreas Schwab <schwab@suse.de>
197 * src/fcpat.c (FcStrNeededBytes):
199 Fix for unaligned memory accesses.
201 2006-01-18 Mike Fabian <mfabian@suse.de>
204 * src/fcdir.c (FcDirScanConfig):
206 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
207 calls to avoid crashes.
209 2006-01-14 Patrick Lam <plam@mit.edu>
210 * src/fccache.c (FcDirCacheConsume):
212 Fix segfault when consuming zero-length caches in fc-cat
213 (which has no config, so FcConfigAddFontDir shouldn't be called.)
215 2006-01-14 Patrick Lam <plam@mit.edu>
216 * fc-cache/fc-cache.c (scanDirs):
217 * fontconfig/fontconfig.h:
218 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
219 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
220 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
221 * src/fcdir.c (FcDirScanConfig):
224 Compare device numbers as well as inodes.
225 Always normalize directory names before comparing them.
227 2006-01-11 Mike Fabian <mfabian@suse.de>
230 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
232 Allocate extra space for appended '/' in directory name.
234 2006-01-10 Patrick Lam <plam@mit.edu>
235 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
236 FcDirCacheValid, FcDirCacheHasCurrentArch,
237 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
238 * fc-cache/fc-cache.c (main):
240 Explicitly add font dirs to config.fontDirs even if they're empty.
241 Set current config in fc-cache.c.
242 Fix treatment of cache directory as read from cache file; don't
243 use string equality to determine if we have the right file,
246 2006-01-09 Patrick Lam <plam@mit.edu>
247 * fc-cache/fc-cache.c (scanDirs):
248 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
249 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
250 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
251 * src/fccfg.c (FcConfigNormalizeFontDir):
252 * src/fcdir.c (FcDirScanConfig):
255 Normalize font dirs by using the form, as given in fonts.conf, and
256 recorded in FcConfig's fontDirs string set, as canonical.
258 Actually update config.fontDirs as font directories are scanned.
260 2006-01-08 James Su <james.su@gmail.com>
261 * src/fcmatch.c (FcFontSetMatch):
263 Fix matching bug when multiple elements match; don't use
264 the sum of all scores, but the best score.
266 Also more perf opts, e.g. evaluate best over all font sets
267 rather than on a per-set basis (and other changes).
269 2006-01-08 Patrick Lam <plam@mit.edu>
270 * src/fccache.c (FcDirCacheConsume):
272 Properly skip past dir caches that contain zero fonts (as occurs
273 in global caches.) Reported by Mike Fabian.
275 2006-01-06 Patrick Lam <plam@mit.edu>
276 * src/fcdbg.c (FcPatternPrint):
278 Print out full pathname in fc-match -v as well. Reported by
281 2006-01-06 Mike Fabian <mfabian@suse.de>
284 * src/fcname.c (FcNameParse):
286 Fix bug where fc-match crashes when given __DUMMY__ property to
289 (I added the __DUMMY__ string to enable callers of
290 FcObjectToPtrLookup to distinguish an error return from a
291 successful return. -PL)
293 2006-01-05 Patrick Lam <plam@mit.edu>
296 Add self to AUTHORS list.
298 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
299 FcCacheFileRead, FcCachePrintSet, main):
300 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
301 FcGlobalCacheSave, FcCacheNextOffset,
302 FcDirCacheHasCurrentArch, FcDirCacheRead,
303 FcDirCacheConsume, FcDirCacheWrite):
305 * src/fcpat.c (comment):
307 Minor change to global cache file format to fix fc-cat bug
308 reported by Frederic Crozat, and buglet with not globally caching
309 directories with zero fonts cached.
311 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
314 * src/fccfg.c (FcConfigEvaluate):
316 Fix double-free which occurs because FcValueCanonicalize doesn't
317 create an extra copy of the returned value, it only canonicalizes
320 2006-01-02 Patrick Lam <plam@mit.edu>
321 * doc/fontconfig-user.sgml:
323 Fix version of .cache file (currently 1 -> currently 2). Reported
326 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
329 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
331 Shut up GCC warnings on amd.
333 2005-12-20 Patrick Lam <plam@mit.edu>
337 * fontconfig/fontconfig.h:
339 Bump version to 2.3.93.
341 2005-12-20 Patrick Lam <plam@mit.edu>
342 * src/fccharset.c (FcLangCharSetPopulate):
343 * src/fcint.h (FcCacheBankToIndex):
345 Avoid check on _fcBankId nullness and fix case where it used to
348 2005-12-20 Patrick Lam <plam@mit.edu>
349 * src/fcxml.c (FcConfigParseAndLoad):
351 Use open instead of fopen (requested by Phil Race for Sun).
353 2005-12-20 Patrick Lam <plam@mit.edu>
354 * src/fccache.c (FcDirCacheWrite);
355 * fc-cache/Makefile.am:
357 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
360 2005-12-20 Patrick Lam <plam@mit.edu>
361 * src/fcfreetype.c (FcFreeTypeQuery):
363 Restore code to skip over PCF fonts that have no encoded
365 (We guess that a font is PCF by presence of the PIXEL_SIZE
368 2005-12-12 Patrick Lam <plam@mit.edu>
369 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
371 Read and write the original location as a fallback for the
372 hashed cache file locations. This is mostly for users to be
373 able to have per-directory cache files.
375 2005-12-12 Patrick Lam <plam@mit.edu>
376 * fc-cache/fc-cache.c (scanDirs):
377 * fc-cache/Makefile.am:
378 * src/fccache.c (FcDirCacheHashName):
380 Improve error message when fc-cache can't write the cache. Add
381 missing slash. Reported by Behdad. Incorporate Behdad's patch to
382 create /var/cache/fontconfig when appropriate.
384 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
387 * src/fcxml.c (FcConfigGetAttribute):
389 Fix crash reported by Frederic Crozat when using libxml2.
391 2005-12-09 Patrick Lam <plam@mit.edu>
394 * fc-cache/Makefile.am:
395 * fc-cat/Makefile.am:
397 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
398 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
399 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
400 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
401 FcDirCacheHasCurrentArch, FcDirCacheHashName,
402 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
404 Migrate cache files from fonts directories to
405 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
406 but requires that all caches get rebuilt.
408 Also, autogen.sh now needs the additional parameter
409 --localstatedir=/var.
411 2005-12-07 Patrick Lam <plam@mit.edu>
412 * src/fcpat.c (FcPatternAddString):
414 Because we've changed FcPatternAddString to use FcStrStaticName
415 and not FcValueSave, explicitly handle the case of a null string.
417 2005-12-06 Patrick Lam <plam@mit.edu>
418 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
422 2005-12-05 Patrick Lam <plam@mit.edu>
423 * src/fcname.c (FcNameGetObjectType):
425 Don't assign types to user object names.
427 2005-12-05 Patrick Lam <plam@mit.edu>
428 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
430 Don't free strings that have been returned from FcStrStaticName.
432 2005-12-01 Patrick Lam <plam@mit.edu>
433 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
435 Add codepath for reading global cache files as well.
437 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
440 * conf.d/10-fonts.persian.conf:
441 * conf.d/Makefile.am:
443 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
445 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
448 * src/fcxml.c (FcConfigParseAndLoad):
450 Only add a config file to the set of config files once.
452 2005-11-29 Patrick Lam <plam@mit.edu>
453 * src/fcint.h (FcCacheBankToIndex);
455 Fix segfault by guarding array dereference.
457 2005-11-29 Dirk Mueller <dmueller@suse.de>
461 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
462 FcCacheBankToIndex, FcCacheBankToIndexMTF,
466 Refactor FcCacheBankToIndex into an inlineable part
467 (in fcint.h) which checks the front of the list and a
468 non-inlineable part which finds and moves the appropriate element
469 to the front of the list.
471 2005-11-29 Patrick Lam <plam@mit.edu>
472 * src/fccfg.c (FcConfigBuildFonts):
473 * src/fccache.c (FcCacheReadDirs):
475 Make the perf guys hate me a bit less: hoist the directory-name
476 FcConfigAcceptFont check for cached fonts up to directory cache
477 read time, rather than running it for each font.
479 2005-11-29 Patrick Lam <plam@mit.edu>
480 * src/fccfg.c (FcConfigBuildFonts):
482 * src/fcpat.c (FcPatternFindFullFname):
484 Don't make FcPatternFindFullFname available to fccfg, it's not
485 really safe. Instead go through FcPatternGetString (sorry,
486 perf guys.) Also, use globs for dirs as well.
488 2005-11-28 Patrick Lam <plam@mit.edu>
489 * src/fccfg.c (FcConfigBuildFonts):
493 2005-11-28 Patrick Lam <plam@mit.edu>
495 * src/fcpat.c (FcPatternFindFullFname):
496 * src/fccfg.c (FcConfigBuildFonts):
498 Fix problem dating back at least to 2.3.2 where globs weren't
499 being applied to patterns loaded from a cache.
501 2005-11-28 Patrick Lam <plam@mit.edu>
502 * doc/fontconfig-user.sgml:
504 Fix some obvious spelling mistakes.
506 2005-11-28 Dirk Mueller <dmueller@suse.com>
507 Stephan Kulow <coolo@suse.de>
510 * src/fcmatch.c (FcFontSetMatch):
512 Don't kill all fonts during match (oops!)
515 2005-11-25 Dirk Mueller <dmueller@suse.com>
516 Stephan Kulow <coolo@suse.de>
517 Michael Matz <matz@suse.de>
520 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
523 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
524 inline FcCompare into FcFontSetMatch and reorder the
525 loops, adding a boolean array which blocks patterns from future
526 consideration if they're known to not be best on some past
529 2005-11-26 Dirk Mueller <dmueller@suse.com>
532 * src/fcmatch.c (FcCompareValueList):
536 2005-11-25 Patrick Lam <plam@mit.edu>
537 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
539 Don't do random matching when bad objects are passed into
542 2005-11-25 Patrick Lam <plam@mit.edu>
544 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
545 FcPatternSerialize, FcPatternUnserialize,
546 FcValueListEnsureBank, FcValueListDistributeBytes,
547 FcValueListUnserialize):
549 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
550 _fcPatternElts, _fcValueLists for consistency.
552 2005-11-25 Dirk Mueller <dmueller@suse.com>
557 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
559 2005-11-25 Patrick Lam <plam@mit.edu>
561 * src/fccache.c (FcDirCacheConsume):
562 * src/fccharset.c (FcCharSetUnserialize):
563 * src/fcfs.c (FcFontSetUnserialize):
564 * src/fclang.c (FcLangSetUnserialize):
565 * src/fcname.c (FcObjectUnserialize):
566 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
567 FcPatternUnserialize):
569 Pass around FcCache *s to the Unserialize functions for extra
570 consistency (and less overhead, for what that's worth).
572 2005-11-24 Dirk Mueller <dmueller@suse.com>
576 * src/fcmatch.c (FcCompare*, FcFontSetSort):
577 * src/fcname.c (FcNameUnparseValue):
579 Inline the *PtrU functions to gain perf.
580 Remove unneeded params for the FcCompare* functions.
582 2005-11-24 Dirk Mueller <dmueller@suse.com>
585 * src/fcint.h, fontconfig/fontconfig.h:
587 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
589 * src/fcpat.c, src/fcint.h, src/fcname.c:
591 Check for type validity during FcPatternAddWithBinding, don't
592 verify type in FcFontMatch, don't call FcCanonicalize here
593 (which always does a deep copy).
595 2005-11-24 Dirk Mueller <dmueller@suse.com>
598 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
599 * src/fcpat.c (FcPatternAddWithBinding):
601 Make FcCompareString and FcCompareFamily less expensive.
602 Only add a value for FC_FAMILY if the proposed value is a string.
604 2005-11-24 Dirk Mueller <dmueller@suse.com>
607 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
608 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
609 * src/fcint.h (FcDebug):
611 Inline FcDebug invocations and only initialize once, in FcInit*.
612 Improve debug msg in FcPatternPrint.
614 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
617 * fontconfig/fontconfig.h:
620 Minor code warning cleanups.
622 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
625 * fc-match/fc-match.c (main):
627 Make getopt_long accept -s parameter to fc-match as well.
629 2005-11-21 Dirk Mueller <dmueller@suse.com>
632 * src/fcmatch.c (FcCompareValueList):
634 Manually perform inlining & partial redundancy elimination to
635 reduce calls to FcValueListPtrU.
637 2005-11-21 Dirk Mueller <dmueller@suse.com>
640 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
641 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
643 Only invoke strlen() when really necessary.
645 2005-11-19 Matthias Clasen <mclasen@redhat.com>
649 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
654 Get rid of the use of freetype internal headers in fcfreetype.c,
655 since those headers will go away with freetype 2.2. Replace with
656 public domain ftglue code from pango. Note that the patch removes
657 some extra error checking in FT_Get_BDF_Property() and comments
658 out the skipping of empty pcf fonts.
660 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
663 * fc-lang/fc-lang.c (main):
665 Further fix of patch from 2005-11-04: miscounted numbers count
666 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
667 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
669 Removed leafidx_count and numbers_count since they are the same
670 and replaced them with offset_count.
672 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
675 * fc-cat/fc-cat.c (main):
677 Don't crash when fc-cat invoked with no arguments.
679 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
682 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
684 Fix invalid read access caused by premature free and
685 GCC4 warnings in libxml2 codepath.
687 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
690 * src/fccfg.c (FcConfigValues):
692 List iteration not needed in FcConfigValues, since it's building
693 up the list itself; we can just strip FcVoid elements during
696 2005-11-17 Patrick Lam <plam@mit.edu>
697 * src/fccfg.c (FcConfigValues):
699 Fix crash on invalid constants in config files (forgot to update
700 a pointer upon list iteration.)
702 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
705 * src/fcxml.c (FcTypecheckExpr):
707 Complain about invalid constants in config files.
709 2005-11-17 Andreas Schwab <schwab@suse.de>
712 * src/fccache.c (FcGlobalCacheSave):
714 Don't add current_arch_start more than once.
716 2005-11-16 Patrick Lam <plam@mit.edu>
717 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
718 * src/fcfs.c (FcFontSetUnserialize):
719 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
720 * src/fcpat.c (FcStrUnserialize):
722 Fix ordering of ALIGN with respect to saving block_ptr; add
723 another ALIGN to fcfs.c.
725 2005-11-16 Patrick Lam <plam@mit.edu>
726 * src/fccache.c (FcDirCacheProduce)
728 Fix case where alignment bytes bumped up metadata->count
729 causing unwarranted failures to write cache files.
730 (Reported by Stephan Kulow).
732 2005-11-16 Patrick Lam <plam@mit.edu>
733 * src/fccache.c (FcDirCacheProduce):
734 * src/fccharset.c (FcCharSetDistributeBytes):
735 * src/fcfs.c (FcFontSetDistributeBytes):
737 * src/fclang.c (FcLangSetDistributeBytes):
738 * src/fcname.c (FcObjectDistributeBytes):
739 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
742 Add *NeededBytesAlign(), which overestimates the padding which is
743 later added by the new ALIGN macro. Fix alignment problems on
744 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
745 version by Andreas Schwab).
747 2005-11-16 Stephan Kulow <coolo@kde.org>
752 Use sysconf to determine proper PAGESIZE value; this
753 appears to be POSIX-compliant. (reported by Andreas Schwab)
755 2005-11-04 Patrick Lam <plam@mit.edu>
761 Fix bug 2878 (excessive relocations at startup for charsets,
762 reported by Ross Burton): fc-lang/fc-lang now creates the
763 static form of the langset, not the dynamic form, so that
764 the charsets should now be in .rodata.
766 2005-11-04 Patrick Lam <plam@mit.edu>
767 * src/fcdir.c (FcDirScanConfig):
769 Add test for validity of directory caches that
770 somehow got lost (reported by make distcheck).
772 2005-11-04 Patrick Lam <plam@mit.edu>
776 * fontconfig/fontconfig.h:
778 Bump version to 2.3.92.
780 2005-11-02 Patrick Lam <plam@mit.edu>
781 * src/fcpat.c (FcPatternDuplicate):
783 Fix argument ordering problem in call to FcPatternTransferFullFname.
785 2005-11-02 Patrick Lam <plam@mit.edu>
786 * src/fcfreetype.c (FcFreetypeQuery):
787 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
788 FcPatternTransferFullFname):
790 Fix warnings and embarrassing double-free error.
792 2005-11-02 Zhe Su <zsu@novell.com>
797 Change the rule for artificial emboldening in fonts.conf.in. This
798 enables the support for artificial emboldening included in cairo.
800 2005-11-02 Patrick Lam <plam@mit.edu>
801 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
803 Don't zero out full names for FC_REF_CONSTANT fonts;
804 also, duplicate full names when transferring, and free
805 full names when freeing the associated font.
806 Reported by Jinghua Luo.
808 2005-11-02 Patrick Lam <plam@mit.edu>
809 * fc-cache/fc-cache.c (scanDirs):
810 * src/fcpat.c (FcValueListSerialize):
812 Revert the previous patch and commit the correct patch:
813 I forgot a canonicalization in FcValueListSerialize, so
814 that it would choke on already-serialized input files. Duh!
816 2005-11-02 Patrick Lam <plam@mit.edu>
817 * fc-cache/fc-cache.c (scanDirs):
819 Forcibly rescan a directory before writing a fresh local
820 cache file for that directory, fixing the losing-fonts
821 problem reported by Mike Fabian and also apparently the
822 font cache file corruption.
824 2005-11-02 Patrick Lam <plam@mit.edu>
825 * src/fccache.c (FcGlobalCacheLoad):
827 Fix thinko: actually, the whole global cache is stale
828 if the global cache is older than the (newest) config file.
830 2005-11-02 Patrick Lam <plam@mit.edu>
831 * src/fccache.c (FcGlobalCacheLoad):
832 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
835 Declare the global cache of a directory's contents to be stale if
836 the directory is newer than the (newest) configuration file.
838 2005-10-31 Patrick Lam <plam@mit.edu>
840 * src/fclist.c (FcListAppend):
841 * src/fcmatch.c (FcFontRenderPrepare):
842 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
843 FcPatternFreeze, FcPatternBaseFreeze):
845 Copy the full pathname whenever duplicating an FcPattern; otherwise,
846 applications continue breaking.
848 2005-10-31 Patrick Lam <plam@mit.edu>
849 * fc-cat/fc-cat.c (FcCacheFileRead, main):
850 * src/fcfreetype.c (FcFreeTypeQuery):
852 Fix small memory error (tried to free argv); use basename and
853 dirname correctly (they can modify their arguments).
855 2005-10-31 Patrick Lam <plam@mit.edu>
863 Reinstate basename patch, but keep a hash table linking FcPatterns
864 to their fully-qualified font names for clients' benefit. Clients
865 only pay for the font names once they request the FC_FILE property
866 from an FcPattern, but the font name is malloc'd at that point (i.e.
867 not mmapped: that's impossible, since it may vary between machines.)
868 Clients do have to pay for a copy of the path name per cache file.
870 Note that FcPatternGetString now does some rewriting if you ask
871 for an FC_FILE, appending the pathname as appropriate.
873 2005-10-31 Patrick Lam <plam@mit.edu>
874 * src/fcfreetype.c (FcFreeTypeQuery):
876 Revert basename patch, which breaks fontconfig clients on my system.
878 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
881 * fontconfig/fonts.conf.in:
882 * fontconfig/fontconfig.h:
886 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
887 to load embedded bitmaps or not.
889 2005-10-25 Patrick Lam <plam@mit.edu>
890 * src/fcfreetype.c (FcFreeTypeQuery):
892 Only add basename to patterns' FC_FILE element, not any part of
895 2005-10-22 Patrick Lam <plam@mit.edu>
898 Add some more consts, fixing more GCC4 warnings.
900 2005-10-22 Zhe Su <zsu@novell.com>
903 Support localized font family and style names.
904 This has been reported to break old apps like xfd, but modern
905 (gtk+/qt/mozilla) apps work fine.
907 2005-10-21 Patrick Lam <plam@mit.edu>
908 * src/fccache.c (FcGlobalCacheLoad):
910 Destroy the global cache file if it's terminally broken. (reported by
913 2005-10-21 Patrick Lam <plam@mit.edu>
914 * fc-list/fc-list.c (main):
915 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
916 * fontconfig/fontconfig.h:
918 Prevent fc-list from escaping strings when printing them (reported by
921 2005-10-20 Marcus Meissner <meissner@suse.de>
924 * fontconfig/fontconfig.h:
926 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
928 2005-10-14 Ross Burton <ross@burtonini.com>
931 * fc-glyphname/fc-glyphname.c:
934 Add consts to variables so as to move arrays into .rodata.
936 2005-10-14 Mike Fabian <mfabian@suse.de>
939 * src/fccache.c (FcDirCacheUnlink):
941 Check existence of directory cache file before attempting to unlink.
943 2005-10-13 Patrick Lam <plam@mit.edu>
944 * src/fccache.c (FcDirCacheUnlink):
946 Fix flipped return value on unlink. (Reported by Mike Fabian)
948 2005-10-12 Patrick Lam <plam@mit.edu>
951 * src/fcdir.c (FcDirScanConfig):
954 When fc-cache is run without --force, use directory cache files
955 to speed up fc-cache run time. (Reported by Mike Fabian)
957 2005-10-06 Patrick Lam <plam@mit.edu>
959 * src/fcname.c (FcObjectToPtr):
960 * src/fcpat.c (FcStrStaticName):
962 Add padding to make valgrind and glibc not hate each other
963 when calling strlen().
965 2005-10-05 Simos Xenitellis <simos74@gmx.net>
966 reviewed by: plam & keithp
970 Modify config file to use Greek fonts before Asian fonts with
973 2005-10-05 Christian Biesinger <cbiesinger@web.de>
974 reviewed by: plam & keithp
978 Use libtool -no-undefined flag on all platforms.
980 2005-10-05 Patrick Lam <plam@mit.edu>
981 * src/fccache.c (FcCacheHaveBank):
983 Implement move-to-front array for banks (perf regression
984 reported by Ronny V. Vindenes).
986 2005-10-04 Patrick Lam <plam@mit.edu>
987 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
988 FcDirCacheHasCurrentArch):
989 * fc-cache/fc-cache.c (scanDirs):
990 * fontconfig/fontconfig.h:
992 Add new API which unlinks directory caches and checks dir caches
993 for existence of appropriate sections. Fix fc-cache to unlink
994 stale cache files and save directory caches that lack relevant
997 2005-10-03 Patrick Lam <plam@mit.edu>
998 * src/fccache.c (FcDirCacheValid):
1000 Ensure that a directory cache has the appropriate section
1001 before reporting that it is valid (reported by Matthias Clasen).
1003 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1011 Use libxml2 if requested (with --enable-libxml2) or if
1012 expat is not available.
1014 2005-09-29 Patrick Lam <plam@mit.edu>
1015 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1017 Fix multi-arch cache files: compute the position for the
1018 block to be added using info from OrigFile, not NewFile.
1020 2005-09-28 Patrick Lam <plam@mit.edu>
1021 * src/fccache.c (FcCacheMachineSignature):
1023 Cast results of sizeof() to unsigned int to get rid of
1024 warnings on x86_64 (thanks Matthias Clasen).
1026 2005-09-27 Patrick Lam <plam@mit.edu>
1027 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1030 Use FcAtomic to rewrite cache files.
1032 2005-09-27 Patrick Lam <plam@mit.edu>
1034 * src/fccache.c (FcDirCacheWrite):
1036 Don't unlink the fonts.cache-2 file even if there's no data
1037 to write; just write an empty cache file. (thanks Lubos Lunak)
1039 2005-09-27 Patrick Lam <plam@mit.edu>
1041 * src/fccache.c (FcDirCacheWrite):
1043 Allocate room for the subdirectory names in each
1044 directory cache. Thanks to James Cloos for finding
1045 and diagnosing this bug!
1047 2005-09-22 Patrick Lam <plam@mit.edu>
1049 * fc-cache/fc-cache.sgml:
1050 * src/fccache.c (FcDirCacheWrite):
1051 * src/fccache.h (struct FcCache):
1053 Update documentation -- fc-cache's man page now says that you
1054 need to run fc-cache once per cached architecture; add some
1055 documentation to the FcCache structure.
1057 Make fc-cache write out fonts.cache-2 files for directories with
1058 no fonts (i.e. only subdirectories).
1060 2005-09-22 Patrick Lam <plam@mit.edu>
1062 * fc-cache/fc-cache.sgml:
1063 * fc-case/fc-case.c:
1064 * fc-glyphname/fc-glyphname.c:
1070 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1074 * fc-lang/fc-lang.c:
1075 * fontconfig/fcprivate.h:
1076 * fontconfig/fontconfig.h:
1090 Implement new mmaped cache for font information.
1091 Bump so revision to 2.3.90.
1093 2005-07-25 Keith Packard <keithp@keithp.com>
1095 * doc/fontconfig-user.sgml:
1096 * fc-glyphname/fc-glyphname.c: (scan), (main):
1097 * fc-lang/fc-lang.c: (FcConfigHome):
1098 * fc-match/fc-match.c: (main):
1099 * src/fccfg.c: (FcConfigHome):
1100 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1101 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1102 (addtag), (FcFontCapabilities):
1103 * src/fcpat.c: (FcValueListEntCreate):
1104 * src/fcstr.c: (FcStrCaseWalkerInit):
1105 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1107 Various GCC 4 cleanups for signed vs unsigned char
1109 Match only [0-9]*.conf files in <include>{directory}</include>
1110 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1112 2005-07-15 Carl Worth <cworth@cworth.org>
1115 * src/fcinit.c: (FcFini):
1116 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1119 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1120 Pull the FcObjectStateName hash table out to file scope, and add
1121 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1124 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1127 2005-06-16 Patrick Lam <plam@MIT.EDU>
1131 * src/fccfg.c: (FcConfigCompareValue):
1132 Make FcOpNotContains use FcStrStr for strings so that
1133 it matches semantics for !FcOpContains.
1135 2005-05-20 Keith Packard <keithp@keithp.com>
1139 Move fontconfig source package to libs as per override
1141 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1143 reviewed by: Mike Fabian
1146 The ka.orth file requires several characters which are not
1147 used anymore in modern Georgian and which are missing in the free
1148 Georgian TrueType fonts downloadable at:
1150 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1152 2005-04-27 Keith Packard <keithp@keithp.com>
1156 Update date to real 2.3.2 release date.
1157 Fix change attributions
1159 2005-04-27 Keith Packard <keithp@keithp.com>
1162 Bump so revision for 2.3.2
1163 * fc-cache/fc-cache.c: (scanDirs):
1164 Fix a few minor leaks in error cases.
1166 2005-04-23 Keith Packard <keithp@keithp.com>
1171 * fontconfig/fontconfig.h:
1172 Update for version 2.3.2
1174 2005-04-21 Keith Packard <keithp@keithp.com>
1176 * debian/fontconfig.postinst:
1177 Don't force bitmap font enable in default
1178 configuration; allows users to override this in
1188 * debian/po/pt_BR.po:
1189 * debian/po/templates.pot:
1191 * debian/po/zh_CN.po:
1192 Updated translations
1194 * fc-cache/fc-cache.c: (main):
1195 Destroy font configuration on exit to help valgrind
1198 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1199 (FcFreeTypeCheckGlyph):
1200 Use own transcoding routines in preference to iconv
1201 which appears to have leaks in some translators.
1202 Call iconv_close after using iconv (oops).
1204 Prefer unicode encoding of Euro char as some
1205 fonts mis-encode Euro in other ones.
1207 Must fetch bitmap glyphs to get width values
1208 to check for monospace/dual-width fonts.
1210 2005-04-13 Ross Burton <ross@burtonini.com>
1213 Check that a pattern isn't already frozen in FcPatternFreeze.
1215 2005-03-31 Ross Burton <ross@burtonini.com>
1220 Run all FcPattern objects through FcObjectStaticName, so that
1221 compares can be done on pointers instead of strings (#2659)
1223 2005-03-17 Tor Lillqvist <tml@novell.com>
1225 * src/fontconfig.def.in: Add the .dll to the dll name.
1227 2005-03-10 Keith Packard <keithp@keithp.com>
1229 * debian/README.Debian:
1230 Update to reflect configuration changes
1232 * debian/fontconfig.postinst:
1233 Fix Autohint vs Autohinter mistake
1234 * debian/fontconfig.templates:
1235 Adopt changes from Josselin Mouette for configuration descriptions
1236 Update debian to version 2.3.1-2
1238 2005-03-08 Keith Packard <keithp@keithp.com>
1242 Update debian for 2.3.1
1244 2005-03-09 Tor Lillqvist <tml@novell.com>
1246 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1249 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1252 2005-03-08 Keith Packard <keithp@keithp.com>
1256 * fontconfig/fontconfig.h:
1259 2005-03-05 Keith Packard <keithp@keithp.com>
1261 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1262 Include space and remove numbers from valid script tags.
1263 This ensures that tags like 'lao ' work while rejecting
1264 those which have any digits.
1265 Eliminate a spurious debugging variable (len)
1267 2005-03-05 Keith Packard <keithp@keithp.com>
1269 * src/fcfreetype.c: (addtag), (GetScriptTags),
1270 (FcFontCapabilities):
1271 Rework GSUB/GPOS script parsing to survive broken fonts.
1272 Thanks for the broken font go to Manish Singh
1274 2005-03-05 Keith Packard <keithp@keithp.com>
1279 * debian/fontconfig.config:
1280 * debian/fontconfig.templates:
1282 Include 2.3 release information in changelog
1283 Add Josselin Mouette as an Uploader
1284 Set hinting_type to low priority configuration option
1287 * debian/fontconfig.postinst:
1288 yes_bitmaps.conf -> yes-bitmaps.conf
1294 2005-03-02 Keith Packard <keithp@keithp.com>
1297 * conf.d/Makefile.am:
1298 * conf.d/autohint.conf:
1299 * conf.d/no-sub-pixel.conf:
1300 * conf.d/sub-pixel.conf:
1301 * conf.d/unhinted.conf:
1302 * debian/autohint.conf:
1303 * debian/fontconfig.install:
1304 * debian/fontconfig.postinst:
1305 * debian/fontconfig.templates:
1306 * debian/no-sub-pixel.conf:
1307 * debian/unhinted.conf:
1308 Move debian-specific conf file examples upstream.
1310 Sub-pixel configuration examples must smash subpixel value
1311 as Xft always sets it from X.
1313 Change sub-pixel rendering debconf descriptions from
1314 Enable/Disable to Always/Never.
1316 2005-03-02 Keith Packard <keithp@keithp.com>
1319 * conf.d/.cvsignore:
1321 Ignore more build detritus
1324 Add debian package construction stuff.
1326 * config/config.guess:
1327 * config/config.sub:
1328 Update to newer versions of these tools
1331 Get library manuals to build again (we love automake).
1333 * debian/README.Debian:
1334 * debian/autohint.conf:
1339 * debian/fontconfig-udeb.install:
1340 * debian/fontconfig.config:
1341 * debian/fontconfig.defoma:
1342 * debian/fontconfig.dirs:
1343 * debian/fontconfig.install:
1344 * debian/fontconfig.postinst:
1345 * debian/fontconfig.postrm:
1346 * debian/fontconfig.templates:
1347 * debian/libfontconfig1-dev.install:
1348 * debian/libfontconfig1.install:
1349 * debian/local.conf.md5sum:
1350 * debian/no-sub-pixel.conf:
1351 * debian/po/POTFILES.in:
1360 * debian/po/pt_BR.po:
1361 * debian/po/templates.pot:
1363 * debian/po/zh_CN.po:
1365 * debian/unhinted.conf:
1366 Update debian build system to switch maintainers and
1367 deal with 2.3 functionality
1369 2005-03-01 Keith Packard <keithp@keithp.com>
1373 * fontconfig/fontconfig.h:
1376 2005-03-01 Keith Packard <keithp@keithp.com>
1379 Generate and install PDF versions of the manuals
1381 * doc/fcpattern.fncs:
1384 * doc/fcstring.fncs:
1385 Add missing exported functions, fix data types
1387 * doc/fontconfig-devel.sgml:
1388 Add missing pattern elements.
1390 * doc/fontconfig-user.sgml:
1391 Add missing pattern elements. Document conf.d usage,
1392 clarify available orthography list. Fix some config file
1393 attributes. Complete list of constants.
1395 * fontconfig/fontconfig.h:
1396 Mark FC_SOURCE deprecated.
1398 * src/fcfreetype.c: (FcFreeTypeQuery):
1399 Don't set FC_SOURCE any longer.
1401 2005-02-28 Keith Packard <keithp@keithp.com>
1404 * conf.d/Makefile.am:
1406 * conf.d/no-bitmaps.conf:
1407 * conf.d/sub-pixel.conf:
1408 * conf.d/yes-bitmaps.conf:
1410 Create prototype /etc/fonts/conf.d directory with a few
1411 sample configuration files.
1412 Deprecate use of local.conf for local customizations in favor of
1413 this directory based scheme which is more easily integrated into
1414 installation systems.
1417 Tag FC_EMBOLDEN as a boolean variable
1419 2005-02-10 Keith Packard <keithp@keithp.com>
1421 reviewed by: pborelli@katamail.com
1423 * src/fcdir.c: (FcFileScanConfig):
1424 Free patterns from fonts which are rejected by configuration
1427 2005-01-28 Keith Packard <keithp@keithp.com>
1431 * fontconfig/fontconfig.h:
1432 Update for version 2.2.99
1434 2005-01-28 Keith Packard <keithp@keithp.com>
1437 Add a few pointers (#2284, #2285)
1439 2005-01-28 Keith Packard <keithp@keithp.com>
1442 * src/fcname.c: (FcNameBool):
1443 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1444 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1445 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1446 Polite typechecking for test and edit expressions. Helps
1447 catch errors in the font configuration. (bug 229)
1449 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1451 reviewed by: Keith Packard <keithp@keithp.com>
1454 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1456 2005-01-13 Keith Packard <keithp@keithp.com>
1458 * doc/fontconfig-user.sgml:
1459 Add SEE ALSO section (bug 2085)
1461 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1463 reviewed by: Keith Packard <keithp@keithp.com>
1468 * fc-case/Makefile.am:
1469 * fc-glyphname/Makefile.am:
1470 * fc-lang/Makefile.am:
1471 * src/fontconfig.def.in:
1472 Cross compiling fixes (bug 280)
1474 2005-01-13 Keith Packard <keithp@keithp.com>
1477 Update blanks list (Closes bug 86)
1479 2005-01-04 Keith Packard <keithp@keithp.com>
1481 * src/fccache.c: (FcCacheFontSetAdd):
1482 Verify that every font pattern loaded from cache has
1483 both FC_FILE and FC_FAMILY entries.
1484 Attempt to fix bug #2219.
1486 2004-12-29 Keith Packard <keithp@keithp.com>
1490 * fontconfig/fontconfig.h:
1491 Update for version 2.2.98
1493 2004-12-29 Keith Packard <keithp@keithp.com>
1495 * fontconfig/fontconfig.h:
1496 Document ASCII limitations of Fc character conversion macros
1497 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1498 Fix off-by-one error in utf-8 case walking code.
1499 Add FcStrDowncase (useful for testing case conversion functions)
1501 2004-12-29 Keith Packard <keithp@keithp.com>
1504 * fc-case/.cvsignore:
1505 clean up CVS ignore lists
1506 * fc-lang/iso-3166.txt:
1507 Add territory database
1509 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1511 Reviewed by: Keith Packard
1514 Remove Han characters from Korean orthography
1516 2004-12-29 Keith Packard <keithp@keithp.com>
1519 Reorder utility programs to make sure fc-case is run before fc-lang
1520 as fc-lang uses fcstr.c which uses fccase.h
1524 2004-12-29 Keith Packard <keithp@keithp.com>
1527 Adopt some RedHat suggestions for standard font configuration.
1531 * fc-case/CaseFolding.txt:
1532 * fc-case/Makefile.am:
1533 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1534 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1535 (dump), (parseRaw), (caseFoldReadRaw), (main):
1536 * fc-case/fccase.tmpl.h:
1537 Add new helper program 'fc-case' to construct case folding
1538 tables from standard Unicode CaseFolding.txt file
1541 * src/fclist.c: (FcListValueHash):
1542 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1543 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1544 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1545 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1546 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1547 Re-implement case insensitive functions with Unicode
1548 aware versions (including full case folding mappings)
1550 2004-12-13 Keith Packard <keithp@keithp.com>
1552 reviewed by: Owen Taylor <otaylor@redhat.com>
1554 * src/fcmatch.c: (FcFontSetSort):
1555 I changed FcFontSetSort to respect the generic aliases better
1556 in the face of language matching.
1558 What I did was to ammend the strict sort order used by FcFontSort so
1559 that it 'satisfies' the language specified in the pattern by locating
1560 the best matching font supporting each pattern language and then
1561 ignores language in the remaining fonts for purposes of matching.
1563 So, when asking for 'sans:lang=en', you'll get an English font first,
1564 and then the remaining fonts sorted with respect to the 'sans' alias
1565 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1567 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1569 reviewed by: Keith Packard <keithp@keithp.com>
1571 * fontconfig/fontconfig.h:
1574 Configuration changes to request synthetic emboldening of
1575 fonts. The actual emboldening code will live in Xft.
1577 2004-12-09 John Thacker <thacker@math.cornell.edu>
1579 reviewed by: Keith Packard <keithp@keithp.com>
1583 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1584 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1585 и), and don't even appear in KOI8-R. (The hypothesis that they
1586 don't appear in KOI8-R due to their similarity with Latin I and i is
1587 eliminated by their presence in KOI8-U.) I have a couple of fonts
1588 with Russian support that don't have the letter.
1590 Therefore, 0406 and 0456 should be removed from or commented out of
1593 2004-12-06 michael meeks <mmeeks@novell.com>
1595 Reviewed by: Keith Packard <keithp@keithp.com>
1597 * src/fcinit.c: (FcMemReport):
1599 * src/fclist.c: (FcObjectSetAdd):
1600 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1601 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1602 * src/fcxml.c: (FcParsePatelt):
1603 memoize strings and share a single copy for all uses. Note that
1604 this could be improved further by using statically allocated blocks
1605 and gluing multiple strings together, but I'm basically lazy.
1606 In my environment with 800 font files, I get a savings of about 90KB.
1608 2004-12-06 Keith Packard <keithp@keithp.com>
1612 * config/Makedefs.in:
1615 * doc/fcatomic.fncs:
1616 * doc/fcblanks.fncs:
1617 * doc/fccharset.fncs:
1618 * doc/fcconfig.fncs:
1619 * doc/fcconstant.fncs:
1621 * doc/fcfontset.fncs:
1622 * doc/fcfreetype.fncs:
1624 * doc/fcmatrix.fncs:
1625 * doc/fcobjectset.fncs:
1626 * doc/fcobjecttype.fncs:
1627 * doc/fcpattern.fncs:
1628 * doc/fcstring.fncs:
1629 * doc/fcstrset.fncs:
1631 * doc/fontconfig-devel.sgml:
1632 * doc/fontconfig-user.sgml:
1634 * doc/version.sgml.in:
1635 * fc-cache/Makefile.am:
1636 * fc-cache/fc-cache.c:
1637 * fc-glyphname/Makefile.am:
1638 * fc-glyphname/fc-glyphname.c:
1639 * fc-glyphname/fcglyphname.tmpl.h:
1640 * fc-lang/Makefile.am:
1650 * fc-lang/az_ir.orth:
1684 * fc-lang/fc-lang.c:
1685 * fc-lang/fc-lang.man:
1686 * fc-lang/fclang.tmpl.h:
1731 * fc-lang/ku_ir.orth:
1764 * fc-lang/ps_af.orth:
1765 * fc-lang/ps_pk.orth:
1794 * fc-lang/ti_er.orth:
1795 * fc-lang/ti_et.orth:
1821 * fc-lang/zh_cn.orth:
1822 * fc-lang/zh_hk.orth:
1823 * fc-lang/zh_mo.orth:
1824 * fc-lang/zh_sg.orth:
1825 * fc-lang/zh_tw.orth:
1827 * fc-list/Makefile.am:
1828 * fc-list/fc-list.c:
1829 * fc-match/Makefile.am:
1830 * fc-match/fc-match.1:
1831 * fc-match/fc-match.c:
1832 * fontconfig/fcfreetype.h:
1833 * fontconfig/fcprivate.h:
1834 * fontconfig/fontconfig.h:
1855 Change files from ISO-Latin-1 to UTF-8
1857 2004-12-04 Keith Packard <keithp@keithp.com>
1860 Update links to new freedesktop.org locations
1862 Add uninstall-local to get rid of fonts.conf and local.conf if they
1863 match the distributed versions. Fixes 'make distcheck'
1865 2004-12-04 Keith Packard <keithp@keithp.com>
1869 * fontconfig/fontconfig.h:
1870 Updates for version 2.2.97
1872 2004-12-04 Owen Taylor <otaylor@redhat.com>
1874 reviewed by: Keith Packard <keithp@keithp.com>
1876 * fc-cache/fc-cache.c: (main):
1877 Sleep for two seconds before exiting to make sure timestamps
1878 for future changes have distinct mod times in the file system.
1881 Add Punjabi orthography. Bug #1671.
1883 2004-12-04 Keith Packard <keithp@keithp.com>
1886 Just remove the FC_FONTDATE -- it has locale issues and
1887 annoys redhat multi-arch installs. Now that all X fonts are
1888 included without prejudice, the chances of the date being at
1889 all interesting are rather limited. Bug #505.
1891 Add copyright and license
1893 2004-12-04 Keith Packard <keithp@keithp.com>
1896 Change default set of fonts to include all of
1897 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1898 * doc/fontconfig-user.sgml:
1899 Document new <include>directory-name</include> semantics
1901 add <include ignore_missing="yes">conf.d</include>
1903 Add selectfont to ignore bitmap fonts, add comment for
1904 selectfont which accepts bitmap fonts.
1907 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1908 Allow <include> configuration elements to reference directories.
1909 Parse and load all files of the form [0-9]* in sorted order.
1911 2004-12-04 Keith Packard <keithp@keithp.com>
1914 Report command line for $srcdir/configure accurately.
1917 2004-12-04 Keith Packard <keithp@keithp.com>
1919 * src/fcfreetype.c: (FcFreeTypeQuery):
1920 Check for non-empty face->family_name and face->style_name
1921 before using those for the font. Empty names match everything.
1924 2004-12-04 Keith Packard <keithp@keithp.com>
1927 * fontconfig/fontconfig.h:
1928 * src/fcfreetype.c: (FcFreeTypeQuery):
1930 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1931 available. This provides font file format information (BDF, Type 1,
1932 PCF, TrueType) for each font. Closes #109.
1934 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1936 reviewed by: Keith Packard <keithp@keithp.com>
1938 * doc/fontconfig-user.sgml:
1941 * fontconfig/fontconfig.h:
1942 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1943 (GetScriptTags), (FcFontCapabilities):
1945 Add detection for font capabilities (bug #105)
1947 2004-12-04 Keith Packard <keithp@keithp.com>
1950 Move existing fonts.conf to fonts.conf.bak
1953 Add detection of iconv
1955 * doc/fcpattern.fncs:
1956 * doc/fontconfig-devel.sgml:
1957 * doc/fontconfig-user.sgml:
1959 Document new selectfont elements
1962 Switch to UTF-8 in comment
1964 * fontconfig/fontconfig.h:
1966 Add fullname, and family/style/fullname language entries
1968 * src/fccache.c: (FcCacheFontSetAdd):
1969 * src/fcdir.c: (FcFileScanConfig):
1970 Respect selectfont/*/glob
1973 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1974 (FcConfigCompareValue), (FcConfigPatternsAdd),
1975 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1976 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1977 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1978 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1979 Add support for selectfont
1981 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1982 (FcStringInPatternElement), (FcFreeTypeQuery):
1983 Add multi-lingual family/style/fullname support
1985 * src/fclist.c: (FcListPatternMatchAny):
1986 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1988 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1989 (FcObjectStaticName):
1990 Add new FcPatternRemove/FcPatternAppend.
1991 FcObjectStaticName stores computed pattern element names which
1992 are required to be static.
1994 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1999 Remove spurious / after $(DESTDIR)
2001 2004-06-30 Keith Packard <keithp@keithp.com>
2005 * fontconfig/fontconfig.h:
2008 2004-06-30 Keith Packard <keithp@keithp.com>
2010 Provided by: Lubos Lunak <l.lunak@suse.cz>
2012 * src/fccfg.c: (FcConfigUptoDate):
2013 However FcConfigUptoDate() doesn't seem to work. See the attached
2014 patch. First there's an obvious misplaced parenthesis making it
2015 return always false, and second, even this call fails to detect font
2016 changes (e.g. adding a new font to
2017 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2018 well. The problem seems to be triggered by my fonts.conf specifying
2019 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2020 doesn't include subdirs, unlike config->fontDirs.
2022 2004-06-03 Keith Packard <keithp@keithp.com>
2024 * fontconfig/fontconfig.h:
2025 Remove comma at end of FcResult enum definition.
2027 2004-05-29 Keith Packard <keithp@keithp.com>
2030 Add steps to md5sum release
2032 2004-05-29 Keith Packard <keithp@keithp.com>
2036 * fontconfig/fontconfig.h:
2039 2004-05-29 Keith Packard <keithp@keithp.com>
2041 * fontconfig/fontconfig.h:
2042 * src/fcmatch.c: (FcFontSetMatch):
2043 Add FcResultOutOfMemory to provide an accurate error when
2044 FcFontSetMatch fails in this way
2047 Make #warning about lacking various FreeType features indicate
2048 which version those features appeared so users know how to
2049 fix the problem (Thanks to Anton Tropashko)
2051 2004-05-05 Keith Packard <keithp@keithp.com>
2053 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2054 Replace MIN/MAX/ABS macros which happen to have come
2055 from FreeType with fontconfig-specific ones (FC_*)
2057 2004-04-23 Keith Packard <keithp@keithp.com>
2060 Extend release preparation instructions to include
2061 notification and distribution steps
2063 2004-04-23 Keith Packard <keithp@keithp.com>
2067 * fontconfig/fontconfig.h:
2068 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2070 2004-04-23 Keith Packard <keithp@keithp.com>
2073 Ignore a few more autotool files
2075 2004-04-14 Keith Packard <keithp@keithp.com>
2078 Add instructions for doing a release
2080 * fontconfig.spec.in:
2081 clean up .spec file; perhaps this will be useful to somebody...
2085 * fontconfig/fontconfig.h:
2088 * fc-lang/fc-lang.c:
2089 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2091 * fc-glyphname/Makefile.am:
2092 * fc-lang/Makefile.am:
2093 * fc-list/Makefile.am:
2094 * fc-match/Makefile.am:
2096 Add WARN_CFLAGS to pass -W flags for GCC systems
2098 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2099 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2100 Change various char types around to match across
2102 Fixed bug in using available_sizes[i].height which
2103 is in pixels, not 64ths of a pixel.
2105 2004-03-06 Keith Packard <keithp@keithp.com>
2107 * src/fcfreetype.c: (FcFreeTypeQuery):
2108 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2109 matches looking for explicit values prefer exact matches
2111 2004-03-02 Keith Packard <keithp@keithp.com>
2113 Supplied by: mfabian@suse.de (Mike FABIAN)
2115 * src/fcfreetype.c: (FcFreeTypeQuery):
2116 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2117 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2119 2004-02-21 Manish Singh <yosh@gimp.org>
2121 * fc-glyphname/fc-glyphname.c: (main):
2122 Cast strlen to int for printf, so we're 64-bit clean.
2124 2004-02-11 Keith Packard <keithp@keithp.com>
2127 * src/fcfreetype.c: (FcGetPixelSize):
2128 Ok, so I messed up the test for y_ppem. Let's see if I
2129 got it right this time.
2131 2004-02-10 Keith Packard <keithp@keithp.com>
2134 * src/fcfreetype.c: (FcGetPixelSize):
2135 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2136 FT_Bitmap_Size record. Add a configure.in test for this
2137 and change the code accordingly (using height instead).
2139 2004-02-06 Keith Packard <keithp@keithp.com>
2142 Add Low Saxon orthography
2143 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2145 * src/fccfg.c: (FcConfigNewestFile):
2146 Oops. Left 'newest.set' unset, which would miscompute
2149 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2150 (FcFreeTypeCheckGlyph):
2151 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2152 font properties (which report the wrong value in current FreeType)
2154 Don't attempt to check for empty glyphs in non-scalable fonts; they
2157 2004-02-01 Tor Lillqvist <tml@iki.fi>
2159 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2160 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2161 cache if config->cache is NULL, which happens if FcConfigHome() is
2162 NULL. Guard against that by using the temp folder in that case.
2164 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2166 * fc-lang/az_ir.orth:
2167 * fc-lang/ku_ir.orth:
2168 * fc-lang/ps_af.orth:
2169 * fc-lang/ps_pk.orth:
2170 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2171 (Afghan and Pakistani).
2173 Updated Urdu orthography with real data.
2175 2003-12-11 Carl Worth <cworth@east.isi.edu>
2177 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2180 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2182 (all-local): Remove excessive whitespace.
2184 * autogen.sh: Add 'set -e' to abort when any program fails,
2185 (avoids printing of 'now type make' after configure aborts).
2187 2003-11-17 Eric Christopherson <rakko@charter.net>
2189 reviewed by: Keith Packard <keithp@keithp.com>
2192 * fontconfig/fcfreetype.h:
2194 Switch to FreeType 2.1.7 style includes. Bug #150.
2196 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2198 * fc-list/fc-list.sgml: Add some example usages.
2200 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2203 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2206 2003-10-27 Keith Packard <keith@keithp.com>
2209 * fontconfig/fontconfig.h:
2210 Update to version 2.2.92
2212 2003-10-27 Keith Packard <keithp@keithp.com>
2217 * fc-cache/Makefile.am:
2218 * fc-glyphname/Makefile.am:
2219 * fc-lang/Makefile.am:
2220 * fc-list/Makefile.am:
2221 * fc-match/Makefile.am:
2224 Yet more cleanups to finish getting 'make distcheck' working
2225 This has been tested to ensure that it even works from a _build
2228 2003-10-26 Keith Packard <keithp@keithp.com>
2232 * fc-cache/Makefile.am:
2233 * fc-glyphname/Makefile.am:
2234 * fc-lang/Makefile.am:
2235 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2236 * fc-list/Makefile.am:
2237 * fc-match/Makefile.am:
2238 Attempts to fix 'make distcheck' work. Things are
2239 progressing pretty well, but there are still failures
2240 long into the process dealing with docs (as always).
2242 The big changes here are mostly to make $(srcdir) != "."
2243 work correctly, fixing the docbook related sections and
2244 fc-lang were particularily tricky. Docbook refuses to load
2245 system entities from anywhere other than where the original .sgml
2246 file was located, so no luck looking in "." for the
2247 configure-generated version.sgml and confdir.sgml files.
2249 fc-lang needed help finding .orth files; added a -d option
2250 to set the directory as the least evil of many options.
2252 Now to go use a faster machine and try and wring out the last
2255 2003-10-26 Keith Packard <keithp@keithp.com>
2259 2003-10-26 Keith Packard <keithp@keithp.com>
2262 Include confdir.sgml.in in EXTRA_DIST
2264 2003-10-09 Josselin Mouette <joss@debian.org>
2266 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2267 * fc-list/fc-list.sgml fc-list/Makefile.am:
2268 Replace fc-cache and fc-list manpages with more detailed, SGML
2271 2003-09-23 Owen Taylor <otaylor@redhat.com>
2273 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2274 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2275 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2278 2003-09-23 Owen Taylor <otaylor@redhat.com>
2280 * fc-lang/ka.orth: Remove Georgian capitals, they
2281 aren't used for normal writing. (Bug #116)
2283 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2285 * doc/fontconfig-devel.sgml:
2286 * doc/fontconfig-user.sgml:
2287 * fontconfig/fontconfig.h:
2289 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2290 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2292 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2293 monospace and dual-width fonts, allow roughly a 3% variance in the
2296 2003-08-31 Manish Singh <yosh@gimp.org>
2298 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2301 2003-08-15 Carl Worth <cworth@isi.edu>
2303 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2304 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2306 * src/fcpat.c (FcValueListEntDestroy): New function to support
2307 FcFini memory cleanup. Some statistics are not kept in
2309 (FcValueListFreeze): Move hashTable outside this function so it
2310 can be accessed by FcValueListThawAll.
2311 (FcValueListThawAll): New function complements FcValueListFreeze.
2312 (FcPatternBaseFreeze): Move hashTable outside this function so it
2313 can be accessed by FcPatternBaseThawAll.
2314 (FcPatternBaseThawAll): New function complements
2315 FcPatternBaseFreeze.
2316 (FcPatternThawAll): New function complements FcPatternFreeze.
2318 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2320 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2321 allocated FcCharLeafEnt "blocks" so they can be freed later.
2322 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2323 can be accessed by FcCharSetThawAllLeaf.
2324 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2325 (FcCharSetFreezeBase): Move hashTable outside this function so it
2326 can be accessed by FcCharSetThawAll.
2327 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2329 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2330 (FcConfigDestroy): Fic leak of FcBlanks.
2332 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2333 (main): Add call to FcFini when finished.
2335 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2336 static. Add prototypes.
2338 * doc/fcinit.fncs: Add documentation for FcFini function.
2340 * doc/edit-sgml.c: Mark several local functions as static. Add
2343 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2345 2003-06-15 Tor Lillqvist <tml@iki.fi>
2347 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2348 before comparing (needed on Windows).
2350 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2352 2003-06-13 Tor Lillqvist <tml@iki.fi>
2354 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2357 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2358 WINDOWSFONTDIR token.
2360 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2361 end, not to confuse libtool, which expects the EXPORTS line to be
2362 the first. Add FcConfigEnableHome.
2364 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2365 built as a DLL on Win32.
2367 2003-06-09 Keith Packard <keithp@keithp.com>
2369 * Tag version 2.2.90
2371 2003-06-09 Keith Packard <keithp@keithp.com>
2373 * Optimization in FcLangSetIndex was broken, occasionally
2374 returning a pointer to the wrong location on miss
2376 * Add fc-match to test font matching from the command line.
2378 2003-05-31 Keith Packard <keithp@keithp.com>
2380 * (Bug 85) add support for culmus fonts
2381 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2382 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2384 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2386 * Fix "contains" op for strings and langsets.
2388 2003-05-17 Keith Packard <keithp@keithp.com>
2390 * Fix build error with BDF prop local. Free langset after query
2392 2003-05-14 Keith Packard <keithp@keithp.com>
2394 * Extract spacing from XLFD atom
2396 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2398 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2399 disappeared in 1.30.
2401 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2403 2003-05-12 Keith Packard <keithp@keithp.com>
2405 * Use FcIsWidth to share code
2407 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2408 misclassifying some Han fonts as monospaced.
2410 2003-05-07 Keith Packard <keithp@keithp.com>
2412 * Add filename-based accept/reject to ammend available fonts.
2414 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2415 older FreeType releases.
2417 2003-05-06 Keith Packard <keithp@keithp.com>
2419 * Remove 0b82 and Tamil numbers from tamil
2420 orthography (Jungshik Shin <jshin@mailaps.org>)
2422 2003-05-04 Keith Packard <keithp@keithp.com>
2424 + Map glyph names in fonts with adobe custom encoding to unicode
2426 2003-05-02 Keith Packard <keithp@keithp.com>
2428 * Add FC_WEIGHT_BOOK as weight 75
2430 2003-04-30 Keith Packard <keithp@keithp.com>
2432 * Typo in bitstream foundry name
2434 2003-04-24 Keith Packard <keithp@keithp.com>
2436 * Eliminate italic_angle check for PS fonts
2438 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2440 * Getting closer to fixing /etc/fonts hard-coding.
2442 2003-04-22 Keith Packard <keithp@keithp.com>
2444 * Update autogen.sh to work with newer automake versions
2445 * Handle pattern elements moving during multiple edits
2447 2003-04-23 James Henstridge <james@daa.com.au>
2449 * doc/fontconfig-devel.sgml: close the <para> element.
2451 * doc/fcpattern.fncs: close the <para> element.
2453 * doc/func.sgml: close the <refsynopsisdiv> element.
2455 2003-04-22 Keith Packard <keithp@keithp.com
2457 * Update autogen.sh to work with newer automake versions
2458 * Handle pattern elements moving during multiple edits
2460 2003-04-17 Colin Walters <walters@debian.org>
2462 + Remove some unused variables, and initialize some other ones so
2463 gcc doesn't warn us.
2465 2003-04-16 Keith Packard <keithp@keithp.com>
2467 + tag version 2.1.94
2469 2003-04-16 Keith Packard <keithp@keithp.com>
2471 + add BDF property fetching support for foundry
2472 (from Juliusz Chroboczek)
2473 + add BDF property fetching support for width
2475 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2477 + Implemented foundry generation for Type 1 and TrueType
2479 2003-04-11 Gerard Escalante <g2@magestudios.net>
2481 + Retrieve information from Type1 FontInfo dictionaries
2483 2003-04-07 Colin Walters <walters@verbum.org>
2485 + src/Makefile.am: Fix dummy makefile target names when
2486 MS_LIB_AVAILABLE isn't set.
2488 2003-03-22 Tor Lillqvist <tml@iki.fi>
2490 Changes for Windows:
2492 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2494 + We don't want to hardcode the fonts.conf file location in the
2495 DLL, so we look up the DLL location at run-time in a DllMain()
2496 function. The fonts.conf location is deduced from that.
2498 + The colon can't be used as path separator on Windows,
2499 semicolon is used instead. File path components can be separated
2500 with either slash or backslash. Absolute paths can also begin
2501 with a drive letter.
2503 + Add internal function FcStrLastSlash that strrchr's the last
2504 slash, or backslash on Windows.
2506 + There is no link() on Windows. For atomicity checks, mkdir a
2507 lock directory instead.
2509 + In addition to HOME, also look for USERPROFILE.
2511 + Recognize the special font directory token WINDOWSFONTDIR, to
2512 use the system's font directory.
2514 + Remove the fontconfig-def.cpp that was obsolete. Add
2515 fontconfig.def(.in), without internal functions.
2517 + Add a fontconfig-zip(.in) script, used to build a binary
2520 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2521 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2522 to main package and man3/* to devel package
2524 + Added missing defattr(-, root, root) to main RPM package
2526 + Added HTML and text development documentation to -devel subpackage
2528 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2529 + Added back the configure macro options --disable-docs, otherwise
2530 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2531 version number) unconditionally, causing RPM to fail the build due
2532 to _unpackaged_files_terminate_build. We pick up the pregenerated
2533 docs with %doc already.
2535 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2536 + Removed commented out rpm macro define at top of spec file,
2537 replacing it with a simple explanation, since rpm macros are
2538 expanded by rpm even in comments.
2540 + Changed /usr/bin to _bindir in BuildRequires lines
2542 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2544 + Reorganized file manifest lists
2546 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2548 + fontconfig.spec.in: Improvements from Red Hat spec file.
2550 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2552 + docs/*.sgml: SGML fixes.
2554 Sat Mar 1 17:28:53 PST 2003 keithp
2555 + Ok, so the ChangeLog is a bit out of date
2557 + Lots of bugs fixed; most are in bugzilla, the
2558 biggest problems were in cache management where
2559 Owen discovered the library would lose badly when
2560 combining fonts-cache and ~/.fonts-cache data
2562 + Converted from autoconf to automake. This after
2563 getting patches accepted into libtool to allow
2564 the '-version-number' argument which lets
2565 packages set version numbers explicitly rather
2566 than the roundabout libtool way
2568 + Converted documentation to SGML using the docbook
2569 DTD. Now .txt and .html documents are installed
2570 in /usr/share/doc/fontconfig and there's no
2571 man page. Perhaps a man version can be written
2574 Sat Aug 31 15:21:22 PDT 2002 keithp
2575 + Xrender and Xft had several bugs related to
2576 rendering manually placed or poly-face text
2578 + Added more complete memory tracing in fontconfig
2579 Checked with (patched) mozilla and found no leaks
2581 + Updated Latin orthographies by comparing those from
2582 evertype.com with those from eki.ee. Tried to make
2583 sensible choices, including chars that occured in both
2584 and leaving some optional chars out that occured only
2587 Mon Aug 26 16:33:04 PDT 2002 keithp
2588 + Owen discovered that FcLangSetHasLang wasn't actually
2589 checking the language set.
2591 Mon Aug 26 13:37:23 PDT 2002 keithp
2592 + Append a version number to cache filenames
2594 Thu Aug 22 11:36:18 PDT 2002 keithp
2596 + Add "contains" and "not_contains" operators and elements to
2599 + Changed semantics of eq operator for LangSets to check for
2600 FcLangEqual so that any match will do
2602 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2603 of FcValueEqual to check for identical values when inserting into
2604 the results. This broke when the above semantic change was made,
2605 now it uses FcValueEqual which is "more correct" in any case.
2607 Thu Aug 22 00:32:29 PDT 2002 keithp
2609 + Reimplement FC_LANG as new datatype. Lists of strings
2610 was consuming over a megabyte of memory for 401 fonts.
2612 + Freeze patterns loaded from cache files. This shares
2613 common value lists and common patterns which saves
2614 considerable memory.
2616 + Change the denotation of 'constant' charsets to use special
2617 ref value instead of separate boolean.
2619 + Clean up leak tracing stuff, found several unannoted alloc/free
2622 Tue Aug 20 16:17:37 PDT 2002 keithp
2624 + Fix memory leak when parsing matrices from XML
2626 Mon Aug 19 11:57:27 PDT 2002 keithp
2628 + Fix autoconf files to pass FONTCONFIG_PATH on
2629 compile line so that ${prefix} gets substituted
2632 + Use getc_unlocked/putc_unlocked on systems that
2633 provide them to avoid damage done to stdio by posix
2635 + Eliminate FC_PATTERN and FcTypePattern in favor of
2636 an extended api for FcConfigSubstitute which takes
2637 both the font and the pattern.
2639 + Add 'sans serif' alias for 'sans-serif' as some apps
2640 can't handle hyphens in family names
2642 + Eliminate pretense of support for libxml2
2644 + Comment origins of Han orthographies
2646 Tue Jul 30 18:37:09 PDT 2002 keithp
2648 + Add binding property to edit element so that strong
2649 binding values may be inserted by the config file.
2650 The default remains weak.
2652 Sun 28 Jul 04:16:55 PDT 2002 keithp
2654 + Tagged release candidate 1 in the CVS tree and
2655 placed fcpackage.rc1.tar.gz for distribution
2657 Thu Aug 1 08:55:08 PDT 2002 keithp
2659 + Fixed autoconf builds to always specify install
2660 target files (for BSD). Also fixed to
2661 define FONTCONFIG_PATH in config.h so that
2662 nonstandard installs will actually work.