1 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
4 * src/fclang.c (FcCharSetForLang):
6 Fix suspicious return expression which causes junk
9 2006-02-24 Patrick Lam <plam@mit.edu>
13 * fontconfig/fontconfig.h:
15 Bump version to 2.3.94.
17 2006-02-24 Patrick Lam <plam@mit.edu>
22 2006-02-24 Patrick Lam <plam@mit.edu>
23 * conf.d/10-fonts-persian.conf:
25 Remove unconditional emboldening (per Behdad's instructions).
29 Add @s to hide some echos.
31 2006-02-24 Mike Fabian <mfabian@suse.de>
32 Takashi Iwai <tiwai@suse.de>
35 * src/fcfreetype.c (GetScriptTags):
37 Fix double-free on error case.
39 2006-02-21 Patrick Lam <plam@mit.edu>
40 * fc-lang/fc-lang.c (scan):
42 Strip \r and whitespace from input; fixes bug 3454.
44 2006-02-21 Patrick Lam <plam@mit.edu>
45 * fc-lang/fc-lang.c (main):
47 Allocate large arrays statically in fc-lang to fix crashes under
50 2006-02-21 Diego Petten <flameeyes@gentoo.org>
51 * src/fcfreetype.c (FcFreeTypeCharIndex):
53 Pass the buck; make fontconfig not crash on pango badness.
55 2006-02-21 Patrick Lam <plam@mit.edu>
56 * conf.d/10-fonts-persian.conf:
58 Use embeddedbitmap rather than rh_prefer_bitmap.
60 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
63 * src/fccache.c (FcDirCacheWrite):
64 * src/fcdir.c (FcFileScanConfig):
65 * src/fcfreetype.c (FcStringInPatternElement):
66 * src/fcxml.c (FcParseFamilies):
67 * src/ftglue.c (ftglue_face_goto_table):
69 Eliminate redundancies.
71 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
74 * fc-list/fc-list.c (main):
75 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
76 * src/fcstr.c (FcStrStr):
77 * src/fcxml.c (FcConfigSaveAttr):
79 Eliminate unused vars reported by Intel's compiler.
81 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
86 Remove one more archaic character.
88 2006-02-21 Ross Burton <ross@burtonini.com>
89 reviewed by: plam, keithp
91 * src/fcxml.c (FcParsePatelt):
93 Freeze patterns created by configuration file for tiny
94 memory savings (every little bit helps).
96 2006-02-21 Mike Fabian <mfabian@suse.de>
99 * fc-cat/fc-cat.c (main):
101 Initialize fontconfig library in fc-cat to avoid segfault.
103 2006-02-18 Patrick Lam <plam@mit.edu>
104 * fc-cache/fc-cache.c (scanDirs):
105 * src/fccache.c (FcCacheReadDirs):
106 * src/fcdir.c (FcDirScanConfig):
108 Fix the underlying cause of the below segfault (must usually
109 call FcDirCacheHasCurrentArch after FcDirCacheValid).
111 2006-02-18 Patrick Lam <plam@mit.edu>
112 * src/fccache.c (FcDirCacheHasCurrentArch):
114 Fix triggering of segfault caused by misreading cache files
115 (reported by fcrozat).
117 2006-02-17 Patrick Lam <plam@mit.edu>
118 * src/fcint.h (FC_CACHE_MAGIC):
120 Bump up magic version; we changed the binary format.
122 2006-02-17 Patrick Lam <plam@mit.edu>
123 * fc-cat/fc-cat.c (main):
125 Enable fc-cat to print out old-style cache info when given a
128 2006-02-16 Patrick Lam <plam@mit.edu>
129 * src/fccache.c (FcDirCacheHasCurrentArch):
131 Deal correctly with changing FC_CACHE_MAGIC.
133 2006-02-16 Patrick Lam <plam@mit.edu>
134 * fc-cache/fc-cache.c (usage, scanDirs, main):
136 Add -r --really-force option which blows away cache files and then
139 2006-02-16 Patrick Lam <plam@mit.edu>
140 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
142 Don't bail if fontconfig can't remove a dir cache file.
143 Skip the ID of a cache file when copying.
144 Eliminate 'source file too small' bug in FcDirCacheWrite.
146 2006-02-13 Patrick Lam <plam@mit.edu>
147 * src/fcfreetype.c (FcFreeTypeQuery):
149 Fix memory leak in error condition code.
151 2006-02-13 Mike Fabian <mfabian@suse.de>
153 * src/fcfreetype.c (FcFreeTypeQuery):
155 Skip bitmap fonts which can't even get it together enough to
156 declare a family name; this appears to reproduce previous
157 fontconfig behaviour.
159 2006-02-10 Takashi Iwai <tiwai@suse.de>
161 * src/fccache.c (FcDirCacheOpen):
163 Try to open /var/cache/fontconfig/[hashed name] before
164 fonts.cache-2 in a directory, because /var/cache/fontconfig
165 failures ought to be fixable, unlike fonts.cache-2 failures,
166 which may leave you screwed.
168 2006-02-10 Takashi Iwai <tiwai@suse.de>
170 * src/fcmatch.c (FcFontSetMatch):
172 Use a tri-state to mark the fonts which didn't get blocked but
173 were just missing an element, to distinguish them from the
174 fonts that do match the element.
176 2006-02-10 Takashi Iwai <tiwai@suse.de>
178 * src/fcmatch.c (FcFontSetMatch):
180 Don't kill fonts because they don't declare an element that's
183 2006-02-09 Patrick Lam <plam@mit.edu>
184 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
185 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
187 Define and pass O_BINARY to open if appropriate, for those
188 platforms that need it. Reported by Doodle.
190 2006-02-09 Patrick Lam <plam@mit.edu>
191 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
194 Fix problem with missing 'en' due to euro.patch: change
195 cache file format slightly to coincide with that generated
198 2006-02-07 Patrick Lam <plam@mit.edu>
199 * src/fccache.c (FcCacheReadDirs):
203 2006-02-07 Patrick Lam <plam@mit.edu>
204 * src/fcdir.c (FcDirScanConfig):
206 Don't reject dirs that can't be normalized (fixes lilypond, and
207 is correct in the context of application font directories.)
209 2006-02-07 Takashi Iwai <tiwai@suse.de>
212 * src/fccache.c (FcCacheReadDirs):
214 Use normalized directory name exclusively in FcCacheReadDirs.
216 2006-02-07 Dirk Mueller <dmueller@suse.com>
219 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
221 Perf optimizations. Inline FcValueCanonicalize,
222 reduce FcValueListPtrU usage, remove redundant cast.
224 2006-02-07 Takashi Iwai <tiwai@suse.de>
227 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
230 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
231 Declare extern for static arrays as arrays, not pointers.
232 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
234 2006-02-07 Dirk Mueller <dmueller@suse.com>
247 Add Euro sign to list of symbols required by European languages.
249 2006-02-07 Patrick Lam <plam@mit.edu>
250 * src/fccache.c (FcCacheReadString):
252 Fix hidden variable warning.
254 2006-02-07 Dirk Mueller <dmueller@suse.com>
257 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
259 Remove de-escaping logic because FcCacheWriteString
260 doesn't escape anyway. Do blockwise reading instead
261 of byte-wise for performance.
263 2006-02-06 Patrick Lam <plam@mit.edu>
264 Takashi Iwai <tiwai@suse.de>
266 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
268 Don't loop infinitely on recursive symlinks (client-side).
270 2006-02-06 Takashi Iwai <tiwai@suse.de>
272 * fc-cache/fc-cache.c (scanDirs, main):
274 Don't loop infinitely on recursive symlinks.
276 2006-02-06 Takashi Iwai <tiwai@suse.de>
278 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
279 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
280 FcGlobalCacheSave, FcCacheReadDirs):
283 Skip subdirs when skipping over stale bits of global cache.
284 Introduce state machine into FcGlobalCacheDir to avoid
285 doing inappropriate operations on global dir entries, e.g.
286 writing out an out-of-date cache entry.
288 2006-02-06 Takashi Iwai <tiwai@suse.de>
290 * src/fcdir.c (FcFileScanConfig):
292 Hoist FcFileIsDir check out of FcFileScanConfig loop.
294 2006-02-06 Takashi Iwai <tiwai@suse.de>
297 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
298 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
300 Don't rescan when trying to normalize a non-declared font dir.
301 Don't add font dirs multiple times (even if they're aliased).
303 2006-02-06 Dirk Mueller <dmueller@suse.de>
306 * src/fcfs.c (FcFontSetUnserialize):
308 Explain apples/oranges comparison and fix compilation error.
310 2006-02-06 Dirk Mueller <dmueller@suse.de>
313 * src/fcfs.c (FcFontSetUnserialize):
315 Insert check for integer overflow in # of fonts.
317 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
321 * fc-cache/Makefile.am:
322 * fc-cat/Makefile.am:
323 * fc-list/Makefile.am:
325 Make 'make distcheck' work with automake 1.6.3.
327 2006-02-03 Takashi IWAI <tiwai@suse.de>
330 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
333 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
334 FcDirCacheConsume, FcDirCacheWrite)
335 * src/fcxml.c (FcConfigMessage):
337 Check I/O call return values and eliminate unused variable
340 2006-02-03 Takashi Iwai <tiwai@suse.de>
343 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
347 2006-02-03 Dirk Mueller <dmueller@suse.de>
350 * src/fcfs.c (FcFontSetUnserialize):
352 Gracefully handle the case where a cache asserts that it
353 has a negative number of fonts, causing overflow.
355 2006-02-03 Patrick Lam <plam@mit.edu>
356 * src/fccache.c (FcDirCacheUnlink):
358 Fix double free in error case.
360 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
361 Stephan Kulow <coolo@suse.de>
364 * fc-cache/Makefile.am:
366 Replace 'stamp' target with mkinstalldirs.
368 2006-01-31 Mike Fabian <mfabian@suse.de>
371 * src/fccache.c (FcGlobalCacheLoad):
373 Toast broken global cache files.
375 2006-01-30 Patrick Lam <plam@mit.edu>
376 * src/fccache.c (FcGlobalCacheReadDir):
378 Actually use the directories that I added to the global cache.
381 2006-01-30 Mike Fabian <mfabian@suse.de>
384 * fc-cache/fc-cache.c (scanDirs):
386 Don't stop scanning if a directory in fonts.conf doesn't
387 exist, because subsequent directories might exist.
389 2006-01-30 Patrick Lam <plam@mit.edu>
390 * src/fccache.c (FcGlobalCacheLoad):
392 Make global cache work again after putting dir names into global
393 cache (I misplaced the recording of a file offset).
395 2006-01-30 Patrick Lam <plam@mit.edu>
396 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
398 Update fc-cat to handle subdir lists in global cache file.
400 * src/fccache.c (FcGlobalCacheLoad):
402 Another FcCacheReadString return value check.
404 2006-01-30 Mike Fabian <mfabian@suse.de>
407 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
408 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
410 Make fccache more resilient to broken cache files by checking
411 return value of FcCacheReadString all the time.
413 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
416 * fc-match/fc-match.1:
417 * fc-lang/fc-lang.man:
419 Remove references to dead fontconfig(3) manpages in
420 other fontconfig manpages.
422 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
425 * doc/fcpattern.fncs:
427 Fix world's tiniest typo in code example.
429 2006-01-29 Mike Fabian <mfabian@suse.de>
432 * src/fccache.c (FcGlobalCacheReadDir):
434 Fix global cache reads of subdirectories.
436 2006-01-29 Patrick Lam <plam@mit.edu>
438 Add documentation for FcConfigNormalizeFontDir.
440 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
441 FcGlobalCacheUpdate, FcGlobalCacheSave):
442 * src/fcdir.c (FcDirScanConfig):
445 Write directory information to global caches to fix make check
446 (reported by Ronny V. Vindenes). This changes the global cache
449 2006-01-27 Patrick Lam <plam@mit.edu>
450 * fc-cache/fc-cache.c (scanDirs):
451 * fontconfig/fontconfig.h:
453 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
455 Move FcConfigNormalizeFontDir call so that it doesn't result in
456 infinite recursion (reported by Ronny V. Vindenes).
458 2006-01-26 Patrick Lam <plam@mit.edu>
459 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
460 * src/fccfg.c (FcConfigNormalizeFontDir):
462 Add a couple of missing normalizations to make fc-cache work
463 right; only scan subdirectories once.
465 2006-01-26 Mike Fabian <mfabian@suse.de>
468 * src/fcacache.c (FcGlobalCacheReadDir):
470 Don't crash on non-existant directories in global cache.
472 2006-01-26 Patrick Lam <plam@mit.edu>
473 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
474 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
475 * src/fcdir.c (FcDirScanConfig):
476 * src/fcxml.c (FcEndElement):
478 Stop trampling the directory name when writing out caches.
479 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
480 subdirs when necessary. Don't scan directories that can't be
483 2006-01-25 Patrick Lam <plam@mit.edu>
484 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
485 * src/fccfg.c (FcConfigEvaluate):
486 * src/fcfreetype.c (FcPatternAddWithBinding):
488 Fix additional memory leaks reported by Ronny V. Vindenes: don't
489 invoke FcValueSave on hashed static strings in
490 FcPatternAddWithBinding.
492 Add another st_dev check in FcDirCacheOpen.
494 2006-01-24 James Su <james.su@gmail.com>
497 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
498 * fc-lang/zh_hk.orth:
500 Treat zh-hk fonts differently from zh-tw fonts. This patch may
501 cause fontconfig to treat A-X fonts differently from A-Y fonts;
502 please mail the fontconfig list if this causes any problems.
504 2006-01-24 Patrick Lam <plam@mit.edu>
505 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
506 * src/fcfreetype.c (FcFreeTypeQuery):
508 Fix memory leaks reported by Ronny V. Vindenes.
510 2006-01-19 Andreas Schwab <schwab@suse.de>
513 * src/fcpat.c (FcStrNeededBytes):
515 Fix for unaligned memory accesses.
517 2006-01-18 Mike Fabian <mfabian@suse.de>
520 * src/fcdir.c (FcDirScanConfig):
522 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
523 calls to avoid crashes.
525 2006-01-14 Patrick Lam <plam@mit.edu>
526 * src/fccache.c (FcDirCacheConsume):
528 Fix segfault when consuming zero-length caches in fc-cat
529 (which has no config, so FcConfigAddFontDir shouldn't be called.)
531 2006-01-14 Patrick Lam <plam@mit.edu>
532 * fc-cache/fc-cache.c (scanDirs):
533 * fontconfig/fontconfig.h:
534 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
535 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
536 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
537 * src/fcdir.c (FcDirScanConfig):
540 Compare device numbers as well as inodes.
541 Always normalize directory names before comparing them.
543 2006-01-11 Mike Fabian <mfabian@suse.de>
546 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
548 Allocate extra space for appended '/' in directory name.
550 2006-01-10 Patrick Lam <plam@mit.edu>
551 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
552 FcDirCacheValid, FcDirCacheHasCurrentArch,
553 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
554 * fc-cache/fc-cache.c (main):
556 Explicitly add font dirs to config.fontDirs even if they're empty.
557 Set current config in fc-cache.c.
558 Fix treatment of cache directory as read from cache file; don't
559 use string equality to determine if we have the right file,
562 2006-01-09 Patrick Lam <plam@mit.edu>
563 * fc-cache/fc-cache.c (scanDirs):
564 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
565 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
566 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
567 * src/fccfg.c (FcConfigNormalizeFontDir):
568 * src/fcdir.c (FcDirScanConfig):
571 Normalize font dirs by using the form, as given in fonts.conf, and
572 recorded in FcConfig's fontDirs string set, as canonical.
574 Actually update config.fontDirs as font directories are scanned.
576 2006-01-08 James Su <james.su@gmail.com>
577 * src/fcmatch.c (FcFontSetMatch):
579 Fix matching bug when multiple elements match; don't use
580 the sum of all scores, but the best score.
582 Also more perf opts, e.g. evaluate best over all font sets
583 rather than on a per-set basis (and other changes).
585 2006-01-08 Patrick Lam <plam@mit.edu>
586 * src/fccache.c (FcDirCacheConsume):
588 Properly skip past dir caches that contain zero fonts (as occurs
589 in global caches.) Reported by Mike Fabian.
591 2006-01-06 Patrick Lam <plam@mit.edu>
592 * src/fcdbg.c (FcPatternPrint):
594 Print out full pathname in fc-match -v as well. Reported by
597 2006-01-06 Mike Fabian <mfabian@suse.de>
600 * src/fcname.c (FcNameParse):
602 Fix bug where fc-match crashes when given __DUMMY__ property to
605 (I added the __DUMMY__ string to enable callers of
606 FcObjectToPtrLookup to distinguish an error return from a
607 successful return. -PL)
609 2006-01-05 Patrick Lam <plam@mit.edu>
612 Add self to AUTHORS list.
614 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
615 FcCacheFileRead, FcCachePrintSet, main):
616 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
617 FcGlobalCacheSave, FcCacheNextOffset,
618 FcDirCacheHasCurrentArch, FcDirCacheRead,
619 FcDirCacheConsume, FcDirCacheWrite):
621 * src/fcpat.c (comment):
623 Minor change to global cache file format to fix fc-cat bug
624 reported by Frederic Crozat, and buglet with not globally caching
625 directories with zero fonts cached.
627 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
630 * src/fccfg.c (FcConfigEvaluate):
632 Fix double-free which occurs because FcValueCanonicalize doesn't
633 create an extra copy of the returned value, it only canonicalizes
636 2006-01-02 Patrick Lam <plam@mit.edu>
637 * doc/fontconfig-user.sgml:
639 Fix version of .cache file (currently 1 -> currently 2). Reported
642 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
645 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
647 Shut up GCC warnings on amd.
649 2005-12-20 Patrick Lam <plam@mit.edu>
653 * fontconfig/fontconfig.h:
655 Bump version to 2.3.93.
657 2005-12-20 Patrick Lam <plam@mit.edu>
658 * src/fccharset.c (FcLangCharSetPopulate):
659 * src/fcint.h (FcCacheBankToIndex):
661 Avoid check on _fcBankId nullness and fix case where it used to
664 2005-12-20 Patrick Lam <plam@mit.edu>
665 * src/fcxml.c (FcConfigParseAndLoad):
667 Use open instead of fopen (requested by Phil Race for Sun).
669 2005-12-20 Patrick Lam <plam@mit.edu>
670 * src/fccache.c (FcDirCacheWrite);
671 * fc-cache/Makefile.am:
673 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
676 2005-12-20 Patrick Lam <plam@mit.edu>
677 * src/fcfreetype.c (FcFreeTypeQuery):
679 Restore code to skip over PCF fonts that have no encoded
681 (We guess that a font is PCF by presence of the PIXEL_SIZE
684 2005-12-12 Patrick Lam <plam@mit.edu>
685 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
687 Read and write the original location as a fallback for the
688 hashed cache file locations. This is mostly for users to be
689 able to have per-directory cache files.
691 2005-12-12 Patrick Lam <plam@mit.edu>
692 * fc-cache/fc-cache.c (scanDirs):
693 * fc-cache/Makefile.am:
694 * src/fccache.c (FcDirCacheHashName):
696 Improve error message when fc-cache can't write the cache. Add
697 missing slash. Reported by Behdad. Incorporate Behdad's patch to
698 create /var/cache/fontconfig when appropriate.
700 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
703 * src/fcxml.c (FcConfigGetAttribute):
705 Fix crash reported by Frederic Crozat when using libxml2.
707 2005-12-09 Patrick Lam <plam@mit.edu>
710 * fc-cache/Makefile.am:
711 * fc-cat/Makefile.am:
713 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
714 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
715 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
716 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
717 FcDirCacheHasCurrentArch, FcDirCacheHashName,
718 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
720 Migrate cache files from fonts directories to
721 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
722 but requires that all caches get rebuilt.
724 Also, autogen.sh now needs the additional parameter
725 --localstatedir=/var.
727 2005-12-07 Patrick Lam <plam@mit.edu>
728 * src/fcpat.c (FcPatternAddString):
730 Because we've changed FcPatternAddString to use FcStrStaticName
731 and not FcValueSave, explicitly handle the case of a null string.
733 2005-12-06 Patrick Lam <plam@mit.edu>
734 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
738 2005-12-05 Patrick Lam <plam@mit.edu>
739 * src/fcname.c (FcNameGetObjectType):
741 Don't assign types to user object names.
743 2005-12-05 Patrick Lam <plam@mit.edu>
744 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
746 Don't free strings that have been returned from FcStrStaticName.
748 2005-12-01 Patrick Lam <plam@mit.edu>
749 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
751 Add codepath for reading global cache files as well.
753 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
756 * conf.d/10-fonts.persian.conf:
757 * conf.d/Makefile.am:
759 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
761 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
764 * src/fcxml.c (FcConfigParseAndLoad):
766 Only add a config file to the set of config files once.
768 2005-11-29 Patrick Lam <plam@mit.edu>
769 * src/fcint.h (FcCacheBankToIndex);
771 Fix segfault by guarding array dereference.
773 2005-11-29 Dirk Mueller <dmueller@suse.de>
777 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
778 FcCacheBankToIndex, FcCacheBankToIndexMTF,
782 Refactor FcCacheBankToIndex into an inlineable part
783 (in fcint.h) which checks the front of the list and a
784 non-inlineable part which finds and moves the appropriate element
785 to the front of the list.
787 2005-11-29 Patrick Lam <plam@mit.edu>
788 * src/fccfg.c (FcConfigBuildFonts):
789 * src/fccache.c (FcCacheReadDirs):
791 Make the perf guys hate me a bit less: hoist the directory-name
792 FcConfigAcceptFont check for cached fonts up to directory cache
793 read time, rather than running it for each font.
795 2005-11-29 Patrick Lam <plam@mit.edu>
796 * src/fccfg.c (FcConfigBuildFonts):
798 * src/fcpat.c (FcPatternFindFullFname):
800 Don't make FcPatternFindFullFname available to fccfg, it's not
801 really safe. Instead go through FcPatternGetString (sorry,
802 perf guys.) Also, use globs for dirs as well.
804 2005-11-28 Patrick Lam <plam@mit.edu>
805 * src/fccfg.c (FcConfigBuildFonts):
809 2005-11-28 Patrick Lam <plam@mit.edu>
811 * src/fcpat.c (FcPatternFindFullFname):
812 * src/fccfg.c (FcConfigBuildFonts):
814 Fix problem dating back at least to 2.3.2 where globs weren't
815 being applied to patterns loaded from a cache.
817 2005-11-28 Patrick Lam <plam@mit.edu>
818 * doc/fontconfig-user.sgml:
820 Fix some obvious spelling mistakes.
822 2005-11-28 Dirk Mueller <dmueller@suse.com>
823 Stephan Kulow <coolo@suse.de>
826 * src/fcmatch.c (FcFontSetMatch):
828 Don't kill all fonts during match (oops!)
831 2005-11-25 Dirk Mueller <dmueller@suse.com>
832 Stephan Kulow <coolo@suse.de>
833 Michael Matz <matz@suse.de>
836 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
839 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
840 inline FcCompare into FcFontSetMatch and reorder the
841 loops, adding a boolean array which blocks patterns from future
842 consideration if they're known to not be best on some past
845 2005-11-26 Dirk Mueller <dmueller@suse.com>
848 * src/fcmatch.c (FcCompareValueList):
852 2005-11-25 Patrick Lam <plam@mit.edu>
853 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
855 Don't do random matching when bad objects are passed into
858 2005-11-25 Patrick Lam <plam@mit.edu>
860 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
861 FcPatternSerialize, FcPatternUnserialize,
862 FcValueListEnsureBank, FcValueListDistributeBytes,
863 FcValueListUnserialize):
865 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
866 _fcPatternElts, _fcValueLists for consistency.
868 2005-11-25 Dirk Mueller <dmueller@suse.com>
873 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
875 2005-11-25 Patrick Lam <plam@mit.edu>
877 * src/fccache.c (FcDirCacheConsume):
878 * src/fccharset.c (FcCharSetUnserialize):
879 * src/fcfs.c (FcFontSetUnserialize):
880 * src/fclang.c (FcLangSetUnserialize):
881 * src/fcname.c (FcObjectUnserialize):
882 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
883 FcPatternUnserialize):
885 Pass around FcCache *s to the Unserialize functions for extra
886 consistency (and less overhead, for what that's worth).
888 2005-11-24 Dirk Mueller <dmueller@suse.com>
892 * src/fcmatch.c (FcCompare*, FcFontSetSort):
893 * src/fcname.c (FcNameUnparseValue):
895 Inline the *PtrU functions to gain perf.
896 Remove unneeded params for the FcCompare* functions.
898 2005-11-24 Dirk Mueller <dmueller@suse.com>
901 * src/fcint.h, fontconfig/fontconfig.h:
903 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
905 * src/fcpat.c, src/fcint.h, src/fcname.c:
907 Check for type validity during FcPatternAddWithBinding, don't
908 verify type in FcFontMatch, don't call FcCanonicalize here
909 (which always does a deep copy).
911 2005-11-24 Dirk Mueller <dmueller@suse.com>
914 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
915 * src/fcpat.c (FcPatternAddWithBinding):
917 Make FcCompareString and FcCompareFamily less expensive.
918 Only add a value for FC_FAMILY if the proposed value is a string.
920 2005-11-24 Dirk Mueller <dmueller@suse.com>
923 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
924 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
925 * src/fcint.h (FcDebug):
927 Inline FcDebug invocations and only initialize once, in FcInit*.
928 Improve debug msg in FcPatternPrint.
930 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
933 * fontconfig/fontconfig.h:
936 Minor code warning cleanups.
938 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
941 * fc-match/fc-match.c (main):
943 Make getopt_long accept -s parameter to fc-match as well.
945 2005-11-21 Dirk Mueller <dmueller@suse.com>
948 * src/fcmatch.c (FcCompareValueList):
950 Manually perform inlining & partial redundancy elimination to
951 reduce calls to FcValueListPtrU.
953 2005-11-21 Dirk Mueller <dmueller@suse.com>
956 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
957 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
959 Only invoke strlen() when really necessary.
961 2005-11-19 Matthias Clasen <mclasen@redhat.com>
965 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
970 Get rid of the use of freetype internal headers in fcfreetype.c,
971 since those headers will go away with freetype 2.2. Replace with
972 public domain ftglue code from pango. Note that the patch removes
973 some extra error checking in FT_Get_BDF_Property() and comments
974 out the skipping of empty pcf fonts.
976 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
979 * fc-lang/fc-lang.c (main):
981 Further fix of patch from 2005-11-04: miscounted numbers count
982 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
983 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
985 Removed leafidx_count and numbers_count since they are the same
986 and replaced them with offset_count.
988 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
991 * fc-cat/fc-cat.c (main):
993 Don't crash when fc-cat invoked with no arguments.
995 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
998 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1000 Fix invalid read access caused by premature free and
1001 GCC4 warnings in libxml2 codepath.
1003 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1006 * src/fccfg.c (FcConfigValues):
1008 List iteration not needed in FcConfigValues, since it's building
1009 up the list itself; we can just strip FcVoid elements during
1012 2005-11-17 Patrick Lam <plam@mit.edu>
1013 * src/fccfg.c (FcConfigValues):
1015 Fix crash on invalid constants in config files (forgot to update
1016 a pointer upon list iteration.)
1018 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1021 * src/fcxml.c (FcTypecheckExpr):
1023 Complain about invalid constants in config files.
1025 2005-11-17 Andreas Schwab <schwab@suse.de>
1028 * src/fccache.c (FcGlobalCacheSave):
1030 Don't add current_arch_start more than once.
1032 2005-11-16 Patrick Lam <plam@mit.edu>
1033 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1034 * src/fcfs.c (FcFontSetUnserialize):
1035 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1036 * src/fcpat.c (FcStrUnserialize):
1038 Fix ordering of ALIGN with respect to saving block_ptr; add
1039 another ALIGN to fcfs.c.
1041 2005-11-16 Patrick Lam <plam@mit.edu>
1042 * src/fccache.c (FcDirCacheProduce)
1044 Fix case where alignment bytes bumped up metadata->count
1045 causing unwarranted failures to write cache files.
1046 (Reported by Stephan Kulow).
1048 2005-11-16 Patrick Lam <plam@mit.edu>
1049 * src/fccache.c (FcDirCacheProduce):
1050 * src/fccharset.c (FcCharSetDistributeBytes):
1051 * src/fcfs.c (FcFontSetDistributeBytes):
1053 * src/fclang.c (FcLangSetDistributeBytes):
1054 * src/fcname.c (FcObjectDistributeBytes):
1055 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1058 Add *NeededBytesAlign(), which overestimates the padding which is
1059 later added by the new ALIGN macro. Fix alignment problems on
1060 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1061 version by Andreas Schwab).
1063 2005-11-16 Stephan Kulow <coolo@kde.org>
1068 Use sysconf to determine proper PAGESIZE value; this
1069 appears to be POSIX-compliant. (reported by Andreas Schwab)
1071 2005-11-04 Patrick Lam <plam@mit.edu>
1072 * fc-lang/fc-lang.c:
1077 Fix bug 2878 (excessive relocations at startup for charsets,
1078 reported by Ross Burton): fc-lang/fc-lang now creates the
1079 static form of the langset, not the dynamic form, so that
1080 the charsets should now be in .rodata.
1082 2005-11-04 Patrick Lam <plam@mit.edu>
1083 * src/fcdir.c (FcDirScanConfig):
1085 Add test for validity of directory caches that
1086 somehow got lost (reported by make distcheck).
1088 2005-11-04 Patrick Lam <plam@mit.edu>
1092 * fontconfig/fontconfig.h:
1094 Bump version to 2.3.92.
1096 2005-11-02 Patrick Lam <plam@mit.edu>
1097 * src/fcpat.c (FcPatternDuplicate):
1099 Fix argument ordering problem in call to FcPatternTransferFullFname.
1101 2005-11-02 Patrick Lam <plam@mit.edu>
1102 * src/fcfreetype.c (FcFreetypeQuery):
1103 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1104 FcPatternTransferFullFname):
1106 Fix warnings and embarrassing double-free error.
1108 2005-11-02 Zhe Su <zsu@novell.com>
1113 Change the rule for artificial emboldening in fonts.conf.in. This
1114 enables the support for artificial emboldening included in cairo.
1116 2005-11-02 Patrick Lam <plam@mit.edu>
1117 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1119 Don't zero out full names for FC_REF_CONSTANT fonts;
1120 also, duplicate full names when transferring, and free
1121 full names when freeing the associated font.
1122 Reported by Jinghua Luo.
1124 2005-11-02 Patrick Lam <plam@mit.edu>
1125 * fc-cache/fc-cache.c (scanDirs):
1126 * src/fcpat.c (FcValueListSerialize):
1128 Revert the previous patch and commit the correct patch:
1129 I forgot a canonicalization in FcValueListSerialize, so
1130 that it would choke on already-serialized input files. Duh!
1132 2005-11-02 Patrick Lam <plam@mit.edu>
1133 * fc-cache/fc-cache.c (scanDirs):
1135 Forcibly rescan a directory before writing a fresh local
1136 cache file for that directory, fixing the losing-fonts
1137 problem reported by Mike Fabian and also apparently the
1138 font cache file corruption.
1140 2005-11-02 Patrick Lam <plam@mit.edu>
1141 * src/fccache.c (FcGlobalCacheLoad):
1143 Fix thinko: actually, the whole global cache is stale
1144 if the global cache is older than the (newest) config file.
1146 2005-11-02 Patrick Lam <plam@mit.edu>
1147 * src/fccache.c (FcGlobalCacheLoad):
1148 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1151 Declare the global cache of a directory's contents to be stale if
1152 the directory is newer than the (newest) configuration file.
1154 2005-10-31 Patrick Lam <plam@mit.edu>
1156 * src/fclist.c (FcListAppend):
1157 * src/fcmatch.c (FcFontRenderPrepare):
1158 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1159 FcPatternFreeze, FcPatternBaseFreeze):
1161 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1162 applications continue breaking.
1164 2005-10-31 Patrick Lam <plam@mit.edu>
1165 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1166 * src/fcfreetype.c (FcFreeTypeQuery):
1168 Fix small memory error (tried to free argv); use basename and
1169 dirname correctly (they can modify their arguments).
1171 2005-10-31 Patrick Lam <plam@mit.edu>
1179 Reinstate basename patch, but keep a hash table linking FcPatterns
1180 to their fully-qualified font names for clients' benefit. Clients
1181 only pay for the font names once they request the FC_FILE property
1182 from an FcPattern, but the font name is malloc'd at that point (i.e.
1183 not mmapped: that's impossible, since it may vary between machines.)
1184 Clients do have to pay for a copy of the path name per cache file.
1186 Note that FcPatternGetString now does some rewriting if you ask
1187 for an FC_FILE, appending the pathname as appropriate.
1189 2005-10-31 Patrick Lam <plam@mit.edu>
1190 * src/fcfreetype.c (FcFreeTypeQuery):
1192 Revert basename patch, which breaks fontconfig clients on my system.
1194 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1197 * fontconfig/fonts.conf.in:
1198 * fontconfig/fontconfig.h:
1202 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1203 to load embedded bitmaps or not.
1205 2005-10-25 Patrick Lam <plam@mit.edu>
1206 * src/fcfreetype.c (FcFreeTypeQuery):
1208 Only add basename to patterns' FC_FILE element, not any part of
1211 2005-10-22 Patrick Lam <plam@mit.edu>
1214 Add some more consts, fixing more GCC4 warnings.
1216 2005-10-22 Zhe Su <zsu@novell.com>
1219 Support localized font family and style names.
1220 This has been reported to break old apps like xfd, but modern
1221 (gtk+/qt/mozilla) apps work fine.
1223 2005-10-21 Patrick Lam <plam@mit.edu>
1224 * src/fccache.c (FcGlobalCacheLoad):
1226 Destroy the global cache file if it's terminally broken. (reported by
1229 2005-10-21 Patrick Lam <plam@mit.edu>
1230 * fc-list/fc-list.c (main):
1231 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1232 * fontconfig/fontconfig.h:
1234 Prevent fc-list from escaping strings when printing them (reported by
1237 2005-10-20 Marcus Meissner <meissner@suse.de>
1240 * fontconfig/fontconfig.h:
1242 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1244 2005-10-14 Ross Burton <ross@burtonini.com>
1247 * fc-glyphname/fc-glyphname.c:
1250 Add consts to variables so as to move arrays into .rodata.
1252 2005-10-14 Mike Fabian <mfabian@suse.de>
1255 * src/fccache.c (FcDirCacheUnlink):
1257 Check existence of directory cache file before attempting to unlink.
1259 2005-10-13 Patrick Lam <plam@mit.edu>
1260 * src/fccache.c (FcDirCacheUnlink):
1262 Fix flipped return value on unlink. (Reported by Mike Fabian)
1264 2005-10-12 Patrick Lam <plam@mit.edu>
1267 * src/fcdir.c (FcDirScanConfig):
1270 When fc-cache is run without --force, use directory cache files
1271 to speed up fc-cache run time. (Reported by Mike Fabian)
1273 2005-10-06 Patrick Lam <plam@mit.edu>
1275 * src/fcname.c (FcObjectToPtr):
1276 * src/fcpat.c (FcStrStaticName):
1278 Add padding to make valgrind and glibc not hate each other
1279 when calling strlen().
1281 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1282 reviewed by: plam & keithp
1286 Modify config file to use Greek fonts before Asian fonts with
1289 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1290 reviewed by: plam & keithp
1294 Use libtool -no-undefined flag on all platforms.
1296 2005-10-05 Patrick Lam <plam@mit.edu>
1297 * src/fccache.c (FcCacheHaveBank):
1299 Implement move-to-front array for banks (perf regression
1300 reported by Ronny V. Vindenes).
1302 2005-10-04 Patrick Lam <plam@mit.edu>
1303 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1304 FcDirCacheHasCurrentArch):
1305 * fc-cache/fc-cache.c (scanDirs):
1306 * fontconfig/fontconfig.h:
1308 Add new API which unlinks directory caches and checks dir caches
1309 for existence of appropriate sections. Fix fc-cache to unlink
1310 stale cache files and save directory caches that lack relevant
1313 2005-10-03 Patrick Lam <plam@mit.edu>
1314 * src/fccache.c (FcDirCacheValid):
1316 Ensure that a directory cache has the appropriate section
1317 before reporting that it is valid (reported by Matthias Clasen).
1319 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1327 Use libxml2 if requested (with --enable-libxml2) or if
1328 expat is not available.
1330 2005-09-29 Patrick Lam <plam@mit.edu>
1331 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1333 Fix multi-arch cache files: compute the position for the
1334 block to be added using info from OrigFile, not NewFile.
1336 2005-09-28 Patrick Lam <plam@mit.edu>
1337 * src/fccache.c (FcCacheMachineSignature):
1339 Cast results of sizeof() to unsigned int to get rid of
1340 warnings on x86_64 (thanks Matthias Clasen).
1342 2005-09-27 Patrick Lam <plam@mit.edu>
1343 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1346 Use FcAtomic to rewrite cache files.
1348 2005-09-27 Patrick Lam <plam@mit.edu>
1350 * src/fccache.c (FcDirCacheWrite):
1352 Don't unlink the fonts.cache-2 file even if there's no data
1353 to write; just write an empty cache file. (thanks Lubos Lunak)
1355 2005-09-27 Patrick Lam <plam@mit.edu>
1357 * src/fccache.c (FcDirCacheWrite):
1359 Allocate room for the subdirectory names in each
1360 directory cache. Thanks to James Cloos for finding
1361 and diagnosing this bug!
1363 2005-09-22 Patrick Lam <plam@mit.edu>
1365 * fc-cache/fc-cache.sgml:
1366 * src/fccache.c (FcDirCacheWrite):
1367 * src/fccache.h (struct FcCache):
1369 Update documentation -- fc-cache's man page now says that you
1370 need to run fc-cache once per cached architecture; add some
1371 documentation to the FcCache structure.
1373 Make fc-cache write out fonts.cache-2 files for directories with
1374 no fonts (i.e. only subdirectories).
1376 2005-09-22 Patrick Lam <plam@mit.edu>
1378 * fc-cache/fc-cache.sgml:
1379 * fc-case/fc-case.c:
1380 * fc-glyphname/fc-glyphname.c:
1386 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1390 * fc-lang/fc-lang.c:
1391 * fontconfig/fcprivate.h:
1392 * fontconfig/fontconfig.h:
1406 Implement new mmaped cache for font information.
1407 Bump so revision to 2.3.90.
1409 2005-07-25 Keith Packard <keithp@keithp.com>
1411 * doc/fontconfig-user.sgml:
1412 * fc-glyphname/fc-glyphname.c: (scan), (main):
1413 * fc-lang/fc-lang.c: (FcConfigHome):
1414 * fc-match/fc-match.c: (main):
1415 * src/fccfg.c: (FcConfigHome):
1416 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1417 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1418 (addtag), (FcFontCapabilities):
1419 * src/fcpat.c: (FcValueListEntCreate):
1420 * src/fcstr.c: (FcStrCaseWalkerInit):
1421 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1423 Various GCC 4 cleanups for signed vs unsigned char
1425 Match only [0-9]*.conf files in <include>{directory}</include>
1426 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1428 2005-07-15 Carl Worth <cworth@cworth.org>
1431 * src/fcinit.c: (FcFini):
1432 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1435 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1436 Pull the FcObjectStateName hash table out to file scope, and add
1437 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1440 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1443 2005-06-16 Patrick Lam <plam@MIT.EDU>
1447 * src/fccfg.c: (FcConfigCompareValue):
1448 Make FcOpNotContains use FcStrStr for strings so that
1449 it matches semantics for !FcOpContains.
1451 2005-05-20 Keith Packard <keithp@keithp.com>
1455 Move fontconfig source package to libs as per override
1457 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1459 reviewed by: Mike Fabian
1462 The ka.orth file requires several characters which are not
1463 used anymore in modern Georgian and which are missing in the free
1464 Georgian TrueType fonts downloadable at:
1466 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1468 2005-04-27 Keith Packard <keithp@keithp.com>
1472 Update date to real 2.3.2 release date.
1473 Fix change attributions
1475 2005-04-27 Keith Packard <keithp@keithp.com>
1478 Bump so revision for 2.3.2
1479 * fc-cache/fc-cache.c: (scanDirs):
1480 Fix a few minor leaks in error cases.
1482 2005-04-23 Keith Packard <keithp@keithp.com>
1487 * fontconfig/fontconfig.h:
1488 Update for version 2.3.2
1490 2005-04-21 Keith Packard <keithp@keithp.com>
1492 * debian/fontconfig.postinst:
1493 Don't force bitmap font enable in default
1494 configuration; allows users to override this in
1504 * debian/po/pt_BR.po:
1505 * debian/po/templates.pot:
1507 * debian/po/zh_CN.po:
1508 Updated translations
1510 * fc-cache/fc-cache.c: (main):
1511 Destroy font configuration on exit to help valgrind
1514 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1515 (FcFreeTypeCheckGlyph):
1516 Use own transcoding routines in preference to iconv
1517 which appears to have leaks in some translators.
1518 Call iconv_close after using iconv (oops).
1520 Prefer unicode encoding of Euro char as some
1521 fonts mis-encode Euro in other ones.
1523 Must fetch bitmap glyphs to get width values
1524 to check for monospace/dual-width fonts.
1526 2005-04-13 Ross Burton <ross@burtonini.com>
1529 Check that a pattern isn't already frozen in FcPatternFreeze.
1531 2005-03-31 Ross Burton <ross@burtonini.com>
1536 Run all FcPattern objects through FcObjectStaticName, so that
1537 compares can be done on pointers instead of strings (#2659)
1539 2005-03-17 Tor Lillqvist <tml@novell.com>
1541 * src/fontconfig.def.in: Add the .dll to the dll name.
1543 2005-03-10 Keith Packard <keithp@keithp.com>
1545 * debian/README.Debian:
1546 Update to reflect configuration changes
1548 * debian/fontconfig.postinst:
1549 Fix Autohint vs Autohinter mistake
1550 * debian/fontconfig.templates:
1551 Adopt changes from Josselin Mouette for configuration descriptions
1552 Update debian to version 2.3.1-2
1554 2005-03-08 Keith Packard <keithp@keithp.com>
1558 Update debian for 2.3.1
1560 2005-03-09 Tor Lillqvist <tml@novell.com>
1562 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1565 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1568 2005-03-08 Keith Packard <keithp@keithp.com>
1572 * fontconfig/fontconfig.h:
1575 2005-03-05 Keith Packard <keithp@keithp.com>
1577 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1578 Include space and remove numbers from valid script tags.
1579 This ensures that tags like 'lao ' work while rejecting
1580 those which have any digits.
1581 Eliminate a spurious debugging variable (len)
1583 2005-03-05 Keith Packard <keithp@keithp.com>
1585 * src/fcfreetype.c: (addtag), (GetScriptTags),
1586 (FcFontCapabilities):
1587 Rework GSUB/GPOS script parsing to survive broken fonts.
1588 Thanks for the broken font go to Manish Singh
1590 2005-03-05 Keith Packard <keithp@keithp.com>
1595 * debian/fontconfig.config:
1596 * debian/fontconfig.templates:
1598 Include 2.3 release information in changelog
1599 Add Josselin Mouette as an Uploader
1600 Set hinting_type to low priority configuration option
1603 * debian/fontconfig.postinst:
1604 yes_bitmaps.conf -> yes-bitmaps.conf
1610 2005-03-02 Keith Packard <keithp@keithp.com>
1613 * conf.d/Makefile.am:
1614 * conf.d/autohint.conf:
1615 * conf.d/no-sub-pixel.conf:
1616 * conf.d/sub-pixel.conf:
1617 * conf.d/unhinted.conf:
1618 * debian/autohint.conf:
1619 * debian/fontconfig.install:
1620 * debian/fontconfig.postinst:
1621 * debian/fontconfig.templates:
1622 * debian/no-sub-pixel.conf:
1623 * debian/unhinted.conf:
1624 Move debian-specific conf file examples upstream.
1626 Sub-pixel configuration examples must smash subpixel value
1627 as Xft always sets it from X.
1629 Change sub-pixel rendering debconf descriptions from
1630 Enable/Disable to Always/Never.
1632 2005-03-02 Keith Packard <keithp@keithp.com>
1635 * conf.d/.cvsignore:
1637 Ignore more build detritus
1640 Add debian package construction stuff.
1642 * config/config.guess:
1643 * config/config.sub:
1644 Update to newer versions of these tools
1647 Get library manuals to build again (we love automake).
1649 * debian/README.Debian:
1650 * debian/autohint.conf:
1655 * debian/fontconfig-udeb.install:
1656 * debian/fontconfig.config:
1657 * debian/fontconfig.defoma:
1658 * debian/fontconfig.dirs:
1659 * debian/fontconfig.install:
1660 * debian/fontconfig.postinst:
1661 * debian/fontconfig.postrm:
1662 * debian/fontconfig.templates:
1663 * debian/libfontconfig1-dev.install:
1664 * debian/libfontconfig1.install:
1665 * debian/local.conf.md5sum:
1666 * debian/no-sub-pixel.conf:
1667 * debian/po/POTFILES.in:
1676 * debian/po/pt_BR.po:
1677 * debian/po/templates.pot:
1679 * debian/po/zh_CN.po:
1681 * debian/unhinted.conf:
1682 Update debian build system to switch maintainers and
1683 deal with 2.3 functionality
1685 2005-03-01 Keith Packard <keithp@keithp.com>
1689 * fontconfig/fontconfig.h:
1692 2005-03-01 Keith Packard <keithp@keithp.com>
1695 Generate and install PDF versions of the manuals
1697 * doc/fcpattern.fncs:
1700 * doc/fcstring.fncs:
1701 Add missing exported functions, fix data types
1703 * doc/fontconfig-devel.sgml:
1704 Add missing pattern elements.
1706 * doc/fontconfig-user.sgml:
1707 Add missing pattern elements. Document conf.d usage,
1708 clarify available orthography list. Fix some config file
1709 attributes. Complete list of constants.
1711 * fontconfig/fontconfig.h:
1712 Mark FC_SOURCE deprecated.
1714 * src/fcfreetype.c: (FcFreeTypeQuery):
1715 Don't set FC_SOURCE any longer.
1717 2005-02-28 Keith Packard <keithp@keithp.com>
1720 * conf.d/Makefile.am:
1722 * conf.d/no-bitmaps.conf:
1723 * conf.d/sub-pixel.conf:
1724 * conf.d/yes-bitmaps.conf:
1726 Create prototype /etc/fonts/conf.d directory with a few
1727 sample configuration files.
1728 Deprecate use of local.conf for local customizations in favor of
1729 this directory based scheme which is more easily integrated into
1730 installation systems.
1733 Tag FC_EMBOLDEN as a boolean variable
1735 2005-02-10 Keith Packard <keithp@keithp.com>
1737 reviewed by: pborelli@katamail.com
1739 * src/fcdir.c: (FcFileScanConfig):
1740 Free patterns from fonts which are rejected by configuration
1743 2005-01-28 Keith Packard <keithp@keithp.com>
1747 * fontconfig/fontconfig.h:
1748 Update for version 2.2.99
1750 2005-01-28 Keith Packard <keithp@keithp.com>
1753 Add a few pointers (#2284, #2285)
1755 2005-01-28 Keith Packard <keithp@keithp.com>
1758 * src/fcname.c: (FcNameBool):
1759 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1760 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1761 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1762 Polite typechecking for test and edit expressions. Helps
1763 catch errors in the font configuration. (bug 229)
1765 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1767 reviewed by: Keith Packard <keithp@keithp.com>
1770 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1772 2005-01-13 Keith Packard <keithp@keithp.com>
1774 * doc/fontconfig-user.sgml:
1775 Add SEE ALSO section (bug 2085)
1777 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1779 reviewed by: Keith Packard <keithp@keithp.com>
1784 * fc-case/Makefile.am:
1785 * fc-glyphname/Makefile.am:
1786 * fc-lang/Makefile.am:
1787 * src/fontconfig.def.in:
1788 Cross compiling fixes (bug 280)
1790 2005-01-13 Keith Packard <keithp@keithp.com>
1793 Update blanks list (Closes bug 86)
1795 2005-01-04 Keith Packard <keithp@keithp.com>
1797 * src/fccache.c: (FcCacheFontSetAdd):
1798 Verify that every font pattern loaded from cache has
1799 both FC_FILE and FC_FAMILY entries.
1800 Attempt to fix bug #2219.
1802 2004-12-29 Keith Packard <keithp@keithp.com>
1806 * fontconfig/fontconfig.h:
1807 Update for version 2.2.98
1809 2004-12-29 Keith Packard <keithp@keithp.com>
1811 * fontconfig/fontconfig.h:
1812 Document ASCII limitations of Fc character conversion macros
1813 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1814 Fix off-by-one error in utf-8 case walking code.
1815 Add FcStrDowncase (useful for testing case conversion functions)
1817 2004-12-29 Keith Packard <keithp@keithp.com>
1820 * fc-case/.cvsignore:
1821 clean up CVS ignore lists
1822 * fc-lang/iso-3166.txt:
1823 Add territory database
1825 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1827 Reviewed by: Keith Packard
1830 Remove Han characters from Korean orthography
1832 2004-12-29 Keith Packard <keithp@keithp.com>
1835 Reorder utility programs to make sure fc-case is run before fc-lang
1836 as fc-lang uses fcstr.c which uses fccase.h
1840 2004-12-29 Keith Packard <keithp@keithp.com>
1843 Adopt some RedHat suggestions for standard font configuration.
1847 * fc-case/CaseFolding.txt:
1848 * fc-case/Makefile.am:
1849 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1850 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1851 (dump), (parseRaw), (caseFoldReadRaw), (main):
1852 * fc-case/fccase.tmpl.h:
1853 Add new helper program 'fc-case' to construct case folding
1854 tables from standard Unicode CaseFolding.txt file
1857 * src/fclist.c: (FcListValueHash):
1858 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1859 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1860 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1861 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1862 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1863 Re-implement case insensitive functions with Unicode
1864 aware versions (including full case folding mappings)
1866 2004-12-13 Keith Packard <keithp@keithp.com>
1868 reviewed by: Owen Taylor <otaylor@redhat.com>
1870 * src/fcmatch.c: (FcFontSetSort):
1871 I changed FcFontSetSort to respect the generic aliases better
1872 in the face of language matching.
1874 What I did was to ammend the strict sort order used by FcFontSort so
1875 that it 'satisfies' the language specified in the pattern by locating
1876 the best matching font supporting each pattern language and then
1877 ignores language in the remaining fonts for purposes of matching.
1879 So, when asking for 'sans:lang=en', you'll get an English font first,
1880 and then the remaining fonts sorted with respect to the 'sans' alias
1881 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1883 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1885 reviewed by: Keith Packard <keithp@keithp.com>
1887 * fontconfig/fontconfig.h:
1890 Configuration changes to request synthetic emboldening of
1891 fonts. The actual emboldening code will live in Xft.
1893 2004-12-09 John Thacker <thacker@math.cornell.edu>
1895 reviewed by: Keith Packard <keithp@keithp.com>
1899 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1900 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1901 и), and don't even appear in KOI8-R. (The hypothesis that they
1902 don't appear in KOI8-R due to their similarity with Latin I and i is
1903 eliminated by their presence in KOI8-U.) I have a couple of fonts
1904 with Russian support that don't have the letter.
1906 Therefore, 0406 and 0456 should be removed from or commented out of
1909 2004-12-06 michael meeks <mmeeks@novell.com>
1911 Reviewed by: Keith Packard <keithp@keithp.com>
1913 * src/fcinit.c: (FcMemReport):
1915 * src/fclist.c: (FcObjectSetAdd):
1916 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1917 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1918 * src/fcxml.c: (FcParsePatelt):
1919 memoize strings and share a single copy for all uses. Note that
1920 this could be improved further by using statically allocated blocks
1921 and gluing multiple strings together, but I'm basically lazy.
1922 In my environment with 800 font files, I get a savings of about 90KB.
1924 2004-12-06 Keith Packard <keithp@keithp.com>
1928 * config/Makedefs.in:
1931 * doc/fcatomic.fncs:
1932 * doc/fcblanks.fncs:
1933 * doc/fccharset.fncs:
1934 * doc/fcconfig.fncs:
1935 * doc/fcconstant.fncs:
1937 * doc/fcfontset.fncs:
1938 * doc/fcfreetype.fncs:
1940 * doc/fcmatrix.fncs:
1941 * doc/fcobjectset.fncs:
1942 * doc/fcobjecttype.fncs:
1943 * doc/fcpattern.fncs:
1944 * doc/fcstring.fncs:
1945 * doc/fcstrset.fncs:
1947 * doc/fontconfig-devel.sgml:
1948 * doc/fontconfig-user.sgml:
1950 * doc/version.sgml.in:
1951 * fc-cache/Makefile.am:
1952 * fc-cache/fc-cache.c:
1953 * fc-glyphname/Makefile.am:
1954 * fc-glyphname/fc-glyphname.c:
1955 * fc-glyphname/fcglyphname.tmpl.h:
1956 * fc-lang/Makefile.am:
1966 * fc-lang/az_ir.orth:
2000 * fc-lang/fc-lang.c:
2001 * fc-lang/fc-lang.man:
2002 * fc-lang/fclang.tmpl.h:
2047 * fc-lang/ku_ir.orth:
2080 * fc-lang/ps_af.orth:
2081 * fc-lang/ps_pk.orth:
2110 * fc-lang/ti_er.orth:
2111 * fc-lang/ti_et.orth:
2137 * fc-lang/zh_cn.orth:
2138 * fc-lang/zh_hk.orth:
2139 * fc-lang/zh_mo.orth:
2140 * fc-lang/zh_sg.orth:
2141 * fc-lang/zh_tw.orth:
2143 * fc-list/Makefile.am:
2144 * fc-list/fc-list.c:
2145 * fc-match/Makefile.am:
2146 * fc-match/fc-match.1:
2147 * fc-match/fc-match.c:
2148 * fontconfig/fcfreetype.h:
2149 * fontconfig/fcprivate.h:
2150 * fontconfig/fontconfig.h:
2171 Change files from ISO-Latin-1 to UTF-8
2173 2004-12-04 Keith Packard <keithp@keithp.com>
2176 Update links to new freedesktop.org locations
2178 Add uninstall-local to get rid of fonts.conf and local.conf if they
2179 match the distributed versions. Fixes 'make distcheck'
2181 2004-12-04 Keith Packard <keithp@keithp.com>
2185 * fontconfig/fontconfig.h:
2186 Updates for version 2.2.97
2188 2004-12-04 Owen Taylor <otaylor@redhat.com>
2190 reviewed by: Keith Packard <keithp@keithp.com>
2192 * fc-cache/fc-cache.c: (main):
2193 Sleep for two seconds before exiting to make sure timestamps
2194 for future changes have distinct mod times in the file system.
2197 Add Punjabi orthography. Bug #1671.
2199 2004-12-04 Keith Packard <keithp@keithp.com>
2202 Just remove the FC_FONTDATE -- it has locale issues and
2203 annoys redhat multi-arch installs. Now that all X fonts are
2204 included without prejudice, the chances of the date being at
2205 all interesting are rather limited. Bug #505.
2207 Add copyright and license
2209 2004-12-04 Keith Packard <keithp@keithp.com>
2212 Change default set of fonts to include all of
2213 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2214 * doc/fontconfig-user.sgml:
2215 Document new <include>directory-name</include> semantics
2217 add <include ignore_missing="yes">conf.d</include>
2219 Add selectfont to ignore bitmap fonts, add comment for
2220 selectfont which accepts bitmap fonts.
2223 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2224 Allow <include> configuration elements to reference directories.
2225 Parse and load all files of the form [0-9]* in sorted order.
2227 2004-12-04 Keith Packard <keithp@keithp.com>
2230 Report command line for $srcdir/configure accurately.
2233 2004-12-04 Keith Packard <keithp@keithp.com>
2235 * src/fcfreetype.c: (FcFreeTypeQuery):
2236 Check for non-empty face->family_name and face->style_name
2237 before using those for the font. Empty names match everything.
2240 2004-12-04 Keith Packard <keithp@keithp.com>
2243 * fontconfig/fontconfig.h:
2244 * src/fcfreetype.c: (FcFreeTypeQuery):
2246 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2247 available. This provides font file format information (BDF, Type 1,
2248 PCF, TrueType) for each font. Closes #109.
2250 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2252 reviewed by: Keith Packard <keithp@keithp.com>
2254 * doc/fontconfig-user.sgml:
2257 * fontconfig/fontconfig.h:
2258 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2259 (GetScriptTags), (FcFontCapabilities):
2261 Add detection for font capabilities (bug #105)
2263 2004-12-04 Keith Packard <keithp@keithp.com>
2266 Move existing fonts.conf to fonts.conf.bak
2269 Add detection of iconv
2271 * doc/fcpattern.fncs:
2272 * doc/fontconfig-devel.sgml:
2273 * doc/fontconfig-user.sgml:
2275 Document new selectfont elements
2278 Switch to UTF-8 in comment
2280 * fontconfig/fontconfig.h:
2282 Add fullname, and family/style/fullname language entries
2284 * src/fccache.c: (FcCacheFontSetAdd):
2285 * src/fcdir.c: (FcFileScanConfig):
2286 Respect selectfont/*/glob
2289 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2290 (FcConfigCompareValue), (FcConfigPatternsAdd),
2291 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2292 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2293 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2294 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2295 Add support for selectfont
2297 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2298 (FcStringInPatternElement), (FcFreeTypeQuery):
2299 Add multi-lingual family/style/fullname support
2301 * src/fclist.c: (FcListPatternMatchAny):
2302 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2304 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2305 (FcObjectStaticName):
2306 Add new FcPatternRemove/FcPatternAppend.
2307 FcObjectStaticName stores computed pattern element names which
2308 are required to be static.
2310 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2315 Remove spurious / after $(DESTDIR)
2317 2004-06-30 Keith Packard <keithp@keithp.com>
2321 * fontconfig/fontconfig.h:
2324 2004-06-30 Keith Packard <keithp@keithp.com>
2326 Provided by: Lubos Lunak <l.lunak@suse.cz>
2328 * src/fccfg.c: (FcConfigUptoDate):
2329 However FcConfigUptoDate() doesn't seem to work. See the attached
2330 patch. First there's an obvious misplaced parenthesis making it
2331 return always false, and second, even this call fails to detect font
2332 changes (e.g. adding a new font to
2333 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2334 well. The problem seems to be triggered by my fonts.conf specifying
2335 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2336 doesn't include subdirs, unlike config->fontDirs.
2338 2004-06-03 Keith Packard <keithp@keithp.com>
2340 * fontconfig/fontconfig.h:
2341 Remove comma at end of FcResult enum definition.
2343 2004-05-29 Keith Packard <keithp@keithp.com>
2346 Add steps to md5sum release
2348 2004-05-29 Keith Packard <keithp@keithp.com>
2352 * fontconfig/fontconfig.h:
2355 2004-05-29 Keith Packard <keithp@keithp.com>
2357 * fontconfig/fontconfig.h:
2358 * src/fcmatch.c: (FcFontSetMatch):
2359 Add FcResultOutOfMemory to provide an accurate error when
2360 FcFontSetMatch fails in this way
2363 Make #warning about lacking various FreeType features indicate
2364 which version those features appeared so users know how to
2365 fix the problem (Thanks to Anton Tropashko)
2367 2004-05-05 Keith Packard <keithp@keithp.com>
2369 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2370 Replace MIN/MAX/ABS macros which happen to have come
2371 from FreeType with fontconfig-specific ones (FC_*)
2373 2004-04-23 Keith Packard <keithp@keithp.com>
2376 Extend release preparation instructions to include
2377 notification and distribution steps
2379 2004-04-23 Keith Packard <keithp@keithp.com>
2383 * fontconfig/fontconfig.h:
2384 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2386 2004-04-23 Keith Packard <keithp@keithp.com>
2389 Ignore a few more autotool files
2391 2004-04-14 Keith Packard <keithp@keithp.com>
2394 Add instructions for doing a release
2396 * fontconfig.spec.in:
2397 clean up .spec file; perhaps this will be useful to somebody...
2401 * fontconfig/fontconfig.h:
2404 * fc-lang/fc-lang.c:
2405 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2407 * fc-glyphname/Makefile.am:
2408 * fc-lang/Makefile.am:
2409 * fc-list/Makefile.am:
2410 * fc-match/Makefile.am:
2412 Add WARN_CFLAGS to pass -W flags for GCC systems
2414 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2415 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2416 Change various char types around to match across
2418 Fixed bug in using available_sizes[i].height which
2419 is in pixels, not 64ths of a pixel.
2421 2004-03-06 Keith Packard <keithp@keithp.com>
2423 * src/fcfreetype.c: (FcFreeTypeQuery):
2424 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2425 matches looking for explicit values prefer exact matches
2427 2004-03-02 Keith Packard <keithp@keithp.com>
2429 Supplied by: mfabian@suse.de (Mike FABIAN)
2431 * src/fcfreetype.c: (FcFreeTypeQuery):
2432 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2433 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2435 2004-02-21 Manish Singh <yosh@gimp.org>
2437 * fc-glyphname/fc-glyphname.c: (main):
2438 Cast strlen to int for printf, so we're 64-bit clean.
2440 2004-02-11 Keith Packard <keithp@keithp.com>
2443 * src/fcfreetype.c: (FcGetPixelSize):
2444 Ok, so I messed up the test for y_ppem. Let's see if I
2445 got it right this time.
2447 2004-02-10 Keith Packard <keithp@keithp.com>
2450 * src/fcfreetype.c: (FcGetPixelSize):
2451 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2452 FT_Bitmap_Size record. Add a configure.in test for this
2453 and change the code accordingly (using height instead).
2455 2004-02-06 Keith Packard <keithp@keithp.com>
2458 Add Low Saxon orthography
2459 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2461 * src/fccfg.c: (FcConfigNewestFile):
2462 Oops. Left 'newest.set' unset, which would miscompute
2465 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2466 (FcFreeTypeCheckGlyph):
2467 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2468 font properties (which report the wrong value in current FreeType)
2470 Don't attempt to check for empty glyphs in non-scalable fonts; they
2473 2004-02-01 Tor Lillqvist <tml@iki.fi>
2475 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2476 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2477 cache if config->cache is NULL, which happens if FcConfigHome() is
2478 NULL. Guard against that by using the temp folder in that case.
2480 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2482 * fc-lang/az_ir.orth:
2483 * fc-lang/ku_ir.orth:
2484 * fc-lang/ps_af.orth:
2485 * fc-lang/ps_pk.orth:
2486 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2487 (Afghan and Pakistani).
2489 Updated Urdu orthography with real data.
2491 2003-12-11 Carl Worth <cworth@east.isi.edu>
2493 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2496 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2498 (all-local): Remove excessive whitespace.
2500 * autogen.sh: Add 'set -e' to abort when any program fails,
2501 (avoids printing of 'now type make' after configure aborts).
2503 2003-11-17 Eric Christopherson <rakko@charter.net>
2505 reviewed by: Keith Packard <keithp@keithp.com>
2508 * fontconfig/fcfreetype.h:
2510 Switch to FreeType 2.1.7 style includes. Bug #150.
2512 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2514 * fc-list/fc-list.sgml: Add some example usages.
2516 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2519 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2522 2003-10-27 Keith Packard <keith@keithp.com>
2525 * fontconfig/fontconfig.h:
2526 Update to version 2.2.92
2528 2003-10-27 Keith Packard <keithp@keithp.com>
2533 * fc-cache/Makefile.am:
2534 * fc-glyphname/Makefile.am:
2535 * fc-lang/Makefile.am:
2536 * fc-list/Makefile.am:
2537 * fc-match/Makefile.am:
2540 Yet more cleanups to finish getting 'make distcheck' working
2541 This has been tested to ensure that it even works from a _build
2544 2003-10-26 Keith Packard <keithp@keithp.com>
2548 * fc-cache/Makefile.am:
2549 * fc-glyphname/Makefile.am:
2550 * fc-lang/Makefile.am:
2551 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2552 * fc-list/Makefile.am:
2553 * fc-match/Makefile.am:
2554 Attempts to fix 'make distcheck' work. Things are
2555 progressing pretty well, but there are still failures
2556 long into the process dealing with docs (as always).
2558 The big changes here are mostly to make $(srcdir) != "."
2559 work correctly, fixing the docbook related sections and
2560 fc-lang were particularily tricky. Docbook refuses to load
2561 system entities from anywhere other than where the original .sgml
2562 file was located, so no luck looking in "." for the
2563 configure-generated version.sgml and confdir.sgml files.
2565 fc-lang needed help finding .orth files; added a -d option
2566 to set the directory as the least evil of many options.
2568 Now to go use a faster machine and try and wring out the last
2571 2003-10-26 Keith Packard <keithp@keithp.com>
2575 2003-10-26 Keith Packard <keithp@keithp.com>
2578 Include confdir.sgml.in in EXTRA_DIST
2580 2003-10-09 Josselin Mouette <joss@debian.org>
2582 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2583 * fc-list/fc-list.sgml fc-list/Makefile.am:
2584 Replace fc-cache and fc-list manpages with more detailed, SGML
2587 2003-09-23 Owen Taylor <otaylor@redhat.com>
2589 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2590 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2591 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2594 2003-09-23 Owen Taylor <otaylor@redhat.com>
2596 * fc-lang/ka.orth: Remove Georgian capitals, they
2597 aren't used for normal writing. (Bug #116)
2599 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2601 * doc/fontconfig-devel.sgml:
2602 * doc/fontconfig-user.sgml:
2603 * fontconfig/fontconfig.h:
2605 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2606 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2608 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2609 monospace and dual-width fonts, allow roughly a 3% variance in the
2612 2003-08-31 Manish Singh <yosh@gimp.org>
2614 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2617 2003-08-15 Carl Worth <cworth@isi.edu>
2619 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2620 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2622 * src/fcpat.c (FcValueListEntDestroy): New function to support
2623 FcFini memory cleanup. Some statistics are not kept in
2625 (FcValueListFreeze): Move hashTable outside this function so it
2626 can be accessed by FcValueListThawAll.
2627 (FcValueListThawAll): New function complements FcValueListFreeze.
2628 (FcPatternBaseFreeze): Move hashTable outside this function so it
2629 can be accessed by FcPatternBaseThawAll.
2630 (FcPatternBaseThawAll): New function complements
2631 FcPatternBaseFreeze.
2632 (FcPatternThawAll): New function complements FcPatternFreeze.
2634 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2636 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2637 allocated FcCharLeafEnt "blocks" so they can be freed later.
2638 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2639 can be accessed by FcCharSetThawAllLeaf.
2640 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2641 (FcCharSetFreezeBase): Move hashTable outside this function so it
2642 can be accessed by FcCharSetThawAll.
2643 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2645 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2646 (FcConfigDestroy): Fic leak of FcBlanks.
2648 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2649 (main): Add call to FcFini when finished.
2651 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2652 static. Add prototypes.
2654 * doc/fcinit.fncs: Add documentation for FcFini function.
2656 * doc/edit-sgml.c: Mark several local functions as static. Add
2659 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2661 2003-06-15 Tor Lillqvist <tml@iki.fi>
2663 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2664 before comparing (needed on Windows).
2666 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2668 2003-06-13 Tor Lillqvist <tml@iki.fi>
2670 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2673 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2674 WINDOWSFONTDIR token.
2676 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2677 end, not to confuse libtool, which expects the EXPORTS line to be
2678 the first. Add FcConfigEnableHome.
2680 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2681 built as a DLL on Win32.
2683 2003-06-09 Keith Packard <keithp@keithp.com>
2685 * Tag version 2.2.90
2687 2003-06-09 Keith Packard <keithp@keithp.com>
2689 * Optimization in FcLangSetIndex was broken, occasionally
2690 returning a pointer to the wrong location on miss
2692 * Add fc-match to test font matching from the command line.
2694 2003-05-31 Keith Packard <keithp@keithp.com>
2696 * (Bug 85) add support for culmus fonts
2697 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2698 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2700 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2702 * Fix "contains" op for strings and langsets.
2704 2003-05-17 Keith Packard <keithp@keithp.com>
2706 * Fix build error with BDF prop local. Free langset after query
2708 2003-05-14 Keith Packard <keithp@keithp.com>
2710 * Extract spacing from XLFD atom
2712 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2714 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2715 disappeared in 1.30.
2717 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2719 2003-05-12 Keith Packard <keithp@keithp.com>
2721 * Use FcIsWidth to share code
2723 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2724 misclassifying some Han fonts as monospaced.
2726 2003-05-07 Keith Packard <keithp@keithp.com>
2728 * Add filename-based accept/reject to ammend available fonts.
2730 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2731 older FreeType releases.
2733 2003-05-06 Keith Packard <keithp@keithp.com>
2735 * Remove 0b82 and Tamil numbers from tamil
2736 orthography (Jungshik Shin <jshin@mailaps.org>)
2738 2003-05-04 Keith Packard <keithp@keithp.com>
2740 + Map glyph names in fonts with adobe custom encoding to unicode
2742 2003-05-02 Keith Packard <keithp@keithp.com>
2744 * Add FC_WEIGHT_BOOK as weight 75
2746 2003-04-30 Keith Packard <keithp@keithp.com>
2748 * Typo in bitstream foundry name
2750 2003-04-24 Keith Packard <keithp@keithp.com>
2752 * Eliminate italic_angle check for PS fonts
2754 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2756 * Getting closer to fixing /etc/fonts hard-coding.
2758 2003-04-22 Keith Packard <keithp@keithp.com>
2760 * Update autogen.sh to work with newer automake versions
2761 * Handle pattern elements moving during multiple edits
2763 2003-04-23 James Henstridge <james@daa.com.au>
2765 * doc/fontconfig-devel.sgml: close the <para> element.
2767 * doc/fcpattern.fncs: close the <para> element.
2769 * doc/func.sgml: close the <refsynopsisdiv> element.
2771 2003-04-22 Keith Packard <keithp@keithp.com
2773 * Update autogen.sh to work with newer automake versions
2774 * Handle pattern elements moving during multiple edits
2776 2003-04-17 Colin Walters <walters@debian.org>
2778 + Remove some unused variables, and initialize some other ones so
2779 gcc doesn't warn us.
2781 2003-04-16 Keith Packard <keithp@keithp.com>
2783 + tag version 2.1.94
2785 2003-04-16 Keith Packard <keithp@keithp.com>
2787 + add BDF property fetching support for foundry
2788 (from Juliusz Chroboczek)
2789 + add BDF property fetching support for width
2791 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2793 + Implemented foundry generation for Type 1 and TrueType
2795 2003-04-11 Gerard Escalante <g2@magestudios.net>
2797 + Retrieve information from Type1 FontInfo dictionaries
2799 2003-04-07 Colin Walters <walters@verbum.org>
2801 + src/Makefile.am: Fix dummy makefile target names when
2802 MS_LIB_AVAILABLE isn't set.
2804 2003-03-22 Tor Lillqvist <tml@iki.fi>
2806 Changes for Windows:
2808 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2810 + We don't want to hardcode the fonts.conf file location in the
2811 DLL, so we look up the DLL location at run-time in a DllMain()
2812 function. The fonts.conf location is deduced from that.
2814 + The colon can't be used as path separator on Windows,
2815 semicolon is used instead. File path components can be separated
2816 with either slash or backslash. Absolute paths can also begin
2817 with a drive letter.
2819 + Add internal function FcStrLastSlash that strrchr's the last
2820 slash, or backslash on Windows.
2822 + There is no link() on Windows. For atomicity checks, mkdir a
2823 lock directory instead.
2825 + In addition to HOME, also look for USERPROFILE.
2827 + Recognize the special font directory token WINDOWSFONTDIR, to
2828 use the system's font directory.
2830 + Remove the fontconfig-def.cpp that was obsolete. Add
2831 fontconfig.def(.in), without internal functions.
2833 + Add a fontconfig-zip(.in) script, used to build a binary
2836 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2837 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2838 to main package and man3/* to devel package
2840 + Added missing defattr(-, root, root) to main RPM package
2842 + Added HTML and text development documentation to -devel subpackage
2844 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2845 + Added back the configure macro options --disable-docs, otherwise
2846 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2847 version number) unconditionally, causing RPM to fail the build due
2848 to _unpackaged_files_terminate_build. We pick up the pregenerated
2849 docs with %doc already.
2851 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2852 + Removed commented out rpm macro define at top of spec file,
2853 replacing it with a simple explanation, since rpm macros are
2854 expanded by rpm even in comments.
2856 + Changed /usr/bin to _bindir in BuildRequires lines
2858 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2860 + Reorganized file manifest lists
2862 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2864 + fontconfig.spec.in: Improvements from Red Hat spec file.
2866 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2868 + docs/*.sgml: SGML fixes.
2870 Sat Mar 1 17:28:53 PST 2003 keithp
2871 + Ok, so the ChangeLog is a bit out of date
2873 + Lots of bugs fixed; most are in bugzilla, the
2874 biggest problems were in cache management where
2875 Owen discovered the library would lose badly when
2876 combining fonts-cache and ~/.fonts-cache data
2878 + Converted from autoconf to automake. This after
2879 getting patches accepted into libtool to allow
2880 the '-version-number' argument which lets
2881 packages set version numbers explicitly rather
2882 than the roundabout libtool way
2884 + Converted documentation to SGML using the docbook
2885 DTD. Now .txt and .html documents are installed
2886 in /usr/share/doc/fontconfig and there's no
2887 man page. Perhaps a man version can be written
2890 Sat Aug 31 15:21:22 PDT 2002 keithp
2891 + Xrender and Xft had several bugs related to
2892 rendering manually placed or poly-face text
2894 + Added more complete memory tracing in fontconfig
2895 Checked with (patched) mozilla and found no leaks
2897 + Updated Latin orthographies by comparing those from
2898 evertype.com with those from eki.ee. Tried to make
2899 sensible choices, including chars that occured in both
2900 and leaving some optional chars out that occured only
2903 Mon Aug 26 16:33:04 PDT 2002 keithp
2904 + Owen discovered that FcLangSetHasLang wasn't actually
2905 checking the language set.
2907 Mon Aug 26 13:37:23 PDT 2002 keithp
2908 + Append a version number to cache filenames
2910 Thu Aug 22 11:36:18 PDT 2002 keithp
2912 + Add "contains" and "not_contains" operators and elements to
2915 + Changed semantics of eq operator for LangSets to check for
2916 FcLangEqual so that any match will do
2918 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2919 of FcValueEqual to check for identical values when inserting into
2920 the results. This broke when the above semantic change was made,
2921 now it uses FcValueEqual which is "more correct" in any case.
2923 Thu Aug 22 00:32:29 PDT 2002 keithp
2925 + Reimplement FC_LANG as new datatype. Lists of strings
2926 was consuming over a megabyte of memory for 401 fonts.
2928 + Freeze patterns loaded from cache files. This shares
2929 common value lists and common patterns which saves
2930 considerable memory.
2932 + Change the denotation of 'constant' charsets to use special
2933 ref value instead of separate boolean.
2935 + Clean up leak tracing stuff, found several unannoted alloc/free
2938 Tue Aug 20 16:17:37 PDT 2002 keithp
2940 + Fix memory leak when parsing matrices from XML
2942 Mon Aug 19 11:57:27 PDT 2002 keithp
2944 + Fix autoconf files to pass FONTCONFIG_PATH on
2945 compile line so that ${prefix} gets substituted
2948 + Use getc_unlocked/putc_unlocked on systems that
2949 provide them to avoid damage done to stdio by posix
2951 + Eliminate FC_PATTERN and FcTypePattern in favor of
2952 an extended api for FcConfigSubstitute which takes
2953 both the font and the pattern.
2955 + Add 'sans serif' alias for 'sans-serif' as some apps
2956 can't handle hyphens in family names
2958 + Eliminate pretense of support for libxml2
2960 + Comment origins of Han orthographies
2962 Tue Jul 30 18:37:09 PDT 2002 keithp
2964 + Add binding property to edit element so that strong
2965 binding values may be inserted by the config file.
2966 The default remains weak.
2968 Sun 28 Jul 04:16:55 PDT 2002 keithp
2970 + Tagged release candidate 1 in the CVS tree and
2971 placed fcpackage.rc1.tar.gz for distribution
2973 Thu Aug 1 08:55:08 PDT 2002 keithp
2975 + Fixed autoconf builds to always specify install
2976 target files (for BSD). Also fixed to
2977 define FONTCONFIG_PATH in config.h so that
2978 nonstandard installs will actually work.