1 2006-02-03 Dirk Mueller <dmueller@suse.de>
4 * src/fcfs.c (FcFontSetUnserialize):
6 Gracefully handle the case where a cache asserts that it
7 has a negative number of fonts, causing overflow.
9 2006-02-03 Patrick Lam <plam@mit.edu>
10 * src/fccache.c (FcDirCacheUnlink):
12 Fix double free in error case.
14 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
15 Stephan Kulow <coolo@suse.de>
18 * fc-cache/Makefile.am:
20 Replace 'stamp' target with mkinstalldirs.
22 2006-01-31 Mike Fabian <mfabian@suse.de>
25 * src/fccache.c (FcGlobalCacheLoad):
27 Toast broken global cache files.
29 2006-01-30 Patrick Lam <plam@mit.edu>
30 * src/fccache.c (FcGlobalCacheReadDir):
32 Actually use the directories that I added to the global cache.
35 2006-01-30 Mike Fabian <mfabian@suse.de>
38 * fc-cache/fc-cache.c (scanDirs):
40 Don't stop scanning if a directory in fonts.conf doesn't
41 exist, because subsequent directories might exist.
43 2006-01-30 Patrick Lam <plam@mit.edu>
44 * src/fccache.c (FcGlobalCacheLoad):
46 Make global cache work again after putting dir names into global
47 cache (I misplaced the recording of a file offset).
49 2006-01-30 Patrick Lam <plam@mit.edu>
50 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
52 Update fc-cat to handle subdir lists in global cache file.
54 * src/fccache.c (FcGlobalCacheLoad):
56 Another FcCacheReadString return value check.
58 2006-01-30 Mike Fabian <mfabian@suse.de>
61 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
62 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
64 Make fccache more resilient to broken cache files by checking
65 return value of FcCacheReadString all the time.
67 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
70 * fc-match/fc-match.1:
71 * fc-lang/fc-lang.man:
73 Remove references to dead fontconfig(3) manpages in
74 other fontconfig manpages.
76 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
81 Fix world's tiniest typo in code example.
83 2006-01-29 Mike Fabian <mfabian@suse.de>
86 * src/fccache.c (FcGlobalCacheReadDir):
88 Fix global cache reads of subdirectories.
90 2006-01-29 Patrick Lam <plam@mit.edu>
92 Add documentation for FcConfigNormalizeFontDir.
94 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
95 FcGlobalCacheUpdate, FcGlobalCacheSave):
96 * src/fcdir.c (FcDirScanConfig):
99 Write directory information to global caches to fix make check
100 (reported by Ronny V. Vindenes). This changes the global cache
103 2006-01-27 Patrick Lam <plam@mit.edu>
104 * fc-cache/fc-cache.c (scanDirs):
105 * fontconfig/fontconfig.h:
107 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
109 Move FcConfigNormalizeFontDir call so that it doesn't result in
110 infinite recursion (reported by Ronny V. Vindenes).
112 2006-01-26 Patrick Lam <plam@mit.edu>
113 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
114 * src/fccfg.c (FcConfigNormalizeFontDir):
116 Add a couple of missing normalizations to make fc-cache work
117 right; only scan subdirectories once.
119 2006-01-26 Mike Fabian <mfabian@suse.de>
122 * src/fcacache.c (FcGlobalCacheReadDir):
124 Don't crash on non-existant directories in global cache.
126 2006-01-26 Patirck Lam <plam@mit.edu>
127 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
128 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
129 * src/fcdir.c (FcDirScanConfig):
130 * src/fcxml.c (FcEndElement):
132 Stop trampling the directory name when writing out caches.
133 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
134 subdirs when necessary. Don't scan directories that can't be
137 2006-01-25 Patrick Lam <plam@mit.edu>
138 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
139 * src/fccfg.c (FcConfigEvaluate):
140 * src/fcfreetype.c (FcPatternAddWithBinding):
142 Fix additional memory leaks reported by Ronny V. Vindenes: don't
143 invoke FcValueSave on hashed static strings in
144 FcPatternAddWithBinding.
146 Add another st_dev check in FcDirCacheOpen.
148 2006-01-24 James Su <james.su@gmail.com>
151 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
152 * fc-lang/zh_hk.orth:
154 Treat zh-hk fonts differently from zh-tw fonts. This patch may
155 cause fontconfig to treat A-X fonts differently from A-Y fonts;
156 please mail the fontconfig list if this causes any problems.
158 2006-01-24 Patrick Lam <plam@mit.edu>
159 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
160 * src/fcfreetype.c (FcFreeTypeQuery):
162 Fix memory leaks reported by Ronny V. Vindenes.
164 2006-01-19 Andreas Schwab <schwab@suse.de>
167 * src/fcpat.c (FcStrNeededBytes):
169 Fix for unaligned memory accesses.
171 2006-01-18 Mike Fabian <mfabian@suse.de>
174 * src/fcdir.c (FcDirScanConfig):
176 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
177 calls to avoid crashes.
179 2006-01-14 Patrick Lam <plam@mit.edu>
180 * src/fccache.c (FcDirCacheConsume):
182 Fix segfault when consuming zero-length caches in fc-cat
183 (which has no config, so FcConfigAddFontDir shouldn't be called.)
185 2006-01-14 Patrick Lam <plam@mit.edu>
186 * fc-cache/fc-cache.c (scanDirs):
187 * fontconfig/fontconfig.h:
188 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
189 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
190 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
191 * src/fcdir.c (FcDirScanConfig):
194 Compare device numbers as well as inodes.
195 Always normalize directory names before comparing them.
197 2006-01-11 Mike Fabian <mfabian@suse.de>
200 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
202 Allocate extra space for appended '/' in directory name.
204 2006-01-10 Patrick Lam <plam@mit.edu>
205 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
206 FcDirCacheValid, FcDirCacheHasCurrentArch,
207 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
208 * fc-cache/fc-cache.c (main):
210 Explicitly add font dirs to config.fontDirs even if they're empty.
211 Set current config in fc-cache.c.
212 Fix treatment of cache directory as read from cache file; don't
213 use string equality to determine if we have the right file,
216 2006-01-09 Patrick Lam <plam@mit.edu>
217 * fc-cache/fc-cache.c (scanDirs):
218 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
219 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
220 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
221 * src/fccfg.c (FcConfigNormalizeFontDir):
222 * src/fcdir.c (FcDirScanConfig):
225 Normalize font dirs by using the form, as given in fonts.conf, and
226 recorded in FcConfig's fontDirs string set, as canonical.
228 Actually update config.fontDirs as font directories are scanned.
230 2006-01-08 James Su <james.su@gmail.com>
231 * src/fcmatch.c (FcFontSetMatch):
233 Fix matching bug when multiple elements match; don't use
234 the sum of all scores, but the best score.
236 Also more perf opts, e.g. evaluate best over all font sets
237 rather than on a per-set basis (and other changes).
239 2006-01-08 Patrick Lam <plam@mit.edu>
240 * src/fccache.c (FcDirCacheConsume):
242 Properly skip past dir caches that contain zero fonts (as occurs
243 in global caches.) Reported by Mike Fabian.
245 2006-01-06 Patrick Lam <plam@mit.edu>
246 * src/fcdbg.c (FcPatternPrint):
248 Print out full pathname in fc-match -v as well. Reported by
251 2006-01-06 Mike Fabian <mfabian@suse.de>
254 * src/fcname.c (FcNameParse):
256 Fix bug where fc-match crashes when given __DUMMY__ property to
259 (I added the __DUMMY__ string to enable callers of
260 FcObjectToPtrLookup to distinguish an error return from a
261 successful return. -PL)
263 2006-01-05 Patrick Lam <plam@mit.edu>
266 Add self to AUTHORS list.
268 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
269 FcCacheFileRead, FcCachePrintSet, main):
270 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
271 FcGlobalCacheSave, FcCacheNextOffset,
272 FcDirCacheHasCurrentArch, FcDirCacheRead,
273 FcDirCacheConsume, FcDirCacheWrite):
275 * src/fcpat.c (comment):
277 Minor change to global cache file format to fix fc-cat bug
278 reported by Frederic Crozat, and buglet with not globally caching
279 directories with zero fonts cached.
281 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
284 * src/fccfg.c (FcConfigEvaluate):
286 Fix double-free which occurs because FcValueCanonicalize doesn't
287 create an extra copy of the returned value, it only canonicalizes
290 2006-01-02 Patrick Lam <plam@mit.edu>
291 * doc/fontconfig-user.sgml:
293 Fix version of .cache file (currently 1 -> currently 2). Reported
296 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
299 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
301 Shut up GCC warnings on amd.
303 2005-12-20 Patrick Lam <plam@mit.edu>
307 * fontconfig/fontconfig.h:
309 Bump version to 2.3.93.
311 2005-12-20 Patrick Lam <plam@mit.edu>
312 * src/fccharset.c (FcLangCharSetPopulate):
313 * src/fcint.h (FcCacheBankToIndex):
315 Avoid check on _fcBankId nullness and fix case where it used to
318 2005-12-20 Patrick Lam <plam@mit.edu>
319 * src/fcxml.c (FcConfigParseAndLoad):
321 Use open instead of fopen (requested by Phil Race for Sun).
323 2005-12-20 Patrick Lam <plam@mit.edu>
324 * src/fccache.c (FcDirCacheWrite);
325 * fc-cache/Makefile.am:
327 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
330 2005-12-20 Patrick Lam <plam@mit.edu>
331 * src/fcfreetype.c (FcFreeTypeQuery):
333 Restore code to skip over PCF fonts that have no encoded
335 (We guess that a font is PCF by presence of the PIXEL_SIZE
338 2005-12-12 Patrick Lam <plam@mit.edu>
339 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
341 Read and write the original location as a fallback for the
342 hashed cache file locations. This is mostly for users to be
343 able to have per-directory cache files.
345 2005-12-12 Patrick Lam <plam@mit.edu>
346 * fc-cache/fc-cache.c (scanDirs):
347 * fc-cache/Makefile.am:
348 * src/fccache.c (FcDirCacheHashName):
350 Improve error message when fc-cache can't write the cache. Add
351 missing slash. Reported by Behdad. Incorporate Behdad's patch to
352 create /var/cache/fontconfig when appropriate.
354 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
357 * src/fcxml.c (FcConfigGetAttribute):
359 Fix crash reported by Frederic Crozat when using libxml2.
361 2005-12-09 Patrick Lam <plam@mit.edu>
364 * fc-cache/Makefile.am:
365 * fc-cat/Makefile.am:
367 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
368 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
369 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
370 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
371 FcDirCacheHasCurrentArch, FcDirCacheHashName,
372 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
374 Migrate cache files from fonts directories to
375 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
376 but requires that all caches get rebuilt.
378 Also, autogen.sh now needs the additional parameter
379 --localstatedir=/var.
381 2005-12-07 Patrick Lam <plam@mit.edu>
382 * src/fcpat.c (FcPatternAddString):
384 Because we've changed FcPatternAddString to use FcStrStaticName
385 and not FcValueSave, explicitly handle the case of a null string.
387 2005-12-06 Patrick Lam <plam@mit.edu>
388 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
392 2005-12-05 Patrick Lam <plam@mit.edu>
393 * src/fcname.c (FcNameGetObjectType):
395 Don't assign types to user object names.
397 2005-12-05 Patrick Lam <plam@mit.edu>
398 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
400 Don't free strings that have been returned from FcStrStaticName.
402 2005-12-01 Patrick Lam <plam@mit.edu>
403 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
405 Add codepath for reading global cache files as well.
407 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
410 * conf.d/10-fonts.persian.conf:
411 * conf.d/Makefile.am:
413 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
415 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
418 * src/fcxml.c (FcConfigParseAndLoad):
420 Only add a config file to the set of config files once.
422 2005-11-29 Patrick Lam <plam@mit.edu>
423 * src/fcint.h (FcCacheBankToIndex);
425 Fix segfault by guarding array dereference.
427 2005-11-29 Dirk Mueller <dmueller@suse.de>
431 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
432 FcCacheBankToIndex, FcCacheBankToIndexMTF,
436 Refactor FcCacheBankToIndex into an inlineable part
437 (in fcint.h) which checks the front of the list and a
438 non-inlineable part which finds and moves the appropriate element
439 to the front of the list.
441 2005-11-29 Patrick Lam <plam@mit.edu>
442 * src/fccfg.c (FcConfigBuildFonts):
443 * src/fccache.c (FcCacheReadDirs):
445 Make the perf guys hate me a bit less: hoist the directory-name
446 FcConfigAcceptFont check for cached fonts up to directory cache
447 read time, rather than running it for each font.
449 2005-11-29 Patrick Lam <plam@mit.edu>
450 * src/fccfg.c (FcConfigBuildFonts):
452 * src/fcpat.c (FcPatternFindFullFname):
454 Don't make FcPatternFindFullFname available to fccfg, it's not
455 really safe. Instead go through FcPatternGetString (sorry,
456 perf guys.) Also, use globs for dirs as well.
458 2005-11-28 Patrick Lam <plam@mit.edu>
459 * src/fccfg.c (FcConfigBuildFonts):
463 2005-11-28 Patrick Lam <plam@mit.edu>
465 * src/fcpat.c (FcPatternFindFullFname):
466 * src/fccfg.c (FcConfigBuildFonts):
468 Fix problem dating back at least to 2.3.2 where globs weren't
469 being applied to patterns loaded from a cache.
471 2005-11-28 Patrick Lam <plam@mit.edu>
472 * doc/fontconfig-user.sgml:
474 Fix some obvious spelling mistakes.
476 2005-11-28 Dirk Mueller <dmueller@suse.com>
477 Stephan Kulow <coolo@suse.de>
480 * src/fcmatch.c (FcFontSetMatch):
482 Don't kill all fonts during match (oops!)
485 2005-11-25 Dirk Mueller <dmueller@suse.com>
486 Stephan Kulow <coolo@suse.de>
487 Michael Matz <matz@suse.de>
490 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
493 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
494 inline FcCompare into FcFontSetMatch and reorder the
495 loops, adding a boolean array which blocks patterns from future
496 consideration if they're known to not be best on some past
499 2005-11-26 Dirk Mueller <dmueller@suse.com>
502 * src/fcmatch.c (FcCompareValueList):
506 2005-11-25 Patrick Lam <plam@mit.edu>
507 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
509 Don't do random matching when bad objects are passed into
512 2005-11-25 Patrick Lam <plam@mit.edu>
514 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
515 FcPatternSerialize, FcPatternUnserialize,
516 FcValueListEnsureBank, FcValueListDistributeBytes,
517 FcValueListUnserialize):
519 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
520 _fcPatternElts, _fcValueLists for consistency.
522 2005-11-25 Dirk Mueller <dmueller@suse.com>
527 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
529 2005-11-25 Patrick Lam <plam@mit.edu>
531 * src/fccache.c (FcDirCacheConsume):
532 * src/fccharset.c (FcCharSetUnserialize):
533 * src/fcfs.c (FcFontSetUnserialize):
534 * src/fclang.c (FcLangSetUnserialize):
535 * src/fcname.c (FcObjectUnserialize):
536 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
537 FcPatternUnserialize):
539 Pass around FcCache *s to the Unserialize functions for extra
540 consistency (and less overhead, for what that's worth).
542 2005-11-24 Dirk Mueller <dmueller@suse.com>
546 * src/fcmatch.c (FcCompare*, FcFontSetSort):
547 * src/fcname.c (FcNameUnparseValue):
549 Inline the *PtrU functions to gain perf.
550 Remove unneeded params for the FcCompare* functions.
552 2005-11-24 Dirk Mueller <dmueller@suse.com>
555 * src/fcint.h, fontconfig/fontconfig.h:
557 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
559 * src/fcpat.c, src/fcint.h, src/fcname.c:
561 Check for type validity during FcPatternAddWithBinding, don't
562 verify type in FcFontMatch, don't call FcCanonicalize here
563 (which always does a deep copy).
565 2005-11-24 Dirk Mueller <dmueller@suse.com>
568 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
569 * src/fcpat.c (FcPatternAddWithBinding):
571 Make FcCompareString and FcCompareFamily less expensive.
572 Only add a value for FC_FAMILY if the proposed value is a string.
574 2005-11-24 Dirk Mueller <dmueller@suse.com>
577 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
578 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
579 * src/fcint.h (FcDebug):
581 Inline FcDebug invocations and only initialize once, in FcInit*.
582 Improve debug msg in FcPatternPrint.
584 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
587 * fontconfig/fontconfig.h:
590 Minor code warning cleanups.
592 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
595 * fc-match/fc-match.c (main):
597 Make getopt_long accept -s parameter to fc-match as well.
599 2005-11-21 Dirk Mueller <dmueller@suse.com>
602 * src/fcmatch.c (FcCompareValueList):
604 Manually perform inlining & partial redundancy elimination to
605 reduce calls to FcValueListPtrU.
607 2005-11-21 Dirk Mueller <dmueller@suse.com>
610 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
611 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
613 Only invoke strlen() when really necessary.
615 2005-11-19 Matthias Clasen <mclasen@redhat.com>
619 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
624 Get rid of the use of freetype internal headers in fcfreetype.c,
625 since those headers will go away with freetype 2.2. Replace with
626 public domain ftglue code from pango. Note that the patch removes
627 some extra error checking in FT_Get_BDF_Property() and comments
628 out the skipping of empty pcf fonts.
630 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
633 * fc-lang/fc-lang.c (main):
635 Further fix of patch from 2005-11-04: miscounted numbers count
636 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
637 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
639 Removed leafidx_count and numbers_count since they are the same
640 and replaced them with offset_count.
642 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
645 * fc-cat/fc-cat.c (main):
647 Don't crash when fc-cat invoked with no arguments.
649 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
652 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
654 Fix invalid read access caused by premature free and
655 GCC4 warnings in libxml2 codepath.
657 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
660 * src/fccfg.c (FcConfigValues):
662 List iteration not needed in FcConfigValues, since it's building
663 up the list itself; we can just strip FcVoid elements during
666 2005-11-17 Patrick Lam <plam@mit.edu>
667 * src/fccfg.c (FcConfigValues):
669 Fix crash on invalid constants in config files (forgot to update
670 a pointer upon list iteration.)
672 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
675 * src/fcxml.c (FcTypecheckExpr):
677 Complain about invalid constants in config files.
679 2005-11-17 Andreas Schwab <schwab@suse.de>
682 * src/fccache.c (FcGlobalCacheSave):
684 Don't add current_arch_start more than once.
686 2005-11-16 Patrick Lam <plam@mit.edu>
687 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
688 * src/fcfs.c (FcFontSetUnserialize):
689 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
690 * src/fcpat.c (FcStrUnserialize):
692 Fix ordering of ALIGN with respect to saving block_ptr; add
693 another ALIGN to fcfs.c.
695 2005-11-16 Patrick Lam <plam@mit.edu>
696 * src/fccache.c (FcDirCacheProduce)
698 Fix case where alignment bytes bumped up metadata->count
699 causing unwarranted failures to write cache files.
700 (Reported by Stephan Kulow).
702 2005-11-16 Patrick Lam <plam@mit.edu>
703 * src/fccache.c (FcDirCacheProduce):
704 * src/fccharset.c (FcCharSetDistributeBytes):
705 * src/fcfs.c (FcFontSetDistributeBytes):
707 * src/fclang.c (FcLangSetDistributeBytes):
708 * src/fcname.c (FcObjectDistributeBytes):
709 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
712 Add *NeededBytesAlign(), which overestimates the padding which is
713 later added by the new ALIGN macro. Fix alignment problems on
714 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
715 version by Andreas Schwab).
717 2005-11-16 Stephan Kulow <coolo@kde.org>
722 Use sysconf to determine proper PAGESIZE value; this
723 appears to be POSIX-compliant. (reported by Andreas Schwab)
725 2005-11-04 Patrick Lam <plam@mit.edu>
731 Fix bug 2878 (excessive relocations at startup for charsets,
732 reported by Ross Burton): fc-lang/fc-lang now creates the
733 static form of the langset, not the dynamic form, so that
734 the charsets should now be in .rodata.
736 2005-11-04 Patrick Lam <plam@mit.edu>
737 * src/fcdir.c (FcDirScanConfig):
739 Add test for validity of directory caches that
740 somehow got lost (reported by make distcheck).
742 2005-11-04 Patrick Lam <plam@mit.edu>
746 * fontconfig/fontconfig.h:
748 Bump version to 2.3.92.
750 2005-11-02 Patrick Lam <plam@mit.edu>
751 * src/fcpat.c (FcPatternDuplicate):
753 Fix argument ordering problem in call to FcPatternTransferFullFname.
755 2005-11-02 Patrick Lam <plam@mit.edu>
756 * src/fcfreetype.c (FcFreetypeQuery):
757 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
758 FcPatternTransferFullFname):
760 Fix warnings and embarrassing double-free error.
762 2005-11-02 Zhe Su <zsu@novell.com>
767 Change the rule for artificial emboldening in fonts.conf.in. This
768 enables the support for artificial emboldening included in cairo.
770 2005-11-02 Patrick Lam <plam@mit.edu>
771 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
773 Don't zero out full names for FC_REF_CONSTANT fonts;
774 also, duplicate full names when transferring, and free
775 full names when freeing the associated font.
776 Reported by Jinghua Luo.
778 2005-11-02 Patrick Lam <plam@mit.edu>
779 * fc-cache/fc-cache.c (scanDirs):
780 * src/fcpat.c (FcValueListSerialize):
782 Revert the previous patch and commit the correct patch:
783 I forgot a canonicalization in FcValueListSerialize, so
784 that it would choke on already-serialized input files. Duh!
786 2005-11-02 Patrick Lam <plam@mit.edu>
787 * fc-cache/fc-cache.c (scanDirs):
789 Forcibly rescan a directory before writing a fresh local
790 cache file for that directory, fixing the losing-fonts
791 problem reported by Mike Fabian and also apparently the
792 font cache file corruption.
794 2005-11-02 Patrick Lam <plam@mit.edu>
795 * src/fccache.c (FcGlobalCacheLoad):
797 Fix thinko: actually, the whole global cache is stale
798 if the global cache is older than the (newest) config file.
800 2005-11-02 Patrick Lam <plam@mit.edu>
801 * src/fccache.c (FcGlobalCacheLoad):
802 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
805 Declare the global cache of a directory's contents to be stale if
806 the directory is newer than the (newest) configuration file.
808 2005-10-31 Patrick Lam <plam@mit.edu>
810 * src/fclist.c (FcListAppend):
811 * src/fcmatch.c (FcFontRenderPrepare):
812 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
813 FcPatternFreeze, FcPatternBaseFreeze):
815 Copy the full pathname whenever duplicating an FcPattern; otherwise,
816 applications continue breaking.
818 2005-10-31 Patrick Lam <plam@mit.edu>
819 * fc-cat/fc-cat.c (FcCacheFileRead, main):
820 * src/fcfreetype.c (FcFreeTypeQuery):
822 Fix small memory error (tried to free argv); use basename and
823 dirname correctly (they can modify their arguments).
825 2005-10-31 Patrick Lam <plam@mit.edu>
833 Reinstate basename patch, but keep a hash table linking FcPatterns
834 to their fully-qualified font names for clients' benefit. Clients
835 only pay for the font names once they request the FC_FILE property
836 from an FcPattern, but the font name is malloc'd at that point (i.e.
837 not mmapped: that's impossible, since it may vary between machines.)
838 Clients do have to pay for a copy of the path name per cache file.
840 Note that FcPatternGetString now does some rewriting if you ask
841 for an FC_FILE, appending the pathname as appropriate.
843 2005-10-31 Patrick Lam <plam@mit.edu>
844 * src/fcfreetype.c (FcFreeTypeQuery):
846 Revert basename patch, which breaks fontconfig clients on my system.
848 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
851 * fontconfig/fonts.conf.in:
852 * fontconfig/fontconfig.h:
856 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
857 to load embedded bitmaps or not.
859 2005-10-25 Patrick Lam <plam@mit.edu>
860 * src/fcfreetype.c (FcFreeTypeQuery):
862 Only add basename to patterns' FC_FILE element, not any part of
865 2005-10-22 Patrick Lam <plam@mit.edu>
868 Add some more consts, fixing more GCC4 warnings.
870 2005-10-22 Zhe Su <zsu@novell.com>
873 Support localized font family and style names.
874 This has been reported to break old apps like xfd, but modern
875 (gtk+/qt/mozilla) apps work fine.
877 2005-10-21 Patrick Lam <plam@mit.edu>
878 * src/fccache.c (FcGlobalCacheLoad):
880 Destroy the global cache file if it's terminally broken. (reported by
883 2005-10-21 Patrick Lam <plam@mit.edu>
884 * fc-list/fc-list.c (main):
885 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
886 * fontconfig/fontconfig.h:
888 Prevent fc-list from escaping strings when printing them (reported by
891 2005-10-20 Marcus Meissner <meissner@suse.de>
894 * fontconfig/fontconfig.h:
896 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
898 2005-10-14 Ross Burton <ross@burtonini.com>
901 * fc-glyphname/fc-glyphname.c:
904 Add consts to variables so as to move arrays into .rodata.
906 2005-10-14 Mike Fabian <mfabian@suse.de>
909 * src/fccache.c (FcDirCacheUnlink):
911 Check existence of directory cache file before attempting to unlink.
913 2005-10-13 Patrick Lam <plam@mit.edu>
914 * src/fccache.c (FcDirCacheUnlink):
916 Fix flipped return value on unlink. (Reported by Mike Fabian)
918 2005-10-12 Patrick Lam <plam@mit.edu>
921 * src/fcdir.c (FcDirScanConfig):
924 When fc-cache is run without --force, use directory cache files
925 to speed up fc-cache run time. (Reported by Mike Fabian)
927 2005-10-06 Patrick Lam <plam@mit.edu>
929 * src/fcname.c (FcObjectToPtr):
930 * src/fcpat.c (FcStrStaticName):
932 Add padding to make valgrind and glibc not hate each other
933 when calling strlen().
935 2005-10-05 Simos Xenitellis <simos74@gmx.net>
936 reviewed by: plam & keithp
940 Modify config file to use Greek fonts before Asian fonts with
943 2005-10-05 Christian Biesinger <cbiesinger@web.de>
944 reviewed by: plam & keithp
948 Use libtool -no-undefined flag on all platforms.
950 2005-10-05 Patrick Lam <plam@mit.edu>
951 * src/fccache.c (FcCacheHaveBank):
953 Implement move-to-front array for banks (perf regression
954 reported by Ronny V. Vindenes).
956 2005-10-04 Patrick Lam <plam@mit.edu>
957 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
958 FcDirCacheHasCurrentArch):
959 * fc-cache/fc-cache.c (scanDirs):
960 * fontconfig/fontconfig.h:
962 Add new API which unlinks directory caches and checks dir caches
963 for existence of appropriate sections. Fix fc-cache to unlink
964 stale cache files and save directory caches that lack relevant
967 2005-10-03 Patrick Lam <plam@mit.edu>
968 * src/fccache.c (FcDirCacheValid):
970 Ensure that a directory cache has the appropriate section
971 before reporting that it is valid (reported by Matthias Clasen).
973 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
981 Use libxml2 if requested (with --enable-libxml2) or if
982 expat is not available.
984 2005-09-29 Patrick Lam <plam@mit.edu>
985 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
987 Fix multi-arch cache files: compute the position for the
988 block to be added using info from OrigFile, not NewFile.
990 2005-09-28 Patrick Lam <plam@mit.edu>
991 * src/fccache.c (FcCacheMachineSignature):
993 Cast results of sizeof() to unsigned int to get rid of
994 warnings on x86_64 (thanks Matthias Clasen).
996 2005-09-27 Patrick Lam <plam@mit.edu>
997 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1000 Use FcAtomic to rewrite cache files.
1002 2005-09-27 Patrick Lam <plam@mit.edu>
1004 * src/fccache.c (FcDirCacheWrite):
1006 Don't unlink the fonts.cache-2 file even if there's no data
1007 to write; just write an empty cache file. (thanks Lubos Lunak)
1009 2005-09-27 Patrick Lam <plam@mit.edu>
1011 * src/fccache.c (FcDirCacheWrite):
1013 Allocate room for the subdirectory names in each
1014 directory cache. Thanks to James Cloos for finding
1015 and diagnosing this bug!
1017 2005-09-22 Patrick Lam <plam@mit.edu>
1019 * fc-cache/fc-cache.sgml:
1020 * src/fccache.c (FcDirCacheWrite):
1021 * src/fccache.h (struct FcCache):
1023 Update documentation -- fc-cache's man page now says that you
1024 need to run fc-cache once per cached architecture; add some
1025 documentation to the FcCache structure.
1027 Make fc-cache write out fonts.cache-2 files for directories with
1028 no fonts (i.e. only subdirectories).
1030 2005-09-22 Patrick Lam <plam@mit.edu>
1032 * fc-cache/fc-cache.sgml:
1033 * fc-case/fc-case.c:
1034 * fc-glyphname/fc-glyphname.c:
1040 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1044 * fc-lang/fc-lang.c:
1045 * fontconfig/fcprivate.h:
1046 * fontconfig/fontconfig.h:
1060 Implement new mmaped cache for font information.
1061 Bump so revision to 2.3.90.
1063 2005-07-25 Keith Packard <keithp@keithp.com>
1065 * doc/fontconfig-user.sgml:
1066 * fc-glyphname/fc-glyphname.c: (scan), (main):
1067 * fc-lang/fc-lang.c: (FcConfigHome):
1068 * fc-match/fc-match.c: (main):
1069 * src/fccfg.c: (FcConfigHome):
1070 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1071 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1072 (addtag), (FcFontCapabilities):
1073 * src/fcpat.c: (FcValueListEntCreate):
1074 * src/fcstr.c: (FcStrCaseWalkerInit):
1075 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1077 Various GCC 4 cleanups for signed vs unsigned char
1079 Match only [0-9]*.conf files in <include>{directory}</include>
1080 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1082 2005-07-15 Carl Worth <cworth@cworth.org>
1085 * src/fcinit.c: (FcFini):
1086 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1089 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1090 Pull the FcObjectStateName hash table out to file scope, and add
1091 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1094 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1097 2005-06-16 Patrick Lam <plam@MIT.EDU>
1101 * src/fccfg.c: (FcConfigCompareValue):
1102 Make FcOpNotContains use FcStrStr for strings so that
1103 it matches semantics for !FcOpContains.
1105 2005-05-20 Keith Packard <keithp@keithp.com>
1109 Move fontconfig source package to libs as per override
1111 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1113 reviewed by: Mike Fabian
1116 The ka.orth file requires several characters which are not
1117 used anymore in modern Georgian and which are missing in the free
1118 Georgian TrueType fonts downloadable at:
1120 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1122 2005-04-27 Keith Packard <keithp@keithp.com>
1126 Update date to real 2.3.2 release date.
1127 Fix change attributions
1129 2005-04-27 Keith Packard <keithp@keithp.com>
1132 Bump so revision for 2.3.2
1133 * fc-cache/fc-cache.c: (scanDirs):
1134 Fix a few minor leaks in error cases.
1136 2005-04-23 Keith Packard <keithp@keithp.com>
1141 * fontconfig/fontconfig.h:
1142 Update for version 2.3.2
1144 2005-04-21 Keith Packard <keithp@keithp.com>
1146 * debian/fontconfig.postinst:
1147 Don't force bitmap font enable in default
1148 configuration; allows users to override this in
1158 * debian/po/pt_BR.po:
1159 * debian/po/templates.pot:
1161 * debian/po/zh_CN.po:
1162 Updated translations
1164 * fc-cache/fc-cache.c: (main):
1165 Destroy font configuration on exit to help valgrind
1168 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1169 (FcFreeTypeCheckGlyph):
1170 Use own transcoding routines in preference to iconv
1171 which appears to have leaks in some translators.
1172 Call iconv_close after using iconv (oops).
1174 Prefer unicode encoding of Euro char as some
1175 fonts mis-encode Euro in other ones.
1177 Must fetch bitmap glyphs to get width values
1178 to check for monospace/dual-width fonts.
1180 2005-04-13 Ross Burton <ross@burtonini.com>
1183 Check that a pattern isn't already frozen in FcPatternFreeze.
1185 2005-03-31 Ross Burton <ross@burtonini.com>
1190 Run all FcPattern objects through FcObjectStaticName, so that
1191 compares can be done on pointers instead of strings (#2659)
1193 2005-03-17 Tor Lillqvist <tml@novell.com>
1195 * src/fontconfig.def.in: Add the .dll to the dll name.
1197 2005-03-10 Keith Packard <keithp@keithp.com>
1199 * debian/README.Debian:
1200 Update to reflect configuration changes
1202 * debian/fontconfig.postinst:
1203 Fix Autohint vs Autohinter mistake
1204 * debian/fontconfig.templates:
1205 Adopt changes from Josselin Mouette for configuration descriptions
1206 Update debian to version 2.3.1-2
1208 2005-03-08 Keith Packard <keithp@keithp.com>
1212 Update debian for 2.3.1
1214 2005-03-09 Tor Lillqvist <tml@novell.com>
1216 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1219 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1222 2005-03-08 Keith Packard <keithp@keithp.com>
1226 * fontconfig/fontconfig.h:
1229 2005-03-05 Keith Packard <keithp@keithp.com>
1231 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1232 Include space and remove numbers from valid script tags.
1233 This ensures that tags like 'lao ' work while rejecting
1234 those which have any digits.
1235 Eliminate a spurious debugging variable (len)
1237 2005-03-05 Keith Packard <keithp@keithp.com>
1239 * src/fcfreetype.c: (addtag), (GetScriptTags),
1240 (FcFontCapabilities):
1241 Rework GSUB/GPOS script parsing to survive broken fonts.
1242 Thanks for the broken font go to Manish Singh
1244 2005-03-05 Keith Packard <keithp@keithp.com>
1249 * debian/fontconfig.config:
1250 * debian/fontconfig.templates:
1252 Include 2.3 release information in changelog
1253 Add Josselin Mouette as an Uploader
1254 Set hinting_type to low priority configuration option
1257 * debian/fontconfig.postinst:
1258 yes_bitmaps.conf -> yes-bitmaps.conf
1264 2005-03-02 Keith Packard <keithp@keithp.com>
1267 * conf.d/Makefile.am:
1268 * conf.d/autohint.conf:
1269 * conf.d/no-sub-pixel.conf:
1270 * conf.d/sub-pixel.conf:
1271 * conf.d/unhinted.conf:
1272 * debian/autohint.conf:
1273 * debian/fontconfig.install:
1274 * debian/fontconfig.postinst:
1275 * debian/fontconfig.templates:
1276 * debian/no-sub-pixel.conf:
1277 * debian/unhinted.conf:
1278 Move debian-specific conf file examples upstream.
1280 Sub-pixel configuration examples must smash subpixel value
1281 as Xft always sets it from X.
1283 Change sub-pixel rendering debconf descriptions from
1284 Enable/Disable to Always/Never.
1286 2005-03-02 Keith Packard <keithp@keithp.com>
1289 * conf.d/.cvsignore:
1291 Ignore more build detritus
1294 Add debian package construction stuff.
1296 * config/config.guess:
1297 * config/config.sub:
1298 Update to newer versions of these tools
1301 Get library manuals to build again (we love automake).
1303 * debian/README.Debian:
1304 * debian/autohint.conf:
1309 * debian/fontconfig-udeb.install:
1310 * debian/fontconfig.config:
1311 * debian/fontconfig.defoma:
1312 * debian/fontconfig.dirs:
1313 * debian/fontconfig.install:
1314 * debian/fontconfig.postinst:
1315 * debian/fontconfig.postrm:
1316 * debian/fontconfig.templates:
1317 * debian/libfontconfig1-dev.install:
1318 * debian/libfontconfig1.install:
1319 * debian/local.conf.md5sum:
1320 * debian/no-sub-pixel.conf:
1321 * debian/po/POTFILES.in:
1330 * debian/po/pt_BR.po:
1331 * debian/po/templates.pot:
1333 * debian/po/zh_CN.po:
1335 * debian/unhinted.conf:
1336 Update debian build system to switch maintainers and
1337 deal with 2.3 functionality
1339 2005-03-01 Keith Packard <keithp@keithp.com>
1343 * fontconfig/fontconfig.h:
1346 2005-03-01 Keith Packard <keithp@keithp.com>
1349 Generate and install PDF versions of the manuals
1351 * doc/fcpattern.fncs:
1354 * doc/fcstring.fncs:
1355 Add missing exported functions, fix data types
1357 * doc/fontconfig-devel.sgml:
1358 Add missing pattern elements.
1360 * doc/fontconfig-user.sgml:
1361 Add missing pattern elements. Document conf.d usage,
1362 clarify available orthography list. Fix some config file
1363 attributes. Complete list of constants.
1365 * fontconfig/fontconfig.h:
1366 Mark FC_SOURCE deprecated.
1368 * src/fcfreetype.c: (FcFreeTypeQuery):
1369 Don't set FC_SOURCE any longer.
1371 2005-02-28 Keith Packard <keithp@keithp.com>
1374 * conf.d/Makefile.am:
1376 * conf.d/no-bitmaps.conf:
1377 * conf.d/sub-pixel.conf:
1378 * conf.d/yes-bitmaps.conf:
1380 Create prototype /etc/fonts/conf.d directory with a few
1381 sample configuration files.
1382 Deprecate use of local.conf for local customizations in favor of
1383 this directory based scheme which is more easily integrated into
1384 installation systems.
1387 Tag FC_EMBOLDEN as a boolean variable
1389 2005-02-10 Keith Packard <keithp@keithp.com>
1391 reviewed by: pborelli@katamail.com
1393 * src/fcdir.c: (FcFileScanConfig):
1394 Free patterns from fonts which are rejected by configuration
1397 2005-01-28 Keith Packard <keithp@keithp.com>
1401 * fontconfig/fontconfig.h:
1402 Update for version 2.2.99
1404 2005-01-28 Keith Packard <keithp@keithp.com>
1407 Add a few pointers (#2284, #2285)
1409 2005-01-28 Keith Packard <keithp@keithp.com>
1412 * src/fcname.c: (FcNameBool):
1413 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1414 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1415 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1416 Polite typechecking for test and edit expressions. Helps
1417 catch errors in the font configuration. (bug 229)
1419 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1421 reviewed by: Keith Packard <keithp@keithp.com>
1424 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1426 2005-01-13 Keith Packard <keithp@keithp.com>
1428 * doc/fontconfig-user.sgml:
1429 Add SEE ALSO section (bug 2085)
1431 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1433 reviewed by: Keith Packard <keithp@keithp.com>
1438 * fc-case/Makefile.am:
1439 * fc-glyphname/Makefile.am:
1440 * fc-lang/Makefile.am:
1441 * src/fontconfig.def.in:
1442 Cross compiling fixes (bug 280)
1444 2005-01-13 Keith Packard <keithp@keithp.com>
1447 Update blanks list (Closes bug 86)
1449 2005-01-04 Keith Packard <keithp@keithp.com>
1451 * src/fccache.c: (FcCacheFontSetAdd):
1452 Verify that every font pattern loaded from cache has
1453 both FC_FILE and FC_FAMILY entries.
1454 Attempt to fix bug #2219.
1456 2004-12-29 Keith Packard <keithp@keithp.com>
1460 * fontconfig/fontconfig.h:
1461 Update for version 2.2.98
1463 2004-12-29 Keith Packard <keithp@keithp.com>
1465 * fontconfig/fontconfig.h:
1466 Document ASCII limitations of Fc character conversion macros
1467 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1468 Fix off-by-one error in utf-8 case walking code.
1469 Add FcStrDowncase (useful for testing case conversion functions)
1471 2004-12-29 Keith Packard <keithp@keithp.com>
1474 * fc-case/.cvsignore:
1475 clean up CVS ignore lists
1476 * fc-lang/iso-3166.txt:
1477 Add territory database
1479 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1481 Reviewed by: Keith Packard
1484 Remove Han characters from Korean orthography
1486 2004-12-29 Keith Packard <keithp@keithp.com>
1489 Reorder utility programs to make sure fc-case is run before fc-lang
1490 as fc-lang uses fcstr.c which uses fccase.h
1494 2004-12-29 Keith Packard <keithp@keithp.com>
1497 Adopt some RedHat suggestions for standard font configuration.
1501 * fc-case/CaseFolding.txt:
1502 * fc-case/Makefile.am:
1503 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1504 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1505 (dump), (parseRaw), (caseFoldReadRaw), (main):
1506 * fc-case/fccase.tmpl.h:
1507 Add new helper program 'fc-case' to construct case folding
1508 tables from standard Unicode CaseFolding.txt file
1511 * src/fclist.c: (FcListValueHash):
1512 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1513 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1514 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1515 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1516 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1517 Re-implement case insensitive functions with Unicode
1518 aware versions (including full case folding mappings)
1520 2004-12-13 Keith Packard <keithp@keithp.com>
1522 reviewed by: Owen Taylor <otaylor@redhat.com>
1524 * src/fcmatch.c: (FcFontSetSort):
1525 I changed FcFontSetSort to respect the generic aliases better
1526 in the face of language matching.
1528 What I did was to ammend the strict sort order used by FcFontSort so
1529 that it 'satisfies' the language specified in the pattern by locating
1530 the best matching font supporting each pattern language and then
1531 ignores language in the remaining fonts for purposes of matching.
1533 So, when asking for 'sans:lang=en', you'll get an English font first,
1534 and then the remaining fonts sorted with respect to the 'sans' alias
1535 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1537 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1539 reviewed by: Keith Packard <keithp@keithp.com>
1541 * fontconfig/fontconfig.h:
1544 Configuration changes to request synthetic emboldening of
1545 fonts. The actual emboldening code will live in Xft.
1547 2004-12-09 John Thacker <thacker@math.cornell.edu>
1549 reviewed by: Keith Packard <keithp@keithp.com>
1553 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1554 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1555 и), and don't even appear in KOI8-R. (The hypothesis that they
1556 don't appear in KOI8-R due to their similarity with Latin I and i is
1557 eliminated by their presence in KOI8-U.) I have a couple of fonts
1558 with Russian support that don't have the letter.
1560 Therefore, 0406 and 0456 should be removed from or commented out of
1563 2004-12-06 michael meeks <mmeeks@novell.com>
1565 Reviewed by: Keith Packard <keithp@keithp.com>
1567 * src/fcinit.c: (FcMemReport):
1569 * src/fclist.c: (FcObjectSetAdd):
1570 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1571 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1572 * src/fcxml.c: (FcParsePatelt):
1573 memoize strings and share a single copy for all uses. Note that
1574 this could be improved further by using statically allocated blocks
1575 and gluing multiple strings together, but I'm basically lazy.
1576 In my environment with 800 font files, I get a savings of about 90KB.
1578 2004-12-06 Keith Packard <keithp@keithp.com>
1582 * config/Makedefs.in:
1585 * doc/fcatomic.fncs:
1586 * doc/fcblanks.fncs:
1587 * doc/fccharset.fncs:
1588 * doc/fcconfig.fncs:
1589 * doc/fcconstant.fncs:
1591 * doc/fcfontset.fncs:
1592 * doc/fcfreetype.fncs:
1594 * doc/fcmatrix.fncs:
1595 * doc/fcobjectset.fncs:
1596 * doc/fcobjecttype.fncs:
1597 * doc/fcpattern.fncs:
1598 * doc/fcstring.fncs:
1599 * doc/fcstrset.fncs:
1601 * doc/fontconfig-devel.sgml:
1602 * doc/fontconfig-user.sgml:
1604 * doc/version.sgml.in:
1605 * fc-cache/Makefile.am:
1606 * fc-cache/fc-cache.c:
1607 * fc-glyphname/Makefile.am:
1608 * fc-glyphname/fc-glyphname.c:
1609 * fc-glyphname/fcglyphname.tmpl.h:
1610 * fc-lang/Makefile.am:
1620 * fc-lang/az_ir.orth:
1654 * fc-lang/fc-lang.c:
1655 * fc-lang/fc-lang.man:
1656 * fc-lang/fclang.tmpl.h:
1701 * fc-lang/ku_ir.orth:
1734 * fc-lang/ps_af.orth:
1735 * fc-lang/ps_pk.orth:
1764 * fc-lang/ti_er.orth:
1765 * fc-lang/ti_et.orth:
1791 * fc-lang/zh_cn.orth:
1792 * fc-lang/zh_hk.orth:
1793 * fc-lang/zh_mo.orth:
1794 * fc-lang/zh_sg.orth:
1795 * fc-lang/zh_tw.orth:
1797 * fc-list/Makefile.am:
1798 * fc-list/fc-list.c:
1799 * fc-match/Makefile.am:
1800 * fc-match/fc-match.1:
1801 * fc-match/fc-match.c:
1802 * fontconfig/fcfreetype.h:
1803 * fontconfig/fcprivate.h:
1804 * fontconfig/fontconfig.h:
1825 Change files from ISO-Latin-1 to UTF-8
1827 2004-12-04 Keith Packard <keithp@keithp.com>
1830 Update links to new freedesktop.org locations
1832 Add uninstall-local to get rid of fonts.conf and local.conf if they
1833 match the distributed versions. Fixes 'make distcheck'
1835 2004-12-04 Keith Packard <keithp@keithp.com>
1839 * fontconfig/fontconfig.h:
1840 Updates for version 2.2.97
1842 2004-12-04 Owen Taylor <otaylor@redhat.com>
1844 reviewed by: Keith Packard <keithp@keithp.com>
1846 * fc-cache/fc-cache.c: (main):
1847 Sleep for two seconds before exiting to make sure timestamps
1848 for future changes have distinct mod times in the file system.
1851 Add Punjabi orthography. Bug #1671.
1853 2004-12-04 Keith Packard <keithp@keithp.com>
1856 Just remove the FC_FONTDATE -- it has locale issues and
1857 annoys redhat multi-arch installs. Now that all X fonts are
1858 included without prejudice, the chances of the date being at
1859 all interesting are rather limited. Bug #505.
1861 Add copyright and license
1863 2004-12-04 Keith Packard <keithp@keithp.com>
1866 Change default set of fonts to include all of
1867 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1868 * doc/fontconfig-user.sgml:
1869 Document new <include>directory-name</include> semantics
1871 add <include ignore_missing="yes">conf.d</include>
1873 Add selectfont to ignore bitmap fonts, add comment for
1874 selectfont which accepts bitmap fonts.
1877 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1878 Allow <include> configuration elements to reference directories.
1879 Parse and load all files of the form [0-9]* in sorted order.
1881 2004-12-04 Keith Packard <keithp@keithp.com>
1884 Report command line for $srcdir/configure accurately.
1887 2004-12-04 Keith Packard <keithp@keithp.com>
1889 * src/fcfreetype.c: (FcFreeTypeQuery):
1890 Check for non-empty face->family_name and face->style_name
1891 before using those for the font. Empty names match everything.
1894 2004-12-04 Keith Packard <keithp@keithp.com>
1897 * fontconfig/fontconfig.h:
1898 * src/fcfreetype.c: (FcFreeTypeQuery):
1900 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1901 available. This provides font file format information (BDF, Type 1,
1902 PCF, TrueType) for each font. Closes #109.
1904 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1906 reviewed by: Keith Packard <keithp@keithp.com>
1908 * doc/fontconfig-user.sgml:
1911 * fontconfig/fontconfig.h:
1912 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1913 (GetScriptTags), (FcFontCapabilities):
1915 Add detection for font capabilities (bug #105)
1917 2004-12-04 Keith Packard <keithp@keithp.com>
1920 Move existing fonts.conf to fonts.conf.bak
1923 Add detection of iconv
1925 * doc/fcpattern.fncs:
1926 * doc/fontconfig-devel.sgml:
1927 * doc/fontconfig-user.sgml:
1929 Document new selectfont elements
1932 Switch to UTF-8 in comment
1934 * fontconfig/fontconfig.h:
1936 Add fullname, and family/style/fullname language entries
1938 * src/fccache.c: (FcCacheFontSetAdd):
1939 * src/fcdir.c: (FcFileScanConfig):
1940 Respect selectfont/*/glob
1943 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1944 (FcConfigCompareValue), (FcConfigPatternsAdd),
1945 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1946 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1947 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1948 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1949 Add support for selectfont
1951 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1952 (FcStringInPatternElement), (FcFreeTypeQuery):
1953 Add multi-lingual family/style/fullname support
1955 * src/fclist.c: (FcListPatternMatchAny):
1956 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1958 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1959 (FcObjectStaticName):
1960 Add new FcPatternRemove/FcPatternAppend.
1961 FcObjectStaticName stores computed pattern element names which
1962 are required to be static.
1964 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1969 Remove spurious / after $(DESTDIR)
1971 2004-06-30 Keith Packard <keithp@keithp.com>
1975 * fontconfig/fontconfig.h:
1978 2004-06-30 Keith Packard <keithp@keithp.com>
1980 Provided by: Lubos Lunak <l.lunak@suse.cz>
1982 * src/fccfg.c: (FcConfigUptoDate):
1983 However FcConfigUptoDate() doesn't seem to work. See the attached
1984 patch. First there's an obvious misplaced parenthesis making it
1985 return always false, and second, even this call fails to detect font
1986 changes (e.g. adding a new font to
1987 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1988 well. The problem seems to be triggered by my fonts.conf specifying
1989 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1990 doesn't include subdirs, unlike config->fontDirs.
1992 2004-06-03 Keith Packard <keithp@keithp.com>
1994 * fontconfig/fontconfig.h:
1995 Remove comma at end of FcResult enum definition.
1997 2004-05-29 Keith Packard <keithp@keithp.com>
2000 Add steps to md5sum release
2002 2004-05-29 Keith Packard <keithp@keithp.com>
2006 * fontconfig/fontconfig.h:
2009 2004-05-29 Keith Packard <keithp@keithp.com>
2011 * fontconfig/fontconfig.h:
2012 * src/fcmatch.c: (FcFontSetMatch):
2013 Add FcResultOutOfMemory to provide an accurate error when
2014 FcFontSetMatch fails in this way
2017 Make #warning about lacking various FreeType features indicate
2018 which version those features appeared so users know how to
2019 fix the problem (Thanks to Anton Tropashko)
2021 2004-05-05 Keith Packard <keithp@keithp.com>
2023 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2024 Replace MIN/MAX/ABS macros which happen to have come
2025 from FreeType with fontconfig-specific ones (FC_*)
2027 2004-04-23 Keith Packard <keithp@keithp.com>
2030 Extend release preparation instructions to include
2031 notification and distribution steps
2033 2004-04-23 Keith Packard <keithp@keithp.com>
2037 * fontconfig/fontconfig.h:
2038 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2040 2004-04-23 Keith Packard <keithp@keithp.com>
2043 Ignore a few more autotool files
2045 2004-04-14 Keith Packard <keithp@keithp.com>
2048 Add instructions for doing a release
2050 * fontconfig.spec.in:
2051 clean up .spec file; perhaps this will be useful to somebody...
2055 * fontconfig/fontconfig.h:
2058 * fc-lang/fc-lang.c:
2059 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2061 * fc-glyphname/Makefile.am:
2062 * fc-lang/Makefile.am:
2063 * fc-list/Makefile.am:
2064 * fc-match/Makefile.am:
2066 Add WARN_CFLAGS to pass -W flags for GCC systems
2068 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2069 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2070 Change various char types around to match across
2072 Fixed bug in using available_sizes[i].height which
2073 is in pixels, not 64ths of a pixel.
2075 2004-03-06 Keith Packard <keithp@keithp.com>
2077 * src/fcfreetype.c: (FcFreeTypeQuery):
2078 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2079 matches looking for explicit values prefer exact matches
2081 2004-03-02 Keith Packard <keithp@keithp.com>
2083 Supplied by: mfabian@suse.de (Mike FABIAN)
2085 * src/fcfreetype.c: (FcFreeTypeQuery):
2086 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2087 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2089 2004-02-21 Manish Singh <yosh@gimp.org>
2091 * fc-glyphname/fc-glyphname.c: (main):
2092 Cast strlen to int for printf, so we're 64-bit clean.
2094 2004-02-11 Keith Packard <keithp@keithp.com>
2097 * src/fcfreetype.c: (FcGetPixelSize):
2098 Ok, so I messed up the test for y_ppem. Let's see if I
2099 got it right this time.
2101 2004-02-10 Keith Packard <keithp@keithp.com>
2104 * src/fcfreetype.c: (FcGetPixelSize):
2105 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2106 FT_Bitmap_Size record. Add a configure.in test for this
2107 and change the code accordingly (using height instead).
2109 2004-02-06 Keith Packard <keithp@keithp.com>
2112 Add Low Saxon orthography
2113 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2115 * src/fccfg.c: (FcConfigNewestFile):
2116 Oops. Left 'newest.set' unset, which would miscompute
2119 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2120 (FcFreeTypeCheckGlyph):
2121 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2122 font properties (which report the wrong value in current FreeType)
2124 Don't attempt to check for empty glyphs in non-scalable fonts; they
2127 2004-02-01 Tor Lillqvist <tml@iki.fi>
2129 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2130 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2131 cache if config->cache is NULL, which happens if FcConfigHome() is
2132 NULL. Guard against that by using the temp folder in that case.
2134 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2136 * fc-lang/az_ir.orth:
2137 * fc-lang/ku_ir.orth:
2138 * fc-lang/ps_af.orth:
2139 * fc-lang/ps_pk.orth:
2140 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2141 (Afghan and Pakistani).
2143 Updated Urdu orthography with real data.
2145 2003-12-11 Carl Worth <cworth@east.isi.edu>
2147 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2150 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2152 (all-local): Remove excessive whitespace.
2154 * autogen.sh: Add 'set -e' to abort when any program fails,
2155 (avoids printing of 'now type make' after configure aborts).
2157 2003-11-17 Eric Christopherson <rakko@charter.net>
2159 reviewed by: Keith Packard <keithp@keithp.com>
2162 * fontconfig/fcfreetype.h:
2164 Switch to FreeType 2.1.7 style includes. Bug #150.
2166 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2168 * fc-list/fc-list.sgml: Add some example usages.
2170 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2173 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2176 2003-10-27 Keith Packard <keith@keithp.com>
2179 * fontconfig/fontconfig.h:
2180 Update to version 2.2.92
2182 2003-10-27 Keith Packard <keithp@keithp.com>
2187 * fc-cache/Makefile.am:
2188 * fc-glyphname/Makefile.am:
2189 * fc-lang/Makefile.am:
2190 * fc-list/Makefile.am:
2191 * fc-match/Makefile.am:
2194 Yet more cleanups to finish getting 'make distcheck' working
2195 This has been tested to ensure that it even works from a _build
2198 2003-10-26 Keith Packard <keithp@keithp.com>
2202 * fc-cache/Makefile.am:
2203 * fc-glyphname/Makefile.am:
2204 * fc-lang/Makefile.am:
2205 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2206 * fc-list/Makefile.am:
2207 * fc-match/Makefile.am:
2208 Attempts to fix 'make distcheck' work. Things are
2209 progressing pretty well, but there are still failures
2210 long into the process dealing with docs (as always).
2212 The big changes here are mostly to make $(srcdir) != "."
2213 work correctly, fixing the docbook related sections and
2214 fc-lang were particularily tricky. Docbook refuses to load
2215 system entities from anywhere other than where the original .sgml
2216 file was located, so no luck looking in "." for the
2217 configure-generated version.sgml and confdir.sgml files.
2219 fc-lang needed help finding .orth files; added a -d option
2220 to set the directory as the least evil of many options.
2222 Now to go use a faster machine and try and wring out the last
2225 2003-10-26 Keith Packard <keithp@keithp.com>
2229 2003-10-26 Keith Packard <keithp@keithp.com>
2232 Include confdir.sgml.in in EXTRA_DIST
2234 2003-10-09 Josselin Mouette <joss@debian.org>
2236 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2237 * fc-list/fc-list.sgml fc-list/Makefile.am:
2238 Replace fc-cache and fc-list manpages with more detailed, SGML
2241 2003-09-23 Owen Taylor <otaylor@redhat.com>
2243 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2244 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2245 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2248 2003-09-23 Owen Taylor <otaylor@redhat.com>
2250 * fc-lang/ka.orth: Remove Georgian capitals, they
2251 aren't used for normal writing. (Bug #116)
2253 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2255 * doc/fontconfig-devel.sgml:
2256 * doc/fontconfig-user.sgml:
2257 * fontconfig/fontconfig.h:
2259 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2260 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2262 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2263 monospace and dual-width fonts, allow roughly a 3% variance in the
2266 2003-08-31 Manish Singh <yosh@gimp.org>
2268 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2271 2003-08-15 Carl Worth <cworth@isi.edu>
2273 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2274 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2276 * src/fcpat.c (FcValueListEntDestroy): New function to support
2277 FcFini memory cleanup. Some statistics are not kept in
2279 (FcValueListFreeze): Move hashTable outside this function so it
2280 can be accessed by FcValueListThawAll.
2281 (FcValueListThawAll): New function complements FcValueListFreeze.
2282 (FcPatternBaseFreeze): Move hashTable outside this function so it
2283 can be accessed by FcPatternBaseThawAll.
2284 (FcPatternBaseThawAll): New function complements
2285 FcPatternBaseFreeze.
2286 (FcPatternThawAll): New function complements FcPatternFreeze.
2288 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2290 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2291 allocated FcCharLeafEnt "blocks" so they can be freed later.
2292 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2293 can be accessed by FcCharSetThawAllLeaf.
2294 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2295 (FcCharSetFreezeBase): Move hashTable outside this function so it
2296 can be accessed by FcCharSetThawAll.
2297 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2299 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2300 (FcConfigDestroy): Fic leak of FcBlanks.
2302 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2303 (main): Add call to FcFini when finished.
2305 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2306 static. Add prototypes.
2308 * doc/fcinit.fncs: Add documentation for FcFini function.
2310 * doc/edit-sgml.c: Mark several local functions as static. Add
2313 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2315 2003-06-15 Tor Lillqvist <tml@iki.fi>
2317 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2318 before comparing (needed on Windows).
2320 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2322 2003-06-13 Tor Lillqvist <tml@iki.fi>
2324 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2327 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2328 WINDOWSFONTDIR token.
2330 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2331 end, not to confuse libtool, which expects the EXPORTS line to be
2332 the first. Add FcConfigEnableHome.
2334 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2335 built as a DLL on Win32.
2337 2003-06-09 Keith Packard <keithp@keithp.com>
2339 * Tag version 2.2.90
2341 2003-06-09 Keith Packard <keithp@keithp.com>
2343 * Optimization in FcLangSetIndex was broken, occasionally
2344 returning a pointer to the wrong location on miss
2346 * Add fc-match to test font matching from the command line.
2348 2003-05-31 Keith Packard <keithp@keithp.com>
2350 * (Bug 85) add support for culmus fonts
2351 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2352 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2354 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2356 * Fix "contains" op for strings and langsets.
2358 2003-05-17 Keith Packard <keithp@keithp.com>
2360 * Fix build error with BDF prop local. Free langset after query
2362 2003-05-14 Keith Packard <keithp@keithp.com>
2364 * Extract spacing from XLFD atom
2366 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2368 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2369 disappeared in 1.30.
2371 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2373 2003-05-12 Keith Packard <keithp@keithp.com>
2375 * Use FcIsWidth to share code
2377 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2378 misclassifying some Han fonts as monospaced.
2380 2003-05-07 Keith Packard <keithp@keithp.com>
2382 * Add filename-based accept/reject to ammend available fonts.
2384 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2385 older FreeType releases.
2387 2003-05-06 Keith Packard <keithp@keithp.com>
2389 * Remove 0b82 and Tamil numbers from tamil
2390 orthography (Jungshik Shin <jshin@mailaps.org>)
2392 2003-05-04 Keith Packard <keithp@keithp.com>
2394 + Map glyph names in fonts with adobe custom encoding to unicode
2396 2003-05-02 Keith Packard <keithp@keithp.com>
2398 * Add FC_WEIGHT_BOOK as weight 75
2400 2003-04-30 Keith Packard <keithp@keithp.com>
2402 * Typo in bitstream foundry name
2404 2003-04-24 Keith Packard <keithp@keithp.com>
2406 * Eliminate italic_angle check for PS fonts
2408 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2410 * Getting closer to fixing /etc/fonts hard-coding.
2412 2003-04-22 Keith Packard <keithp@keithp.com>
2414 * Update autogen.sh to work with newer automake versions
2415 * Handle pattern elements moving during multiple edits
2417 2003-04-23 James Henstridge <james@daa.com.au>
2419 * doc/fontconfig-devel.sgml: close the <para> element.
2421 * doc/fcpattern.fncs: close the <para> element.
2423 * doc/func.sgml: close the <refsynopsisdiv> element.
2425 2003-04-22 Keith Packard <keithp@keithp.com
2427 * Update autogen.sh to work with newer automake versions
2428 * Handle pattern elements moving during multiple edits
2430 2003-04-17 Colin Walters <walters@debian.org>
2432 + Remove some unused variables, and initialize some other ones so
2433 gcc doesn't warn us.
2435 2003-04-16 Keith Packard <keithp@keithp.com>
2437 + tag version 2.1.94
2439 2003-04-16 Keith Packard <keithp@keithp.com>
2441 + add BDF property fetching support for foundry
2442 (from Juliusz Chroboczek)
2443 + add BDF property fetching support for width
2445 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2447 + Implemented foundry generation for Type 1 and TrueType
2449 2003-04-11 Gerard Escalante <g2@magestudios.net>
2451 + Retrieve information from Type1 FontInfo dictionaries
2453 2003-04-07 Colin Walters <walters@verbum.org>
2455 + src/Makefile.am: Fix dummy makefile target names when
2456 MS_LIB_AVAILABLE isn't set.
2458 2003-03-22 Tor Lillqvist <tml@iki.fi>
2460 Changes for Windows:
2462 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2464 + We don't want to hardcode the fonts.conf file location in the
2465 DLL, so we look up the DLL location at run-time in a DllMain()
2466 function. The fonts.conf location is deduced from that.
2468 + The colon can't be used as path separator on Windows,
2469 semicolon is used instead. File path components can be separated
2470 with either slash or backslash. Absolute paths can also begin
2471 with a drive letter.
2473 + Add internal function FcStrLastSlash that strrchr's the last
2474 slash, or backslash on Windows.
2476 + There is no link() on Windows. For atomicity checks, mkdir a
2477 lock directory instead.
2479 + In addition to HOME, also look for USERPROFILE.
2481 + Recognize the special font directory token WINDOWSFONTDIR, to
2482 use the system's font directory.
2484 + Remove the fontconfig-def.cpp that was obsolete. Add
2485 fontconfig.def(.in), without internal functions.
2487 + Add a fontconfig-zip(.in) script, used to build a binary
2490 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2491 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2492 to main package and man3/* to devel package
2494 + Added missing defattr(-, root, root) to main RPM package
2496 + Added HTML and text development documentation to -devel subpackage
2498 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2499 + Added back the configure macro options --disable-docs, otherwise
2500 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2501 version number) unconditionally, causing RPM to fail the build due
2502 to _unpackaged_files_terminate_build. We pick up the pregenerated
2503 docs with %doc already.
2505 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2506 + Removed commented out rpm macro define at top of spec file,
2507 replacing it with a simple explanation, since rpm macros are
2508 expanded by rpm even in comments.
2510 + Changed /usr/bin to _bindir in BuildRequires lines
2512 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2514 + Reorganized file manifest lists
2516 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2518 + fontconfig.spec.in: Improvements from Red Hat spec file.
2520 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2522 + docs/*.sgml: SGML fixes.
2524 Sat Mar 1 17:28:53 PST 2003 keithp
2525 + Ok, so the ChangeLog is a bit out of date
2527 + Lots of bugs fixed; most are in bugzilla, the
2528 biggest problems were in cache management where
2529 Owen discovered the library would lose badly when
2530 combining fonts-cache and ~/.fonts-cache data
2532 + Converted from autoconf to automake. This after
2533 getting patches accepted into libtool to allow
2534 the '-version-number' argument which lets
2535 packages set version numbers explicitly rather
2536 than the roundabout libtool way
2538 + Converted documentation to SGML using the docbook
2539 DTD. Now .txt and .html documents are installed
2540 in /usr/share/doc/fontconfig and there's no
2541 man page. Perhaps a man version can be written
2544 Sat Aug 31 15:21:22 PDT 2002 keithp
2545 + Xrender and Xft had several bugs related to
2546 rendering manually placed or poly-face text
2548 + Added more complete memory tracing in fontconfig
2549 Checked with (patched) mozilla and found no leaks
2551 + Updated Latin orthographies by comparing those from
2552 evertype.com with those from eki.ee. Tried to make
2553 sensible choices, including chars that occured in both
2554 and leaving some optional chars out that occured only
2557 Mon Aug 26 16:33:04 PDT 2002 keithp
2558 + Owen discovered that FcLangSetHasLang wasn't actually
2559 checking the language set.
2561 Mon Aug 26 13:37:23 PDT 2002 keithp
2562 + Append a version number to cache filenames
2564 Thu Aug 22 11:36:18 PDT 2002 keithp
2566 + Add "contains" and "not_contains" operators and elements to
2569 + Changed semantics of eq operator for LangSets to check for
2570 FcLangEqual so that any match will do
2572 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2573 of FcValueEqual to check for identical values when inserting into
2574 the results. This broke when the above semantic change was made,
2575 now it uses FcValueEqual which is "more correct" in any case.
2577 Thu Aug 22 00:32:29 PDT 2002 keithp
2579 + Reimplement FC_LANG as new datatype. Lists of strings
2580 was consuming over a megabyte of memory for 401 fonts.
2582 + Freeze patterns loaded from cache files. This shares
2583 common value lists and common patterns which saves
2584 considerable memory.
2586 + Change the denotation of 'constant' charsets to use special
2587 ref value instead of separate boolean.
2589 + Clean up leak tracing stuff, found several unannoted alloc/free
2592 Tue Aug 20 16:17:37 PDT 2002 keithp
2594 + Fix memory leak when parsing matrices from XML
2596 Mon Aug 19 11:57:27 PDT 2002 keithp
2598 + Fix autoconf files to pass FONTCONFIG_PATH on
2599 compile line so that ${prefix} gets substituted
2602 + Use getc_unlocked/putc_unlocked on systems that
2603 provide them to avoid damage done to stdio by posix
2605 + Eliminate FC_PATTERN and FcTypePattern in favor of
2606 an extended api for FcConfigSubstitute which takes
2607 both the font and the pattern.
2609 + Add 'sans serif' alias for 'sans-serif' as some apps
2610 can't handle hyphens in family names
2612 + Eliminate pretense of support for libxml2
2614 + Comment origins of Han orthographies
2616 Tue Jul 30 18:37:09 PDT 2002 keithp
2618 + Add binding property to edit element so that strong
2619 binding values may be inserted by the config file.
2620 The default remains weak.
2622 Sun 28 Jul 04:16:55 PDT 2002 keithp
2624 + Tagged release candidate 1 in the CVS tree and
2625 placed fcpackage.rc1.tar.gz for distribution
2627 Thu Aug 1 08:55:08 PDT 2002 keithp
2629 + Fixed autoconf builds to always specify install
2630 target files (for BSD). Also fixed to
2631 define FONTCONFIG_PATH in config.h so that
2632 nonstandard installs will actually work.