1 2006-02-09 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
3 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
5 Define and pass O_BINARY to open if appropriate, for those
6 platforms that need it. Reported by Doodle.
8 2006-02-09 Patrick Lam <plam@mit.edu>
9 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
12 Fix problem with missing 'en' due to euro.patch: change
13 cache file format slightly to coincide with that generated
16 2006-02-07 Patrick Lam <plam@mit.edu>
17 * src/fccache.c (FcCacheReadDirs):
21 2006-02-07 Patrick Lam <plam@mit.edu>
22 * src/fcdir.c (FcDirScanConfig):
24 Don't reject dirs that can't be normalized (fixes lilypond, and
25 is correct in the context of application font directories.)
27 2006-02-07 Takashi Iwai <tiwai@suse.de>
30 * src/fccache.c (FcCacheReadDirs):
32 Use normalized directory name exclusively in FcCacheReadDirs.
34 2006-02-07 Dirk Mueller <dmueller@suse.com>
37 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
39 Perf optimizations. Inline FcValueCanonicalize,
40 reduce FcValueListPtrU usage, remove redundant cast.
42 2006-02-07 Takashi Iwai <tiwai@suse.de>
45 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
48 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
49 Declare extern for static arrays as arrays, not pointers.
50 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
52 2006-02-07 Dirk Mueller <dmueller@suse.com>
65 Add Euro sign to list of symbols required by European languages.
67 2006-02-07 Patrick Lam <plam@mit.edu>
68 * src/fccache.c (FcCacheReadString):
70 Fix hidden variable warning.
72 2006-02-07 Dirk Mueller <dmueller@suse.com>
75 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
77 Remove de-escaping logic because FcCacheWriteString
78 doesn't escape anyway. Do blockwise reading instead
79 of byte-wise for performance.
81 2006-02-06 Patrick Lam <plam@mit.edu>
82 Takashi Iwai <tiwai@suse.de>
84 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
86 Don't loop infinitely on recursive symlinks (client-side).
88 2006-02-06 Takashi Iwai <tiwai@suse.de>
90 * fc-cache/fc-cache.c (scanDirs, main):
92 Don't loop infinitely on recursive symlinks.
94 2006-02-06 Takashi Iwai <tiwai@suse.de>
96 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
97 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
98 FcGlobalCacheSave, FcCacheReadDirs):
101 Skip subdirs when skipping over stale bits of global cache.
102 Introduce state machine into FcGlobalCacheDir to avoid
103 doing inappropriate operations on global dir entries, e.g.
104 writing out an out-of-date cache entry.
106 2006-02-06 Takashi Iwai <tiwai@suse.de>
108 * src/fcdir.c (FcFileScanConfig):
110 Hoist FcFileIsDir check out of FcFileScanConfig loop.
112 2006-02-06 Takashi Iwai <tiwai@suse.de>
115 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
116 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
118 Don't rescan when trying to normalize a non-declared font dir.
119 Don't add font dirs multiple times (even if they're aliased).
121 2006-02-06 Dirk Mueller <dmueller@suse.de>
124 * src/fcfs.c (FcFontSetUnserialize):
126 Explain apples/oranges comparison and fix compilation error.
128 2006-02-06 Dirk Mueller <dmueller@suse.de>
131 * src/fcfs.c (FcFontSetUnserialize):
133 Insert check for integer overflow in # of fonts.
135 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
139 * fc-cache/Makefile.am:
140 * fc-cat/Makefile.am:
141 * fc-list/Makefile.am:
143 Make 'make distcheck' work with automake 1.6.3.
145 2006-02-03 Takashi IWAI <tiwai@suse.de>
148 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
151 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
152 FcDirCacheConsume, FcDirCacheWrite)
153 * src/fcxml.c (FcConfigMessage):
155 Check I/O call return values and eliminate unused variable
158 2006-02-03 Takashi Iwai <tiwai@suse.de>
161 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
165 2006-02-03 Dirk Mueller <dmueller@suse.de>
168 * src/fcfs.c (FcFontSetUnserialize):
170 Gracefully handle the case where a cache asserts that it
171 has a negative number of fonts, causing overflow.
173 2006-02-03 Patrick Lam <plam@mit.edu>
174 * src/fccache.c (FcDirCacheUnlink):
176 Fix double free in error case.
178 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
179 Stephan Kulow <coolo@suse.de>
182 * fc-cache/Makefile.am:
184 Replace 'stamp' target with mkinstalldirs.
186 2006-01-31 Mike Fabian <mfabian@suse.de>
189 * src/fccache.c (FcGlobalCacheLoad):
191 Toast broken global cache files.
193 2006-01-30 Patrick Lam <plam@mit.edu>
194 * src/fccache.c (FcGlobalCacheReadDir):
196 Actually use the directories that I added to the global cache.
199 2006-01-30 Mike Fabian <mfabian@suse.de>
202 * fc-cache/fc-cache.c (scanDirs):
204 Don't stop scanning if a directory in fonts.conf doesn't
205 exist, because subsequent directories might exist.
207 2006-01-30 Patrick Lam <plam@mit.edu>
208 * src/fccache.c (FcGlobalCacheLoad):
210 Make global cache work again after putting dir names into global
211 cache (I misplaced the recording of a file offset).
213 2006-01-30 Patrick Lam <plam@mit.edu>
214 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
216 Update fc-cat to handle subdir lists in global cache file.
218 * src/fccache.c (FcGlobalCacheLoad):
220 Another FcCacheReadString return value check.
222 2006-01-30 Mike Fabian <mfabian@suse.de>
225 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
226 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
228 Make fccache more resilient to broken cache files by checking
229 return value of FcCacheReadString all the time.
231 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
234 * fc-match/fc-match.1:
235 * fc-lang/fc-lang.man:
237 Remove references to dead fontconfig(3) manpages in
238 other fontconfig manpages.
240 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
243 * doc/fcpattern.fncs:
245 Fix world's tiniest typo in code example.
247 2006-01-29 Mike Fabian <mfabian@suse.de>
250 * src/fccache.c (FcGlobalCacheReadDir):
252 Fix global cache reads of subdirectories.
254 2006-01-29 Patrick Lam <plam@mit.edu>
256 Add documentation for FcConfigNormalizeFontDir.
258 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
259 FcGlobalCacheUpdate, FcGlobalCacheSave):
260 * src/fcdir.c (FcDirScanConfig):
263 Write directory information to global caches to fix make check
264 (reported by Ronny V. Vindenes). This changes the global cache
267 2006-01-27 Patrick Lam <plam@mit.edu>
268 * fc-cache/fc-cache.c (scanDirs):
269 * fontconfig/fontconfig.h:
271 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
273 Move FcConfigNormalizeFontDir call so that it doesn't result in
274 infinite recursion (reported by Ronny V. Vindenes).
276 2006-01-26 Patrick Lam <plam@mit.edu>
277 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
278 * src/fccfg.c (FcConfigNormalizeFontDir):
280 Add a couple of missing normalizations to make fc-cache work
281 right; only scan subdirectories once.
283 2006-01-26 Mike Fabian <mfabian@suse.de>
286 * src/fcacache.c (FcGlobalCacheReadDir):
288 Don't crash on non-existant directories in global cache.
290 2006-01-26 Patirck Lam <plam@mit.edu>
291 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
292 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
293 * src/fcdir.c (FcDirScanConfig):
294 * src/fcxml.c (FcEndElement):
296 Stop trampling the directory name when writing out caches.
297 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
298 subdirs when necessary. Don't scan directories that can't be
301 2006-01-25 Patrick Lam <plam@mit.edu>
302 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
303 * src/fccfg.c (FcConfigEvaluate):
304 * src/fcfreetype.c (FcPatternAddWithBinding):
306 Fix additional memory leaks reported by Ronny V. Vindenes: don't
307 invoke FcValueSave on hashed static strings in
308 FcPatternAddWithBinding.
310 Add another st_dev check in FcDirCacheOpen.
312 2006-01-24 James Su <james.su@gmail.com>
315 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
316 * fc-lang/zh_hk.orth:
318 Treat zh-hk fonts differently from zh-tw fonts. This patch may
319 cause fontconfig to treat A-X fonts differently from A-Y fonts;
320 please mail the fontconfig list if this causes any problems.
322 2006-01-24 Patrick Lam <plam@mit.edu>
323 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
324 * src/fcfreetype.c (FcFreeTypeQuery):
326 Fix memory leaks reported by Ronny V. Vindenes.
328 2006-01-19 Andreas Schwab <schwab@suse.de>
331 * src/fcpat.c (FcStrNeededBytes):
333 Fix for unaligned memory accesses.
335 2006-01-18 Mike Fabian <mfabian@suse.de>
338 * src/fcdir.c (FcDirScanConfig):
340 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
341 calls to avoid crashes.
343 2006-01-14 Patrick Lam <plam@mit.edu>
344 * src/fccache.c (FcDirCacheConsume):
346 Fix segfault when consuming zero-length caches in fc-cat
347 (which has no config, so FcConfigAddFontDir shouldn't be called.)
349 2006-01-14 Patrick Lam <plam@mit.edu>
350 * fc-cache/fc-cache.c (scanDirs):
351 * fontconfig/fontconfig.h:
352 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
353 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
354 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
355 * src/fcdir.c (FcDirScanConfig):
358 Compare device numbers as well as inodes.
359 Always normalize directory names before comparing them.
361 2006-01-11 Mike Fabian <mfabian@suse.de>
364 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
366 Allocate extra space for appended '/' in directory name.
368 2006-01-10 Patrick Lam <plam@mit.edu>
369 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
370 FcDirCacheValid, FcDirCacheHasCurrentArch,
371 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
372 * fc-cache/fc-cache.c (main):
374 Explicitly add font dirs to config.fontDirs even if they're empty.
375 Set current config in fc-cache.c.
376 Fix treatment of cache directory as read from cache file; don't
377 use string equality to determine if we have the right file,
380 2006-01-09 Patrick Lam <plam@mit.edu>
381 * fc-cache/fc-cache.c (scanDirs):
382 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
383 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
384 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
385 * src/fccfg.c (FcConfigNormalizeFontDir):
386 * src/fcdir.c (FcDirScanConfig):
389 Normalize font dirs by using the form, as given in fonts.conf, and
390 recorded in FcConfig's fontDirs string set, as canonical.
392 Actually update config.fontDirs as font directories are scanned.
394 2006-01-08 James Su <james.su@gmail.com>
395 * src/fcmatch.c (FcFontSetMatch):
397 Fix matching bug when multiple elements match; don't use
398 the sum of all scores, but the best score.
400 Also more perf opts, e.g. evaluate best over all font sets
401 rather than on a per-set basis (and other changes).
403 2006-01-08 Patrick Lam <plam@mit.edu>
404 * src/fccache.c (FcDirCacheConsume):
406 Properly skip past dir caches that contain zero fonts (as occurs
407 in global caches.) Reported by Mike Fabian.
409 2006-01-06 Patrick Lam <plam@mit.edu>
410 * src/fcdbg.c (FcPatternPrint):
412 Print out full pathname in fc-match -v as well. Reported by
415 2006-01-06 Mike Fabian <mfabian@suse.de>
418 * src/fcname.c (FcNameParse):
420 Fix bug where fc-match crashes when given __DUMMY__ property to
423 (I added the __DUMMY__ string to enable callers of
424 FcObjectToPtrLookup to distinguish an error return from a
425 successful return. -PL)
427 2006-01-05 Patrick Lam <plam@mit.edu>
430 Add self to AUTHORS list.
432 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
433 FcCacheFileRead, FcCachePrintSet, main):
434 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
435 FcGlobalCacheSave, FcCacheNextOffset,
436 FcDirCacheHasCurrentArch, FcDirCacheRead,
437 FcDirCacheConsume, FcDirCacheWrite):
439 * src/fcpat.c (comment):
441 Minor change to global cache file format to fix fc-cat bug
442 reported by Frederic Crozat, and buglet with not globally caching
443 directories with zero fonts cached.
445 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
448 * src/fccfg.c (FcConfigEvaluate):
450 Fix double-free which occurs because FcValueCanonicalize doesn't
451 create an extra copy of the returned value, it only canonicalizes
454 2006-01-02 Patrick Lam <plam@mit.edu>
455 * doc/fontconfig-user.sgml:
457 Fix version of .cache file (currently 1 -> currently 2). Reported
460 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
463 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
465 Shut up GCC warnings on amd.
467 2005-12-20 Patrick Lam <plam@mit.edu>
471 * fontconfig/fontconfig.h:
473 Bump version to 2.3.93.
475 2005-12-20 Patrick Lam <plam@mit.edu>
476 * src/fccharset.c (FcLangCharSetPopulate):
477 * src/fcint.h (FcCacheBankToIndex):
479 Avoid check on _fcBankId nullness and fix case where it used to
482 2005-12-20 Patrick Lam <plam@mit.edu>
483 * src/fcxml.c (FcConfigParseAndLoad):
485 Use open instead of fopen (requested by Phil Race for Sun).
487 2005-12-20 Patrick Lam <plam@mit.edu>
488 * src/fccache.c (FcDirCacheWrite);
489 * fc-cache/Makefile.am:
491 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
494 2005-12-20 Patrick Lam <plam@mit.edu>
495 * src/fcfreetype.c (FcFreeTypeQuery):
497 Restore code to skip over PCF fonts that have no encoded
499 (We guess that a font is PCF by presence of the PIXEL_SIZE
502 2005-12-12 Patrick Lam <plam@mit.edu>
503 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
505 Read and write the original location as a fallback for the
506 hashed cache file locations. This is mostly for users to be
507 able to have per-directory cache files.
509 2005-12-12 Patrick Lam <plam@mit.edu>
510 * fc-cache/fc-cache.c (scanDirs):
511 * fc-cache/Makefile.am:
512 * src/fccache.c (FcDirCacheHashName):
514 Improve error message when fc-cache can't write the cache. Add
515 missing slash. Reported by Behdad. Incorporate Behdad's patch to
516 create /var/cache/fontconfig when appropriate.
518 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
521 * src/fcxml.c (FcConfigGetAttribute):
523 Fix crash reported by Frederic Crozat when using libxml2.
525 2005-12-09 Patrick Lam <plam@mit.edu>
528 * fc-cache/Makefile.am:
529 * fc-cat/Makefile.am:
531 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
532 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
533 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
534 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
535 FcDirCacheHasCurrentArch, FcDirCacheHashName,
536 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
538 Migrate cache files from fonts directories to
539 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
540 but requires that all caches get rebuilt.
542 Also, autogen.sh now needs the additional parameter
543 --localstatedir=/var.
545 2005-12-07 Patrick Lam <plam@mit.edu>
546 * src/fcpat.c (FcPatternAddString):
548 Because we've changed FcPatternAddString to use FcStrStaticName
549 and not FcValueSave, explicitly handle the case of a null string.
551 2005-12-06 Patrick Lam <plam@mit.edu>
552 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
556 2005-12-05 Patrick Lam <plam@mit.edu>
557 * src/fcname.c (FcNameGetObjectType):
559 Don't assign types to user object names.
561 2005-12-05 Patrick Lam <plam@mit.edu>
562 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
564 Don't free strings that have been returned from FcStrStaticName.
566 2005-12-01 Patrick Lam <plam@mit.edu>
567 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
569 Add codepath for reading global cache files as well.
571 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
574 * conf.d/10-fonts.persian.conf:
575 * conf.d/Makefile.am:
577 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
579 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
582 * src/fcxml.c (FcConfigParseAndLoad):
584 Only add a config file to the set of config files once.
586 2005-11-29 Patrick Lam <plam@mit.edu>
587 * src/fcint.h (FcCacheBankToIndex);
589 Fix segfault by guarding array dereference.
591 2005-11-29 Dirk Mueller <dmueller@suse.de>
595 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
596 FcCacheBankToIndex, FcCacheBankToIndexMTF,
600 Refactor FcCacheBankToIndex into an inlineable part
601 (in fcint.h) which checks the front of the list and a
602 non-inlineable part which finds and moves the appropriate element
603 to the front of the list.
605 2005-11-29 Patrick Lam <plam@mit.edu>
606 * src/fccfg.c (FcConfigBuildFonts):
607 * src/fccache.c (FcCacheReadDirs):
609 Make the perf guys hate me a bit less: hoist the directory-name
610 FcConfigAcceptFont check for cached fonts up to directory cache
611 read time, rather than running it for each font.
613 2005-11-29 Patrick Lam <plam@mit.edu>
614 * src/fccfg.c (FcConfigBuildFonts):
616 * src/fcpat.c (FcPatternFindFullFname):
618 Don't make FcPatternFindFullFname available to fccfg, it's not
619 really safe. Instead go through FcPatternGetString (sorry,
620 perf guys.) Also, use globs for dirs as well.
622 2005-11-28 Patrick Lam <plam@mit.edu>
623 * src/fccfg.c (FcConfigBuildFonts):
627 2005-11-28 Patrick Lam <plam@mit.edu>
629 * src/fcpat.c (FcPatternFindFullFname):
630 * src/fccfg.c (FcConfigBuildFonts):
632 Fix problem dating back at least to 2.3.2 where globs weren't
633 being applied to patterns loaded from a cache.
635 2005-11-28 Patrick Lam <plam@mit.edu>
636 * doc/fontconfig-user.sgml:
638 Fix some obvious spelling mistakes.
640 2005-11-28 Dirk Mueller <dmueller@suse.com>
641 Stephan Kulow <coolo@suse.de>
644 * src/fcmatch.c (FcFontSetMatch):
646 Don't kill all fonts during match (oops!)
649 2005-11-25 Dirk Mueller <dmueller@suse.com>
650 Stephan Kulow <coolo@suse.de>
651 Michael Matz <matz@suse.de>
654 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
657 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
658 inline FcCompare into FcFontSetMatch and reorder the
659 loops, adding a boolean array which blocks patterns from future
660 consideration if they're known to not be best on some past
663 2005-11-26 Dirk Mueller <dmueller@suse.com>
666 * src/fcmatch.c (FcCompareValueList):
670 2005-11-25 Patrick Lam <plam@mit.edu>
671 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
673 Don't do random matching when bad objects are passed into
676 2005-11-25 Patrick Lam <plam@mit.edu>
678 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
679 FcPatternSerialize, FcPatternUnserialize,
680 FcValueListEnsureBank, FcValueListDistributeBytes,
681 FcValueListUnserialize):
683 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
684 _fcPatternElts, _fcValueLists for consistency.
686 2005-11-25 Dirk Mueller <dmueller@suse.com>
691 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
693 2005-11-25 Patrick Lam <plam@mit.edu>
695 * src/fccache.c (FcDirCacheConsume):
696 * src/fccharset.c (FcCharSetUnserialize):
697 * src/fcfs.c (FcFontSetUnserialize):
698 * src/fclang.c (FcLangSetUnserialize):
699 * src/fcname.c (FcObjectUnserialize):
700 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
701 FcPatternUnserialize):
703 Pass around FcCache *s to the Unserialize functions for extra
704 consistency (and less overhead, for what that's worth).
706 2005-11-24 Dirk Mueller <dmueller@suse.com>
710 * src/fcmatch.c (FcCompare*, FcFontSetSort):
711 * src/fcname.c (FcNameUnparseValue):
713 Inline the *PtrU functions to gain perf.
714 Remove unneeded params for the FcCompare* functions.
716 2005-11-24 Dirk Mueller <dmueller@suse.com>
719 * src/fcint.h, fontconfig/fontconfig.h:
721 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
723 * src/fcpat.c, src/fcint.h, src/fcname.c:
725 Check for type validity during FcPatternAddWithBinding, don't
726 verify type in FcFontMatch, don't call FcCanonicalize here
727 (which always does a deep copy).
729 2005-11-24 Dirk Mueller <dmueller@suse.com>
732 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
733 * src/fcpat.c (FcPatternAddWithBinding):
735 Make FcCompareString and FcCompareFamily less expensive.
736 Only add a value for FC_FAMILY if the proposed value is a string.
738 2005-11-24 Dirk Mueller <dmueller@suse.com>
741 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
742 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
743 * src/fcint.h (FcDebug):
745 Inline FcDebug invocations and only initialize once, in FcInit*.
746 Improve debug msg in FcPatternPrint.
748 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
751 * fontconfig/fontconfig.h:
754 Minor code warning cleanups.
756 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
759 * fc-match/fc-match.c (main):
761 Make getopt_long accept -s parameter to fc-match as well.
763 2005-11-21 Dirk Mueller <dmueller@suse.com>
766 * src/fcmatch.c (FcCompareValueList):
768 Manually perform inlining & partial redundancy elimination to
769 reduce calls to FcValueListPtrU.
771 2005-11-21 Dirk Mueller <dmueller@suse.com>
774 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
775 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
777 Only invoke strlen() when really necessary.
779 2005-11-19 Matthias Clasen <mclasen@redhat.com>
783 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
788 Get rid of the use of freetype internal headers in fcfreetype.c,
789 since those headers will go away with freetype 2.2. Replace with
790 public domain ftglue code from pango. Note that the patch removes
791 some extra error checking in FT_Get_BDF_Property() and comments
792 out the skipping of empty pcf fonts.
794 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
797 * fc-lang/fc-lang.c (main):
799 Further fix of patch from 2005-11-04: miscounted numbers count
800 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
801 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
803 Removed leafidx_count and numbers_count since they are the same
804 and replaced them with offset_count.
806 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
809 * fc-cat/fc-cat.c (main):
811 Don't crash when fc-cat invoked with no arguments.
813 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
816 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
818 Fix invalid read access caused by premature free and
819 GCC4 warnings in libxml2 codepath.
821 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
824 * src/fccfg.c (FcConfigValues):
826 List iteration not needed in FcConfigValues, since it's building
827 up the list itself; we can just strip FcVoid elements during
830 2005-11-17 Patrick Lam <plam@mit.edu>
831 * src/fccfg.c (FcConfigValues):
833 Fix crash on invalid constants in config files (forgot to update
834 a pointer upon list iteration.)
836 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
839 * src/fcxml.c (FcTypecheckExpr):
841 Complain about invalid constants in config files.
843 2005-11-17 Andreas Schwab <schwab@suse.de>
846 * src/fccache.c (FcGlobalCacheSave):
848 Don't add current_arch_start more than once.
850 2005-11-16 Patrick Lam <plam@mit.edu>
851 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
852 * src/fcfs.c (FcFontSetUnserialize):
853 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
854 * src/fcpat.c (FcStrUnserialize):
856 Fix ordering of ALIGN with respect to saving block_ptr; add
857 another ALIGN to fcfs.c.
859 2005-11-16 Patrick Lam <plam@mit.edu>
860 * src/fccache.c (FcDirCacheProduce)
862 Fix case where alignment bytes bumped up metadata->count
863 causing unwarranted failures to write cache files.
864 (Reported by Stephan Kulow).
866 2005-11-16 Patrick Lam <plam@mit.edu>
867 * src/fccache.c (FcDirCacheProduce):
868 * src/fccharset.c (FcCharSetDistributeBytes):
869 * src/fcfs.c (FcFontSetDistributeBytes):
871 * src/fclang.c (FcLangSetDistributeBytes):
872 * src/fcname.c (FcObjectDistributeBytes):
873 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
876 Add *NeededBytesAlign(), which overestimates the padding which is
877 later added by the new ALIGN macro. Fix alignment problems on
878 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
879 version by Andreas Schwab).
881 2005-11-16 Stephan Kulow <coolo@kde.org>
886 Use sysconf to determine proper PAGESIZE value; this
887 appears to be POSIX-compliant. (reported by Andreas Schwab)
889 2005-11-04 Patrick Lam <plam@mit.edu>
895 Fix bug 2878 (excessive relocations at startup for charsets,
896 reported by Ross Burton): fc-lang/fc-lang now creates the
897 static form of the langset, not the dynamic form, so that
898 the charsets should now be in .rodata.
900 2005-11-04 Patrick Lam <plam@mit.edu>
901 * src/fcdir.c (FcDirScanConfig):
903 Add test for validity of directory caches that
904 somehow got lost (reported by make distcheck).
906 2005-11-04 Patrick Lam <plam@mit.edu>
910 * fontconfig/fontconfig.h:
912 Bump version to 2.3.92.
914 2005-11-02 Patrick Lam <plam@mit.edu>
915 * src/fcpat.c (FcPatternDuplicate):
917 Fix argument ordering problem in call to FcPatternTransferFullFname.
919 2005-11-02 Patrick Lam <plam@mit.edu>
920 * src/fcfreetype.c (FcFreetypeQuery):
921 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
922 FcPatternTransferFullFname):
924 Fix warnings and embarrassing double-free error.
926 2005-11-02 Zhe Su <zsu@novell.com>
931 Change the rule for artificial emboldening in fonts.conf.in. This
932 enables the support for artificial emboldening included in cairo.
934 2005-11-02 Patrick Lam <plam@mit.edu>
935 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
937 Don't zero out full names for FC_REF_CONSTANT fonts;
938 also, duplicate full names when transferring, and free
939 full names when freeing the associated font.
940 Reported by Jinghua Luo.
942 2005-11-02 Patrick Lam <plam@mit.edu>
943 * fc-cache/fc-cache.c (scanDirs):
944 * src/fcpat.c (FcValueListSerialize):
946 Revert the previous patch and commit the correct patch:
947 I forgot a canonicalization in FcValueListSerialize, so
948 that it would choke on already-serialized input files. Duh!
950 2005-11-02 Patrick Lam <plam@mit.edu>
951 * fc-cache/fc-cache.c (scanDirs):
953 Forcibly rescan a directory before writing a fresh local
954 cache file for that directory, fixing the losing-fonts
955 problem reported by Mike Fabian and also apparently the
956 font cache file corruption.
958 2005-11-02 Patrick Lam <plam@mit.edu>
959 * src/fccache.c (FcGlobalCacheLoad):
961 Fix thinko: actually, the whole global cache is stale
962 if the global cache is older than the (newest) config file.
964 2005-11-02 Patrick Lam <plam@mit.edu>
965 * src/fccache.c (FcGlobalCacheLoad):
966 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
969 Declare the global cache of a directory's contents to be stale if
970 the directory is newer than the (newest) configuration file.
972 2005-10-31 Patrick Lam <plam@mit.edu>
974 * src/fclist.c (FcListAppend):
975 * src/fcmatch.c (FcFontRenderPrepare):
976 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
977 FcPatternFreeze, FcPatternBaseFreeze):
979 Copy the full pathname whenever duplicating an FcPattern; otherwise,
980 applications continue breaking.
982 2005-10-31 Patrick Lam <plam@mit.edu>
983 * fc-cat/fc-cat.c (FcCacheFileRead, main):
984 * src/fcfreetype.c (FcFreeTypeQuery):
986 Fix small memory error (tried to free argv); use basename and
987 dirname correctly (they can modify their arguments).
989 2005-10-31 Patrick Lam <plam@mit.edu>
997 Reinstate basename patch, but keep a hash table linking FcPatterns
998 to their fully-qualified font names for clients' benefit. Clients
999 only pay for the font names once they request the FC_FILE property
1000 from an FcPattern, but the font name is malloc'd at that point (i.e.
1001 not mmapped: that's impossible, since it may vary between machines.)
1002 Clients do have to pay for a copy of the path name per cache file.
1004 Note that FcPatternGetString now does some rewriting if you ask
1005 for an FC_FILE, appending the pathname as appropriate.
1007 2005-10-31 Patrick Lam <plam@mit.edu>
1008 * src/fcfreetype.c (FcFreeTypeQuery):
1010 Revert basename patch, which breaks fontconfig clients on my system.
1012 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1015 * fontconfig/fonts.conf.in:
1016 * fontconfig/fontconfig.h:
1020 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1021 to load embedded bitmaps or not.
1023 2005-10-25 Patrick Lam <plam@mit.edu>
1024 * src/fcfreetype.c (FcFreeTypeQuery):
1026 Only add basename to patterns' FC_FILE element, not any part of
1029 2005-10-22 Patrick Lam <plam@mit.edu>
1032 Add some more consts, fixing more GCC4 warnings.
1034 2005-10-22 Zhe Su <zsu@novell.com>
1037 Support localized font family and style names.
1038 This has been reported to break old apps like xfd, but modern
1039 (gtk+/qt/mozilla) apps work fine.
1041 2005-10-21 Patrick Lam <plam@mit.edu>
1042 * src/fccache.c (FcGlobalCacheLoad):
1044 Destroy the global cache file if it's terminally broken. (reported by
1047 2005-10-21 Patrick Lam <plam@mit.edu>
1048 * fc-list/fc-list.c (main):
1049 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1050 * fontconfig/fontconfig.h:
1052 Prevent fc-list from escaping strings when printing them (reported by
1055 2005-10-20 Marcus Meissner <meissner@suse.de>
1058 * fontconfig/fontconfig.h:
1060 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1062 2005-10-14 Ross Burton <ross@burtonini.com>
1065 * fc-glyphname/fc-glyphname.c:
1068 Add consts to variables so as to move arrays into .rodata.
1070 2005-10-14 Mike Fabian <mfabian@suse.de>
1073 * src/fccache.c (FcDirCacheUnlink):
1075 Check existence of directory cache file before attempting to unlink.
1077 2005-10-13 Patrick Lam <plam@mit.edu>
1078 * src/fccache.c (FcDirCacheUnlink):
1080 Fix flipped return value on unlink. (Reported by Mike Fabian)
1082 2005-10-12 Patrick Lam <plam@mit.edu>
1085 * src/fcdir.c (FcDirScanConfig):
1088 When fc-cache is run without --force, use directory cache files
1089 to speed up fc-cache run time. (Reported by Mike Fabian)
1091 2005-10-06 Patrick Lam <plam@mit.edu>
1093 * src/fcname.c (FcObjectToPtr):
1094 * src/fcpat.c (FcStrStaticName):
1096 Add padding to make valgrind and glibc not hate each other
1097 when calling strlen().
1099 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1100 reviewed by: plam & keithp
1104 Modify config file to use Greek fonts before Asian fonts with
1107 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1108 reviewed by: plam & keithp
1112 Use libtool -no-undefined flag on all platforms.
1114 2005-10-05 Patrick Lam <plam@mit.edu>
1115 * src/fccache.c (FcCacheHaveBank):
1117 Implement move-to-front array for banks (perf regression
1118 reported by Ronny V. Vindenes).
1120 2005-10-04 Patrick Lam <plam@mit.edu>
1121 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1122 FcDirCacheHasCurrentArch):
1123 * fc-cache/fc-cache.c (scanDirs):
1124 * fontconfig/fontconfig.h:
1126 Add new API which unlinks directory caches and checks dir caches
1127 for existence of appropriate sections. Fix fc-cache to unlink
1128 stale cache files and save directory caches that lack relevant
1131 2005-10-03 Patrick Lam <plam@mit.edu>
1132 * src/fccache.c (FcDirCacheValid):
1134 Ensure that a directory cache has the appropriate section
1135 before reporting that it is valid (reported by Matthias Clasen).
1137 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1145 Use libxml2 if requested (with --enable-libxml2) or if
1146 expat is not available.
1148 2005-09-29 Patrick Lam <plam@mit.edu>
1149 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1151 Fix multi-arch cache files: compute the position for the
1152 block to be added using info from OrigFile, not NewFile.
1154 2005-09-28 Patrick Lam <plam@mit.edu>
1155 * src/fccache.c (FcCacheMachineSignature):
1157 Cast results of sizeof() to unsigned int to get rid of
1158 warnings on x86_64 (thanks Matthias Clasen).
1160 2005-09-27 Patrick Lam <plam@mit.edu>
1161 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1164 Use FcAtomic to rewrite cache files.
1166 2005-09-27 Patrick Lam <plam@mit.edu>
1168 * src/fccache.c (FcDirCacheWrite):
1170 Don't unlink the fonts.cache-2 file even if there's no data
1171 to write; just write an empty cache file. (thanks Lubos Lunak)
1173 2005-09-27 Patrick Lam <plam@mit.edu>
1175 * src/fccache.c (FcDirCacheWrite):
1177 Allocate room for the subdirectory names in each
1178 directory cache. Thanks to James Cloos for finding
1179 and diagnosing this bug!
1181 2005-09-22 Patrick Lam <plam@mit.edu>
1183 * fc-cache/fc-cache.sgml:
1184 * src/fccache.c (FcDirCacheWrite):
1185 * src/fccache.h (struct FcCache):
1187 Update documentation -- fc-cache's man page now says that you
1188 need to run fc-cache once per cached architecture; add some
1189 documentation to the FcCache structure.
1191 Make fc-cache write out fonts.cache-2 files for directories with
1192 no fonts (i.e. only subdirectories).
1194 2005-09-22 Patrick Lam <plam@mit.edu>
1196 * fc-cache/fc-cache.sgml:
1197 * fc-case/fc-case.c:
1198 * fc-glyphname/fc-glyphname.c:
1204 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1208 * fc-lang/fc-lang.c:
1209 * fontconfig/fcprivate.h:
1210 * fontconfig/fontconfig.h:
1224 Implement new mmaped cache for font information.
1225 Bump so revision to 2.3.90.
1227 2005-07-25 Keith Packard <keithp@keithp.com>
1229 * doc/fontconfig-user.sgml:
1230 * fc-glyphname/fc-glyphname.c: (scan), (main):
1231 * fc-lang/fc-lang.c: (FcConfigHome):
1232 * fc-match/fc-match.c: (main):
1233 * src/fccfg.c: (FcConfigHome):
1234 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1235 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1236 (addtag), (FcFontCapabilities):
1237 * src/fcpat.c: (FcValueListEntCreate):
1238 * src/fcstr.c: (FcStrCaseWalkerInit):
1239 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1241 Various GCC 4 cleanups for signed vs unsigned char
1243 Match only [0-9]*.conf files in <include>{directory}</include>
1244 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1246 2005-07-15 Carl Worth <cworth@cworth.org>
1249 * src/fcinit.c: (FcFini):
1250 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1253 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1254 Pull the FcObjectStateName hash table out to file scope, and add
1255 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1258 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1261 2005-06-16 Patrick Lam <plam@MIT.EDU>
1265 * src/fccfg.c: (FcConfigCompareValue):
1266 Make FcOpNotContains use FcStrStr for strings so that
1267 it matches semantics for !FcOpContains.
1269 2005-05-20 Keith Packard <keithp@keithp.com>
1273 Move fontconfig source package to libs as per override
1275 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1277 reviewed by: Mike Fabian
1280 The ka.orth file requires several characters which are not
1281 used anymore in modern Georgian and which are missing in the free
1282 Georgian TrueType fonts downloadable at:
1284 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1286 2005-04-27 Keith Packard <keithp@keithp.com>
1290 Update date to real 2.3.2 release date.
1291 Fix change attributions
1293 2005-04-27 Keith Packard <keithp@keithp.com>
1296 Bump so revision for 2.3.2
1297 * fc-cache/fc-cache.c: (scanDirs):
1298 Fix a few minor leaks in error cases.
1300 2005-04-23 Keith Packard <keithp@keithp.com>
1305 * fontconfig/fontconfig.h:
1306 Update for version 2.3.2
1308 2005-04-21 Keith Packard <keithp@keithp.com>
1310 * debian/fontconfig.postinst:
1311 Don't force bitmap font enable in default
1312 configuration; allows users to override this in
1322 * debian/po/pt_BR.po:
1323 * debian/po/templates.pot:
1325 * debian/po/zh_CN.po:
1326 Updated translations
1328 * fc-cache/fc-cache.c: (main):
1329 Destroy font configuration on exit to help valgrind
1332 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1333 (FcFreeTypeCheckGlyph):
1334 Use own transcoding routines in preference to iconv
1335 which appears to have leaks in some translators.
1336 Call iconv_close after using iconv (oops).
1338 Prefer unicode encoding of Euro char as some
1339 fonts mis-encode Euro in other ones.
1341 Must fetch bitmap glyphs to get width values
1342 to check for monospace/dual-width fonts.
1344 2005-04-13 Ross Burton <ross@burtonini.com>
1347 Check that a pattern isn't already frozen in FcPatternFreeze.
1349 2005-03-31 Ross Burton <ross@burtonini.com>
1354 Run all FcPattern objects through FcObjectStaticName, so that
1355 compares can be done on pointers instead of strings (#2659)
1357 2005-03-17 Tor Lillqvist <tml@novell.com>
1359 * src/fontconfig.def.in: Add the .dll to the dll name.
1361 2005-03-10 Keith Packard <keithp@keithp.com>
1363 * debian/README.Debian:
1364 Update to reflect configuration changes
1366 * debian/fontconfig.postinst:
1367 Fix Autohint vs Autohinter mistake
1368 * debian/fontconfig.templates:
1369 Adopt changes from Josselin Mouette for configuration descriptions
1370 Update debian to version 2.3.1-2
1372 2005-03-08 Keith Packard <keithp@keithp.com>
1376 Update debian for 2.3.1
1378 2005-03-09 Tor Lillqvist <tml@novell.com>
1380 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1383 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1386 2005-03-08 Keith Packard <keithp@keithp.com>
1390 * fontconfig/fontconfig.h:
1393 2005-03-05 Keith Packard <keithp@keithp.com>
1395 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1396 Include space and remove numbers from valid script tags.
1397 This ensures that tags like 'lao ' work while rejecting
1398 those which have any digits.
1399 Eliminate a spurious debugging variable (len)
1401 2005-03-05 Keith Packard <keithp@keithp.com>
1403 * src/fcfreetype.c: (addtag), (GetScriptTags),
1404 (FcFontCapabilities):
1405 Rework GSUB/GPOS script parsing to survive broken fonts.
1406 Thanks for the broken font go to Manish Singh
1408 2005-03-05 Keith Packard <keithp@keithp.com>
1413 * debian/fontconfig.config:
1414 * debian/fontconfig.templates:
1416 Include 2.3 release information in changelog
1417 Add Josselin Mouette as an Uploader
1418 Set hinting_type to low priority configuration option
1421 * debian/fontconfig.postinst:
1422 yes_bitmaps.conf -> yes-bitmaps.conf
1428 2005-03-02 Keith Packard <keithp@keithp.com>
1431 * conf.d/Makefile.am:
1432 * conf.d/autohint.conf:
1433 * conf.d/no-sub-pixel.conf:
1434 * conf.d/sub-pixel.conf:
1435 * conf.d/unhinted.conf:
1436 * debian/autohint.conf:
1437 * debian/fontconfig.install:
1438 * debian/fontconfig.postinst:
1439 * debian/fontconfig.templates:
1440 * debian/no-sub-pixel.conf:
1441 * debian/unhinted.conf:
1442 Move debian-specific conf file examples upstream.
1444 Sub-pixel configuration examples must smash subpixel value
1445 as Xft always sets it from X.
1447 Change sub-pixel rendering debconf descriptions from
1448 Enable/Disable to Always/Never.
1450 2005-03-02 Keith Packard <keithp@keithp.com>
1453 * conf.d/.cvsignore:
1455 Ignore more build detritus
1458 Add debian package construction stuff.
1460 * config/config.guess:
1461 * config/config.sub:
1462 Update to newer versions of these tools
1465 Get library manuals to build again (we love automake).
1467 * debian/README.Debian:
1468 * debian/autohint.conf:
1473 * debian/fontconfig-udeb.install:
1474 * debian/fontconfig.config:
1475 * debian/fontconfig.defoma:
1476 * debian/fontconfig.dirs:
1477 * debian/fontconfig.install:
1478 * debian/fontconfig.postinst:
1479 * debian/fontconfig.postrm:
1480 * debian/fontconfig.templates:
1481 * debian/libfontconfig1-dev.install:
1482 * debian/libfontconfig1.install:
1483 * debian/local.conf.md5sum:
1484 * debian/no-sub-pixel.conf:
1485 * debian/po/POTFILES.in:
1494 * debian/po/pt_BR.po:
1495 * debian/po/templates.pot:
1497 * debian/po/zh_CN.po:
1499 * debian/unhinted.conf:
1500 Update debian build system to switch maintainers and
1501 deal with 2.3 functionality
1503 2005-03-01 Keith Packard <keithp@keithp.com>
1507 * fontconfig/fontconfig.h:
1510 2005-03-01 Keith Packard <keithp@keithp.com>
1513 Generate and install PDF versions of the manuals
1515 * doc/fcpattern.fncs:
1518 * doc/fcstring.fncs:
1519 Add missing exported functions, fix data types
1521 * doc/fontconfig-devel.sgml:
1522 Add missing pattern elements.
1524 * doc/fontconfig-user.sgml:
1525 Add missing pattern elements. Document conf.d usage,
1526 clarify available orthography list. Fix some config file
1527 attributes. Complete list of constants.
1529 * fontconfig/fontconfig.h:
1530 Mark FC_SOURCE deprecated.
1532 * src/fcfreetype.c: (FcFreeTypeQuery):
1533 Don't set FC_SOURCE any longer.
1535 2005-02-28 Keith Packard <keithp@keithp.com>
1538 * conf.d/Makefile.am:
1540 * conf.d/no-bitmaps.conf:
1541 * conf.d/sub-pixel.conf:
1542 * conf.d/yes-bitmaps.conf:
1544 Create prototype /etc/fonts/conf.d directory with a few
1545 sample configuration files.
1546 Deprecate use of local.conf for local customizations in favor of
1547 this directory based scheme which is more easily integrated into
1548 installation systems.
1551 Tag FC_EMBOLDEN as a boolean variable
1553 2005-02-10 Keith Packard <keithp@keithp.com>
1555 reviewed by: pborelli@katamail.com
1557 * src/fcdir.c: (FcFileScanConfig):
1558 Free patterns from fonts which are rejected by configuration
1561 2005-01-28 Keith Packard <keithp@keithp.com>
1565 * fontconfig/fontconfig.h:
1566 Update for version 2.2.99
1568 2005-01-28 Keith Packard <keithp@keithp.com>
1571 Add a few pointers (#2284, #2285)
1573 2005-01-28 Keith Packard <keithp@keithp.com>
1576 * src/fcname.c: (FcNameBool):
1577 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1578 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1579 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1580 Polite typechecking for test and edit expressions. Helps
1581 catch errors in the font configuration. (bug 229)
1583 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1585 reviewed by: Keith Packard <keithp@keithp.com>
1588 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1590 2005-01-13 Keith Packard <keithp@keithp.com>
1592 * doc/fontconfig-user.sgml:
1593 Add SEE ALSO section (bug 2085)
1595 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1597 reviewed by: Keith Packard <keithp@keithp.com>
1602 * fc-case/Makefile.am:
1603 * fc-glyphname/Makefile.am:
1604 * fc-lang/Makefile.am:
1605 * src/fontconfig.def.in:
1606 Cross compiling fixes (bug 280)
1608 2005-01-13 Keith Packard <keithp@keithp.com>
1611 Update blanks list (Closes bug 86)
1613 2005-01-04 Keith Packard <keithp@keithp.com>
1615 * src/fccache.c: (FcCacheFontSetAdd):
1616 Verify that every font pattern loaded from cache has
1617 both FC_FILE and FC_FAMILY entries.
1618 Attempt to fix bug #2219.
1620 2004-12-29 Keith Packard <keithp@keithp.com>
1624 * fontconfig/fontconfig.h:
1625 Update for version 2.2.98
1627 2004-12-29 Keith Packard <keithp@keithp.com>
1629 * fontconfig/fontconfig.h:
1630 Document ASCII limitations of Fc character conversion macros
1631 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1632 Fix off-by-one error in utf-8 case walking code.
1633 Add FcStrDowncase (useful for testing case conversion functions)
1635 2004-12-29 Keith Packard <keithp@keithp.com>
1638 * fc-case/.cvsignore:
1639 clean up CVS ignore lists
1640 * fc-lang/iso-3166.txt:
1641 Add territory database
1643 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1645 Reviewed by: Keith Packard
1648 Remove Han characters from Korean orthography
1650 2004-12-29 Keith Packard <keithp@keithp.com>
1653 Reorder utility programs to make sure fc-case is run before fc-lang
1654 as fc-lang uses fcstr.c which uses fccase.h
1658 2004-12-29 Keith Packard <keithp@keithp.com>
1661 Adopt some RedHat suggestions for standard font configuration.
1665 * fc-case/CaseFolding.txt:
1666 * fc-case/Makefile.am:
1667 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1668 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1669 (dump), (parseRaw), (caseFoldReadRaw), (main):
1670 * fc-case/fccase.tmpl.h:
1671 Add new helper program 'fc-case' to construct case folding
1672 tables from standard Unicode CaseFolding.txt file
1675 * src/fclist.c: (FcListValueHash):
1676 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1677 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1678 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1679 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1680 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1681 Re-implement case insensitive functions with Unicode
1682 aware versions (including full case folding mappings)
1684 2004-12-13 Keith Packard <keithp@keithp.com>
1686 reviewed by: Owen Taylor <otaylor@redhat.com>
1688 * src/fcmatch.c: (FcFontSetSort):
1689 I changed FcFontSetSort to respect the generic aliases better
1690 in the face of language matching.
1692 What I did was to ammend the strict sort order used by FcFontSort so
1693 that it 'satisfies' the language specified in the pattern by locating
1694 the best matching font supporting each pattern language and then
1695 ignores language in the remaining fonts for purposes of matching.
1697 So, when asking for 'sans:lang=en', you'll get an English font first,
1698 and then the remaining fonts sorted with respect to the 'sans' alias
1699 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1701 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1703 reviewed by: Keith Packard <keithp@keithp.com>
1705 * fontconfig/fontconfig.h:
1708 Configuration changes to request synthetic emboldening of
1709 fonts. The actual emboldening code will live in Xft.
1711 2004-12-09 John Thacker <thacker@math.cornell.edu>
1713 reviewed by: Keith Packard <keithp@keithp.com>
1717 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1718 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1719 и), and don't even appear in KOI8-R. (The hypothesis that they
1720 don't appear in KOI8-R due to their similarity with Latin I and i is
1721 eliminated by their presence in KOI8-U.) I have a couple of fonts
1722 with Russian support that don't have the letter.
1724 Therefore, 0406 and 0456 should be removed from or commented out of
1727 2004-12-06 michael meeks <mmeeks@novell.com>
1729 Reviewed by: Keith Packard <keithp@keithp.com>
1731 * src/fcinit.c: (FcMemReport):
1733 * src/fclist.c: (FcObjectSetAdd):
1734 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1735 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1736 * src/fcxml.c: (FcParsePatelt):
1737 memoize strings and share a single copy for all uses. Note that
1738 this could be improved further by using statically allocated blocks
1739 and gluing multiple strings together, but I'm basically lazy.
1740 In my environment with 800 font files, I get a savings of about 90KB.
1742 2004-12-06 Keith Packard <keithp@keithp.com>
1746 * config/Makedefs.in:
1749 * doc/fcatomic.fncs:
1750 * doc/fcblanks.fncs:
1751 * doc/fccharset.fncs:
1752 * doc/fcconfig.fncs:
1753 * doc/fcconstant.fncs:
1755 * doc/fcfontset.fncs:
1756 * doc/fcfreetype.fncs:
1758 * doc/fcmatrix.fncs:
1759 * doc/fcobjectset.fncs:
1760 * doc/fcobjecttype.fncs:
1761 * doc/fcpattern.fncs:
1762 * doc/fcstring.fncs:
1763 * doc/fcstrset.fncs:
1765 * doc/fontconfig-devel.sgml:
1766 * doc/fontconfig-user.sgml:
1768 * doc/version.sgml.in:
1769 * fc-cache/Makefile.am:
1770 * fc-cache/fc-cache.c:
1771 * fc-glyphname/Makefile.am:
1772 * fc-glyphname/fc-glyphname.c:
1773 * fc-glyphname/fcglyphname.tmpl.h:
1774 * fc-lang/Makefile.am:
1784 * fc-lang/az_ir.orth:
1818 * fc-lang/fc-lang.c:
1819 * fc-lang/fc-lang.man:
1820 * fc-lang/fclang.tmpl.h:
1865 * fc-lang/ku_ir.orth:
1898 * fc-lang/ps_af.orth:
1899 * fc-lang/ps_pk.orth:
1928 * fc-lang/ti_er.orth:
1929 * fc-lang/ti_et.orth:
1955 * fc-lang/zh_cn.orth:
1956 * fc-lang/zh_hk.orth:
1957 * fc-lang/zh_mo.orth:
1958 * fc-lang/zh_sg.orth:
1959 * fc-lang/zh_tw.orth:
1961 * fc-list/Makefile.am:
1962 * fc-list/fc-list.c:
1963 * fc-match/Makefile.am:
1964 * fc-match/fc-match.1:
1965 * fc-match/fc-match.c:
1966 * fontconfig/fcfreetype.h:
1967 * fontconfig/fcprivate.h:
1968 * fontconfig/fontconfig.h:
1989 Change files from ISO-Latin-1 to UTF-8
1991 2004-12-04 Keith Packard <keithp@keithp.com>
1994 Update links to new freedesktop.org locations
1996 Add uninstall-local to get rid of fonts.conf and local.conf if they
1997 match the distributed versions. Fixes 'make distcheck'
1999 2004-12-04 Keith Packard <keithp@keithp.com>
2003 * fontconfig/fontconfig.h:
2004 Updates for version 2.2.97
2006 2004-12-04 Owen Taylor <otaylor@redhat.com>
2008 reviewed by: Keith Packard <keithp@keithp.com>
2010 * fc-cache/fc-cache.c: (main):
2011 Sleep for two seconds before exiting to make sure timestamps
2012 for future changes have distinct mod times in the file system.
2015 Add Punjabi orthography. Bug #1671.
2017 2004-12-04 Keith Packard <keithp@keithp.com>
2020 Just remove the FC_FONTDATE -- it has locale issues and
2021 annoys redhat multi-arch installs. Now that all X fonts are
2022 included without prejudice, the chances of the date being at
2023 all interesting are rather limited. Bug #505.
2025 Add copyright and license
2027 2004-12-04 Keith Packard <keithp@keithp.com>
2030 Change default set of fonts to include all of
2031 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2032 * doc/fontconfig-user.sgml:
2033 Document new <include>directory-name</include> semantics
2035 add <include ignore_missing="yes">conf.d</include>
2037 Add selectfont to ignore bitmap fonts, add comment for
2038 selectfont which accepts bitmap fonts.
2041 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2042 Allow <include> configuration elements to reference directories.
2043 Parse and load all files of the form [0-9]* in sorted order.
2045 2004-12-04 Keith Packard <keithp@keithp.com>
2048 Report command line for $srcdir/configure accurately.
2051 2004-12-04 Keith Packard <keithp@keithp.com>
2053 * src/fcfreetype.c: (FcFreeTypeQuery):
2054 Check for non-empty face->family_name and face->style_name
2055 before using those for the font. Empty names match everything.
2058 2004-12-04 Keith Packard <keithp@keithp.com>
2061 * fontconfig/fontconfig.h:
2062 * src/fcfreetype.c: (FcFreeTypeQuery):
2064 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2065 available. This provides font file format information (BDF, Type 1,
2066 PCF, TrueType) for each font. Closes #109.
2068 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2070 reviewed by: Keith Packard <keithp@keithp.com>
2072 * doc/fontconfig-user.sgml:
2075 * fontconfig/fontconfig.h:
2076 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2077 (GetScriptTags), (FcFontCapabilities):
2079 Add detection for font capabilities (bug #105)
2081 2004-12-04 Keith Packard <keithp@keithp.com>
2084 Move existing fonts.conf to fonts.conf.bak
2087 Add detection of iconv
2089 * doc/fcpattern.fncs:
2090 * doc/fontconfig-devel.sgml:
2091 * doc/fontconfig-user.sgml:
2093 Document new selectfont elements
2096 Switch to UTF-8 in comment
2098 * fontconfig/fontconfig.h:
2100 Add fullname, and family/style/fullname language entries
2102 * src/fccache.c: (FcCacheFontSetAdd):
2103 * src/fcdir.c: (FcFileScanConfig):
2104 Respect selectfont/*/glob
2107 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2108 (FcConfigCompareValue), (FcConfigPatternsAdd),
2109 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2110 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2111 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2112 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2113 Add support for selectfont
2115 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2116 (FcStringInPatternElement), (FcFreeTypeQuery):
2117 Add multi-lingual family/style/fullname support
2119 * src/fclist.c: (FcListPatternMatchAny):
2120 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2122 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2123 (FcObjectStaticName):
2124 Add new FcPatternRemove/FcPatternAppend.
2125 FcObjectStaticName stores computed pattern element names which
2126 are required to be static.
2128 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2133 Remove spurious / after $(DESTDIR)
2135 2004-06-30 Keith Packard <keithp@keithp.com>
2139 * fontconfig/fontconfig.h:
2142 2004-06-30 Keith Packard <keithp@keithp.com>
2144 Provided by: Lubos Lunak <l.lunak@suse.cz>
2146 * src/fccfg.c: (FcConfigUptoDate):
2147 However FcConfigUptoDate() doesn't seem to work. See the attached
2148 patch. First there's an obvious misplaced parenthesis making it
2149 return always false, and second, even this call fails to detect font
2150 changes (e.g. adding a new font to
2151 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2152 well. The problem seems to be triggered by my fonts.conf specifying
2153 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2154 doesn't include subdirs, unlike config->fontDirs.
2156 2004-06-03 Keith Packard <keithp@keithp.com>
2158 * fontconfig/fontconfig.h:
2159 Remove comma at end of FcResult enum definition.
2161 2004-05-29 Keith Packard <keithp@keithp.com>
2164 Add steps to md5sum release
2166 2004-05-29 Keith Packard <keithp@keithp.com>
2170 * fontconfig/fontconfig.h:
2173 2004-05-29 Keith Packard <keithp@keithp.com>
2175 * fontconfig/fontconfig.h:
2176 * src/fcmatch.c: (FcFontSetMatch):
2177 Add FcResultOutOfMemory to provide an accurate error when
2178 FcFontSetMatch fails in this way
2181 Make #warning about lacking various FreeType features indicate
2182 which version those features appeared so users know how to
2183 fix the problem (Thanks to Anton Tropashko)
2185 2004-05-05 Keith Packard <keithp@keithp.com>
2187 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2188 Replace MIN/MAX/ABS macros which happen to have come
2189 from FreeType with fontconfig-specific ones (FC_*)
2191 2004-04-23 Keith Packard <keithp@keithp.com>
2194 Extend release preparation instructions to include
2195 notification and distribution steps
2197 2004-04-23 Keith Packard <keithp@keithp.com>
2201 * fontconfig/fontconfig.h:
2202 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2204 2004-04-23 Keith Packard <keithp@keithp.com>
2207 Ignore a few more autotool files
2209 2004-04-14 Keith Packard <keithp@keithp.com>
2212 Add instructions for doing a release
2214 * fontconfig.spec.in:
2215 clean up .spec file; perhaps this will be useful to somebody...
2219 * fontconfig/fontconfig.h:
2222 * fc-lang/fc-lang.c:
2223 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2225 * fc-glyphname/Makefile.am:
2226 * fc-lang/Makefile.am:
2227 * fc-list/Makefile.am:
2228 * fc-match/Makefile.am:
2230 Add WARN_CFLAGS to pass -W flags for GCC systems
2232 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2233 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2234 Change various char types around to match across
2236 Fixed bug in using available_sizes[i].height which
2237 is in pixels, not 64ths of a pixel.
2239 2004-03-06 Keith Packard <keithp@keithp.com>
2241 * src/fcfreetype.c: (FcFreeTypeQuery):
2242 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2243 matches looking for explicit values prefer exact matches
2245 2004-03-02 Keith Packard <keithp@keithp.com>
2247 Supplied by: mfabian@suse.de (Mike FABIAN)
2249 * src/fcfreetype.c: (FcFreeTypeQuery):
2250 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2251 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2253 2004-02-21 Manish Singh <yosh@gimp.org>
2255 * fc-glyphname/fc-glyphname.c: (main):
2256 Cast strlen to int for printf, so we're 64-bit clean.
2258 2004-02-11 Keith Packard <keithp@keithp.com>
2261 * src/fcfreetype.c: (FcGetPixelSize):
2262 Ok, so I messed up the test for y_ppem. Let's see if I
2263 got it right this time.
2265 2004-02-10 Keith Packard <keithp@keithp.com>
2268 * src/fcfreetype.c: (FcGetPixelSize):
2269 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2270 FT_Bitmap_Size record. Add a configure.in test for this
2271 and change the code accordingly (using height instead).
2273 2004-02-06 Keith Packard <keithp@keithp.com>
2276 Add Low Saxon orthography
2277 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2279 * src/fccfg.c: (FcConfigNewestFile):
2280 Oops. Left 'newest.set' unset, which would miscompute
2283 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2284 (FcFreeTypeCheckGlyph):
2285 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2286 font properties (which report the wrong value in current FreeType)
2288 Don't attempt to check for empty glyphs in non-scalable fonts; they
2291 2004-02-01 Tor Lillqvist <tml@iki.fi>
2293 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2294 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2295 cache if config->cache is NULL, which happens if FcConfigHome() is
2296 NULL. Guard against that by using the temp folder in that case.
2298 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2300 * fc-lang/az_ir.orth:
2301 * fc-lang/ku_ir.orth:
2302 * fc-lang/ps_af.orth:
2303 * fc-lang/ps_pk.orth:
2304 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2305 (Afghan and Pakistani).
2307 Updated Urdu orthography with real data.
2309 2003-12-11 Carl Worth <cworth@east.isi.edu>
2311 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2314 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2316 (all-local): Remove excessive whitespace.
2318 * autogen.sh: Add 'set -e' to abort when any program fails,
2319 (avoids printing of 'now type make' after configure aborts).
2321 2003-11-17 Eric Christopherson <rakko@charter.net>
2323 reviewed by: Keith Packard <keithp@keithp.com>
2326 * fontconfig/fcfreetype.h:
2328 Switch to FreeType 2.1.7 style includes. Bug #150.
2330 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2332 * fc-list/fc-list.sgml: Add some example usages.
2334 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2337 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2340 2003-10-27 Keith Packard <keith@keithp.com>
2343 * fontconfig/fontconfig.h:
2344 Update to version 2.2.92
2346 2003-10-27 Keith Packard <keithp@keithp.com>
2351 * fc-cache/Makefile.am:
2352 * fc-glyphname/Makefile.am:
2353 * fc-lang/Makefile.am:
2354 * fc-list/Makefile.am:
2355 * fc-match/Makefile.am:
2358 Yet more cleanups to finish getting 'make distcheck' working
2359 This has been tested to ensure that it even works from a _build
2362 2003-10-26 Keith Packard <keithp@keithp.com>
2366 * fc-cache/Makefile.am:
2367 * fc-glyphname/Makefile.am:
2368 * fc-lang/Makefile.am:
2369 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2370 * fc-list/Makefile.am:
2371 * fc-match/Makefile.am:
2372 Attempts to fix 'make distcheck' work. Things are
2373 progressing pretty well, but there are still failures
2374 long into the process dealing with docs (as always).
2376 The big changes here are mostly to make $(srcdir) != "."
2377 work correctly, fixing the docbook related sections and
2378 fc-lang were particularily tricky. Docbook refuses to load
2379 system entities from anywhere other than where the original .sgml
2380 file was located, so no luck looking in "." for the
2381 configure-generated version.sgml and confdir.sgml files.
2383 fc-lang needed help finding .orth files; added a -d option
2384 to set the directory as the least evil of many options.
2386 Now to go use a faster machine and try and wring out the last
2389 2003-10-26 Keith Packard <keithp@keithp.com>
2393 2003-10-26 Keith Packard <keithp@keithp.com>
2396 Include confdir.sgml.in in EXTRA_DIST
2398 2003-10-09 Josselin Mouette <joss@debian.org>
2400 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2401 * fc-list/fc-list.sgml fc-list/Makefile.am:
2402 Replace fc-cache and fc-list manpages with more detailed, SGML
2405 2003-09-23 Owen Taylor <otaylor@redhat.com>
2407 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2408 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2409 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2412 2003-09-23 Owen Taylor <otaylor@redhat.com>
2414 * fc-lang/ka.orth: Remove Georgian capitals, they
2415 aren't used for normal writing. (Bug #116)
2417 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2419 * doc/fontconfig-devel.sgml:
2420 * doc/fontconfig-user.sgml:
2421 * fontconfig/fontconfig.h:
2423 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2424 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2426 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2427 monospace and dual-width fonts, allow roughly a 3% variance in the
2430 2003-08-31 Manish Singh <yosh@gimp.org>
2432 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2435 2003-08-15 Carl Worth <cworth@isi.edu>
2437 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2438 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2440 * src/fcpat.c (FcValueListEntDestroy): New function to support
2441 FcFini memory cleanup. Some statistics are not kept in
2443 (FcValueListFreeze): Move hashTable outside this function so it
2444 can be accessed by FcValueListThawAll.
2445 (FcValueListThawAll): New function complements FcValueListFreeze.
2446 (FcPatternBaseFreeze): Move hashTable outside this function so it
2447 can be accessed by FcPatternBaseThawAll.
2448 (FcPatternBaseThawAll): New function complements
2449 FcPatternBaseFreeze.
2450 (FcPatternThawAll): New function complements FcPatternFreeze.
2452 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2454 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2455 allocated FcCharLeafEnt "blocks" so they can be freed later.
2456 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2457 can be accessed by FcCharSetThawAllLeaf.
2458 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2459 (FcCharSetFreezeBase): Move hashTable outside this function so it
2460 can be accessed by FcCharSetThawAll.
2461 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2463 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2464 (FcConfigDestroy): Fic leak of FcBlanks.
2466 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2467 (main): Add call to FcFini when finished.
2469 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2470 static. Add prototypes.
2472 * doc/fcinit.fncs: Add documentation for FcFini function.
2474 * doc/edit-sgml.c: Mark several local functions as static. Add
2477 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2479 2003-06-15 Tor Lillqvist <tml@iki.fi>
2481 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2482 before comparing (needed on Windows).
2484 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2486 2003-06-13 Tor Lillqvist <tml@iki.fi>
2488 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2491 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2492 WINDOWSFONTDIR token.
2494 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2495 end, not to confuse libtool, which expects the EXPORTS line to be
2496 the first. Add FcConfigEnableHome.
2498 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2499 built as a DLL on Win32.
2501 2003-06-09 Keith Packard <keithp@keithp.com>
2503 * Tag version 2.2.90
2505 2003-06-09 Keith Packard <keithp@keithp.com>
2507 * Optimization in FcLangSetIndex was broken, occasionally
2508 returning a pointer to the wrong location on miss
2510 * Add fc-match to test font matching from the command line.
2512 2003-05-31 Keith Packard <keithp@keithp.com>
2514 * (Bug 85) add support for culmus fonts
2515 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2516 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2518 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2520 * Fix "contains" op for strings and langsets.
2522 2003-05-17 Keith Packard <keithp@keithp.com>
2524 * Fix build error with BDF prop local. Free langset after query
2526 2003-05-14 Keith Packard <keithp@keithp.com>
2528 * Extract spacing from XLFD atom
2530 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2532 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2533 disappeared in 1.30.
2535 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2537 2003-05-12 Keith Packard <keithp@keithp.com>
2539 * Use FcIsWidth to share code
2541 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2542 misclassifying some Han fonts as monospaced.
2544 2003-05-07 Keith Packard <keithp@keithp.com>
2546 * Add filename-based accept/reject to ammend available fonts.
2548 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2549 older FreeType releases.
2551 2003-05-06 Keith Packard <keithp@keithp.com>
2553 * Remove 0b82 and Tamil numbers from tamil
2554 orthography (Jungshik Shin <jshin@mailaps.org>)
2556 2003-05-04 Keith Packard <keithp@keithp.com>
2558 + Map glyph names in fonts with adobe custom encoding to unicode
2560 2003-05-02 Keith Packard <keithp@keithp.com>
2562 * Add FC_WEIGHT_BOOK as weight 75
2564 2003-04-30 Keith Packard <keithp@keithp.com>
2566 * Typo in bitstream foundry name
2568 2003-04-24 Keith Packard <keithp@keithp.com>
2570 * Eliminate italic_angle check for PS fonts
2572 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2574 * Getting closer to fixing /etc/fonts hard-coding.
2576 2003-04-22 Keith Packard <keithp@keithp.com>
2578 * Update autogen.sh to work with newer automake versions
2579 * Handle pattern elements moving during multiple edits
2581 2003-04-23 James Henstridge <james@daa.com.au>
2583 * doc/fontconfig-devel.sgml: close the <para> element.
2585 * doc/fcpattern.fncs: close the <para> element.
2587 * doc/func.sgml: close the <refsynopsisdiv> element.
2589 2003-04-22 Keith Packard <keithp@keithp.com
2591 * Update autogen.sh to work with newer automake versions
2592 * Handle pattern elements moving during multiple edits
2594 2003-04-17 Colin Walters <walters@debian.org>
2596 + Remove some unused variables, and initialize some other ones so
2597 gcc doesn't warn us.
2599 2003-04-16 Keith Packard <keithp@keithp.com>
2601 + tag version 2.1.94
2603 2003-04-16 Keith Packard <keithp@keithp.com>
2605 + add BDF property fetching support for foundry
2606 (from Juliusz Chroboczek)
2607 + add BDF property fetching support for width
2609 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2611 + Implemented foundry generation for Type 1 and TrueType
2613 2003-04-11 Gerard Escalante <g2@magestudios.net>
2615 + Retrieve information from Type1 FontInfo dictionaries
2617 2003-04-07 Colin Walters <walters@verbum.org>
2619 + src/Makefile.am: Fix dummy makefile target names when
2620 MS_LIB_AVAILABLE isn't set.
2622 2003-03-22 Tor Lillqvist <tml@iki.fi>
2624 Changes for Windows:
2626 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2628 + We don't want to hardcode the fonts.conf file location in the
2629 DLL, so we look up the DLL location at run-time in a DllMain()
2630 function. The fonts.conf location is deduced from that.
2632 + The colon can't be used as path separator on Windows,
2633 semicolon is used instead. File path components can be separated
2634 with either slash or backslash. Absolute paths can also begin
2635 with a drive letter.
2637 + Add internal function FcStrLastSlash that strrchr's the last
2638 slash, or backslash on Windows.
2640 + There is no link() on Windows. For atomicity checks, mkdir a
2641 lock directory instead.
2643 + In addition to HOME, also look for USERPROFILE.
2645 + Recognize the special font directory token WINDOWSFONTDIR, to
2646 use the system's font directory.
2648 + Remove the fontconfig-def.cpp that was obsolete. Add
2649 fontconfig.def(.in), without internal functions.
2651 + Add a fontconfig-zip(.in) script, used to build a binary
2654 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2655 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2656 to main package and man3/* to devel package
2658 + Added missing defattr(-, root, root) to main RPM package
2660 + Added HTML and text development documentation to -devel subpackage
2662 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2663 + Added back the configure macro options --disable-docs, otherwise
2664 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2665 version number) unconditionally, causing RPM to fail the build due
2666 to _unpackaged_files_terminate_build. We pick up the pregenerated
2667 docs with %doc already.
2669 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2670 + Removed commented out rpm macro define at top of spec file,
2671 replacing it with a simple explanation, since rpm macros are
2672 expanded by rpm even in comments.
2674 + Changed /usr/bin to _bindir in BuildRequires lines
2676 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2678 + Reorganized file manifest lists
2680 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2682 + fontconfig.spec.in: Improvements from Red Hat spec file.
2684 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2686 + docs/*.sgml: SGML fixes.
2688 Sat Mar 1 17:28:53 PST 2003 keithp
2689 + Ok, so the ChangeLog is a bit out of date
2691 + Lots of bugs fixed; most are in bugzilla, the
2692 biggest problems were in cache management where
2693 Owen discovered the library would lose badly when
2694 combining fonts-cache and ~/.fonts-cache data
2696 + Converted from autoconf to automake. This after
2697 getting patches accepted into libtool to allow
2698 the '-version-number' argument which lets
2699 packages set version numbers explicitly rather
2700 than the roundabout libtool way
2702 + Converted documentation to SGML using the docbook
2703 DTD. Now .txt and .html documents are installed
2704 in /usr/share/doc/fontconfig and there's no
2705 man page. Perhaps a man version can be written
2708 Sat Aug 31 15:21:22 PDT 2002 keithp
2709 + Xrender and Xft had several bugs related to
2710 rendering manually placed or poly-face text
2712 + Added more complete memory tracing in fontconfig
2713 Checked with (patched) mozilla and found no leaks
2715 + Updated Latin orthographies by comparing those from
2716 evertype.com with those from eki.ee. Tried to make
2717 sensible choices, including chars that occured in both
2718 and leaving some optional chars out that occured only
2721 Mon Aug 26 16:33:04 PDT 2002 keithp
2722 + Owen discovered that FcLangSetHasLang wasn't actually
2723 checking the language set.
2725 Mon Aug 26 13:37:23 PDT 2002 keithp
2726 + Append a version number to cache filenames
2728 Thu Aug 22 11:36:18 PDT 2002 keithp
2730 + Add "contains" and "not_contains" operators and elements to
2733 + Changed semantics of eq operator for LangSets to check for
2734 FcLangEqual so that any match will do
2736 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2737 of FcValueEqual to check for identical values when inserting into
2738 the results. This broke when the above semantic change was made,
2739 now it uses FcValueEqual which is "more correct" in any case.
2741 Thu Aug 22 00:32:29 PDT 2002 keithp
2743 + Reimplement FC_LANG as new datatype. Lists of strings
2744 was consuming over a megabyte of memory for 401 fonts.
2746 + Freeze patterns loaded from cache files. This shares
2747 common value lists and common patterns which saves
2748 considerable memory.
2750 + Change the denotation of 'constant' charsets to use special
2751 ref value instead of separate boolean.
2753 + Clean up leak tracing stuff, found several unannoted alloc/free
2756 Tue Aug 20 16:17:37 PDT 2002 keithp
2758 + Fix memory leak when parsing matrices from XML
2760 Mon Aug 19 11:57:27 PDT 2002 keithp
2762 + Fix autoconf files to pass FONTCONFIG_PATH on
2763 compile line so that ${prefix} gets substituted
2766 + Use getc_unlocked/putc_unlocked on systems that
2767 provide them to avoid damage done to stdio by posix
2769 + Eliminate FC_PATTERN and FcTypePattern in favor of
2770 an extended api for FcConfigSubstitute which takes
2771 both the font and the pattern.
2773 + Add 'sans serif' alias for 'sans-serif' as some apps
2774 can't handle hyphens in family names
2776 + Eliminate pretense of support for libxml2
2778 + Comment origins of Han orthographies
2780 Tue Jul 30 18:37:09 PDT 2002 keithp
2782 + Add binding property to edit element so that strong
2783 binding values may be inserted by the config file.
2784 The default remains weak.
2786 Sun 28 Jul 04:16:55 PDT 2002 keithp
2788 + Tagged release candidate 1 in the CVS tree and
2789 placed fcpackage.rc1.tar.gz for distribution
2791 Thu Aug 1 08:55:08 PDT 2002 keithp
2793 + Fixed autoconf builds to always specify install
2794 target files (for BSD). Also fixed to
2795 define FONTCONFIG_PATH in config.h so that
2796 nonstandard installs will actually work.