1 2006-01-31 Mike Fabian <mfabian@suse.de>
4 * src/fccache.c (FcGlobalCacheLoad):
6 Toast broken global cache files.
8 2006-01-30 Patrick Lam <plam@mit.edu>
9 * src/fccache.c (FcGlobalCacheReadDir):
11 Actually use the directories that I added to the global cache.
14 2006-01-30 Mike Fabian <mfabian@suse.de>
17 * fc-cache/fc-cache.c (scanDirs):
19 Don't stop scanning if a directory in fonts.conf doesn't
20 exist, because subsequent directories might exist.
22 2006-01-30 Patrick Lam <plam@mit.edu>
23 * src/fccache.c (FcGlobalCacheLoad):
25 Make global cache work again after putting dir names into global
26 cache (I misplaced the recording of a file offset).
28 2006-01-30 Patrick Lam <plam@mit.edu>
29 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
31 Update fc-cat to handle subdir lists in global cache file.
33 * src/fccache.c (FcGlobalCacheLoad):
35 Another FcCacheReadString return value check.
37 2006-01-30 Mike Fabian <mfabian@suse.de>
40 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
41 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
43 Make fccache more resilient to broken cache files by checking
44 return value of FcCacheReadString all the time.
46 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
49 * fc-match/fc-match.1:
50 * fc-lang/fc-lang.man:
52 Remove references to dead fontconfig(3) manpages in
53 other fontconfig manpages.
55 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
60 Fix world's tiniest typo in code example.
62 2006-01-29 Mike Fabian <mfabian@suse.de>
65 * src/fccache.c (FcGlobalCacheReadDir):
67 Fix global cache reads of subdirectories.
69 2006-01-29 Patrick Lam <plam@mit.edu>
71 Add documentation for FcConfigNormalizeFontDir.
73 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
74 FcGlobalCacheUpdate, FcGlobalCacheSave):
75 * src/fcdir.c (FcDirScanConfig):
78 Write directory information to global caches to fix make check
79 (reported by Ronny V. Vindenes). This changes the global cache
82 2006-01-27 Patrick Lam <plam@mit.edu>
83 * fc-cache/fc-cache.c (scanDirs):
84 * fontconfig/fontconfig.h:
86 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
88 Move FcConfigNormalizeFontDir call so that it doesn't result in
89 infinite recursion (reported by Ronny V. Vindenes).
91 2006-01-26 Patrick Lam <plam@mit.edu>
92 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
93 * src/fccfg.c (FcConfigNormalizeFontDir):
95 Add a couple of missing normalizations to make fc-cache work
96 right; only scan subdirectories once.
98 2006-01-26 Mike Fabian <mfabian@suse.de>
101 * src/fcacache.c (FcGlobalCacheReadDir):
103 Don't crash on non-existant directories in global cache.
105 2006-01-26 Patirck Lam <plam@mit.edu>
106 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
107 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
108 * src/fcdir.c (FcDirScanConfig):
109 * src/fcxml.c (FcEndElement):
111 Stop trampling the directory name when writing out caches.
112 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
113 subdirs when necessary. Don't scan directories that can't be
116 2006-01-25 Patrick Lam <plam@mit.edu>
117 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
118 * src/fccfg.c (FcConfigEvaluate):
119 * src/fcfreetype.c (FcPatternAddWithBinding):
121 Fix additional memory leaks reported by Ronny V. Vindenes: don't
122 invoke FcValueSave on hashed static strings in
123 FcPatternAddWithBinding.
125 Add another st_dev check in FcDirCacheOpen.
127 2006-01-24 James Su <james.su@gmail.com>
130 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
131 * fc-lang/zh_hk.orth:
133 Treat zh-hk fonts differently from zh-tw fonts. This patch may
134 cause fontconfig to treat A-X fonts differently from A-Y fonts;
135 please mail the fontconfig list if this causes any problems.
137 2006-01-24 Patrick Lam <plam@mit.edu>
138 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
139 * src/fcfreetype.c (FcFreeTypeQuery):
141 Fix memory leaks reported by Ronny V. Vindenes.
143 2006-01-19 Andreas Schwab <schwab@suse.de>
146 * src/fcpat.c (FcStrNeededBytes):
148 Fix for unaligned memory accesses.
150 2006-01-18 Mike Fabian <mfabian@suse.de>
153 * src/fcdir.c (FcDirScanConfig):
155 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
156 calls to avoid crashes.
158 2006-01-14 Patrick Lam <plam@mit.edu>
159 * src/fccache.c (FcDirCacheConsume):
161 Fix segfault when consuming zero-length caches in fc-cat
162 (which has no config, so FcConfigAddFontDir shouldn't be called.)
164 2006-01-14 Patrick Lam <plam@mit.edu>
165 * fc-cache/fc-cache.c (scanDirs):
166 * fontconfig/fontconfig.h:
167 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
168 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
169 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
170 * src/fcdir.c (FcDirScanConfig):
173 Compare device numbers as well as inodes.
174 Always normalize directory names before comparing them.
176 2006-01-11 Mike Fabian <mfabian@suse.de>
179 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
181 Allocate extra space for appended '/' in directory name.
183 2006-01-10 Patrick Lam <plam@mit.edu>
184 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
185 FcDirCacheValid, FcDirCacheHasCurrentArch,
186 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
187 * fc-cache/fc-cache.c (main):
189 Explicitly add font dirs to config.fontDirs even if they're empty.
190 Set current config in fc-cache.c.
191 Fix treatment of cache directory as read from cache file; don't
192 use string equality to determine if we have the right file,
195 2006-01-09 Patrick Lam <plam@mit.edu>
196 * fc-cache/fc-cache.c (scanDirs):
197 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
198 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
199 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
200 * src/fccfg.c (FcConfigNormalizeFontDir):
201 * src/fcdir.c (FcDirScanConfig):
204 Normalize font dirs by using the form, as given in fonts.conf, and
205 recorded in FcConfig's fontDirs string set, as canonical.
207 Actually update config.fontDirs as font directories are scanned.
209 2006-01-08 James Su <james.su@gmail.com>
210 * src/fcmatch.c (FcFontSetMatch):
212 Fix matching bug when multiple elements match; don't use
213 the sum of all scores, but the best score.
215 Also more perf opts, e.g. evaluate best over all font sets
216 rather than on a per-set basis (and other changes).
218 2006-01-08 Patrick Lam <plam@mit.edu>
219 * src/fccache.c (FcDirCacheConsume):
221 Properly skip past dir caches that contain zero fonts (as occurs
222 in global caches.) Reported by Mike Fabian.
224 2006-01-06 Patrick Lam <plam@mit.edu>
225 * src/fcdbg.c (FcPatternPrint):
227 Print out full pathname in fc-match -v as well. Reported by
230 2006-01-06 Mike Fabian <mfabian@suse.de>
233 * src/fcname.c (FcNameParse):
235 Fix bug where fc-match crashes when given __DUMMY__ property to
238 (I added the __DUMMY__ string to enable callers of
239 FcObjectToPtrLookup to distinguish an error return from a
240 successful return. -PL)
242 2006-01-05 Patrick Lam <plam@mit.edu>
245 Add self to AUTHORS list.
247 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
248 FcCacheFileRead, FcCachePrintSet, main):
249 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
250 FcGlobalCacheSave, FcCacheNextOffset,
251 FcDirCacheHasCurrentArch, FcDirCacheRead,
252 FcDirCacheConsume, FcDirCacheWrite):
254 * src/fcpat.c (comment):
256 Minor change to global cache file format to fix fc-cat bug
257 reported by Frederic Crozat, and buglet with not globally caching
258 directories with zero fonts cached.
260 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
263 * src/fccfg.c (FcConfigEvaluate):
265 Fix double-free which occurs because FcValueCanonicalize doesn't
266 create an extra copy of the returned value, it only canonicalizes
269 2006-01-02 Patrick Lam <plam@mit.edu>
270 * doc/fontconfig-user.sgml:
272 Fix version of .cache file (currently 1 -> currently 2). Reported
275 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
278 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
280 Shut up GCC warnings on amd.
282 2005-12-20 Patrick Lam <plam@mit.edu>
286 * fontconfig/fontconfig.h:
288 Bump version to 2.3.93.
290 2005-12-20 Patrick Lam <plam@mit.edu>
291 * src/fccharset.c (FcLangCharSetPopulate):
292 * src/fcint.h (FcCacheBankToIndex):
294 Avoid check on _fcBankId nullness and fix case where it used to
297 2005-12-20 Patrick Lam <plam@mit.edu>
298 * src/fcxml.c (FcConfigParseAndLoad):
300 Use open instead of fopen (requested by Phil Race for Sun).
302 2005-12-20 Patrick Lam <plam@mit.edu>
303 * src/fccache.c (FcDirCacheWrite);
304 * fc-cache/Makefile.am:
306 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
309 2005-12-20 Patrick Lam <plam@mit.edu>
310 * src/fcfreetype.c (FcFreeTypeQuery):
312 Restore code to skip over PCF fonts that have no encoded
314 (We guess that a font is PCF by presence of the PIXEL_SIZE
317 2005-12-12 Patrick Lam <plam@mit.edu>
318 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
320 Read and write the original location as a fallback for the
321 hashed cache file locations. This is mostly for users to be
322 able to have per-directory cache files.
324 2005-12-12 Patrick Lam <plam@mit.edu>
325 * fc-cache/fc-cache.c (scanDirs):
326 * fc-cache/Makefile.am:
327 * src/fccache.c (FcDirCacheHashName):
329 Improve error message when fc-cache can't write the cache. Add
330 missing slash. Reported by Behdad. Incorporate Behdad's patch to
331 create /var/cache/fontconfig when appropriate.
333 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
336 * src/fcxml.c (FcConfigGetAttribute):
338 Fix crash reported by Frederic Crozat when using libxml2.
340 2005-12-09 Patrick Lam <plam@mit.edu>
343 * fc-cache/Makefile.am:
344 * fc-cat/Makefile.am:
346 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
347 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
348 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
349 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
350 FcDirCacheHasCurrentArch, FcDirCacheHashName,
351 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
353 Migrate cache files from fonts directories to
354 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
355 but requires that all caches get rebuilt.
357 Also, autogen.sh now needs the additional parameter
358 --localstatedir=/var.
360 2005-12-07 Patrick Lam <plam@mit.edu>
361 * src/fcpat.c (FcPatternAddString):
363 Because we've changed FcPatternAddString to use FcStrStaticName
364 and not FcValueSave, explicitly handle the case of a null string.
366 2005-12-06 Patrick Lam <plam@mit.edu>
367 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
371 2005-12-05 Patrick Lam <plam@mit.edu>
372 * src/fcname.c (FcNameGetObjectType):
374 Don't assign types to user object names.
376 2005-12-05 Patrick Lam <plam@mit.edu>
377 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
379 Don't free strings that have been returned from FcStrStaticName.
381 2005-12-01 Patrick Lam <plam@mit.edu>
382 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
384 Add codepath for reading global cache files as well.
386 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
389 * conf.d/10-fonts.persian.conf:
390 * conf.d/Makefile.am:
392 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
394 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
397 * src/fcxml.c (FcConfigParseAndLoad):
399 Only add a config file to the set of config files once.
401 2005-11-29 Patrick Lam <plam@mit.edu>
402 * src/fcint.h (FcCacheBankToIndex);
404 Fix segfault by guarding array dereference.
406 2005-11-29 Dirk Mueller <dmueller@suse.de>
410 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
411 FcCacheBankToIndex, FcCacheBankToIndexMTF,
415 Refactor FcCacheBankToIndex into an inlineable part
416 (in fcint.h) which checks the front of the list and a
417 non-inlineable part which finds and moves the appropriate element
418 to the front of the list.
420 2005-11-29 Patrick Lam <plam@mit.edu>
421 * src/fccfg.c (FcConfigBuildFonts):
422 * src/fccache.c (FcCacheReadDirs):
424 Make the perf guys hate me a bit less: hoist the directory-name
425 FcConfigAcceptFont check for cached fonts up to directory cache
426 read time, rather than running it for each font.
428 2005-11-29 Patrick Lam <plam@mit.edu>
429 * src/fccfg.c (FcConfigBuildFonts):
431 * src/fcpat.c (FcPatternFindFullFname):
433 Don't make FcPatternFindFullFname available to fccfg, it's not
434 really safe. Instead go through FcPatternGetString (sorry,
435 perf guys.) Also, use globs for dirs as well.
437 2005-11-28 Patrick Lam <plam@mit.edu>
438 * src/fccfg.c (FcConfigBuildFonts):
442 2005-11-28 Patrick Lam <plam@mit.edu>
444 * src/fcpat.c (FcPatternFindFullFname):
445 * src/fccfg.c (FcConfigBuildFonts):
447 Fix problem dating back at least to 2.3.2 where globs weren't
448 being applied to patterns loaded from a cache.
450 2005-11-28 Patrick Lam <plam@mit.edu>
451 * doc/fontconfig-user.sgml:
453 Fix some obvious spelling mistakes.
455 2005-11-28 Dirk Mueller <dmueller@suse.com>
456 Stephan Kulow <coolo@suse.de>
459 * src/fcmatch.c (FcFontSetMatch):
461 Don't kill all fonts during match (oops!)
464 2005-11-25 Dirk Mueller <dmueller@suse.com>
465 Stephan Kulow <coolo@suse.de>
466 Michael Matz <matz@suse.de>
469 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
472 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
473 inline FcCompare into FcFontSetMatch and reorder the
474 loops, adding a boolean array which blocks patterns from future
475 consideration if they're known to not be best on some past
478 2005-11-26 Dirk Mueller <dmueller@suse.com>
481 * src/fcmatch.c (FcCompareValueList):
485 2005-11-25 Patrick Lam <plam@mit.edu>
486 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
488 Don't do random matching when bad objects are passed into
491 2005-11-25 Patrick Lam <plam@mit.edu>
493 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
494 FcPatternSerialize, FcPatternUnserialize,
495 FcValueListEnsureBank, FcValueListDistributeBytes,
496 FcValueListUnserialize):
498 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
499 _fcPatternElts, _fcValueLists for consistency.
501 2005-11-25 Dirk Mueller <dmueller@suse.com>
506 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
508 2005-11-25 Patrick Lam <plam@mit.edu>
510 * src/fccache.c (FcDirCacheConsume):
511 * src/fccharset.c (FcCharSetUnserialize):
512 * src/fcfs.c (FcFontSetUnserialize):
513 * src/fclang.c (FcLangSetUnserialize):
514 * src/fcname.c (FcObjectUnserialize):
515 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
516 FcPatternUnserialize):
518 Pass around FcCache *s to the Unserialize functions for extra
519 consistency (and less overhead, for what that's worth).
521 2005-11-24 Dirk Mueller <dmueller@suse.com>
525 * src/fcmatch.c (FcCompare*, FcFontSetSort):
526 * src/fcname.c (FcNameUnparseValue):
528 Inline the *PtrU functions to gain perf.
529 Remove unneeded params for the FcCompare* functions.
531 2005-11-24 Dirk Mueller <dmueller@suse.com>
534 * src/fcint.h, fontconfig/fontconfig.h:
536 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
538 * src/fcpat.c, src/fcint.h, src/fcname.c:
540 Check for type validity during FcPatternAddWithBinding, don't
541 verify type in FcFontMatch, don't call FcCanonicalize here
542 (which always does a deep copy).
544 2005-11-24 Dirk Mueller <dmueller@suse.com>
547 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
548 * src/fcpat.c (FcPatternAddWithBinding):
550 Make FcCompareString and FcCompareFamily less expensive.
551 Only add a value for FC_FAMILY if the proposed value is a string.
553 2005-11-24 Dirk Mueller <dmueller@suse.com>
556 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
557 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
558 * src/fcint.h (FcDebug):
560 Inline FcDebug invocations and only initialize once, in FcInit*.
561 Improve debug msg in FcPatternPrint.
563 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
566 * fontconfig/fontconfig.h:
569 Minor code warning cleanups.
571 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
574 * fc-match/fc-match.c (main):
576 Make getopt_long accept -s parameter to fc-match as well.
578 2005-11-21 Dirk Mueller <dmueller@suse.com>
581 * src/fcmatch.c (FcCompareValueList):
583 Manually perform inlining & partial redundancy elimination to
584 reduce calls to FcValueListPtrU.
586 2005-11-21 Dirk Mueller <dmueller@suse.com>
589 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
590 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
592 Only invoke strlen() when really necessary.
594 2005-11-19 Matthias Clasen <mclasen@redhat.com>
598 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
603 Get rid of the use of freetype internal headers in fcfreetype.c,
604 since those headers will go away with freetype 2.2. Replace with
605 public domain ftglue code from pango. Note that the patch removes
606 some extra error checking in FT_Get_BDF_Property() and comments
607 out the skipping of empty pcf fonts.
609 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
612 * fc-lang/fc-lang.c (main):
614 Further fix of patch from 2005-11-04: miscounted numbers count
615 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
616 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
618 Removed leafidx_count and numbers_count since they are the same
619 and replaced them with offset_count.
621 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
624 * fc-cat/fc-cat.c (main):
626 Don't crash when fc-cat invoked with no arguments.
628 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
631 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
633 Fix invalid read access caused by premature free and
634 GCC4 warnings in libxml2 codepath.
636 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
639 * src/fccfg.c (FcConfigValues):
641 List iteration not needed in FcConfigValues, since it's building
642 up the list itself; we can just strip FcVoid elements during
645 2005-11-17 Patrick Lam <plam@mit.edu>
646 * src/fccfg.c (FcConfigValues):
648 Fix crash on invalid constants in config files (forgot to update
649 a pointer upon list iteration.)
651 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
654 * src/fcxml.c (FcTypecheckExpr):
656 Complain about invalid constants in config files.
658 2005-11-17 Andreas Schwab <schwab@suse.de>
661 * src/fccache.c (FcGlobalCacheSave):
663 Don't add current_arch_start more than once.
665 2005-11-16 Patrick Lam <plam@mit.edu>
666 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
667 * src/fcfs.c (FcFontSetUnserialize):
668 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
669 * src/fcpat.c (FcStrUnserialize):
671 Fix ordering of ALIGN with respect to saving block_ptr; add
672 another ALIGN to fcfs.c.
674 2005-11-16 Patrick Lam <plam@mit.edu>
675 * src/fccache.c (FcDirCacheProduce)
677 Fix case where alignment bytes bumped up metadata->count
678 causing unwarranted failures to write cache files.
679 (Reported by Stephan Kulow).
681 2005-11-16 Patrick Lam <plam@mit.edu>
682 * src/fccache.c (FcDirCacheProduce):
683 * src/fccharset.c (FcCharSetDistributeBytes):
684 * src/fcfs.c (FcFontSetDistributeBytes):
686 * src/fclang.c (FcLangSetDistributeBytes):
687 * src/fcname.c (FcObjectDistributeBytes):
688 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
691 Add *NeededBytesAlign(), which overestimates the padding which is
692 later added by the new ALIGN macro. Fix alignment problems on
693 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
694 version by Andreas Schwab).
696 2005-11-16 Stephan Kulow <coolo@kde.org>
701 Use sysconf to determine proper PAGESIZE value; this
702 appears to be POSIX-compliant. (reported by Andreas Schwab)
704 2005-11-04 Patrick Lam <plam@mit.edu>
710 Fix bug 2878 (excessive relocations at startup for charsets,
711 reported by Ross Burton): fc-lang/fc-lang now creates the
712 static form of the langset, not the dynamic form, so that
713 the charsets should now be in .rodata.
715 2005-11-04 Patrick Lam <plam@mit.edu>
716 * src/fcdir.c (FcDirScanConfig):
718 Add test for validity of directory caches that
719 somehow got lost (reported by make distcheck).
721 2005-11-04 Patrick Lam <plam@mit.edu>
725 * fontconfig/fontconfig.h:
727 Bump version to 2.3.92.
729 2005-11-02 Patrick Lam <plam@mit.edu>
730 * src/fcpat.c (FcPatternDuplicate):
732 Fix argument ordering problem in call to FcPatternTransferFullFname.
734 2005-11-02 Patrick Lam <plam@mit.edu>
735 * src/fcfreetype.c (FcFreetypeQuery):
736 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
737 FcPatternTransferFullFname):
739 Fix warnings and embarrassing double-free error.
741 2005-11-02 Zhe Su <zsu@novell.com>
746 Change the rule for artificial emboldening in fonts.conf.in. This
747 enables the support for artificial emboldening included in cairo.
749 2005-11-02 Patrick Lam <plam@mit.edu>
750 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
752 Don't zero out full names for FC_REF_CONSTANT fonts;
753 also, duplicate full names when transferring, and free
754 full names when freeing the associated font.
755 Reported by Jinghua Luo.
757 2005-11-02 Patrick Lam <plam@mit.edu>
758 * fc-cache/fc-cache.c (scanDirs):
759 * src/fcpat.c (FcValueListSerialize):
761 Revert the previous patch and commit the correct patch:
762 I forgot a canonicalization in FcValueListSerialize, so
763 that it would choke on already-serialized input files. Duh!
765 2005-11-02 Patrick Lam <plam@mit.edu>
766 * fc-cache/fc-cache.c (scanDirs):
768 Forcibly rescan a directory before writing a fresh local
769 cache file for that directory, fixing the losing-fonts
770 problem reported by Mike Fabian and also apparently the
771 font cache file corruption.
773 2005-11-02 Patrick Lam <plam@mit.edu>
774 * src/fccache.c (FcGlobalCacheLoad):
776 Fix thinko: actually, the whole global cache is stale
777 if the global cache is older than the (newest) config file.
779 2005-11-02 Patrick Lam <plam@mit.edu>
780 * src/fccache.c (FcGlobalCacheLoad):
781 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
784 Declare the global cache of a directory's contents to be stale if
785 the directory is newer than the (newest) configuration file.
787 2005-10-31 Patrick Lam <plam@mit.edu>
789 * src/fclist.c (FcListAppend):
790 * src/fcmatch.c (FcFontRenderPrepare):
791 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
792 FcPatternFreeze, FcPatternBaseFreeze):
794 Copy the full pathname whenever duplicating an FcPattern; otherwise,
795 applications continue breaking.
797 2005-10-31 Patrick Lam <plam@mit.edu>
798 * fc-cat/fc-cat.c (FcCacheFileRead, main):
799 * src/fcfreetype.c (FcFreeTypeQuery):
801 Fix small memory error (tried to free argv); use basename and
802 dirname correctly (they can modify their arguments).
804 2005-10-31 Patrick Lam <plam@mit.edu>
812 Reinstate basename patch, but keep a hash table linking FcPatterns
813 to their fully-qualified font names for clients' benefit. Clients
814 only pay for the font names once they request the FC_FILE property
815 from an FcPattern, but the font name is malloc'd at that point (i.e.
816 not mmapped: that's impossible, since it may vary between machines.)
817 Clients do have to pay for a copy of the path name per cache file.
819 Note that FcPatternGetString now does some rewriting if you ask
820 for an FC_FILE, appending the pathname as appropriate.
822 2005-10-31 Patrick Lam <plam@mit.edu>
823 * src/fcfreetype.c (FcFreeTypeQuery):
825 Revert basename patch, which breaks fontconfig clients on my system.
827 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
830 * fontconfig/fonts.conf.in:
831 * fontconfig/fontconfig.h:
835 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
836 to load embedded bitmaps or not.
838 2005-10-25 Patrick Lam <plam@mit.edu>
839 * src/fcfreetype.c (FcFreeTypeQuery):
841 Only add basename to patterns' FC_FILE element, not any part of
844 2005-10-22 Patrick Lam <plam@mit.edu>
847 Add some more consts, fixing more GCC4 warnings.
849 2005-10-22 Zhe Su <zsu@novell.com>
852 Support localized font family and style names.
853 This has been reported to break old apps like xfd, but modern
854 (gtk+/qt/mozilla) apps work fine.
856 2005-10-21 Patrick Lam <plam@mit.edu>
857 * src/fccache.c (FcGlobalCacheLoad):
859 Destroy the global cache file if it's terminally broken. (reported by
862 2005-10-21 Patrick Lam <plam@mit.edu>
863 * fc-list/fc-list.c (main):
864 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
865 * fontconfig/fontconfig.h:
867 Prevent fc-list from escaping strings when printing them (reported by
870 2005-10-20 Marcus Meissner <meissner@suse.de>
873 * fontconfig/fontconfig.h:
875 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
877 2005-10-14 Ross Burton <ross@burtonini.com>
880 * fc-glyphname/fc-glyphname.c:
883 Add consts to variables so as to move arrays into .rodata.
885 2005-10-14 Mike Fabian <mfabian@suse.de>
888 * src/fccache.c (FcDirCacheUnlink):
890 Check existence of directory cache file before attempting to unlink.
892 2005-10-13 Patrick Lam <plam@mit.edu>
893 * src/fccache.c (FcDirCacheUnlink):
895 Fix flipped return value on unlink. (Reported by Mike Fabian)
897 2005-10-12 Patrick Lam <plam@mit.edu>
900 * src/fcdir.c (FcDirScanConfig):
903 When fc-cache is run without --force, use directory cache files
904 to speed up fc-cache run time. (Reported by Mike Fabian)
906 2005-10-06 Patrick Lam <plam@mit.edu>
908 * src/fcname.c (FcObjectToPtr):
909 * src/fcpat.c (FcStrStaticName):
911 Add padding to make valgrind and glibc not hate each other
912 when calling strlen().
914 2005-10-05 Simos Xenitellis <simos74@gmx.net>
915 reviewed by: plam & keithp
919 Modify config file to use Greek fonts before Asian fonts with
922 2005-10-05 Christian Biesinger <cbiesinger@web.de>
923 reviewed by: plam & keithp
927 Use libtool -no-undefined flag on all platforms.
929 2005-10-05 Patrick Lam <plam@mit.edu>
930 * src/fccache.c (FcCacheHaveBank):
932 Implement move-to-front array for banks (perf regression
933 reported by Ronny V. Vindenes).
935 2005-10-04 Patrick Lam <plam@mit.edu>
936 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
937 FcDirCacheHasCurrentArch):
938 * fc-cache/fc-cache.c (scanDirs):
939 * fontconfig/fontconfig.h:
941 Add new API which unlinks directory caches and checks dir caches
942 for existence of appropriate sections. Fix fc-cache to unlink
943 stale cache files and save directory caches that lack relevant
946 2005-10-03 Patrick Lam <plam@mit.edu>
947 * src/fccache.c (FcDirCacheValid):
949 Ensure that a directory cache has the appropriate section
950 before reporting that it is valid (reported by Matthias Clasen).
952 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
960 Use libxml2 if requested (with --enable-libxml2) or if
961 expat is not available.
963 2005-09-29 Patrick Lam <plam@mit.edu>
964 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
966 Fix multi-arch cache files: compute the position for the
967 block to be added using info from OrigFile, not NewFile.
969 2005-09-28 Patrick Lam <plam@mit.edu>
970 * src/fccache.c (FcCacheMachineSignature):
972 Cast results of sizeof() to unsigned int to get rid of
973 warnings on x86_64 (thanks Matthias Clasen).
975 2005-09-27 Patrick Lam <plam@mit.edu>
976 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
979 Use FcAtomic to rewrite cache files.
981 2005-09-27 Patrick Lam <plam@mit.edu>
983 * src/fccache.c (FcDirCacheWrite):
985 Don't unlink the fonts.cache-2 file even if there's no data
986 to write; just write an empty cache file. (thanks Lubos Lunak)
988 2005-09-27 Patrick Lam <plam@mit.edu>
990 * src/fccache.c (FcDirCacheWrite):
992 Allocate room for the subdirectory names in each
993 directory cache. Thanks to James Cloos for finding
994 and diagnosing this bug!
996 2005-09-22 Patrick Lam <plam@mit.edu>
998 * fc-cache/fc-cache.sgml:
999 * src/fccache.c (FcDirCacheWrite):
1000 * src/fccache.h (struct FcCache):
1002 Update documentation -- fc-cache's man page now says that you
1003 need to run fc-cache once per cached architecture; add some
1004 documentation to the FcCache structure.
1006 Make fc-cache write out fonts.cache-2 files for directories with
1007 no fonts (i.e. only subdirectories).
1009 2005-09-22 Patrick Lam <plam@mit.edu>
1011 * fc-cache/fc-cache.sgml:
1012 * fc-case/fc-case.c:
1013 * fc-glyphname/fc-glyphname.c:
1019 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1023 * fc-lang/fc-lang.c:
1024 * fontconfig/fcprivate.h:
1025 * fontconfig/fontconfig.h:
1039 Implement new mmaped cache for font information.
1040 Bump so revision to 2.3.90.
1042 2005-07-25 Keith Packard <keithp@keithp.com>
1044 * doc/fontconfig-user.sgml:
1045 * fc-glyphname/fc-glyphname.c: (scan), (main):
1046 * fc-lang/fc-lang.c: (FcConfigHome):
1047 * fc-match/fc-match.c: (main):
1048 * src/fccfg.c: (FcConfigHome):
1049 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1050 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1051 (addtag), (FcFontCapabilities):
1052 * src/fcpat.c: (FcValueListEntCreate):
1053 * src/fcstr.c: (FcStrCaseWalkerInit):
1054 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1056 Various GCC 4 cleanups for signed vs unsigned char
1058 Match only [0-9]*.conf files in <include>{directory}</include>
1059 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1061 2005-07-15 Carl Worth <cworth@cworth.org>
1064 * src/fcinit.c: (FcFini):
1065 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1068 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1069 Pull the FcObjectStateName hash table out to file scope, and add
1070 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1073 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1076 2005-06-16 Patrick Lam <plam@MIT.EDU>
1080 * src/fccfg.c: (FcConfigCompareValue):
1081 Make FcOpNotContains use FcStrStr for strings so that
1082 it matches semantics for !FcOpContains.
1084 2005-05-20 Keith Packard <keithp@keithp.com>
1088 Move fontconfig source package to libs as per override
1090 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1092 reviewed by: Mike Fabian
1095 The ka.orth file requires several characters which are not
1096 used anymore in modern Georgian and which are missing in the free
1097 Georgian TrueType fonts downloadable at:
1099 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1101 2005-04-27 Keith Packard <keithp@keithp.com>
1105 Update date to real 2.3.2 release date.
1106 Fix change attributions
1108 2005-04-27 Keith Packard <keithp@keithp.com>
1111 Bump so revision for 2.3.2
1112 * fc-cache/fc-cache.c: (scanDirs):
1113 Fix a few minor leaks in error cases.
1115 2005-04-23 Keith Packard <keithp@keithp.com>
1120 * fontconfig/fontconfig.h:
1121 Update for version 2.3.2
1123 2005-04-21 Keith Packard <keithp@keithp.com>
1125 * debian/fontconfig.postinst:
1126 Don't force bitmap font enable in default
1127 configuration; allows users to override this in
1137 * debian/po/pt_BR.po:
1138 * debian/po/templates.pot:
1140 * debian/po/zh_CN.po:
1141 Updated translations
1143 * fc-cache/fc-cache.c: (main):
1144 Destroy font configuration on exit to help valgrind
1147 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1148 (FcFreeTypeCheckGlyph):
1149 Use own transcoding routines in preference to iconv
1150 which appears to have leaks in some translators.
1151 Call iconv_close after using iconv (oops).
1153 Prefer unicode encoding of Euro char as some
1154 fonts mis-encode Euro in other ones.
1156 Must fetch bitmap glyphs to get width values
1157 to check for monospace/dual-width fonts.
1159 2005-04-13 Ross Burton <ross@burtonini.com>
1162 Check that a pattern isn't already frozen in FcPatternFreeze.
1164 2005-03-31 Ross Burton <ross@burtonini.com>
1169 Run all FcPattern objects through FcObjectStaticName, so that
1170 compares can be done on pointers instead of strings (#2659)
1172 2005-03-17 Tor Lillqvist <tml@novell.com>
1174 * src/fontconfig.def.in: Add the .dll to the dll name.
1176 2005-03-10 Keith Packard <keithp@keithp.com>
1178 * debian/README.Debian:
1179 Update to reflect configuration changes
1181 * debian/fontconfig.postinst:
1182 Fix Autohint vs Autohinter mistake
1183 * debian/fontconfig.templates:
1184 Adopt changes from Josselin Mouette for configuration descriptions
1185 Update debian to version 2.3.1-2
1187 2005-03-08 Keith Packard <keithp@keithp.com>
1191 Update debian for 2.3.1
1193 2005-03-09 Tor Lillqvist <tml@novell.com>
1195 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1198 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1201 2005-03-08 Keith Packard <keithp@keithp.com>
1205 * fontconfig/fontconfig.h:
1208 2005-03-05 Keith Packard <keithp@keithp.com>
1210 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1211 Include space and remove numbers from valid script tags.
1212 This ensures that tags like 'lao ' work while rejecting
1213 those which have any digits.
1214 Eliminate a spurious debugging variable (len)
1216 2005-03-05 Keith Packard <keithp@keithp.com>
1218 * src/fcfreetype.c: (addtag), (GetScriptTags),
1219 (FcFontCapabilities):
1220 Rework GSUB/GPOS script parsing to survive broken fonts.
1221 Thanks for the broken font go to Manish Singh
1223 2005-03-05 Keith Packard <keithp@keithp.com>
1228 * debian/fontconfig.config:
1229 * debian/fontconfig.templates:
1231 Include 2.3 release information in changelog
1232 Add Josselin Mouette as an Uploader
1233 Set hinting_type to low priority configuration option
1236 * debian/fontconfig.postinst:
1237 yes_bitmaps.conf -> yes-bitmaps.conf
1243 2005-03-02 Keith Packard <keithp@keithp.com>
1246 * conf.d/Makefile.am:
1247 * conf.d/autohint.conf:
1248 * conf.d/no-sub-pixel.conf:
1249 * conf.d/sub-pixel.conf:
1250 * conf.d/unhinted.conf:
1251 * debian/autohint.conf:
1252 * debian/fontconfig.install:
1253 * debian/fontconfig.postinst:
1254 * debian/fontconfig.templates:
1255 * debian/no-sub-pixel.conf:
1256 * debian/unhinted.conf:
1257 Move debian-specific conf file examples upstream.
1259 Sub-pixel configuration examples must smash subpixel value
1260 as Xft always sets it from X.
1262 Change sub-pixel rendering debconf descriptions from
1263 Enable/Disable to Always/Never.
1265 2005-03-02 Keith Packard <keithp@keithp.com>
1268 * conf.d/.cvsignore:
1270 Ignore more build detritus
1273 Add debian package construction stuff.
1275 * config/config.guess:
1276 * config/config.sub:
1277 Update to newer versions of these tools
1280 Get library manuals to build again (we love automake).
1282 * debian/README.Debian:
1283 * debian/autohint.conf:
1288 * debian/fontconfig-udeb.install:
1289 * debian/fontconfig.config:
1290 * debian/fontconfig.defoma:
1291 * debian/fontconfig.dirs:
1292 * debian/fontconfig.install:
1293 * debian/fontconfig.postinst:
1294 * debian/fontconfig.postrm:
1295 * debian/fontconfig.templates:
1296 * debian/libfontconfig1-dev.install:
1297 * debian/libfontconfig1.install:
1298 * debian/local.conf.md5sum:
1299 * debian/no-sub-pixel.conf:
1300 * debian/po/POTFILES.in:
1309 * debian/po/pt_BR.po:
1310 * debian/po/templates.pot:
1312 * debian/po/zh_CN.po:
1314 * debian/unhinted.conf:
1315 Update debian build system to switch maintainers and
1316 deal with 2.3 functionality
1318 2005-03-01 Keith Packard <keithp@keithp.com>
1322 * fontconfig/fontconfig.h:
1325 2005-03-01 Keith Packard <keithp@keithp.com>
1328 Generate and install PDF versions of the manuals
1330 * doc/fcpattern.fncs:
1333 * doc/fcstring.fncs:
1334 Add missing exported functions, fix data types
1336 * doc/fontconfig-devel.sgml:
1337 Add missing pattern elements.
1339 * doc/fontconfig-user.sgml:
1340 Add missing pattern elements. Document conf.d usage,
1341 clarify available orthography list. Fix some config file
1342 attributes. Complete list of constants.
1344 * fontconfig/fontconfig.h:
1345 Mark FC_SOURCE deprecated.
1347 * src/fcfreetype.c: (FcFreeTypeQuery):
1348 Don't set FC_SOURCE any longer.
1350 2005-02-28 Keith Packard <keithp@keithp.com>
1353 * conf.d/Makefile.am:
1355 * conf.d/no-bitmaps.conf:
1356 * conf.d/sub-pixel.conf:
1357 * conf.d/yes-bitmaps.conf:
1359 Create prototype /etc/fonts/conf.d directory with a few
1360 sample configuration files.
1361 Deprecate use of local.conf for local customizations in favor of
1362 this directory based scheme which is more easily integrated into
1363 installation systems.
1366 Tag FC_EMBOLDEN as a boolean variable
1368 2005-02-10 Keith Packard <keithp@keithp.com>
1370 reviewed by: pborelli@katamail.com
1372 * src/fcdir.c: (FcFileScanConfig):
1373 Free patterns from fonts which are rejected by configuration
1376 2005-01-28 Keith Packard <keithp@keithp.com>
1380 * fontconfig/fontconfig.h:
1381 Update for version 2.2.99
1383 2005-01-28 Keith Packard <keithp@keithp.com>
1386 Add a few pointers (#2284, #2285)
1388 2005-01-28 Keith Packard <keithp@keithp.com>
1391 * src/fcname.c: (FcNameBool):
1392 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1393 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1394 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1395 Polite typechecking for test and edit expressions. Helps
1396 catch errors in the font configuration. (bug 229)
1398 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1400 reviewed by: Keith Packard <keithp@keithp.com>
1403 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1405 2005-01-13 Keith Packard <keithp@keithp.com>
1407 * doc/fontconfig-user.sgml:
1408 Add SEE ALSO section (bug 2085)
1410 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1412 reviewed by: Keith Packard <keithp@keithp.com>
1417 * fc-case/Makefile.am:
1418 * fc-glyphname/Makefile.am:
1419 * fc-lang/Makefile.am:
1420 * src/fontconfig.def.in:
1421 Cross compiling fixes (bug 280)
1423 2005-01-13 Keith Packard <keithp@keithp.com>
1426 Update blanks list (Closes bug 86)
1428 2005-01-04 Keith Packard <keithp@keithp.com>
1430 * src/fccache.c: (FcCacheFontSetAdd):
1431 Verify that every font pattern loaded from cache has
1432 both FC_FILE and FC_FAMILY entries.
1433 Attempt to fix bug #2219.
1435 2004-12-29 Keith Packard <keithp@keithp.com>
1439 * fontconfig/fontconfig.h:
1440 Update for version 2.2.98
1442 2004-12-29 Keith Packard <keithp@keithp.com>
1444 * fontconfig/fontconfig.h:
1445 Document ASCII limitations of Fc character conversion macros
1446 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1447 Fix off-by-one error in utf-8 case walking code.
1448 Add FcStrDowncase (useful for testing case conversion functions)
1450 2004-12-29 Keith Packard <keithp@keithp.com>
1453 * fc-case/.cvsignore:
1454 clean up CVS ignore lists
1455 * fc-lang/iso-3166.txt:
1456 Add territory database
1458 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1460 Reviewed by: Keith Packard
1463 Remove Han characters from Korean orthography
1465 2004-12-29 Keith Packard <keithp@keithp.com>
1468 Reorder utility programs to make sure fc-case is run before fc-lang
1469 as fc-lang uses fcstr.c which uses fccase.h
1473 2004-12-29 Keith Packard <keithp@keithp.com>
1476 Adopt some RedHat suggestions for standard font configuration.
1480 * fc-case/CaseFolding.txt:
1481 * fc-case/Makefile.am:
1482 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1483 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1484 (dump), (parseRaw), (caseFoldReadRaw), (main):
1485 * fc-case/fccase.tmpl.h:
1486 Add new helper program 'fc-case' to construct case folding
1487 tables from standard Unicode CaseFolding.txt file
1490 * src/fclist.c: (FcListValueHash):
1491 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1492 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1493 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1494 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1495 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1496 Re-implement case insensitive functions with Unicode
1497 aware versions (including full case folding mappings)
1499 2004-12-13 Keith Packard <keithp@keithp.com>
1501 reviewed by: Owen Taylor <otaylor@redhat.com>
1503 * src/fcmatch.c: (FcFontSetSort):
1504 I changed FcFontSetSort to respect the generic aliases better
1505 in the face of language matching.
1507 What I did was to ammend the strict sort order used by FcFontSort so
1508 that it 'satisfies' the language specified in the pattern by locating
1509 the best matching font supporting each pattern language and then
1510 ignores language in the remaining fonts for purposes of matching.
1512 So, when asking for 'sans:lang=en', you'll get an English font first,
1513 and then the remaining fonts sorted with respect to the 'sans' alias
1514 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1516 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1518 reviewed by: Keith Packard <keithp@keithp.com>
1520 * fontconfig/fontconfig.h:
1523 Configuration changes to request synthetic emboldening of
1524 fonts. The actual emboldening code will live in Xft.
1526 2004-12-09 John Thacker <thacker@math.cornell.edu>
1528 reviewed by: Keith Packard <keithp@keithp.com>
1532 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1533 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1534 и), and don't even appear in KOI8-R. (The hypothesis that they
1535 don't appear in KOI8-R due to their similarity with Latin I and i is
1536 eliminated by their presence in KOI8-U.) I have a couple of fonts
1537 with Russian support that don't have the letter.
1539 Therefore, 0406 and 0456 should be removed from or commented out of
1542 2004-12-06 michael meeks <mmeeks@novell.com>
1544 Reviewed by: Keith Packard <keithp@keithp.com>
1546 * src/fcinit.c: (FcMemReport):
1548 * src/fclist.c: (FcObjectSetAdd):
1549 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1550 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1551 * src/fcxml.c: (FcParsePatelt):
1552 memoize strings and share a single copy for all uses. Note that
1553 this could be improved further by using statically allocated blocks
1554 and gluing multiple strings together, but I'm basically lazy.
1555 In my environment with 800 font files, I get a savings of about 90KB.
1557 2004-12-06 Keith Packard <keithp@keithp.com>
1561 * config/Makedefs.in:
1564 * doc/fcatomic.fncs:
1565 * doc/fcblanks.fncs:
1566 * doc/fccharset.fncs:
1567 * doc/fcconfig.fncs:
1568 * doc/fcconstant.fncs:
1570 * doc/fcfontset.fncs:
1571 * doc/fcfreetype.fncs:
1573 * doc/fcmatrix.fncs:
1574 * doc/fcobjectset.fncs:
1575 * doc/fcobjecttype.fncs:
1576 * doc/fcpattern.fncs:
1577 * doc/fcstring.fncs:
1578 * doc/fcstrset.fncs:
1580 * doc/fontconfig-devel.sgml:
1581 * doc/fontconfig-user.sgml:
1583 * doc/version.sgml.in:
1584 * fc-cache/Makefile.am:
1585 * fc-cache/fc-cache.c:
1586 * fc-glyphname/Makefile.am:
1587 * fc-glyphname/fc-glyphname.c:
1588 * fc-glyphname/fcglyphname.tmpl.h:
1589 * fc-lang/Makefile.am:
1599 * fc-lang/az_ir.orth:
1633 * fc-lang/fc-lang.c:
1634 * fc-lang/fc-lang.man:
1635 * fc-lang/fclang.tmpl.h:
1680 * fc-lang/ku_ir.orth:
1713 * fc-lang/ps_af.orth:
1714 * fc-lang/ps_pk.orth:
1743 * fc-lang/ti_er.orth:
1744 * fc-lang/ti_et.orth:
1770 * fc-lang/zh_cn.orth:
1771 * fc-lang/zh_hk.orth:
1772 * fc-lang/zh_mo.orth:
1773 * fc-lang/zh_sg.orth:
1774 * fc-lang/zh_tw.orth:
1776 * fc-list/Makefile.am:
1777 * fc-list/fc-list.c:
1778 * fc-match/Makefile.am:
1779 * fc-match/fc-match.1:
1780 * fc-match/fc-match.c:
1781 * fontconfig/fcfreetype.h:
1782 * fontconfig/fcprivate.h:
1783 * fontconfig/fontconfig.h:
1804 Change files from ISO-Latin-1 to UTF-8
1806 2004-12-04 Keith Packard <keithp@keithp.com>
1809 Update links to new freedesktop.org locations
1811 Add uninstall-local to get rid of fonts.conf and local.conf if they
1812 match the distributed versions. Fixes 'make distcheck'
1814 2004-12-04 Keith Packard <keithp@keithp.com>
1818 * fontconfig/fontconfig.h:
1819 Updates for version 2.2.97
1821 2004-12-04 Owen Taylor <otaylor@redhat.com>
1823 reviewed by: Keith Packard <keithp@keithp.com>
1825 * fc-cache/fc-cache.c: (main):
1826 Sleep for two seconds before exiting to make sure timestamps
1827 for future changes have distinct mod times in the file system.
1830 Add Punjabi orthography. Bug #1671.
1832 2004-12-04 Keith Packard <keithp@keithp.com>
1835 Just remove the FC_FONTDATE -- it has locale issues and
1836 annoys redhat multi-arch installs. Now that all X fonts are
1837 included without prejudice, the chances of the date being at
1838 all interesting are rather limited. Bug #505.
1840 Add copyright and license
1842 2004-12-04 Keith Packard <keithp@keithp.com>
1845 Change default set of fonts to include all of
1846 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1847 * doc/fontconfig-user.sgml:
1848 Document new <include>directory-name</include> semantics
1850 add <include ignore_missing="yes">conf.d</include>
1852 Add selectfont to ignore bitmap fonts, add comment for
1853 selectfont which accepts bitmap fonts.
1856 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1857 Allow <include> configuration elements to reference directories.
1858 Parse and load all files of the form [0-9]* in sorted order.
1860 2004-12-04 Keith Packard <keithp@keithp.com>
1863 Report command line for $srcdir/configure accurately.
1866 2004-12-04 Keith Packard <keithp@keithp.com>
1868 * src/fcfreetype.c: (FcFreeTypeQuery):
1869 Check for non-empty face->family_name and face->style_name
1870 before using those for the font. Empty names match everything.
1873 2004-12-04 Keith Packard <keithp@keithp.com>
1876 * fontconfig/fontconfig.h:
1877 * src/fcfreetype.c: (FcFreeTypeQuery):
1879 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1880 available. This provides font file format information (BDF, Type 1,
1881 PCF, TrueType) for each font. Closes #109.
1883 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1885 reviewed by: Keith Packard <keithp@keithp.com>
1887 * doc/fontconfig-user.sgml:
1890 * fontconfig/fontconfig.h:
1891 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1892 (GetScriptTags), (FcFontCapabilities):
1894 Add detection for font capabilities (bug #105)
1896 2004-12-04 Keith Packard <keithp@keithp.com>
1899 Move existing fonts.conf to fonts.conf.bak
1902 Add detection of iconv
1904 * doc/fcpattern.fncs:
1905 * doc/fontconfig-devel.sgml:
1906 * doc/fontconfig-user.sgml:
1908 Document new selectfont elements
1911 Switch to UTF-8 in comment
1913 * fontconfig/fontconfig.h:
1915 Add fullname, and family/style/fullname language entries
1917 * src/fccache.c: (FcCacheFontSetAdd):
1918 * src/fcdir.c: (FcFileScanConfig):
1919 Respect selectfont/*/glob
1922 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1923 (FcConfigCompareValue), (FcConfigPatternsAdd),
1924 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1925 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1926 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1927 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1928 Add support for selectfont
1930 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1931 (FcStringInPatternElement), (FcFreeTypeQuery):
1932 Add multi-lingual family/style/fullname support
1934 * src/fclist.c: (FcListPatternMatchAny):
1935 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1937 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1938 (FcObjectStaticName):
1939 Add new FcPatternRemove/FcPatternAppend.
1940 FcObjectStaticName stores computed pattern element names which
1941 are required to be static.
1943 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1948 Remove spurious / after $(DESTDIR)
1950 2004-06-30 Keith Packard <keithp@keithp.com>
1954 * fontconfig/fontconfig.h:
1957 2004-06-30 Keith Packard <keithp@keithp.com>
1959 Provided by: Lubos Lunak <l.lunak@suse.cz>
1961 * src/fccfg.c: (FcConfigUptoDate):
1962 However FcConfigUptoDate() doesn't seem to work. See the attached
1963 patch. First there's an obvious misplaced parenthesis making it
1964 return always false, and second, even this call fails to detect font
1965 changes (e.g. adding a new font to
1966 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1967 well. The problem seems to be triggered by my fonts.conf specifying
1968 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1969 doesn't include subdirs, unlike config->fontDirs.
1971 2004-06-03 Keith Packard <keithp@keithp.com>
1973 * fontconfig/fontconfig.h:
1974 Remove comma at end of FcResult enum definition.
1976 2004-05-29 Keith Packard <keithp@keithp.com>
1979 Add steps to md5sum release
1981 2004-05-29 Keith Packard <keithp@keithp.com>
1985 * fontconfig/fontconfig.h:
1988 2004-05-29 Keith Packard <keithp@keithp.com>
1990 * fontconfig/fontconfig.h:
1991 * src/fcmatch.c: (FcFontSetMatch):
1992 Add FcResultOutOfMemory to provide an accurate error when
1993 FcFontSetMatch fails in this way
1996 Make #warning about lacking various FreeType features indicate
1997 which version those features appeared so users know how to
1998 fix the problem (Thanks to Anton Tropashko)
2000 2004-05-05 Keith Packard <keithp@keithp.com>
2002 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2003 Replace MIN/MAX/ABS macros which happen to have come
2004 from FreeType with fontconfig-specific ones (FC_*)
2006 2004-04-23 Keith Packard <keithp@keithp.com>
2009 Extend release preparation instructions to include
2010 notification and distribution steps
2012 2004-04-23 Keith Packard <keithp@keithp.com>
2016 * fontconfig/fontconfig.h:
2017 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2019 2004-04-23 Keith Packard <keithp@keithp.com>
2022 Ignore a few more autotool files
2024 2004-04-14 Keith Packard <keithp@keithp.com>
2027 Add instructions for doing a release
2029 * fontconfig.spec.in:
2030 clean up .spec file; perhaps this will be useful to somebody...
2034 * fontconfig/fontconfig.h:
2037 * fc-lang/fc-lang.c:
2038 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2040 * fc-glyphname/Makefile.am:
2041 * fc-lang/Makefile.am:
2042 * fc-list/Makefile.am:
2043 * fc-match/Makefile.am:
2045 Add WARN_CFLAGS to pass -W flags for GCC systems
2047 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2048 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2049 Change various char types around to match across
2051 Fixed bug in using available_sizes[i].height which
2052 is in pixels, not 64ths of a pixel.
2054 2004-03-06 Keith Packard <keithp@keithp.com>
2056 * src/fcfreetype.c: (FcFreeTypeQuery):
2057 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2058 matches looking for explicit values prefer exact matches
2060 2004-03-02 Keith Packard <keithp@keithp.com>
2062 Supplied by: mfabian@suse.de (Mike FABIAN)
2064 * src/fcfreetype.c: (FcFreeTypeQuery):
2065 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2066 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2068 2004-02-21 Manish Singh <yosh@gimp.org>
2070 * fc-glyphname/fc-glyphname.c: (main):
2071 Cast strlen to int for printf, so we're 64-bit clean.
2073 2004-02-11 Keith Packard <keithp@keithp.com>
2076 * src/fcfreetype.c: (FcGetPixelSize):
2077 Ok, so I messed up the test for y_ppem. Let's see if I
2078 got it right this time.
2080 2004-02-10 Keith Packard <keithp@keithp.com>
2083 * src/fcfreetype.c: (FcGetPixelSize):
2084 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2085 FT_Bitmap_Size record. Add a configure.in test for this
2086 and change the code accordingly (using height instead).
2088 2004-02-06 Keith Packard <keithp@keithp.com>
2091 Add Low Saxon orthography
2092 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2094 * src/fccfg.c: (FcConfigNewestFile):
2095 Oops. Left 'newest.set' unset, which would miscompute
2098 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2099 (FcFreeTypeCheckGlyph):
2100 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2101 font properties (which report the wrong value in current FreeType)
2103 Don't attempt to check for empty glyphs in non-scalable fonts; they
2106 2004-02-01 Tor Lillqvist <tml@iki.fi>
2108 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2109 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2110 cache if config->cache is NULL, which happens if FcConfigHome() is
2111 NULL. Guard against that by using the temp folder in that case.
2113 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2115 * fc-lang/az_ir.orth:
2116 * fc-lang/ku_ir.orth:
2117 * fc-lang/ps_af.orth:
2118 * fc-lang/ps_pk.orth:
2119 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2120 (Afghan and Pakistani).
2122 Updated Urdu orthography with real data.
2124 2003-12-11 Carl Worth <cworth@east.isi.edu>
2126 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2129 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2131 (all-local): Remove excessive whitespace.
2133 * autogen.sh: Add 'set -e' to abort when any program fails,
2134 (avoids printing of 'now type make' after configure aborts).
2136 2003-11-17 Eric Christopherson <rakko@charter.net>
2138 reviewed by: Keith Packard <keithp@keithp.com>
2141 * fontconfig/fcfreetype.h:
2143 Switch to FreeType 2.1.7 style includes. Bug #150.
2145 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2147 * fc-list/fc-list.sgml: Add some example usages.
2149 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2152 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2155 2003-10-27 Keith Packard <keith@keithp.com>
2158 * fontconfig/fontconfig.h:
2159 Update to version 2.2.92
2161 2003-10-27 Keith Packard <keithp@keithp.com>
2166 * fc-cache/Makefile.am:
2167 * fc-glyphname/Makefile.am:
2168 * fc-lang/Makefile.am:
2169 * fc-list/Makefile.am:
2170 * fc-match/Makefile.am:
2173 Yet more cleanups to finish getting 'make distcheck' working
2174 This has been tested to ensure that it even works from a _build
2177 2003-10-26 Keith Packard <keithp@keithp.com>
2181 * fc-cache/Makefile.am:
2182 * fc-glyphname/Makefile.am:
2183 * fc-lang/Makefile.am:
2184 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2185 * fc-list/Makefile.am:
2186 * fc-match/Makefile.am:
2187 Attempts to fix 'make distcheck' work. Things are
2188 progressing pretty well, but there are still failures
2189 long into the process dealing with docs (as always).
2191 The big changes here are mostly to make $(srcdir) != "."
2192 work correctly, fixing the docbook related sections and
2193 fc-lang were particularily tricky. Docbook refuses to load
2194 system entities from anywhere other than where the original .sgml
2195 file was located, so no luck looking in "." for the
2196 configure-generated version.sgml and confdir.sgml files.
2198 fc-lang needed help finding .orth files; added a -d option
2199 to set the directory as the least evil of many options.
2201 Now to go use a faster machine and try and wring out the last
2204 2003-10-26 Keith Packard <keithp@keithp.com>
2208 2003-10-26 Keith Packard <keithp@keithp.com>
2211 Include confdir.sgml.in in EXTRA_DIST
2213 2003-10-09 Josselin Mouette <joss@debian.org>
2215 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2216 * fc-list/fc-list.sgml fc-list/Makefile.am:
2217 Replace fc-cache and fc-list manpages with more detailed, SGML
2220 2003-09-23 Owen Taylor <otaylor@redhat.com>
2222 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2223 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2224 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2227 2003-09-23 Owen Taylor <otaylor@redhat.com>
2229 * fc-lang/ka.orth: Remove Georgian capitals, they
2230 aren't used for normal writing. (Bug #116)
2232 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2234 * doc/fontconfig-devel.sgml:
2235 * doc/fontconfig-user.sgml:
2236 * fontconfig/fontconfig.h:
2238 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2239 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2241 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2242 monospace and dual-width fonts, allow roughly a 3% variance in the
2245 2003-08-31 Manish Singh <yosh@gimp.org>
2247 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2250 2003-08-15 Carl Worth <cworth@isi.edu>
2252 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2253 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2255 * src/fcpat.c (FcValueListEntDestroy): New function to support
2256 FcFini memory cleanup. Some statistics are not kept in
2258 (FcValueListFreeze): Move hashTable outside this function so it
2259 can be accessed by FcValueListThawAll.
2260 (FcValueListThawAll): New function complements FcValueListFreeze.
2261 (FcPatternBaseFreeze): Move hashTable outside this function so it
2262 can be accessed by FcPatternBaseThawAll.
2263 (FcPatternBaseThawAll): New function complements
2264 FcPatternBaseFreeze.
2265 (FcPatternThawAll): New function complements FcPatternFreeze.
2267 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2269 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2270 allocated FcCharLeafEnt "blocks" so they can be freed later.
2271 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2272 can be accessed by FcCharSetThawAllLeaf.
2273 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2274 (FcCharSetFreezeBase): Move hashTable outside this function so it
2275 can be accessed by FcCharSetThawAll.
2276 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2278 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2279 (FcConfigDestroy): Fic leak of FcBlanks.
2281 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2282 (main): Add call to FcFini when finished.
2284 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2285 static. Add prototypes.
2287 * doc/fcinit.fncs: Add documentation for FcFini function.
2289 * doc/edit-sgml.c: Mark several local functions as static. Add
2292 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2294 2003-06-15 Tor Lillqvist <tml@iki.fi>
2296 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2297 before comparing (needed on Windows).
2299 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2301 2003-06-13 Tor Lillqvist <tml@iki.fi>
2303 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2306 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2307 WINDOWSFONTDIR token.
2309 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2310 end, not to confuse libtool, which expects the EXPORTS line to be
2311 the first. Add FcConfigEnableHome.
2313 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2314 built as a DLL on Win32.
2316 2003-06-09 Keith Packard <keithp@keithp.com>
2318 * Tag version 2.2.90
2320 2003-06-09 Keith Packard <keithp@keithp.com>
2322 * Optimization in FcLangSetIndex was broken, occasionally
2323 returning a pointer to the wrong location on miss
2325 * Add fc-match to test font matching from the command line.
2327 2003-05-31 Keith Packard <keithp@keithp.com>
2329 * (Bug 85) add support for culmus fonts
2330 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2331 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2333 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2335 * Fix "contains" op for strings and langsets.
2337 2003-05-17 Keith Packard <keithp@keithp.com>
2339 * Fix build error with BDF prop local. Free langset after query
2341 2003-05-14 Keith Packard <keithp@keithp.com>
2343 * Extract spacing from XLFD atom
2345 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2347 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2348 disappeared in 1.30.
2350 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2352 2003-05-12 Keith Packard <keithp@keithp.com>
2354 * Use FcIsWidth to share code
2356 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2357 misclassifying some Han fonts as monospaced.
2359 2003-05-07 Keith Packard <keithp@keithp.com>
2361 * Add filename-based accept/reject to ammend available fonts.
2363 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2364 older FreeType releases.
2366 2003-05-06 Keith Packard <keithp@keithp.com>
2368 * Remove 0b82 and Tamil numbers from tamil
2369 orthography (Jungshik Shin <jshin@mailaps.org>)
2371 2003-05-04 Keith Packard <keithp@keithp.com>
2373 + Map glyph names in fonts with adobe custom encoding to unicode
2375 2003-05-02 Keith Packard <keithp@keithp.com>
2377 * Add FC_WEIGHT_BOOK as weight 75
2379 2003-04-30 Keith Packard <keithp@keithp.com>
2381 * Typo in bitstream foundry name
2383 2003-04-24 Keith Packard <keithp@keithp.com>
2385 * Eliminate italic_angle check for PS fonts
2387 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2389 * Getting closer to fixing /etc/fonts hard-coding.
2391 2003-04-22 Keith Packard <keithp@keithp.com>
2393 * Update autogen.sh to work with newer automake versions
2394 * Handle pattern elements moving during multiple edits
2396 2003-04-23 James Henstridge <james@daa.com.au>
2398 * doc/fontconfig-devel.sgml: close the <para> element.
2400 * doc/fcpattern.fncs: close the <para> element.
2402 * doc/func.sgml: close the <refsynopsisdiv> element.
2404 2003-04-22 Keith Packard <keithp@keithp.com
2406 * Update autogen.sh to work with newer automake versions
2407 * Handle pattern elements moving during multiple edits
2409 2003-04-17 Colin Walters <walters@debian.org>
2411 + Remove some unused variables, and initialize some other ones so
2412 gcc doesn't warn us.
2414 2003-04-16 Keith Packard <keithp@keithp.com>
2416 + tag version 2.1.94
2418 2003-04-16 Keith Packard <keithp@keithp.com>
2420 + add BDF property fetching support for foundry
2421 (from Juliusz Chroboczek)
2422 + add BDF property fetching support for width
2424 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2426 + Implemented foundry generation for Type 1 and TrueType
2428 2003-04-11 Gerard Escalante <g2@magestudios.net>
2430 + Retrieve information from Type1 FontInfo dictionaries
2432 2003-04-07 Colin Walters <walters@verbum.org>
2434 + src/Makefile.am: Fix dummy makefile target names when
2435 MS_LIB_AVAILABLE isn't set.
2437 2003-03-22 Tor Lillqvist <tml@iki.fi>
2439 Changes for Windows:
2441 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2443 + We don't want to hardcode the fonts.conf file location in the
2444 DLL, so we look up the DLL location at run-time in a DllMain()
2445 function. The fonts.conf location is deduced from that.
2447 + The colon can't be used as path separator on Windows,
2448 semicolon is used instead. File path components can be separated
2449 with either slash or backslash. Absolute paths can also begin
2450 with a drive letter.
2452 + Add internal function FcStrLastSlash that strrchr's the last
2453 slash, or backslash on Windows.
2455 + There is no link() on Windows. For atomicity checks, mkdir a
2456 lock directory instead.
2458 + In addition to HOME, also look for USERPROFILE.
2460 + Recognize the special font directory token WINDOWSFONTDIR, to
2461 use the system's font directory.
2463 + Remove the fontconfig-def.cpp that was obsolete. Add
2464 fontconfig.def(.in), without internal functions.
2466 + Add a fontconfig-zip(.in) script, used to build a binary
2469 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2470 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2471 to main package and man3/* to devel package
2473 + Added missing defattr(-, root, root) to main RPM package
2475 + Added HTML and text development documentation to -devel subpackage
2477 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2478 + Added back the configure macro options --disable-docs, otherwise
2479 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2480 version number) unconditionally, causing RPM to fail the build due
2481 to _unpackaged_files_terminate_build. We pick up the pregenerated
2482 docs with %doc already.
2484 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2485 + Removed commented out rpm macro define at top of spec file,
2486 replacing it with a simple explanation, since rpm macros are
2487 expanded by rpm even in comments.
2489 + Changed /usr/bin to _bindir in BuildRequires lines
2491 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2493 + Reorganized file manifest lists
2495 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2497 + fontconfig.spec.in: Improvements from Red Hat spec file.
2499 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2501 + docs/*.sgml: SGML fixes.
2503 Sat Mar 1 17:28:53 PST 2003 keithp
2504 + Ok, so the ChangeLog is a bit out of date
2506 + Lots of bugs fixed; most are in bugzilla, the
2507 biggest problems were in cache management where
2508 Owen discovered the library would lose badly when
2509 combining fonts-cache and ~/.fonts-cache data
2511 + Converted from autoconf to automake. This after
2512 getting patches accepted into libtool to allow
2513 the '-version-number' argument which lets
2514 packages set version numbers explicitly rather
2515 than the roundabout libtool way
2517 + Converted documentation to SGML using the docbook
2518 DTD. Now .txt and .html documents are installed
2519 in /usr/share/doc/fontconfig and there's no
2520 man page. Perhaps a man version can be written
2523 Sat Aug 31 15:21:22 PDT 2002 keithp
2524 + Xrender and Xft had several bugs related to
2525 rendering manually placed or poly-face text
2527 + Added more complete memory tracing in fontconfig
2528 Checked with (patched) mozilla and found no leaks
2530 + Updated Latin orthographies by comparing those from
2531 evertype.com with those from eki.ee. Tried to make
2532 sensible choices, including chars that occured in both
2533 and leaving some optional chars out that occured only
2536 Mon Aug 26 16:33:04 PDT 2002 keithp
2537 + Owen discovered that FcLangSetHasLang wasn't actually
2538 checking the language set.
2540 Mon Aug 26 13:37:23 PDT 2002 keithp
2541 + Append a version number to cache filenames
2543 Thu Aug 22 11:36:18 PDT 2002 keithp
2545 + Add "contains" and "not_contains" operators and elements to
2548 + Changed semantics of eq operator for LangSets to check for
2549 FcLangEqual so that any match will do
2551 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2552 of FcValueEqual to check for identical values when inserting into
2553 the results. This broke when the above semantic change was made,
2554 now it uses FcValueEqual which is "more correct" in any case.
2556 Thu Aug 22 00:32:29 PDT 2002 keithp
2558 + Reimplement FC_LANG as new datatype. Lists of strings
2559 was consuming over a megabyte of memory for 401 fonts.
2561 + Freeze patterns loaded from cache files. This shares
2562 common value lists and common patterns which saves
2563 considerable memory.
2565 + Change the denotation of 'constant' charsets to use special
2566 ref value instead of separate boolean.
2568 + Clean up leak tracing stuff, found several unannoted alloc/free
2571 Tue Aug 20 16:17:37 PDT 2002 keithp
2573 + Fix memory leak when parsing matrices from XML
2575 Mon Aug 19 11:57:27 PDT 2002 keithp
2577 + Fix autoconf files to pass FONTCONFIG_PATH on
2578 compile line so that ${prefix} gets substituted
2581 + Use getc_unlocked/putc_unlocked on systems that
2582 provide them to avoid damage done to stdio by posix
2584 + Eliminate FC_PATTERN and FcTypePattern in favor of
2585 an extended api for FcConfigSubstitute which takes
2586 both the font and the pattern.
2588 + Add 'sans serif' alias for 'sans-serif' as some apps
2589 can't handle hyphens in family names
2591 + Eliminate pretense of support for libxml2
2593 + Comment origins of Han orthographies
2595 Tue Jul 30 18:37:09 PDT 2002 keithp
2597 + Add binding property to edit element so that strong
2598 binding values may be inserted by the config file.
2599 The default remains weak.
2601 Sun 28 Jul 04:16:55 PDT 2002 keithp
2603 + Tagged release candidate 1 in the CVS tree and
2604 placed fcpackage.rc1.tar.gz for distribution
2606 Thu Aug 1 08:55:08 PDT 2002 keithp
2608 + Fixed autoconf builds to always specify install
2609 target files (for BSD). Also fixed to
2610 define FONTCONFIG_PATH in config.h so that
2611 nonstandard installs will actually work.