1 2006-02-06 Takashi Iwai <tiwai@suse.de>
3 * src/fcdir.c (FcFileScanConfig):
5 Hoist FcFileIsDir check out of FcFileScanConfig loop.
7 2006-02-06 Takashi Iwai <tiwai@suse.de>
10 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
11 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
13 Don't rescan when trying to normalize a non-declared font dir.
14 Don't add font dirs multiple times (even if they're aliased).
16 2006-02-06 Dirk Mueller <dmueller@suse.de>
19 * src/fcfs.c (FcFontSetUnserialize):
21 Explain apples/oranges comparison and fix compilation error.
23 2006-02-06 Dirk Mueller <dmueller@suse.de>
26 * src/fcfs.c (FcFontSetUnserialize):
28 Insert check for integer overflow in # of fonts.
30 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
34 * fc-cache/Makefile.am:
36 * fc-list/Makefile.am:
38 Make 'make distcheck' work with automake 1.6.3.
40 2006-02-03 Takashi IWAI <tiwai@suse.de>
43 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
46 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
47 FcDirCacheConsume, FcDirCacheWrite)
48 * src/fcxml.c (FcConfigMessage):
50 Check I/O call return values and eliminate unused variable
53 2006-02-03 Takashi Iwai <tiwai@suse.de>
56 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
60 2006-02-03 Dirk Mueller <dmueller@suse.de>
63 * src/fcfs.c (FcFontSetUnserialize):
65 Gracefully handle the case where a cache asserts that it
66 has a negative number of fonts, causing overflow.
68 2006-02-03 Patrick Lam <plam@mit.edu>
69 * src/fccache.c (FcDirCacheUnlink):
71 Fix double free in error case.
73 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
74 Stephan Kulow <coolo@suse.de>
77 * fc-cache/Makefile.am:
79 Replace 'stamp' target with mkinstalldirs.
81 2006-01-31 Mike Fabian <mfabian@suse.de>
84 * src/fccache.c (FcGlobalCacheLoad):
86 Toast broken global cache files.
88 2006-01-30 Patrick Lam <plam@mit.edu>
89 * src/fccache.c (FcGlobalCacheReadDir):
91 Actually use the directories that I added to the global cache.
94 2006-01-30 Mike Fabian <mfabian@suse.de>
97 * fc-cache/fc-cache.c (scanDirs):
99 Don't stop scanning if a directory in fonts.conf doesn't
100 exist, because subsequent directories might exist.
102 2006-01-30 Patrick Lam <plam@mit.edu>
103 * src/fccache.c (FcGlobalCacheLoad):
105 Make global cache work again after putting dir names into global
106 cache (I misplaced the recording of a file offset).
108 2006-01-30 Patrick Lam <plam@mit.edu>
109 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
111 Update fc-cat to handle subdir lists in global cache file.
113 * src/fccache.c (FcGlobalCacheLoad):
115 Another FcCacheReadString return value check.
117 2006-01-30 Mike Fabian <mfabian@suse.de>
120 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
121 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
123 Make fccache more resilient to broken cache files by checking
124 return value of FcCacheReadString all the time.
126 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
129 * fc-match/fc-match.1:
130 * fc-lang/fc-lang.man:
132 Remove references to dead fontconfig(3) manpages in
133 other fontconfig manpages.
135 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
138 * doc/fcpattern.fncs:
140 Fix world's tiniest typo in code example.
142 2006-01-29 Mike Fabian <mfabian@suse.de>
145 * src/fccache.c (FcGlobalCacheReadDir):
147 Fix global cache reads of subdirectories.
149 2006-01-29 Patrick Lam <plam@mit.edu>
151 Add documentation for FcConfigNormalizeFontDir.
153 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
154 FcGlobalCacheUpdate, FcGlobalCacheSave):
155 * src/fcdir.c (FcDirScanConfig):
158 Write directory information to global caches to fix make check
159 (reported by Ronny V. Vindenes). This changes the global cache
162 2006-01-27 Patrick Lam <plam@mit.edu>
163 * fc-cache/fc-cache.c (scanDirs):
164 * fontconfig/fontconfig.h:
166 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
168 Move FcConfigNormalizeFontDir call so that it doesn't result in
169 infinite recursion (reported by Ronny V. Vindenes).
171 2006-01-26 Patrick Lam <plam@mit.edu>
172 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
173 * src/fccfg.c (FcConfigNormalizeFontDir):
175 Add a couple of missing normalizations to make fc-cache work
176 right; only scan subdirectories once.
178 2006-01-26 Mike Fabian <mfabian@suse.de>
181 * src/fcacache.c (FcGlobalCacheReadDir):
183 Don't crash on non-existant directories in global cache.
185 2006-01-26 Patirck Lam <plam@mit.edu>
186 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
187 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
188 * src/fcdir.c (FcDirScanConfig):
189 * src/fcxml.c (FcEndElement):
191 Stop trampling the directory name when writing out caches.
192 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
193 subdirs when necessary. Don't scan directories that can't be
196 2006-01-25 Patrick Lam <plam@mit.edu>
197 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
198 * src/fccfg.c (FcConfigEvaluate):
199 * src/fcfreetype.c (FcPatternAddWithBinding):
201 Fix additional memory leaks reported by Ronny V. Vindenes: don't
202 invoke FcValueSave on hashed static strings in
203 FcPatternAddWithBinding.
205 Add another st_dev check in FcDirCacheOpen.
207 2006-01-24 James Su <james.su@gmail.com>
210 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
211 * fc-lang/zh_hk.orth:
213 Treat zh-hk fonts differently from zh-tw fonts. This patch may
214 cause fontconfig to treat A-X fonts differently from A-Y fonts;
215 please mail the fontconfig list if this causes any problems.
217 2006-01-24 Patrick Lam <plam@mit.edu>
218 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
219 * src/fcfreetype.c (FcFreeTypeQuery):
221 Fix memory leaks reported by Ronny V. Vindenes.
223 2006-01-19 Andreas Schwab <schwab@suse.de>
226 * src/fcpat.c (FcStrNeededBytes):
228 Fix for unaligned memory accesses.
230 2006-01-18 Mike Fabian <mfabian@suse.de>
233 * src/fcdir.c (FcDirScanConfig):
235 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
236 calls to avoid crashes.
238 2006-01-14 Patrick Lam <plam@mit.edu>
239 * src/fccache.c (FcDirCacheConsume):
241 Fix segfault when consuming zero-length caches in fc-cat
242 (which has no config, so FcConfigAddFontDir shouldn't be called.)
244 2006-01-14 Patrick Lam <plam@mit.edu>
245 * fc-cache/fc-cache.c (scanDirs):
246 * fontconfig/fontconfig.h:
247 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
248 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
249 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
250 * src/fcdir.c (FcDirScanConfig):
253 Compare device numbers as well as inodes.
254 Always normalize directory names before comparing them.
256 2006-01-11 Mike Fabian <mfabian@suse.de>
259 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
261 Allocate extra space for appended '/' in directory name.
263 2006-01-10 Patrick Lam <plam@mit.edu>
264 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
265 FcDirCacheValid, FcDirCacheHasCurrentArch,
266 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
267 * fc-cache/fc-cache.c (main):
269 Explicitly add font dirs to config.fontDirs even if they're empty.
270 Set current config in fc-cache.c.
271 Fix treatment of cache directory as read from cache file; don't
272 use string equality to determine if we have the right file,
275 2006-01-09 Patrick Lam <plam@mit.edu>
276 * fc-cache/fc-cache.c (scanDirs):
277 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
278 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
279 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
280 * src/fccfg.c (FcConfigNormalizeFontDir):
281 * src/fcdir.c (FcDirScanConfig):
284 Normalize font dirs by using the form, as given in fonts.conf, and
285 recorded in FcConfig's fontDirs string set, as canonical.
287 Actually update config.fontDirs as font directories are scanned.
289 2006-01-08 James Su <james.su@gmail.com>
290 * src/fcmatch.c (FcFontSetMatch):
292 Fix matching bug when multiple elements match; don't use
293 the sum of all scores, but the best score.
295 Also more perf opts, e.g. evaluate best over all font sets
296 rather than on a per-set basis (and other changes).
298 2006-01-08 Patrick Lam <plam@mit.edu>
299 * src/fccache.c (FcDirCacheConsume):
301 Properly skip past dir caches that contain zero fonts (as occurs
302 in global caches.) Reported by Mike Fabian.
304 2006-01-06 Patrick Lam <plam@mit.edu>
305 * src/fcdbg.c (FcPatternPrint):
307 Print out full pathname in fc-match -v as well. Reported by
310 2006-01-06 Mike Fabian <mfabian@suse.de>
313 * src/fcname.c (FcNameParse):
315 Fix bug where fc-match crashes when given __DUMMY__ property to
318 (I added the __DUMMY__ string to enable callers of
319 FcObjectToPtrLookup to distinguish an error return from a
320 successful return. -PL)
322 2006-01-05 Patrick Lam <plam@mit.edu>
325 Add self to AUTHORS list.
327 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
328 FcCacheFileRead, FcCachePrintSet, main):
329 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
330 FcGlobalCacheSave, FcCacheNextOffset,
331 FcDirCacheHasCurrentArch, FcDirCacheRead,
332 FcDirCacheConsume, FcDirCacheWrite):
334 * src/fcpat.c (comment):
336 Minor change to global cache file format to fix fc-cat bug
337 reported by Frederic Crozat, and buglet with not globally caching
338 directories with zero fonts cached.
340 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
343 * src/fccfg.c (FcConfigEvaluate):
345 Fix double-free which occurs because FcValueCanonicalize doesn't
346 create an extra copy of the returned value, it only canonicalizes
349 2006-01-02 Patrick Lam <plam@mit.edu>
350 * doc/fontconfig-user.sgml:
352 Fix version of .cache file (currently 1 -> currently 2). Reported
355 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
358 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
360 Shut up GCC warnings on amd.
362 2005-12-20 Patrick Lam <plam@mit.edu>
366 * fontconfig/fontconfig.h:
368 Bump version to 2.3.93.
370 2005-12-20 Patrick Lam <plam@mit.edu>
371 * src/fccharset.c (FcLangCharSetPopulate):
372 * src/fcint.h (FcCacheBankToIndex):
374 Avoid check on _fcBankId nullness and fix case where it used to
377 2005-12-20 Patrick Lam <plam@mit.edu>
378 * src/fcxml.c (FcConfigParseAndLoad):
380 Use open instead of fopen (requested by Phil Race for Sun).
382 2005-12-20 Patrick Lam <plam@mit.edu>
383 * src/fccache.c (FcDirCacheWrite);
384 * fc-cache/Makefile.am:
386 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
389 2005-12-20 Patrick Lam <plam@mit.edu>
390 * src/fcfreetype.c (FcFreeTypeQuery):
392 Restore code to skip over PCF fonts that have no encoded
394 (We guess that a font is PCF by presence of the PIXEL_SIZE
397 2005-12-12 Patrick Lam <plam@mit.edu>
398 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
400 Read and write the original location as a fallback for the
401 hashed cache file locations. This is mostly for users to be
402 able to have per-directory cache files.
404 2005-12-12 Patrick Lam <plam@mit.edu>
405 * fc-cache/fc-cache.c (scanDirs):
406 * fc-cache/Makefile.am:
407 * src/fccache.c (FcDirCacheHashName):
409 Improve error message when fc-cache can't write the cache. Add
410 missing slash. Reported by Behdad. Incorporate Behdad's patch to
411 create /var/cache/fontconfig when appropriate.
413 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
416 * src/fcxml.c (FcConfigGetAttribute):
418 Fix crash reported by Frederic Crozat when using libxml2.
420 2005-12-09 Patrick Lam <plam@mit.edu>
423 * fc-cache/Makefile.am:
424 * fc-cat/Makefile.am:
426 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
427 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
428 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
429 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
430 FcDirCacheHasCurrentArch, FcDirCacheHashName,
431 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
433 Migrate cache files from fonts directories to
434 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
435 but requires that all caches get rebuilt.
437 Also, autogen.sh now needs the additional parameter
438 --localstatedir=/var.
440 2005-12-07 Patrick Lam <plam@mit.edu>
441 * src/fcpat.c (FcPatternAddString):
443 Because we've changed FcPatternAddString to use FcStrStaticName
444 and not FcValueSave, explicitly handle the case of a null string.
446 2005-12-06 Patrick Lam <plam@mit.edu>
447 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
451 2005-12-05 Patrick Lam <plam@mit.edu>
452 * src/fcname.c (FcNameGetObjectType):
454 Don't assign types to user object names.
456 2005-12-05 Patrick Lam <plam@mit.edu>
457 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
459 Don't free strings that have been returned from FcStrStaticName.
461 2005-12-01 Patrick Lam <plam@mit.edu>
462 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
464 Add codepath for reading global cache files as well.
466 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
469 * conf.d/10-fonts.persian.conf:
470 * conf.d/Makefile.am:
472 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
474 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
477 * src/fcxml.c (FcConfigParseAndLoad):
479 Only add a config file to the set of config files once.
481 2005-11-29 Patrick Lam <plam@mit.edu>
482 * src/fcint.h (FcCacheBankToIndex);
484 Fix segfault by guarding array dereference.
486 2005-11-29 Dirk Mueller <dmueller@suse.de>
490 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
491 FcCacheBankToIndex, FcCacheBankToIndexMTF,
495 Refactor FcCacheBankToIndex into an inlineable part
496 (in fcint.h) which checks the front of the list and a
497 non-inlineable part which finds and moves the appropriate element
498 to the front of the list.
500 2005-11-29 Patrick Lam <plam@mit.edu>
501 * src/fccfg.c (FcConfigBuildFonts):
502 * src/fccache.c (FcCacheReadDirs):
504 Make the perf guys hate me a bit less: hoist the directory-name
505 FcConfigAcceptFont check for cached fonts up to directory cache
506 read time, rather than running it for each font.
508 2005-11-29 Patrick Lam <plam@mit.edu>
509 * src/fccfg.c (FcConfigBuildFonts):
511 * src/fcpat.c (FcPatternFindFullFname):
513 Don't make FcPatternFindFullFname available to fccfg, it's not
514 really safe. Instead go through FcPatternGetString (sorry,
515 perf guys.) Also, use globs for dirs as well.
517 2005-11-28 Patrick Lam <plam@mit.edu>
518 * src/fccfg.c (FcConfigBuildFonts):
522 2005-11-28 Patrick Lam <plam@mit.edu>
524 * src/fcpat.c (FcPatternFindFullFname):
525 * src/fccfg.c (FcConfigBuildFonts):
527 Fix problem dating back at least to 2.3.2 where globs weren't
528 being applied to patterns loaded from a cache.
530 2005-11-28 Patrick Lam <plam@mit.edu>
531 * doc/fontconfig-user.sgml:
533 Fix some obvious spelling mistakes.
535 2005-11-28 Dirk Mueller <dmueller@suse.com>
536 Stephan Kulow <coolo@suse.de>
539 * src/fcmatch.c (FcFontSetMatch):
541 Don't kill all fonts during match (oops!)
544 2005-11-25 Dirk Mueller <dmueller@suse.com>
545 Stephan Kulow <coolo@suse.de>
546 Michael Matz <matz@suse.de>
549 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
552 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
553 inline FcCompare into FcFontSetMatch and reorder the
554 loops, adding a boolean array which blocks patterns from future
555 consideration if they're known to not be best on some past
558 2005-11-26 Dirk Mueller <dmueller@suse.com>
561 * src/fcmatch.c (FcCompareValueList):
565 2005-11-25 Patrick Lam <plam@mit.edu>
566 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
568 Don't do random matching when bad objects are passed into
571 2005-11-25 Patrick Lam <plam@mit.edu>
573 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
574 FcPatternSerialize, FcPatternUnserialize,
575 FcValueListEnsureBank, FcValueListDistributeBytes,
576 FcValueListUnserialize):
578 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
579 _fcPatternElts, _fcValueLists for consistency.
581 2005-11-25 Dirk Mueller <dmueller@suse.com>
586 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
588 2005-11-25 Patrick Lam <plam@mit.edu>
590 * src/fccache.c (FcDirCacheConsume):
591 * src/fccharset.c (FcCharSetUnserialize):
592 * src/fcfs.c (FcFontSetUnserialize):
593 * src/fclang.c (FcLangSetUnserialize):
594 * src/fcname.c (FcObjectUnserialize):
595 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
596 FcPatternUnserialize):
598 Pass around FcCache *s to the Unserialize functions for extra
599 consistency (and less overhead, for what that's worth).
601 2005-11-24 Dirk Mueller <dmueller@suse.com>
605 * src/fcmatch.c (FcCompare*, FcFontSetSort):
606 * src/fcname.c (FcNameUnparseValue):
608 Inline the *PtrU functions to gain perf.
609 Remove unneeded params for the FcCompare* functions.
611 2005-11-24 Dirk Mueller <dmueller@suse.com>
614 * src/fcint.h, fontconfig/fontconfig.h:
616 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
618 * src/fcpat.c, src/fcint.h, src/fcname.c:
620 Check for type validity during FcPatternAddWithBinding, don't
621 verify type in FcFontMatch, don't call FcCanonicalize here
622 (which always does a deep copy).
624 2005-11-24 Dirk Mueller <dmueller@suse.com>
627 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
628 * src/fcpat.c (FcPatternAddWithBinding):
630 Make FcCompareString and FcCompareFamily less expensive.
631 Only add a value for FC_FAMILY if the proposed value is a string.
633 2005-11-24 Dirk Mueller <dmueller@suse.com>
636 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
637 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
638 * src/fcint.h (FcDebug):
640 Inline FcDebug invocations and only initialize once, in FcInit*.
641 Improve debug msg in FcPatternPrint.
643 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
646 * fontconfig/fontconfig.h:
649 Minor code warning cleanups.
651 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
654 * fc-match/fc-match.c (main):
656 Make getopt_long accept -s parameter to fc-match as well.
658 2005-11-21 Dirk Mueller <dmueller@suse.com>
661 * src/fcmatch.c (FcCompareValueList):
663 Manually perform inlining & partial redundancy elimination to
664 reduce calls to FcValueListPtrU.
666 2005-11-21 Dirk Mueller <dmueller@suse.com>
669 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
670 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
672 Only invoke strlen() when really necessary.
674 2005-11-19 Matthias Clasen <mclasen@redhat.com>
678 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
683 Get rid of the use of freetype internal headers in fcfreetype.c,
684 since those headers will go away with freetype 2.2. Replace with
685 public domain ftglue code from pango. Note that the patch removes
686 some extra error checking in FT_Get_BDF_Property() and comments
687 out the skipping of empty pcf fonts.
689 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
692 * fc-lang/fc-lang.c (main):
694 Further fix of patch from 2005-11-04: miscounted numbers count
695 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
696 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
698 Removed leafidx_count and numbers_count since they are the same
699 and replaced them with offset_count.
701 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
704 * fc-cat/fc-cat.c (main):
706 Don't crash when fc-cat invoked with no arguments.
708 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
711 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
713 Fix invalid read access caused by premature free and
714 GCC4 warnings in libxml2 codepath.
716 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
719 * src/fccfg.c (FcConfigValues):
721 List iteration not needed in FcConfigValues, since it's building
722 up the list itself; we can just strip FcVoid elements during
725 2005-11-17 Patrick Lam <plam@mit.edu>
726 * src/fccfg.c (FcConfigValues):
728 Fix crash on invalid constants in config files (forgot to update
729 a pointer upon list iteration.)
731 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
734 * src/fcxml.c (FcTypecheckExpr):
736 Complain about invalid constants in config files.
738 2005-11-17 Andreas Schwab <schwab@suse.de>
741 * src/fccache.c (FcGlobalCacheSave):
743 Don't add current_arch_start more than once.
745 2005-11-16 Patrick Lam <plam@mit.edu>
746 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
747 * src/fcfs.c (FcFontSetUnserialize):
748 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
749 * src/fcpat.c (FcStrUnserialize):
751 Fix ordering of ALIGN with respect to saving block_ptr; add
752 another ALIGN to fcfs.c.
754 2005-11-16 Patrick Lam <plam@mit.edu>
755 * src/fccache.c (FcDirCacheProduce)
757 Fix case where alignment bytes bumped up metadata->count
758 causing unwarranted failures to write cache files.
759 (Reported by Stephan Kulow).
761 2005-11-16 Patrick Lam <plam@mit.edu>
762 * src/fccache.c (FcDirCacheProduce):
763 * src/fccharset.c (FcCharSetDistributeBytes):
764 * src/fcfs.c (FcFontSetDistributeBytes):
766 * src/fclang.c (FcLangSetDistributeBytes):
767 * src/fcname.c (FcObjectDistributeBytes):
768 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
771 Add *NeededBytesAlign(), which overestimates the padding which is
772 later added by the new ALIGN macro. Fix alignment problems on
773 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
774 version by Andreas Schwab).
776 2005-11-16 Stephan Kulow <coolo@kde.org>
781 Use sysconf to determine proper PAGESIZE value; this
782 appears to be POSIX-compliant. (reported by Andreas Schwab)
784 2005-11-04 Patrick Lam <plam@mit.edu>
790 Fix bug 2878 (excessive relocations at startup for charsets,
791 reported by Ross Burton): fc-lang/fc-lang now creates the
792 static form of the langset, not the dynamic form, so that
793 the charsets should now be in .rodata.
795 2005-11-04 Patrick Lam <plam@mit.edu>
796 * src/fcdir.c (FcDirScanConfig):
798 Add test for validity of directory caches that
799 somehow got lost (reported by make distcheck).
801 2005-11-04 Patrick Lam <plam@mit.edu>
805 * fontconfig/fontconfig.h:
807 Bump version to 2.3.92.
809 2005-11-02 Patrick Lam <plam@mit.edu>
810 * src/fcpat.c (FcPatternDuplicate):
812 Fix argument ordering problem in call to FcPatternTransferFullFname.
814 2005-11-02 Patrick Lam <plam@mit.edu>
815 * src/fcfreetype.c (FcFreetypeQuery):
816 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
817 FcPatternTransferFullFname):
819 Fix warnings and embarrassing double-free error.
821 2005-11-02 Zhe Su <zsu@novell.com>
826 Change the rule for artificial emboldening in fonts.conf.in. This
827 enables the support for artificial emboldening included in cairo.
829 2005-11-02 Patrick Lam <plam@mit.edu>
830 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
832 Don't zero out full names for FC_REF_CONSTANT fonts;
833 also, duplicate full names when transferring, and free
834 full names when freeing the associated font.
835 Reported by Jinghua Luo.
837 2005-11-02 Patrick Lam <plam@mit.edu>
838 * fc-cache/fc-cache.c (scanDirs):
839 * src/fcpat.c (FcValueListSerialize):
841 Revert the previous patch and commit the correct patch:
842 I forgot a canonicalization in FcValueListSerialize, so
843 that it would choke on already-serialized input files. Duh!
845 2005-11-02 Patrick Lam <plam@mit.edu>
846 * fc-cache/fc-cache.c (scanDirs):
848 Forcibly rescan a directory before writing a fresh local
849 cache file for that directory, fixing the losing-fonts
850 problem reported by Mike Fabian and also apparently the
851 font cache file corruption.
853 2005-11-02 Patrick Lam <plam@mit.edu>
854 * src/fccache.c (FcGlobalCacheLoad):
856 Fix thinko: actually, the whole global cache is stale
857 if the global cache is older than the (newest) config file.
859 2005-11-02 Patrick Lam <plam@mit.edu>
860 * src/fccache.c (FcGlobalCacheLoad):
861 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
864 Declare the global cache of a directory's contents to be stale if
865 the directory is newer than the (newest) configuration file.
867 2005-10-31 Patrick Lam <plam@mit.edu>
869 * src/fclist.c (FcListAppend):
870 * src/fcmatch.c (FcFontRenderPrepare):
871 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
872 FcPatternFreeze, FcPatternBaseFreeze):
874 Copy the full pathname whenever duplicating an FcPattern; otherwise,
875 applications continue breaking.
877 2005-10-31 Patrick Lam <plam@mit.edu>
878 * fc-cat/fc-cat.c (FcCacheFileRead, main):
879 * src/fcfreetype.c (FcFreeTypeQuery):
881 Fix small memory error (tried to free argv); use basename and
882 dirname correctly (they can modify their arguments).
884 2005-10-31 Patrick Lam <plam@mit.edu>
892 Reinstate basename patch, but keep a hash table linking FcPatterns
893 to their fully-qualified font names for clients' benefit. Clients
894 only pay for the font names once they request the FC_FILE property
895 from an FcPattern, but the font name is malloc'd at that point (i.e.
896 not mmapped: that's impossible, since it may vary between machines.)
897 Clients do have to pay for a copy of the path name per cache file.
899 Note that FcPatternGetString now does some rewriting if you ask
900 for an FC_FILE, appending the pathname as appropriate.
902 2005-10-31 Patrick Lam <plam@mit.edu>
903 * src/fcfreetype.c (FcFreeTypeQuery):
905 Revert basename patch, which breaks fontconfig clients on my system.
907 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
910 * fontconfig/fonts.conf.in:
911 * fontconfig/fontconfig.h:
915 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
916 to load embedded bitmaps or not.
918 2005-10-25 Patrick Lam <plam@mit.edu>
919 * src/fcfreetype.c (FcFreeTypeQuery):
921 Only add basename to patterns' FC_FILE element, not any part of
924 2005-10-22 Patrick Lam <plam@mit.edu>
927 Add some more consts, fixing more GCC4 warnings.
929 2005-10-22 Zhe Su <zsu@novell.com>
932 Support localized font family and style names.
933 This has been reported to break old apps like xfd, but modern
934 (gtk+/qt/mozilla) apps work fine.
936 2005-10-21 Patrick Lam <plam@mit.edu>
937 * src/fccache.c (FcGlobalCacheLoad):
939 Destroy the global cache file if it's terminally broken. (reported by
942 2005-10-21 Patrick Lam <plam@mit.edu>
943 * fc-list/fc-list.c (main):
944 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
945 * fontconfig/fontconfig.h:
947 Prevent fc-list from escaping strings when printing them (reported by
950 2005-10-20 Marcus Meissner <meissner@suse.de>
953 * fontconfig/fontconfig.h:
955 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
957 2005-10-14 Ross Burton <ross@burtonini.com>
960 * fc-glyphname/fc-glyphname.c:
963 Add consts to variables so as to move arrays into .rodata.
965 2005-10-14 Mike Fabian <mfabian@suse.de>
968 * src/fccache.c (FcDirCacheUnlink):
970 Check existence of directory cache file before attempting to unlink.
972 2005-10-13 Patrick Lam <plam@mit.edu>
973 * src/fccache.c (FcDirCacheUnlink):
975 Fix flipped return value on unlink. (Reported by Mike Fabian)
977 2005-10-12 Patrick Lam <plam@mit.edu>
980 * src/fcdir.c (FcDirScanConfig):
983 When fc-cache is run without --force, use directory cache files
984 to speed up fc-cache run time. (Reported by Mike Fabian)
986 2005-10-06 Patrick Lam <plam@mit.edu>
988 * src/fcname.c (FcObjectToPtr):
989 * src/fcpat.c (FcStrStaticName):
991 Add padding to make valgrind and glibc not hate each other
992 when calling strlen().
994 2005-10-05 Simos Xenitellis <simos74@gmx.net>
995 reviewed by: plam & keithp
999 Modify config file to use Greek fonts before Asian fonts with
1002 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1003 reviewed by: plam & keithp
1007 Use libtool -no-undefined flag on all platforms.
1009 2005-10-05 Patrick Lam <plam@mit.edu>
1010 * src/fccache.c (FcCacheHaveBank):
1012 Implement move-to-front array for banks (perf regression
1013 reported by Ronny V. Vindenes).
1015 2005-10-04 Patrick Lam <plam@mit.edu>
1016 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1017 FcDirCacheHasCurrentArch):
1018 * fc-cache/fc-cache.c (scanDirs):
1019 * fontconfig/fontconfig.h:
1021 Add new API which unlinks directory caches and checks dir caches
1022 for existence of appropriate sections. Fix fc-cache to unlink
1023 stale cache files and save directory caches that lack relevant
1026 2005-10-03 Patrick Lam <plam@mit.edu>
1027 * src/fccache.c (FcDirCacheValid):
1029 Ensure that a directory cache has the appropriate section
1030 before reporting that it is valid (reported by Matthias Clasen).
1032 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1040 Use libxml2 if requested (with --enable-libxml2) or if
1041 expat is not available.
1043 2005-09-29 Patrick Lam <plam@mit.edu>
1044 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1046 Fix multi-arch cache files: compute the position for the
1047 block to be added using info from OrigFile, not NewFile.
1049 2005-09-28 Patrick Lam <plam@mit.edu>
1050 * src/fccache.c (FcCacheMachineSignature):
1052 Cast results of sizeof() to unsigned int to get rid of
1053 warnings on x86_64 (thanks Matthias Clasen).
1055 2005-09-27 Patrick Lam <plam@mit.edu>
1056 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1059 Use FcAtomic to rewrite cache files.
1061 2005-09-27 Patrick Lam <plam@mit.edu>
1063 * src/fccache.c (FcDirCacheWrite):
1065 Don't unlink the fonts.cache-2 file even if there's no data
1066 to write; just write an empty cache file. (thanks Lubos Lunak)
1068 2005-09-27 Patrick Lam <plam@mit.edu>
1070 * src/fccache.c (FcDirCacheWrite):
1072 Allocate room for the subdirectory names in each
1073 directory cache. Thanks to James Cloos for finding
1074 and diagnosing this bug!
1076 2005-09-22 Patrick Lam <plam@mit.edu>
1078 * fc-cache/fc-cache.sgml:
1079 * src/fccache.c (FcDirCacheWrite):
1080 * src/fccache.h (struct FcCache):
1082 Update documentation -- fc-cache's man page now says that you
1083 need to run fc-cache once per cached architecture; add some
1084 documentation to the FcCache structure.
1086 Make fc-cache write out fonts.cache-2 files for directories with
1087 no fonts (i.e. only subdirectories).
1089 2005-09-22 Patrick Lam <plam@mit.edu>
1091 * fc-cache/fc-cache.sgml:
1092 * fc-case/fc-case.c:
1093 * fc-glyphname/fc-glyphname.c:
1099 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1103 * fc-lang/fc-lang.c:
1104 * fontconfig/fcprivate.h:
1105 * fontconfig/fontconfig.h:
1119 Implement new mmaped cache for font information.
1120 Bump so revision to 2.3.90.
1122 2005-07-25 Keith Packard <keithp@keithp.com>
1124 * doc/fontconfig-user.sgml:
1125 * fc-glyphname/fc-glyphname.c: (scan), (main):
1126 * fc-lang/fc-lang.c: (FcConfigHome):
1127 * fc-match/fc-match.c: (main):
1128 * src/fccfg.c: (FcConfigHome):
1129 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1130 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1131 (addtag), (FcFontCapabilities):
1132 * src/fcpat.c: (FcValueListEntCreate):
1133 * src/fcstr.c: (FcStrCaseWalkerInit):
1134 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1136 Various GCC 4 cleanups for signed vs unsigned char
1138 Match only [0-9]*.conf files in <include>{directory}</include>
1139 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1141 2005-07-15 Carl Worth <cworth@cworth.org>
1144 * src/fcinit.c: (FcFini):
1145 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1148 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1149 Pull the FcObjectStateName hash table out to file scope, and add
1150 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1153 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1156 2005-06-16 Patrick Lam <plam@MIT.EDU>
1160 * src/fccfg.c: (FcConfigCompareValue):
1161 Make FcOpNotContains use FcStrStr for strings so that
1162 it matches semantics for !FcOpContains.
1164 2005-05-20 Keith Packard <keithp@keithp.com>
1168 Move fontconfig source package to libs as per override
1170 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1172 reviewed by: Mike Fabian
1175 The ka.orth file requires several characters which are not
1176 used anymore in modern Georgian and which are missing in the free
1177 Georgian TrueType fonts downloadable at:
1179 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1181 2005-04-27 Keith Packard <keithp@keithp.com>
1185 Update date to real 2.3.2 release date.
1186 Fix change attributions
1188 2005-04-27 Keith Packard <keithp@keithp.com>
1191 Bump so revision for 2.3.2
1192 * fc-cache/fc-cache.c: (scanDirs):
1193 Fix a few minor leaks in error cases.
1195 2005-04-23 Keith Packard <keithp@keithp.com>
1200 * fontconfig/fontconfig.h:
1201 Update for version 2.3.2
1203 2005-04-21 Keith Packard <keithp@keithp.com>
1205 * debian/fontconfig.postinst:
1206 Don't force bitmap font enable in default
1207 configuration; allows users to override this in
1217 * debian/po/pt_BR.po:
1218 * debian/po/templates.pot:
1220 * debian/po/zh_CN.po:
1221 Updated translations
1223 * fc-cache/fc-cache.c: (main):
1224 Destroy font configuration on exit to help valgrind
1227 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1228 (FcFreeTypeCheckGlyph):
1229 Use own transcoding routines in preference to iconv
1230 which appears to have leaks in some translators.
1231 Call iconv_close after using iconv (oops).
1233 Prefer unicode encoding of Euro char as some
1234 fonts mis-encode Euro in other ones.
1236 Must fetch bitmap glyphs to get width values
1237 to check for monospace/dual-width fonts.
1239 2005-04-13 Ross Burton <ross@burtonini.com>
1242 Check that a pattern isn't already frozen in FcPatternFreeze.
1244 2005-03-31 Ross Burton <ross@burtonini.com>
1249 Run all FcPattern objects through FcObjectStaticName, so that
1250 compares can be done on pointers instead of strings (#2659)
1252 2005-03-17 Tor Lillqvist <tml@novell.com>
1254 * src/fontconfig.def.in: Add the .dll to the dll name.
1256 2005-03-10 Keith Packard <keithp@keithp.com>
1258 * debian/README.Debian:
1259 Update to reflect configuration changes
1261 * debian/fontconfig.postinst:
1262 Fix Autohint vs Autohinter mistake
1263 * debian/fontconfig.templates:
1264 Adopt changes from Josselin Mouette for configuration descriptions
1265 Update debian to version 2.3.1-2
1267 2005-03-08 Keith Packard <keithp@keithp.com>
1271 Update debian for 2.3.1
1273 2005-03-09 Tor Lillqvist <tml@novell.com>
1275 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1278 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1281 2005-03-08 Keith Packard <keithp@keithp.com>
1285 * fontconfig/fontconfig.h:
1288 2005-03-05 Keith Packard <keithp@keithp.com>
1290 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1291 Include space and remove numbers from valid script tags.
1292 This ensures that tags like 'lao ' work while rejecting
1293 those which have any digits.
1294 Eliminate a spurious debugging variable (len)
1296 2005-03-05 Keith Packard <keithp@keithp.com>
1298 * src/fcfreetype.c: (addtag), (GetScriptTags),
1299 (FcFontCapabilities):
1300 Rework GSUB/GPOS script parsing to survive broken fonts.
1301 Thanks for the broken font go to Manish Singh
1303 2005-03-05 Keith Packard <keithp@keithp.com>
1308 * debian/fontconfig.config:
1309 * debian/fontconfig.templates:
1311 Include 2.3 release information in changelog
1312 Add Josselin Mouette as an Uploader
1313 Set hinting_type to low priority configuration option
1316 * debian/fontconfig.postinst:
1317 yes_bitmaps.conf -> yes-bitmaps.conf
1323 2005-03-02 Keith Packard <keithp@keithp.com>
1326 * conf.d/Makefile.am:
1327 * conf.d/autohint.conf:
1328 * conf.d/no-sub-pixel.conf:
1329 * conf.d/sub-pixel.conf:
1330 * conf.d/unhinted.conf:
1331 * debian/autohint.conf:
1332 * debian/fontconfig.install:
1333 * debian/fontconfig.postinst:
1334 * debian/fontconfig.templates:
1335 * debian/no-sub-pixel.conf:
1336 * debian/unhinted.conf:
1337 Move debian-specific conf file examples upstream.
1339 Sub-pixel configuration examples must smash subpixel value
1340 as Xft always sets it from X.
1342 Change sub-pixel rendering debconf descriptions from
1343 Enable/Disable to Always/Never.
1345 2005-03-02 Keith Packard <keithp@keithp.com>
1348 * conf.d/.cvsignore:
1350 Ignore more build detritus
1353 Add debian package construction stuff.
1355 * config/config.guess:
1356 * config/config.sub:
1357 Update to newer versions of these tools
1360 Get library manuals to build again (we love automake).
1362 * debian/README.Debian:
1363 * debian/autohint.conf:
1368 * debian/fontconfig-udeb.install:
1369 * debian/fontconfig.config:
1370 * debian/fontconfig.defoma:
1371 * debian/fontconfig.dirs:
1372 * debian/fontconfig.install:
1373 * debian/fontconfig.postinst:
1374 * debian/fontconfig.postrm:
1375 * debian/fontconfig.templates:
1376 * debian/libfontconfig1-dev.install:
1377 * debian/libfontconfig1.install:
1378 * debian/local.conf.md5sum:
1379 * debian/no-sub-pixel.conf:
1380 * debian/po/POTFILES.in:
1389 * debian/po/pt_BR.po:
1390 * debian/po/templates.pot:
1392 * debian/po/zh_CN.po:
1394 * debian/unhinted.conf:
1395 Update debian build system to switch maintainers and
1396 deal with 2.3 functionality
1398 2005-03-01 Keith Packard <keithp@keithp.com>
1402 * fontconfig/fontconfig.h:
1405 2005-03-01 Keith Packard <keithp@keithp.com>
1408 Generate and install PDF versions of the manuals
1410 * doc/fcpattern.fncs:
1413 * doc/fcstring.fncs:
1414 Add missing exported functions, fix data types
1416 * doc/fontconfig-devel.sgml:
1417 Add missing pattern elements.
1419 * doc/fontconfig-user.sgml:
1420 Add missing pattern elements. Document conf.d usage,
1421 clarify available orthography list. Fix some config file
1422 attributes. Complete list of constants.
1424 * fontconfig/fontconfig.h:
1425 Mark FC_SOURCE deprecated.
1427 * src/fcfreetype.c: (FcFreeTypeQuery):
1428 Don't set FC_SOURCE any longer.
1430 2005-02-28 Keith Packard <keithp@keithp.com>
1433 * conf.d/Makefile.am:
1435 * conf.d/no-bitmaps.conf:
1436 * conf.d/sub-pixel.conf:
1437 * conf.d/yes-bitmaps.conf:
1439 Create prototype /etc/fonts/conf.d directory with a few
1440 sample configuration files.
1441 Deprecate use of local.conf for local customizations in favor of
1442 this directory based scheme which is more easily integrated into
1443 installation systems.
1446 Tag FC_EMBOLDEN as a boolean variable
1448 2005-02-10 Keith Packard <keithp@keithp.com>
1450 reviewed by: pborelli@katamail.com
1452 * src/fcdir.c: (FcFileScanConfig):
1453 Free patterns from fonts which are rejected by configuration
1456 2005-01-28 Keith Packard <keithp@keithp.com>
1460 * fontconfig/fontconfig.h:
1461 Update for version 2.2.99
1463 2005-01-28 Keith Packard <keithp@keithp.com>
1466 Add a few pointers (#2284, #2285)
1468 2005-01-28 Keith Packard <keithp@keithp.com>
1471 * src/fcname.c: (FcNameBool):
1472 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1473 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1474 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1475 Polite typechecking for test and edit expressions. Helps
1476 catch errors in the font configuration. (bug 229)
1478 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1480 reviewed by: Keith Packard <keithp@keithp.com>
1483 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1485 2005-01-13 Keith Packard <keithp@keithp.com>
1487 * doc/fontconfig-user.sgml:
1488 Add SEE ALSO section (bug 2085)
1490 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1492 reviewed by: Keith Packard <keithp@keithp.com>
1497 * fc-case/Makefile.am:
1498 * fc-glyphname/Makefile.am:
1499 * fc-lang/Makefile.am:
1500 * src/fontconfig.def.in:
1501 Cross compiling fixes (bug 280)
1503 2005-01-13 Keith Packard <keithp@keithp.com>
1506 Update blanks list (Closes bug 86)
1508 2005-01-04 Keith Packard <keithp@keithp.com>
1510 * src/fccache.c: (FcCacheFontSetAdd):
1511 Verify that every font pattern loaded from cache has
1512 both FC_FILE and FC_FAMILY entries.
1513 Attempt to fix bug #2219.
1515 2004-12-29 Keith Packard <keithp@keithp.com>
1519 * fontconfig/fontconfig.h:
1520 Update for version 2.2.98
1522 2004-12-29 Keith Packard <keithp@keithp.com>
1524 * fontconfig/fontconfig.h:
1525 Document ASCII limitations of Fc character conversion macros
1526 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1527 Fix off-by-one error in utf-8 case walking code.
1528 Add FcStrDowncase (useful for testing case conversion functions)
1530 2004-12-29 Keith Packard <keithp@keithp.com>
1533 * fc-case/.cvsignore:
1534 clean up CVS ignore lists
1535 * fc-lang/iso-3166.txt:
1536 Add territory database
1538 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1540 Reviewed by: Keith Packard
1543 Remove Han characters from Korean orthography
1545 2004-12-29 Keith Packard <keithp@keithp.com>
1548 Reorder utility programs to make sure fc-case is run before fc-lang
1549 as fc-lang uses fcstr.c which uses fccase.h
1553 2004-12-29 Keith Packard <keithp@keithp.com>
1556 Adopt some RedHat suggestions for standard font configuration.
1560 * fc-case/CaseFolding.txt:
1561 * fc-case/Makefile.am:
1562 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1563 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1564 (dump), (parseRaw), (caseFoldReadRaw), (main):
1565 * fc-case/fccase.tmpl.h:
1566 Add new helper program 'fc-case' to construct case folding
1567 tables from standard Unicode CaseFolding.txt file
1570 * src/fclist.c: (FcListValueHash):
1571 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1572 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1573 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1574 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1575 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1576 Re-implement case insensitive functions with Unicode
1577 aware versions (including full case folding mappings)
1579 2004-12-13 Keith Packard <keithp@keithp.com>
1581 reviewed by: Owen Taylor <otaylor@redhat.com>
1583 * src/fcmatch.c: (FcFontSetSort):
1584 I changed FcFontSetSort to respect the generic aliases better
1585 in the face of language matching.
1587 What I did was to ammend the strict sort order used by FcFontSort so
1588 that it 'satisfies' the language specified in the pattern by locating
1589 the best matching font supporting each pattern language and then
1590 ignores language in the remaining fonts for purposes of matching.
1592 So, when asking for 'sans:lang=en', you'll get an English font first,
1593 and then the remaining fonts sorted with respect to the 'sans' alias
1594 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1596 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1598 reviewed by: Keith Packard <keithp@keithp.com>
1600 * fontconfig/fontconfig.h:
1603 Configuration changes to request synthetic emboldening of
1604 fonts. The actual emboldening code will live in Xft.
1606 2004-12-09 John Thacker <thacker@math.cornell.edu>
1608 reviewed by: Keith Packard <keithp@keithp.com>
1612 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1613 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1614 и), and don't even appear in KOI8-R. (The hypothesis that they
1615 don't appear in KOI8-R due to their similarity with Latin I and i is
1616 eliminated by their presence in KOI8-U.) I have a couple of fonts
1617 with Russian support that don't have the letter.
1619 Therefore, 0406 and 0456 should be removed from or commented out of
1622 2004-12-06 michael meeks <mmeeks@novell.com>
1624 Reviewed by: Keith Packard <keithp@keithp.com>
1626 * src/fcinit.c: (FcMemReport):
1628 * src/fclist.c: (FcObjectSetAdd):
1629 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1630 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1631 * src/fcxml.c: (FcParsePatelt):
1632 memoize strings and share a single copy for all uses. Note that
1633 this could be improved further by using statically allocated blocks
1634 and gluing multiple strings together, but I'm basically lazy.
1635 In my environment with 800 font files, I get a savings of about 90KB.
1637 2004-12-06 Keith Packard <keithp@keithp.com>
1641 * config/Makedefs.in:
1644 * doc/fcatomic.fncs:
1645 * doc/fcblanks.fncs:
1646 * doc/fccharset.fncs:
1647 * doc/fcconfig.fncs:
1648 * doc/fcconstant.fncs:
1650 * doc/fcfontset.fncs:
1651 * doc/fcfreetype.fncs:
1653 * doc/fcmatrix.fncs:
1654 * doc/fcobjectset.fncs:
1655 * doc/fcobjecttype.fncs:
1656 * doc/fcpattern.fncs:
1657 * doc/fcstring.fncs:
1658 * doc/fcstrset.fncs:
1660 * doc/fontconfig-devel.sgml:
1661 * doc/fontconfig-user.sgml:
1663 * doc/version.sgml.in:
1664 * fc-cache/Makefile.am:
1665 * fc-cache/fc-cache.c:
1666 * fc-glyphname/Makefile.am:
1667 * fc-glyphname/fc-glyphname.c:
1668 * fc-glyphname/fcglyphname.tmpl.h:
1669 * fc-lang/Makefile.am:
1679 * fc-lang/az_ir.orth:
1713 * fc-lang/fc-lang.c:
1714 * fc-lang/fc-lang.man:
1715 * fc-lang/fclang.tmpl.h:
1760 * fc-lang/ku_ir.orth:
1793 * fc-lang/ps_af.orth:
1794 * fc-lang/ps_pk.orth:
1823 * fc-lang/ti_er.orth:
1824 * fc-lang/ti_et.orth:
1850 * fc-lang/zh_cn.orth:
1851 * fc-lang/zh_hk.orth:
1852 * fc-lang/zh_mo.orth:
1853 * fc-lang/zh_sg.orth:
1854 * fc-lang/zh_tw.orth:
1856 * fc-list/Makefile.am:
1857 * fc-list/fc-list.c:
1858 * fc-match/Makefile.am:
1859 * fc-match/fc-match.1:
1860 * fc-match/fc-match.c:
1861 * fontconfig/fcfreetype.h:
1862 * fontconfig/fcprivate.h:
1863 * fontconfig/fontconfig.h:
1884 Change files from ISO-Latin-1 to UTF-8
1886 2004-12-04 Keith Packard <keithp@keithp.com>
1889 Update links to new freedesktop.org locations
1891 Add uninstall-local to get rid of fonts.conf and local.conf if they
1892 match the distributed versions. Fixes 'make distcheck'
1894 2004-12-04 Keith Packard <keithp@keithp.com>
1898 * fontconfig/fontconfig.h:
1899 Updates for version 2.2.97
1901 2004-12-04 Owen Taylor <otaylor@redhat.com>
1903 reviewed by: Keith Packard <keithp@keithp.com>
1905 * fc-cache/fc-cache.c: (main):
1906 Sleep for two seconds before exiting to make sure timestamps
1907 for future changes have distinct mod times in the file system.
1910 Add Punjabi orthography. Bug #1671.
1912 2004-12-04 Keith Packard <keithp@keithp.com>
1915 Just remove the FC_FONTDATE -- it has locale issues and
1916 annoys redhat multi-arch installs. Now that all X fonts are
1917 included without prejudice, the chances of the date being at
1918 all interesting are rather limited. Bug #505.
1920 Add copyright and license
1922 2004-12-04 Keith Packard <keithp@keithp.com>
1925 Change default set of fonts to include all of
1926 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1927 * doc/fontconfig-user.sgml:
1928 Document new <include>directory-name</include> semantics
1930 add <include ignore_missing="yes">conf.d</include>
1932 Add selectfont to ignore bitmap fonts, add comment for
1933 selectfont which accepts bitmap fonts.
1936 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1937 Allow <include> configuration elements to reference directories.
1938 Parse and load all files of the form [0-9]* in sorted order.
1940 2004-12-04 Keith Packard <keithp@keithp.com>
1943 Report command line for $srcdir/configure accurately.
1946 2004-12-04 Keith Packard <keithp@keithp.com>
1948 * src/fcfreetype.c: (FcFreeTypeQuery):
1949 Check for non-empty face->family_name and face->style_name
1950 before using those for the font. Empty names match everything.
1953 2004-12-04 Keith Packard <keithp@keithp.com>
1956 * fontconfig/fontconfig.h:
1957 * src/fcfreetype.c: (FcFreeTypeQuery):
1959 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1960 available. This provides font file format information (BDF, Type 1,
1961 PCF, TrueType) for each font. Closes #109.
1963 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1965 reviewed by: Keith Packard <keithp@keithp.com>
1967 * doc/fontconfig-user.sgml:
1970 * fontconfig/fontconfig.h:
1971 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1972 (GetScriptTags), (FcFontCapabilities):
1974 Add detection for font capabilities (bug #105)
1976 2004-12-04 Keith Packard <keithp@keithp.com>
1979 Move existing fonts.conf to fonts.conf.bak
1982 Add detection of iconv
1984 * doc/fcpattern.fncs:
1985 * doc/fontconfig-devel.sgml:
1986 * doc/fontconfig-user.sgml:
1988 Document new selectfont elements
1991 Switch to UTF-8 in comment
1993 * fontconfig/fontconfig.h:
1995 Add fullname, and family/style/fullname language entries
1997 * src/fccache.c: (FcCacheFontSetAdd):
1998 * src/fcdir.c: (FcFileScanConfig):
1999 Respect selectfont/*/glob
2002 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2003 (FcConfigCompareValue), (FcConfigPatternsAdd),
2004 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2005 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2006 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2007 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2008 Add support for selectfont
2010 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2011 (FcStringInPatternElement), (FcFreeTypeQuery):
2012 Add multi-lingual family/style/fullname support
2014 * src/fclist.c: (FcListPatternMatchAny):
2015 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2017 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2018 (FcObjectStaticName):
2019 Add new FcPatternRemove/FcPatternAppend.
2020 FcObjectStaticName stores computed pattern element names which
2021 are required to be static.
2023 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2028 Remove spurious / after $(DESTDIR)
2030 2004-06-30 Keith Packard <keithp@keithp.com>
2034 * fontconfig/fontconfig.h:
2037 2004-06-30 Keith Packard <keithp@keithp.com>
2039 Provided by: Lubos Lunak <l.lunak@suse.cz>
2041 * src/fccfg.c: (FcConfigUptoDate):
2042 However FcConfigUptoDate() doesn't seem to work. See the attached
2043 patch. First there's an obvious misplaced parenthesis making it
2044 return always false, and second, even this call fails to detect font
2045 changes (e.g. adding a new font to
2046 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2047 well. The problem seems to be triggered by my fonts.conf specifying
2048 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2049 doesn't include subdirs, unlike config->fontDirs.
2051 2004-06-03 Keith Packard <keithp@keithp.com>
2053 * fontconfig/fontconfig.h:
2054 Remove comma at end of FcResult enum definition.
2056 2004-05-29 Keith Packard <keithp@keithp.com>
2059 Add steps to md5sum release
2061 2004-05-29 Keith Packard <keithp@keithp.com>
2065 * fontconfig/fontconfig.h:
2068 2004-05-29 Keith Packard <keithp@keithp.com>
2070 * fontconfig/fontconfig.h:
2071 * src/fcmatch.c: (FcFontSetMatch):
2072 Add FcResultOutOfMemory to provide an accurate error when
2073 FcFontSetMatch fails in this way
2076 Make #warning about lacking various FreeType features indicate
2077 which version those features appeared so users know how to
2078 fix the problem (Thanks to Anton Tropashko)
2080 2004-05-05 Keith Packard <keithp@keithp.com>
2082 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2083 Replace MIN/MAX/ABS macros which happen to have come
2084 from FreeType with fontconfig-specific ones (FC_*)
2086 2004-04-23 Keith Packard <keithp@keithp.com>
2089 Extend release preparation instructions to include
2090 notification and distribution steps
2092 2004-04-23 Keith Packard <keithp@keithp.com>
2096 * fontconfig/fontconfig.h:
2097 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2099 2004-04-23 Keith Packard <keithp@keithp.com>
2102 Ignore a few more autotool files
2104 2004-04-14 Keith Packard <keithp@keithp.com>
2107 Add instructions for doing a release
2109 * fontconfig.spec.in:
2110 clean up .spec file; perhaps this will be useful to somebody...
2114 * fontconfig/fontconfig.h:
2117 * fc-lang/fc-lang.c:
2118 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2120 * fc-glyphname/Makefile.am:
2121 * fc-lang/Makefile.am:
2122 * fc-list/Makefile.am:
2123 * fc-match/Makefile.am:
2125 Add WARN_CFLAGS to pass -W flags for GCC systems
2127 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2128 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2129 Change various char types around to match across
2131 Fixed bug in using available_sizes[i].height which
2132 is in pixels, not 64ths of a pixel.
2134 2004-03-06 Keith Packard <keithp@keithp.com>
2136 * src/fcfreetype.c: (FcFreeTypeQuery):
2137 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2138 matches looking for explicit values prefer exact matches
2140 2004-03-02 Keith Packard <keithp@keithp.com>
2142 Supplied by: mfabian@suse.de (Mike FABIAN)
2144 * src/fcfreetype.c: (FcFreeTypeQuery):
2145 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2146 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2148 2004-02-21 Manish Singh <yosh@gimp.org>
2150 * fc-glyphname/fc-glyphname.c: (main):
2151 Cast strlen to int for printf, so we're 64-bit clean.
2153 2004-02-11 Keith Packard <keithp@keithp.com>
2156 * src/fcfreetype.c: (FcGetPixelSize):
2157 Ok, so I messed up the test for y_ppem. Let's see if I
2158 got it right this time.
2160 2004-02-10 Keith Packard <keithp@keithp.com>
2163 * src/fcfreetype.c: (FcGetPixelSize):
2164 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2165 FT_Bitmap_Size record. Add a configure.in test for this
2166 and change the code accordingly (using height instead).
2168 2004-02-06 Keith Packard <keithp@keithp.com>
2171 Add Low Saxon orthography
2172 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2174 * src/fccfg.c: (FcConfigNewestFile):
2175 Oops. Left 'newest.set' unset, which would miscompute
2178 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2179 (FcFreeTypeCheckGlyph):
2180 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2181 font properties (which report the wrong value in current FreeType)
2183 Don't attempt to check for empty glyphs in non-scalable fonts; they
2186 2004-02-01 Tor Lillqvist <tml@iki.fi>
2188 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2189 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2190 cache if config->cache is NULL, which happens if FcConfigHome() is
2191 NULL. Guard against that by using the temp folder in that case.
2193 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2195 * fc-lang/az_ir.orth:
2196 * fc-lang/ku_ir.orth:
2197 * fc-lang/ps_af.orth:
2198 * fc-lang/ps_pk.orth:
2199 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2200 (Afghan and Pakistani).
2202 Updated Urdu orthography with real data.
2204 2003-12-11 Carl Worth <cworth@east.isi.edu>
2206 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2209 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2211 (all-local): Remove excessive whitespace.
2213 * autogen.sh: Add 'set -e' to abort when any program fails,
2214 (avoids printing of 'now type make' after configure aborts).
2216 2003-11-17 Eric Christopherson <rakko@charter.net>
2218 reviewed by: Keith Packard <keithp@keithp.com>
2221 * fontconfig/fcfreetype.h:
2223 Switch to FreeType 2.1.7 style includes. Bug #150.
2225 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2227 * fc-list/fc-list.sgml: Add some example usages.
2229 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2232 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2235 2003-10-27 Keith Packard <keith@keithp.com>
2238 * fontconfig/fontconfig.h:
2239 Update to version 2.2.92
2241 2003-10-27 Keith Packard <keithp@keithp.com>
2246 * fc-cache/Makefile.am:
2247 * fc-glyphname/Makefile.am:
2248 * fc-lang/Makefile.am:
2249 * fc-list/Makefile.am:
2250 * fc-match/Makefile.am:
2253 Yet more cleanups to finish getting 'make distcheck' working
2254 This has been tested to ensure that it even works from a _build
2257 2003-10-26 Keith Packard <keithp@keithp.com>
2261 * fc-cache/Makefile.am:
2262 * fc-glyphname/Makefile.am:
2263 * fc-lang/Makefile.am:
2264 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2265 * fc-list/Makefile.am:
2266 * fc-match/Makefile.am:
2267 Attempts to fix 'make distcheck' work. Things are
2268 progressing pretty well, but there are still failures
2269 long into the process dealing with docs (as always).
2271 The big changes here are mostly to make $(srcdir) != "."
2272 work correctly, fixing the docbook related sections and
2273 fc-lang were particularily tricky. Docbook refuses to load
2274 system entities from anywhere other than where the original .sgml
2275 file was located, so no luck looking in "." for the
2276 configure-generated version.sgml and confdir.sgml files.
2278 fc-lang needed help finding .orth files; added a -d option
2279 to set the directory as the least evil of many options.
2281 Now to go use a faster machine and try and wring out the last
2284 2003-10-26 Keith Packard <keithp@keithp.com>
2288 2003-10-26 Keith Packard <keithp@keithp.com>
2291 Include confdir.sgml.in in EXTRA_DIST
2293 2003-10-09 Josselin Mouette <joss@debian.org>
2295 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2296 * fc-list/fc-list.sgml fc-list/Makefile.am:
2297 Replace fc-cache and fc-list manpages with more detailed, SGML
2300 2003-09-23 Owen Taylor <otaylor@redhat.com>
2302 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2303 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2304 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2307 2003-09-23 Owen Taylor <otaylor@redhat.com>
2309 * fc-lang/ka.orth: Remove Georgian capitals, they
2310 aren't used for normal writing. (Bug #116)
2312 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2314 * doc/fontconfig-devel.sgml:
2315 * doc/fontconfig-user.sgml:
2316 * fontconfig/fontconfig.h:
2318 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2319 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2321 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2322 monospace and dual-width fonts, allow roughly a 3% variance in the
2325 2003-08-31 Manish Singh <yosh@gimp.org>
2327 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2330 2003-08-15 Carl Worth <cworth@isi.edu>
2332 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2333 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2335 * src/fcpat.c (FcValueListEntDestroy): New function to support
2336 FcFini memory cleanup. Some statistics are not kept in
2338 (FcValueListFreeze): Move hashTable outside this function so it
2339 can be accessed by FcValueListThawAll.
2340 (FcValueListThawAll): New function complements FcValueListFreeze.
2341 (FcPatternBaseFreeze): Move hashTable outside this function so it
2342 can be accessed by FcPatternBaseThawAll.
2343 (FcPatternBaseThawAll): New function complements
2344 FcPatternBaseFreeze.
2345 (FcPatternThawAll): New function complements FcPatternFreeze.
2347 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2349 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2350 allocated FcCharLeafEnt "blocks" so they can be freed later.
2351 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2352 can be accessed by FcCharSetThawAllLeaf.
2353 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2354 (FcCharSetFreezeBase): Move hashTable outside this function so it
2355 can be accessed by FcCharSetThawAll.
2356 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2358 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2359 (FcConfigDestroy): Fic leak of FcBlanks.
2361 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2362 (main): Add call to FcFini when finished.
2364 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2365 static. Add prototypes.
2367 * doc/fcinit.fncs: Add documentation for FcFini function.
2369 * doc/edit-sgml.c: Mark several local functions as static. Add
2372 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2374 2003-06-15 Tor Lillqvist <tml@iki.fi>
2376 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2377 before comparing (needed on Windows).
2379 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2381 2003-06-13 Tor Lillqvist <tml@iki.fi>
2383 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2386 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2387 WINDOWSFONTDIR token.
2389 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2390 end, not to confuse libtool, which expects the EXPORTS line to be
2391 the first. Add FcConfigEnableHome.
2393 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2394 built as a DLL on Win32.
2396 2003-06-09 Keith Packard <keithp@keithp.com>
2398 * Tag version 2.2.90
2400 2003-06-09 Keith Packard <keithp@keithp.com>
2402 * Optimization in FcLangSetIndex was broken, occasionally
2403 returning a pointer to the wrong location on miss
2405 * Add fc-match to test font matching from the command line.
2407 2003-05-31 Keith Packard <keithp@keithp.com>
2409 * (Bug 85) add support for culmus fonts
2410 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2411 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2413 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2415 * Fix "contains" op for strings and langsets.
2417 2003-05-17 Keith Packard <keithp@keithp.com>
2419 * Fix build error with BDF prop local. Free langset after query
2421 2003-05-14 Keith Packard <keithp@keithp.com>
2423 * Extract spacing from XLFD atom
2425 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2427 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2428 disappeared in 1.30.
2430 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2432 2003-05-12 Keith Packard <keithp@keithp.com>
2434 * Use FcIsWidth to share code
2436 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2437 misclassifying some Han fonts as monospaced.
2439 2003-05-07 Keith Packard <keithp@keithp.com>
2441 * Add filename-based accept/reject to ammend available fonts.
2443 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2444 older FreeType releases.
2446 2003-05-06 Keith Packard <keithp@keithp.com>
2448 * Remove 0b82 and Tamil numbers from tamil
2449 orthography (Jungshik Shin <jshin@mailaps.org>)
2451 2003-05-04 Keith Packard <keithp@keithp.com>
2453 + Map glyph names in fonts with adobe custom encoding to unicode
2455 2003-05-02 Keith Packard <keithp@keithp.com>
2457 * Add FC_WEIGHT_BOOK as weight 75
2459 2003-04-30 Keith Packard <keithp@keithp.com>
2461 * Typo in bitstream foundry name
2463 2003-04-24 Keith Packard <keithp@keithp.com>
2465 * Eliminate italic_angle check for PS fonts
2467 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2469 * Getting closer to fixing /etc/fonts hard-coding.
2471 2003-04-22 Keith Packard <keithp@keithp.com>
2473 * Update autogen.sh to work with newer automake versions
2474 * Handle pattern elements moving during multiple edits
2476 2003-04-23 James Henstridge <james@daa.com.au>
2478 * doc/fontconfig-devel.sgml: close the <para> element.
2480 * doc/fcpattern.fncs: close the <para> element.
2482 * doc/func.sgml: close the <refsynopsisdiv> element.
2484 2003-04-22 Keith Packard <keithp@keithp.com
2486 * Update autogen.sh to work with newer automake versions
2487 * Handle pattern elements moving during multiple edits
2489 2003-04-17 Colin Walters <walters@debian.org>
2491 + Remove some unused variables, and initialize some other ones so
2492 gcc doesn't warn us.
2494 2003-04-16 Keith Packard <keithp@keithp.com>
2496 + tag version 2.1.94
2498 2003-04-16 Keith Packard <keithp@keithp.com>
2500 + add BDF property fetching support for foundry
2501 (from Juliusz Chroboczek)
2502 + add BDF property fetching support for width
2504 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2506 + Implemented foundry generation for Type 1 and TrueType
2508 2003-04-11 Gerard Escalante <g2@magestudios.net>
2510 + Retrieve information from Type1 FontInfo dictionaries
2512 2003-04-07 Colin Walters <walters@verbum.org>
2514 + src/Makefile.am: Fix dummy makefile target names when
2515 MS_LIB_AVAILABLE isn't set.
2517 2003-03-22 Tor Lillqvist <tml@iki.fi>
2519 Changes for Windows:
2521 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2523 + We don't want to hardcode the fonts.conf file location in the
2524 DLL, so we look up the DLL location at run-time in a DllMain()
2525 function. The fonts.conf location is deduced from that.
2527 + The colon can't be used as path separator on Windows,
2528 semicolon is used instead. File path components can be separated
2529 with either slash or backslash. Absolute paths can also begin
2530 with a drive letter.
2532 + Add internal function FcStrLastSlash that strrchr's the last
2533 slash, or backslash on Windows.
2535 + There is no link() on Windows. For atomicity checks, mkdir a
2536 lock directory instead.
2538 + In addition to HOME, also look for USERPROFILE.
2540 + Recognize the special font directory token WINDOWSFONTDIR, to
2541 use the system's font directory.
2543 + Remove the fontconfig-def.cpp that was obsolete. Add
2544 fontconfig.def(.in), without internal functions.
2546 + Add a fontconfig-zip(.in) script, used to build a binary
2549 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2550 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2551 to main package and man3/* to devel package
2553 + Added missing defattr(-, root, root) to main RPM package
2555 + Added HTML and text development documentation to -devel subpackage
2557 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2558 + Added back the configure macro options --disable-docs, otherwise
2559 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2560 version number) unconditionally, causing RPM to fail the build due
2561 to _unpackaged_files_terminate_build. We pick up the pregenerated
2562 docs with %doc already.
2564 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2565 + Removed commented out rpm macro define at top of spec file,
2566 replacing it with a simple explanation, since rpm macros are
2567 expanded by rpm even in comments.
2569 + Changed /usr/bin to _bindir in BuildRequires lines
2571 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2573 + Reorganized file manifest lists
2575 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2577 + fontconfig.spec.in: Improvements from Red Hat spec file.
2579 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2581 + docs/*.sgml: SGML fixes.
2583 Sat Mar 1 17:28:53 PST 2003 keithp
2584 + Ok, so the ChangeLog is a bit out of date
2586 + Lots of bugs fixed; most are in bugzilla, the
2587 biggest problems were in cache management where
2588 Owen discovered the library would lose badly when
2589 combining fonts-cache and ~/.fonts-cache data
2591 + Converted from autoconf to automake. This after
2592 getting patches accepted into libtool to allow
2593 the '-version-number' argument which lets
2594 packages set version numbers explicitly rather
2595 than the roundabout libtool way
2597 + Converted documentation to SGML using the docbook
2598 DTD. Now .txt and .html documents are installed
2599 in /usr/share/doc/fontconfig and there's no
2600 man page. Perhaps a man version can be written
2603 Sat Aug 31 15:21:22 PDT 2002 keithp
2604 + Xrender and Xft had several bugs related to
2605 rendering manually placed or poly-face text
2607 + Added more complete memory tracing in fontconfig
2608 Checked with (patched) mozilla and found no leaks
2610 + Updated Latin orthographies by comparing those from
2611 evertype.com with those from eki.ee. Tried to make
2612 sensible choices, including chars that occured in both
2613 and leaving some optional chars out that occured only
2616 Mon Aug 26 16:33:04 PDT 2002 keithp
2617 + Owen discovered that FcLangSetHasLang wasn't actually
2618 checking the language set.
2620 Mon Aug 26 13:37:23 PDT 2002 keithp
2621 + Append a version number to cache filenames
2623 Thu Aug 22 11:36:18 PDT 2002 keithp
2625 + Add "contains" and "not_contains" operators and elements to
2628 + Changed semantics of eq operator for LangSets to check for
2629 FcLangEqual so that any match will do
2631 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2632 of FcValueEqual to check for identical values when inserting into
2633 the results. This broke when the above semantic change was made,
2634 now it uses FcValueEqual which is "more correct" in any case.
2636 Thu Aug 22 00:32:29 PDT 2002 keithp
2638 + Reimplement FC_LANG as new datatype. Lists of strings
2639 was consuming over a megabyte of memory for 401 fonts.
2641 + Freeze patterns loaded from cache files. This shares
2642 common value lists and common patterns which saves
2643 considerable memory.
2645 + Change the denotation of 'constant' charsets to use special
2646 ref value instead of separate boolean.
2648 + Clean up leak tracing stuff, found several unannoted alloc/free
2651 Tue Aug 20 16:17:37 PDT 2002 keithp
2653 + Fix memory leak when parsing matrices from XML
2655 Mon Aug 19 11:57:27 PDT 2002 keithp
2657 + Fix autoconf files to pass FONTCONFIG_PATH on
2658 compile line so that ${prefix} gets substituted
2661 + Use getc_unlocked/putc_unlocked on systems that
2662 provide them to avoid damage done to stdio by posix
2664 + Eliminate FC_PATTERN and FcTypePattern in favor of
2665 an extended api for FcConfigSubstitute which takes
2666 both the font and the pattern.
2668 + Add 'sans serif' alias for 'sans-serif' as some apps
2669 can't handle hyphens in family names
2671 + Eliminate pretense of support for libxml2
2673 + Comment origins of Han orthographies
2675 Tue Jul 30 18:37:09 PDT 2002 keithp
2677 + Add binding property to edit element so that strong
2678 binding values may be inserted by the config file.
2679 The default remains weak.
2681 Sun 28 Jul 04:16:55 PDT 2002 keithp
2683 + Tagged release candidate 1 in the CVS tree and
2684 placed fcpackage.rc1.tar.gz for distribution
2686 Thu Aug 1 08:55:08 PDT 2002 keithp
2688 + Fixed autoconf builds to always specify install
2689 target files (for BSD). Also fixed to
2690 define FONTCONFIG_PATH in config.h so that
2691 nonstandard installs will actually work.