1 2006-02-06 Takashi Iwai <tiwai@suse.de>
4 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
5 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
7 Don't rescan when trying to normalize a non-declared font dir.
8 Don't add font dirs multiple times (even if they're aliased).
10 2006-02-06 Dirk Mueller <dmueller@suse.de>
13 * src/fcfs.c (FcFontSetUnserialize):
15 Explain apples/oranges comparison and fix compilation error.
17 2006-02-06 Dirk Mueller <dmueller@suse.de>
20 * src/fcfs.c (FcFontSetUnserialize):
22 Insert check for integer overflow in # of fonts.
24 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
28 * fc-cache/Makefile.am:
30 * fc-list/Makefile.am:
32 Make 'make distcheck' work with automake 1.6.3.
34 2006-02-03 Takashi IWAI <tiwai@suse.de>
37 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
40 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
41 FcDirCacheConsume, FcDirCacheWrite)
42 * src/fcxml.c (FcConfigMessage):
44 Check I/O call return values and eliminate unused variable
47 2006-02-03 Takashi Iwai <tiwai@suse.de>
50 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
54 2006-02-03 Dirk Mueller <dmueller@suse.de>
57 * src/fcfs.c (FcFontSetUnserialize):
59 Gracefully handle the case where a cache asserts that it
60 has a negative number of fonts, causing overflow.
62 2006-02-03 Patrick Lam <plam@mit.edu>
63 * src/fccache.c (FcDirCacheUnlink):
65 Fix double free in error case.
67 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
68 Stephan Kulow <coolo@suse.de>
71 * fc-cache/Makefile.am:
73 Replace 'stamp' target with mkinstalldirs.
75 2006-01-31 Mike Fabian <mfabian@suse.de>
78 * src/fccache.c (FcGlobalCacheLoad):
80 Toast broken global cache files.
82 2006-01-30 Patrick Lam <plam@mit.edu>
83 * src/fccache.c (FcGlobalCacheReadDir):
85 Actually use the directories that I added to the global cache.
88 2006-01-30 Mike Fabian <mfabian@suse.de>
91 * fc-cache/fc-cache.c (scanDirs):
93 Don't stop scanning if a directory in fonts.conf doesn't
94 exist, because subsequent directories might exist.
96 2006-01-30 Patrick Lam <plam@mit.edu>
97 * src/fccache.c (FcGlobalCacheLoad):
99 Make global cache work again after putting dir names into global
100 cache (I misplaced the recording of a file offset).
102 2006-01-30 Patrick Lam <plam@mit.edu>
103 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
105 Update fc-cat to handle subdir lists in global cache file.
107 * src/fccache.c (FcGlobalCacheLoad):
109 Another FcCacheReadString return value check.
111 2006-01-30 Mike Fabian <mfabian@suse.de>
114 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
115 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
117 Make fccache more resilient to broken cache files by checking
118 return value of FcCacheReadString all the time.
120 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
123 * fc-match/fc-match.1:
124 * fc-lang/fc-lang.man:
126 Remove references to dead fontconfig(3) manpages in
127 other fontconfig manpages.
129 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
132 * doc/fcpattern.fncs:
134 Fix world's tiniest typo in code example.
136 2006-01-29 Mike Fabian <mfabian@suse.de>
139 * src/fccache.c (FcGlobalCacheReadDir):
141 Fix global cache reads of subdirectories.
143 2006-01-29 Patrick Lam <plam@mit.edu>
145 Add documentation for FcConfigNormalizeFontDir.
147 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
148 FcGlobalCacheUpdate, FcGlobalCacheSave):
149 * src/fcdir.c (FcDirScanConfig):
152 Write directory information to global caches to fix make check
153 (reported by Ronny V. Vindenes). This changes the global cache
156 2006-01-27 Patrick Lam <plam@mit.edu>
157 * fc-cache/fc-cache.c (scanDirs):
158 * fontconfig/fontconfig.h:
160 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
162 Move FcConfigNormalizeFontDir call so that it doesn't result in
163 infinite recursion (reported by Ronny V. Vindenes).
165 2006-01-26 Patrick Lam <plam@mit.edu>
166 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
167 * src/fccfg.c (FcConfigNormalizeFontDir):
169 Add a couple of missing normalizations to make fc-cache work
170 right; only scan subdirectories once.
172 2006-01-26 Mike Fabian <mfabian@suse.de>
175 * src/fcacache.c (FcGlobalCacheReadDir):
177 Don't crash on non-existant directories in global cache.
179 2006-01-26 Patirck Lam <plam@mit.edu>
180 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
181 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
182 * src/fcdir.c (FcDirScanConfig):
183 * src/fcxml.c (FcEndElement):
185 Stop trampling the directory name when writing out caches.
186 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
187 subdirs when necessary. Don't scan directories that can't be
190 2006-01-25 Patrick Lam <plam@mit.edu>
191 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
192 * src/fccfg.c (FcConfigEvaluate):
193 * src/fcfreetype.c (FcPatternAddWithBinding):
195 Fix additional memory leaks reported by Ronny V. Vindenes: don't
196 invoke FcValueSave on hashed static strings in
197 FcPatternAddWithBinding.
199 Add another st_dev check in FcDirCacheOpen.
201 2006-01-24 James Su <james.su@gmail.com>
204 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
205 * fc-lang/zh_hk.orth:
207 Treat zh-hk fonts differently from zh-tw fonts. This patch may
208 cause fontconfig to treat A-X fonts differently from A-Y fonts;
209 please mail the fontconfig list if this causes any problems.
211 2006-01-24 Patrick Lam <plam@mit.edu>
212 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
213 * src/fcfreetype.c (FcFreeTypeQuery):
215 Fix memory leaks reported by Ronny V. Vindenes.
217 2006-01-19 Andreas Schwab <schwab@suse.de>
220 * src/fcpat.c (FcStrNeededBytes):
222 Fix for unaligned memory accesses.
224 2006-01-18 Mike Fabian <mfabian@suse.de>
227 * src/fcdir.c (FcDirScanConfig):
229 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
230 calls to avoid crashes.
232 2006-01-14 Patrick Lam <plam@mit.edu>
233 * src/fccache.c (FcDirCacheConsume):
235 Fix segfault when consuming zero-length caches in fc-cat
236 (which has no config, so FcConfigAddFontDir shouldn't be called.)
238 2006-01-14 Patrick Lam <plam@mit.edu>
239 * fc-cache/fc-cache.c (scanDirs):
240 * fontconfig/fontconfig.h:
241 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
242 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
243 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
244 * src/fcdir.c (FcDirScanConfig):
247 Compare device numbers as well as inodes.
248 Always normalize directory names before comparing them.
250 2006-01-11 Mike Fabian <mfabian@suse.de>
253 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
255 Allocate extra space for appended '/' in directory name.
257 2006-01-10 Patrick Lam <plam@mit.edu>
258 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
259 FcDirCacheValid, FcDirCacheHasCurrentArch,
260 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
261 * fc-cache/fc-cache.c (main):
263 Explicitly add font dirs to config.fontDirs even if they're empty.
264 Set current config in fc-cache.c.
265 Fix treatment of cache directory as read from cache file; don't
266 use string equality to determine if we have the right file,
269 2006-01-09 Patrick Lam <plam@mit.edu>
270 * fc-cache/fc-cache.c (scanDirs):
271 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
272 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
273 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
274 * src/fccfg.c (FcConfigNormalizeFontDir):
275 * src/fcdir.c (FcDirScanConfig):
278 Normalize font dirs by using the form, as given in fonts.conf, and
279 recorded in FcConfig's fontDirs string set, as canonical.
281 Actually update config.fontDirs as font directories are scanned.
283 2006-01-08 James Su <james.su@gmail.com>
284 * src/fcmatch.c (FcFontSetMatch):
286 Fix matching bug when multiple elements match; don't use
287 the sum of all scores, but the best score.
289 Also more perf opts, e.g. evaluate best over all font sets
290 rather than on a per-set basis (and other changes).
292 2006-01-08 Patrick Lam <plam@mit.edu>
293 * src/fccache.c (FcDirCacheConsume):
295 Properly skip past dir caches that contain zero fonts (as occurs
296 in global caches.) Reported by Mike Fabian.
298 2006-01-06 Patrick Lam <plam@mit.edu>
299 * src/fcdbg.c (FcPatternPrint):
301 Print out full pathname in fc-match -v as well. Reported by
304 2006-01-06 Mike Fabian <mfabian@suse.de>
307 * src/fcname.c (FcNameParse):
309 Fix bug where fc-match crashes when given __DUMMY__ property to
312 (I added the __DUMMY__ string to enable callers of
313 FcObjectToPtrLookup to distinguish an error return from a
314 successful return. -PL)
316 2006-01-05 Patrick Lam <plam@mit.edu>
319 Add self to AUTHORS list.
321 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
322 FcCacheFileRead, FcCachePrintSet, main):
323 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
324 FcGlobalCacheSave, FcCacheNextOffset,
325 FcDirCacheHasCurrentArch, FcDirCacheRead,
326 FcDirCacheConsume, FcDirCacheWrite):
328 * src/fcpat.c (comment):
330 Minor change to global cache file format to fix fc-cat bug
331 reported by Frederic Crozat, and buglet with not globally caching
332 directories with zero fonts cached.
334 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
337 * src/fccfg.c (FcConfigEvaluate):
339 Fix double-free which occurs because FcValueCanonicalize doesn't
340 create an extra copy of the returned value, it only canonicalizes
343 2006-01-02 Patrick Lam <plam@mit.edu>
344 * doc/fontconfig-user.sgml:
346 Fix version of .cache file (currently 1 -> currently 2). Reported
349 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
352 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
354 Shut up GCC warnings on amd.
356 2005-12-20 Patrick Lam <plam@mit.edu>
360 * fontconfig/fontconfig.h:
362 Bump version to 2.3.93.
364 2005-12-20 Patrick Lam <plam@mit.edu>
365 * src/fccharset.c (FcLangCharSetPopulate):
366 * src/fcint.h (FcCacheBankToIndex):
368 Avoid check on _fcBankId nullness and fix case where it used to
371 2005-12-20 Patrick Lam <plam@mit.edu>
372 * src/fcxml.c (FcConfigParseAndLoad):
374 Use open instead of fopen (requested by Phil Race for Sun).
376 2005-12-20 Patrick Lam <plam@mit.edu>
377 * src/fccache.c (FcDirCacheWrite);
378 * fc-cache/Makefile.am:
380 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
383 2005-12-20 Patrick Lam <plam@mit.edu>
384 * src/fcfreetype.c (FcFreeTypeQuery):
386 Restore code to skip over PCF fonts that have no encoded
388 (We guess that a font is PCF by presence of the PIXEL_SIZE
391 2005-12-12 Patrick Lam <plam@mit.edu>
392 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
394 Read and write the original location as a fallback for the
395 hashed cache file locations. This is mostly for users to be
396 able to have per-directory cache files.
398 2005-12-12 Patrick Lam <plam@mit.edu>
399 * fc-cache/fc-cache.c (scanDirs):
400 * fc-cache/Makefile.am:
401 * src/fccache.c (FcDirCacheHashName):
403 Improve error message when fc-cache can't write the cache. Add
404 missing slash. Reported by Behdad. Incorporate Behdad's patch to
405 create /var/cache/fontconfig when appropriate.
407 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
410 * src/fcxml.c (FcConfigGetAttribute):
412 Fix crash reported by Frederic Crozat when using libxml2.
414 2005-12-09 Patrick Lam <plam@mit.edu>
417 * fc-cache/Makefile.am:
418 * fc-cat/Makefile.am:
420 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
421 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
422 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
423 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
424 FcDirCacheHasCurrentArch, FcDirCacheHashName,
425 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
427 Migrate cache files from fonts directories to
428 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
429 but requires that all caches get rebuilt.
431 Also, autogen.sh now needs the additional parameter
432 --localstatedir=/var.
434 2005-12-07 Patrick Lam <plam@mit.edu>
435 * src/fcpat.c (FcPatternAddString):
437 Because we've changed FcPatternAddString to use FcStrStaticName
438 and not FcValueSave, explicitly handle the case of a null string.
440 2005-12-06 Patrick Lam <plam@mit.edu>
441 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
445 2005-12-05 Patrick Lam <plam@mit.edu>
446 * src/fcname.c (FcNameGetObjectType):
448 Don't assign types to user object names.
450 2005-12-05 Patrick Lam <plam@mit.edu>
451 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
453 Don't free strings that have been returned from FcStrStaticName.
455 2005-12-01 Patrick Lam <plam@mit.edu>
456 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
458 Add codepath for reading global cache files as well.
460 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
463 * conf.d/10-fonts.persian.conf:
464 * conf.d/Makefile.am:
466 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
468 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
471 * src/fcxml.c (FcConfigParseAndLoad):
473 Only add a config file to the set of config files once.
475 2005-11-29 Patrick Lam <plam@mit.edu>
476 * src/fcint.h (FcCacheBankToIndex);
478 Fix segfault by guarding array dereference.
480 2005-11-29 Dirk Mueller <dmueller@suse.de>
484 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
485 FcCacheBankToIndex, FcCacheBankToIndexMTF,
489 Refactor FcCacheBankToIndex into an inlineable part
490 (in fcint.h) which checks the front of the list and a
491 non-inlineable part which finds and moves the appropriate element
492 to the front of the list.
494 2005-11-29 Patrick Lam <plam@mit.edu>
495 * src/fccfg.c (FcConfigBuildFonts):
496 * src/fccache.c (FcCacheReadDirs):
498 Make the perf guys hate me a bit less: hoist the directory-name
499 FcConfigAcceptFont check for cached fonts up to directory cache
500 read time, rather than running it for each font.
502 2005-11-29 Patrick Lam <plam@mit.edu>
503 * src/fccfg.c (FcConfigBuildFonts):
505 * src/fcpat.c (FcPatternFindFullFname):
507 Don't make FcPatternFindFullFname available to fccfg, it's not
508 really safe. Instead go through FcPatternGetString (sorry,
509 perf guys.) Also, use globs for dirs as well.
511 2005-11-28 Patrick Lam <plam@mit.edu>
512 * src/fccfg.c (FcConfigBuildFonts):
516 2005-11-28 Patrick Lam <plam@mit.edu>
518 * src/fcpat.c (FcPatternFindFullFname):
519 * src/fccfg.c (FcConfigBuildFonts):
521 Fix problem dating back at least to 2.3.2 where globs weren't
522 being applied to patterns loaded from a cache.
524 2005-11-28 Patrick Lam <plam@mit.edu>
525 * doc/fontconfig-user.sgml:
527 Fix some obvious spelling mistakes.
529 2005-11-28 Dirk Mueller <dmueller@suse.com>
530 Stephan Kulow <coolo@suse.de>
533 * src/fcmatch.c (FcFontSetMatch):
535 Don't kill all fonts during match (oops!)
538 2005-11-25 Dirk Mueller <dmueller@suse.com>
539 Stephan Kulow <coolo@suse.de>
540 Michael Matz <matz@suse.de>
543 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
546 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
547 inline FcCompare into FcFontSetMatch and reorder the
548 loops, adding a boolean array which blocks patterns from future
549 consideration if they're known to not be best on some past
552 2005-11-26 Dirk Mueller <dmueller@suse.com>
555 * src/fcmatch.c (FcCompareValueList):
559 2005-11-25 Patrick Lam <plam@mit.edu>
560 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
562 Don't do random matching when bad objects are passed into
565 2005-11-25 Patrick Lam <plam@mit.edu>
567 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
568 FcPatternSerialize, FcPatternUnserialize,
569 FcValueListEnsureBank, FcValueListDistributeBytes,
570 FcValueListUnserialize):
572 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
573 _fcPatternElts, _fcValueLists for consistency.
575 2005-11-25 Dirk Mueller <dmueller@suse.com>
580 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
582 2005-11-25 Patrick Lam <plam@mit.edu>
584 * src/fccache.c (FcDirCacheConsume):
585 * src/fccharset.c (FcCharSetUnserialize):
586 * src/fcfs.c (FcFontSetUnserialize):
587 * src/fclang.c (FcLangSetUnserialize):
588 * src/fcname.c (FcObjectUnserialize):
589 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
590 FcPatternUnserialize):
592 Pass around FcCache *s to the Unserialize functions for extra
593 consistency (and less overhead, for what that's worth).
595 2005-11-24 Dirk Mueller <dmueller@suse.com>
599 * src/fcmatch.c (FcCompare*, FcFontSetSort):
600 * src/fcname.c (FcNameUnparseValue):
602 Inline the *PtrU functions to gain perf.
603 Remove unneeded params for the FcCompare* functions.
605 2005-11-24 Dirk Mueller <dmueller@suse.com>
608 * src/fcint.h, fontconfig/fontconfig.h:
610 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
612 * src/fcpat.c, src/fcint.h, src/fcname.c:
614 Check for type validity during FcPatternAddWithBinding, don't
615 verify type in FcFontMatch, don't call FcCanonicalize here
616 (which always does a deep copy).
618 2005-11-24 Dirk Mueller <dmueller@suse.com>
621 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
622 * src/fcpat.c (FcPatternAddWithBinding):
624 Make FcCompareString and FcCompareFamily less expensive.
625 Only add a value for FC_FAMILY if the proposed value is a string.
627 2005-11-24 Dirk Mueller <dmueller@suse.com>
630 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
631 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
632 * src/fcint.h (FcDebug):
634 Inline FcDebug invocations and only initialize once, in FcInit*.
635 Improve debug msg in FcPatternPrint.
637 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
640 * fontconfig/fontconfig.h:
643 Minor code warning cleanups.
645 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
648 * fc-match/fc-match.c (main):
650 Make getopt_long accept -s parameter to fc-match as well.
652 2005-11-21 Dirk Mueller <dmueller@suse.com>
655 * src/fcmatch.c (FcCompareValueList):
657 Manually perform inlining & partial redundancy elimination to
658 reduce calls to FcValueListPtrU.
660 2005-11-21 Dirk Mueller <dmueller@suse.com>
663 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
664 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
666 Only invoke strlen() when really necessary.
668 2005-11-19 Matthias Clasen <mclasen@redhat.com>
672 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
677 Get rid of the use of freetype internal headers in fcfreetype.c,
678 since those headers will go away with freetype 2.2. Replace with
679 public domain ftglue code from pango. Note that the patch removes
680 some extra error checking in FT_Get_BDF_Property() and comments
681 out the skipping of empty pcf fonts.
683 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
686 * fc-lang/fc-lang.c (main):
688 Further fix of patch from 2005-11-04: miscounted numbers count
689 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
690 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
692 Removed leafidx_count and numbers_count since they are the same
693 and replaced them with offset_count.
695 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
698 * fc-cat/fc-cat.c (main):
700 Don't crash when fc-cat invoked with no arguments.
702 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
705 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
707 Fix invalid read access caused by premature free and
708 GCC4 warnings in libxml2 codepath.
710 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
713 * src/fccfg.c (FcConfigValues):
715 List iteration not needed in FcConfigValues, since it's building
716 up the list itself; we can just strip FcVoid elements during
719 2005-11-17 Patrick Lam <plam@mit.edu>
720 * src/fccfg.c (FcConfigValues):
722 Fix crash on invalid constants in config files (forgot to update
723 a pointer upon list iteration.)
725 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
728 * src/fcxml.c (FcTypecheckExpr):
730 Complain about invalid constants in config files.
732 2005-11-17 Andreas Schwab <schwab@suse.de>
735 * src/fccache.c (FcGlobalCacheSave):
737 Don't add current_arch_start more than once.
739 2005-11-16 Patrick Lam <plam@mit.edu>
740 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
741 * src/fcfs.c (FcFontSetUnserialize):
742 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
743 * src/fcpat.c (FcStrUnserialize):
745 Fix ordering of ALIGN with respect to saving block_ptr; add
746 another ALIGN to fcfs.c.
748 2005-11-16 Patrick Lam <plam@mit.edu>
749 * src/fccache.c (FcDirCacheProduce)
751 Fix case where alignment bytes bumped up metadata->count
752 causing unwarranted failures to write cache files.
753 (Reported by Stephan Kulow).
755 2005-11-16 Patrick Lam <plam@mit.edu>
756 * src/fccache.c (FcDirCacheProduce):
757 * src/fccharset.c (FcCharSetDistributeBytes):
758 * src/fcfs.c (FcFontSetDistributeBytes):
760 * src/fclang.c (FcLangSetDistributeBytes):
761 * src/fcname.c (FcObjectDistributeBytes):
762 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
765 Add *NeededBytesAlign(), which overestimates the padding which is
766 later added by the new ALIGN macro. Fix alignment problems on
767 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
768 version by Andreas Schwab).
770 2005-11-16 Stephan Kulow <coolo@kde.org>
775 Use sysconf to determine proper PAGESIZE value; this
776 appears to be POSIX-compliant. (reported by Andreas Schwab)
778 2005-11-04 Patrick Lam <plam@mit.edu>
784 Fix bug 2878 (excessive relocations at startup for charsets,
785 reported by Ross Burton): fc-lang/fc-lang now creates the
786 static form of the langset, not the dynamic form, so that
787 the charsets should now be in .rodata.
789 2005-11-04 Patrick Lam <plam@mit.edu>
790 * src/fcdir.c (FcDirScanConfig):
792 Add test for validity of directory caches that
793 somehow got lost (reported by make distcheck).
795 2005-11-04 Patrick Lam <plam@mit.edu>
799 * fontconfig/fontconfig.h:
801 Bump version to 2.3.92.
803 2005-11-02 Patrick Lam <plam@mit.edu>
804 * src/fcpat.c (FcPatternDuplicate):
806 Fix argument ordering problem in call to FcPatternTransferFullFname.
808 2005-11-02 Patrick Lam <plam@mit.edu>
809 * src/fcfreetype.c (FcFreetypeQuery):
810 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
811 FcPatternTransferFullFname):
813 Fix warnings and embarrassing double-free error.
815 2005-11-02 Zhe Su <zsu@novell.com>
820 Change the rule for artificial emboldening in fonts.conf.in. This
821 enables the support for artificial emboldening included in cairo.
823 2005-11-02 Patrick Lam <plam@mit.edu>
824 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
826 Don't zero out full names for FC_REF_CONSTANT fonts;
827 also, duplicate full names when transferring, and free
828 full names when freeing the associated font.
829 Reported by Jinghua Luo.
831 2005-11-02 Patrick Lam <plam@mit.edu>
832 * fc-cache/fc-cache.c (scanDirs):
833 * src/fcpat.c (FcValueListSerialize):
835 Revert the previous patch and commit the correct patch:
836 I forgot a canonicalization in FcValueListSerialize, so
837 that it would choke on already-serialized input files. Duh!
839 2005-11-02 Patrick Lam <plam@mit.edu>
840 * fc-cache/fc-cache.c (scanDirs):
842 Forcibly rescan a directory before writing a fresh local
843 cache file for that directory, fixing the losing-fonts
844 problem reported by Mike Fabian and also apparently the
845 font cache file corruption.
847 2005-11-02 Patrick Lam <plam@mit.edu>
848 * src/fccache.c (FcGlobalCacheLoad):
850 Fix thinko: actually, the whole global cache is stale
851 if the global cache is older than the (newest) config file.
853 2005-11-02 Patrick Lam <plam@mit.edu>
854 * src/fccache.c (FcGlobalCacheLoad):
855 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
858 Declare the global cache of a directory's contents to be stale if
859 the directory is newer than the (newest) configuration file.
861 2005-10-31 Patrick Lam <plam@mit.edu>
863 * src/fclist.c (FcListAppend):
864 * src/fcmatch.c (FcFontRenderPrepare):
865 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
866 FcPatternFreeze, FcPatternBaseFreeze):
868 Copy the full pathname whenever duplicating an FcPattern; otherwise,
869 applications continue breaking.
871 2005-10-31 Patrick Lam <plam@mit.edu>
872 * fc-cat/fc-cat.c (FcCacheFileRead, main):
873 * src/fcfreetype.c (FcFreeTypeQuery):
875 Fix small memory error (tried to free argv); use basename and
876 dirname correctly (they can modify their arguments).
878 2005-10-31 Patrick Lam <plam@mit.edu>
886 Reinstate basename patch, but keep a hash table linking FcPatterns
887 to their fully-qualified font names for clients' benefit. Clients
888 only pay for the font names once they request the FC_FILE property
889 from an FcPattern, but the font name is malloc'd at that point (i.e.
890 not mmapped: that's impossible, since it may vary between machines.)
891 Clients do have to pay for a copy of the path name per cache file.
893 Note that FcPatternGetString now does some rewriting if you ask
894 for an FC_FILE, appending the pathname as appropriate.
896 2005-10-31 Patrick Lam <plam@mit.edu>
897 * src/fcfreetype.c (FcFreeTypeQuery):
899 Revert basename patch, which breaks fontconfig clients on my system.
901 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
904 * fontconfig/fonts.conf.in:
905 * fontconfig/fontconfig.h:
909 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
910 to load embedded bitmaps or not.
912 2005-10-25 Patrick Lam <plam@mit.edu>
913 * src/fcfreetype.c (FcFreeTypeQuery):
915 Only add basename to patterns' FC_FILE element, not any part of
918 2005-10-22 Patrick Lam <plam@mit.edu>
921 Add some more consts, fixing more GCC4 warnings.
923 2005-10-22 Zhe Su <zsu@novell.com>
926 Support localized font family and style names.
927 This has been reported to break old apps like xfd, but modern
928 (gtk+/qt/mozilla) apps work fine.
930 2005-10-21 Patrick Lam <plam@mit.edu>
931 * src/fccache.c (FcGlobalCacheLoad):
933 Destroy the global cache file if it's terminally broken. (reported by
936 2005-10-21 Patrick Lam <plam@mit.edu>
937 * fc-list/fc-list.c (main):
938 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
939 * fontconfig/fontconfig.h:
941 Prevent fc-list from escaping strings when printing them (reported by
944 2005-10-20 Marcus Meissner <meissner@suse.de>
947 * fontconfig/fontconfig.h:
949 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
951 2005-10-14 Ross Burton <ross@burtonini.com>
954 * fc-glyphname/fc-glyphname.c:
957 Add consts to variables so as to move arrays into .rodata.
959 2005-10-14 Mike Fabian <mfabian@suse.de>
962 * src/fccache.c (FcDirCacheUnlink):
964 Check existence of directory cache file before attempting to unlink.
966 2005-10-13 Patrick Lam <plam@mit.edu>
967 * src/fccache.c (FcDirCacheUnlink):
969 Fix flipped return value on unlink. (Reported by Mike Fabian)
971 2005-10-12 Patrick Lam <plam@mit.edu>
974 * src/fcdir.c (FcDirScanConfig):
977 When fc-cache is run without --force, use directory cache files
978 to speed up fc-cache run time. (Reported by Mike Fabian)
980 2005-10-06 Patrick Lam <plam@mit.edu>
982 * src/fcname.c (FcObjectToPtr):
983 * src/fcpat.c (FcStrStaticName):
985 Add padding to make valgrind and glibc not hate each other
986 when calling strlen().
988 2005-10-05 Simos Xenitellis <simos74@gmx.net>
989 reviewed by: plam & keithp
993 Modify config file to use Greek fonts before Asian fonts with
996 2005-10-05 Christian Biesinger <cbiesinger@web.de>
997 reviewed by: plam & keithp
1001 Use libtool -no-undefined flag on all platforms.
1003 2005-10-05 Patrick Lam <plam@mit.edu>
1004 * src/fccache.c (FcCacheHaveBank):
1006 Implement move-to-front array for banks (perf regression
1007 reported by Ronny V. Vindenes).
1009 2005-10-04 Patrick Lam <plam@mit.edu>
1010 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1011 FcDirCacheHasCurrentArch):
1012 * fc-cache/fc-cache.c (scanDirs):
1013 * fontconfig/fontconfig.h:
1015 Add new API which unlinks directory caches and checks dir caches
1016 for existence of appropriate sections. Fix fc-cache to unlink
1017 stale cache files and save directory caches that lack relevant
1020 2005-10-03 Patrick Lam <plam@mit.edu>
1021 * src/fccache.c (FcDirCacheValid):
1023 Ensure that a directory cache has the appropriate section
1024 before reporting that it is valid (reported by Matthias Clasen).
1026 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1034 Use libxml2 if requested (with --enable-libxml2) or if
1035 expat is not available.
1037 2005-09-29 Patrick Lam <plam@mit.edu>
1038 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1040 Fix multi-arch cache files: compute the position for the
1041 block to be added using info from OrigFile, not NewFile.
1043 2005-09-28 Patrick Lam <plam@mit.edu>
1044 * src/fccache.c (FcCacheMachineSignature):
1046 Cast results of sizeof() to unsigned int to get rid of
1047 warnings on x86_64 (thanks Matthias Clasen).
1049 2005-09-27 Patrick Lam <plam@mit.edu>
1050 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1053 Use FcAtomic to rewrite cache files.
1055 2005-09-27 Patrick Lam <plam@mit.edu>
1057 * src/fccache.c (FcDirCacheWrite):
1059 Don't unlink the fonts.cache-2 file even if there's no data
1060 to write; just write an empty cache file. (thanks Lubos Lunak)
1062 2005-09-27 Patrick Lam <plam@mit.edu>
1064 * src/fccache.c (FcDirCacheWrite):
1066 Allocate room for the subdirectory names in each
1067 directory cache. Thanks to James Cloos for finding
1068 and diagnosing this bug!
1070 2005-09-22 Patrick Lam <plam@mit.edu>
1072 * fc-cache/fc-cache.sgml:
1073 * src/fccache.c (FcDirCacheWrite):
1074 * src/fccache.h (struct FcCache):
1076 Update documentation -- fc-cache's man page now says that you
1077 need to run fc-cache once per cached architecture; add some
1078 documentation to the FcCache structure.
1080 Make fc-cache write out fonts.cache-2 files for directories with
1081 no fonts (i.e. only subdirectories).
1083 2005-09-22 Patrick Lam <plam@mit.edu>
1085 * fc-cache/fc-cache.sgml:
1086 * fc-case/fc-case.c:
1087 * fc-glyphname/fc-glyphname.c:
1093 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1097 * fc-lang/fc-lang.c:
1098 * fontconfig/fcprivate.h:
1099 * fontconfig/fontconfig.h:
1113 Implement new mmaped cache for font information.
1114 Bump so revision to 2.3.90.
1116 2005-07-25 Keith Packard <keithp@keithp.com>
1118 * doc/fontconfig-user.sgml:
1119 * fc-glyphname/fc-glyphname.c: (scan), (main):
1120 * fc-lang/fc-lang.c: (FcConfigHome):
1121 * fc-match/fc-match.c: (main):
1122 * src/fccfg.c: (FcConfigHome):
1123 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1124 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1125 (addtag), (FcFontCapabilities):
1126 * src/fcpat.c: (FcValueListEntCreate):
1127 * src/fcstr.c: (FcStrCaseWalkerInit):
1128 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1130 Various GCC 4 cleanups for signed vs unsigned char
1132 Match only [0-9]*.conf files in <include>{directory}</include>
1133 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1135 2005-07-15 Carl Worth <cworth@cworth.org>
1138 * src/fcinit.c: (FcFini):
1139 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1142 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1143 Pull the FcObjectStateName hash table out to file scope, and add
1144 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1147 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1150 2005-06-16 Patrick Lam <plam@MIT.EDU>
1154 * src/fccfg.c: (FcConfigCompareValue):
1155 Make FcOpNotContains use FcStrStr for strings so that
1156 it matches semantics for !FcOpContains.
1158 2005-05-20 Keith Packard <keithp@keithp.com>
1162 Move fontconfig source package to libs as per override
1164 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1166 reviewed by: Mike Fabian
1169 The ka.orth file requires several characters which are not
1170 used anymore in modern Georgian and which are missing in the free
1171 Georgian TrueType fonts downloadable at:
1173 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1175 2005-04-27 Keith Packard <keithp@keithp.com>
1179 Update date to real 2.3.2 release date.
1180 Fix change attributions
1182 2005-04-27 Keith Packard <keithp@keithp.com>
1185 Bump so revision for 2.3.2
1186 * fc-cache/fc-cache.c: (scanDirs):
1187 Fix a few minor leaks in error cases.
1189 2005-04-23 Keith Packard <keithp@keithp.com>
1194 * fontconfig/fontconfig.h:
1195 Update for version 2.3.2
1197 2005-04-21 Keith Packard <keithp@keithp.com>
1199 * debian/fontconfig.postinst:
1200 Don't force bitmap font enable in default
1201 configuration; allows users to override this in
1211 * debian/po/pt_BR.po:
1212 * debian/po/templates.pot:
1214 * debian/po/zh_CN.po:
1215 Updated translations
1217 * fc-cache/fc-cache.c: (main):
1218 Destroy font configuration on exit to help valgrind
1221 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1222 (FcFreeTypeCheckGlyph):
1223 Use own transcoding routines in preference to iconv
1224 which appears to have leaks in some translators.
1225 Call iconv_close after using iconv (oops).
1227 Prefer unicode encoding of Euro char as some
1228 fonts mis-encode Euro in other ones.
1230 Must fetch bitmap glyphs to get width values
1231 to check for monospace/dual-width fonts.
1233 2005-04-13 Ross Burton <ross@burtonini.com>
1236 Check that a pattern isn't already frozen in FcPatternFreeze.
1238 2005-03-31 Ross Burton <ross@burtonini.com>
1243 Run all FcPattern objects through FcObjectStaticName, so that
1244 compares can be done on pointers instead of strings (#2659)
1246 2005-03-17 Tor Lillqvist <tml@novell.com>
1248 * src/fontconfig.def.in: Add the .dll to the dll name.
1250 2005-03-10 Keith Packard <keithp@keithp.com>
1252 * debian/README.Debian:
1253 Update to reflect configuration changes
1255 * debian/fontconfig.postinst:
1256 Fix Autohint vs Autohinter mistake
1257 * debian/fontconfig.templates:
1258 Adopt changes from Josselin Mouette for configuration descriptions
1259 Update debian to version 2.3.1-2
1261 2005-03-08 Keith Packard <keithp@keithp.com>
1265 Update debian for 2.3.1
1267 2005-03-09 Tor Lillqvist <tml@novell.com>
1269 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1272 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1275 2005-03-08 Keith Packard <keithp@keithp.com>
1279 * fontconfig/fontconfig.h:
1282 2005-03-05 Keith Packard <keithp@keithp.com>
1284 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1285 Include space and remove numbers from valid script tags.
1286 This ensures that tags like 'lao ' work while rejecting
1287 those which have any digits.
1288 Eliminate a spurious debugging variable (len)
1290 2005-03-05 Keith Packard <keithp@keithp.com>
1292 * src/fcfreetype.c: (addtag), (GetScriptTags),
1293 (FcFontCapabilities):
1294 Rework GSUB/GPOS script parsing to survive broken fonts.
1295 Thanks for the broken font go to Manish Singh
1297 2005-03-05 Keith Packard <keithp@keithp.com>
1302 * debian/fontconfig.config:
1303 * debian/fontconfig.templates:
1305 Include 2.3 release information in changelog
1306 Add Josselin Mouette as an Uploader
1307 Set hinting_type to low priority configuration option
1310 * debian/fontconfig.postinst:
1311 yes_bitmaps.conf -> yes-bitmaps.conf
1317 2005-03-02 Keith Packard <keithp@keithp.com>
1320 * conf.d/Makefile.am:
1321 * conf.d/autohint.conf:
1322 * conf.d/no-sub-pixel.conf:
1323 * conf.d/sub-pixel.conf:
1324 * conf.d/unhinted.conf:
1325 * debian/autohint.conf:
1326 * debian/fontconfig.install:
1327 * debian/fontconfig.postinst:
1328 * debian/fontconfig.templates:
1329 * debian/no-sub-pixel.conf:
1330 * debian/unhinted.conf:
1331 Move debian-specific conf file examples upstream.
1333 Sub-pixel configuration examples must smash subpixel value
1334 as Xft always sets it from X.
1336 Change sub-pixel rendering debconf descriptions from
1337 Enable/Disable to Always/Never.
1339 2005-03-02 Keith Packard <keithp@keithp.com>
1342 * conf.d/.cvsignore:
1344 Ignore more build detritus
1347 Add debian package construction stuff.
1349 * config/config.guess:
1350 * config/config.sub:
1351 Update to newer versions of these tools
1354 Get library manuals to build again (we love automake).
1356 * debian/README.Debian:
1357 * debian/autohint.conf:
1362 * debian/fontconfig-udeb.install:
1363 * debian/fontconfig.config:
1364 * debian/fontconfig.defoma:
1365 * debian/fontconfig.dirs:
1366 * debian/fontconfig.install:
1367 * debian/fontconfig.postinst:
1368 * debian/fontconfig.postrm:
1369 * debian/fontconfig.templates:
1370 * debian/libfontconfig1-dev.install:
1371 * debian/libfontconfig1.install:
1372 * debian/local.conf.md5sum:
1373 * debian/no-sub-pixel.conf:
1374 * debian/po/POTFILES.in:
1383 * debian/po/pt_BR.po:
1384 * debian/po/templates.pot:
1386 * debian/po/zh_CN.po:
1388 * debian/unhinted.conf:
1389 Update debian build system to switch maintainers and
1390 deal with 2.3 functionality
1392 2005-03-01 Keith Packard <keithp@keithp.com>
1396 * fontconfig/fontconfig.h:
1399 2005-03-01 Keith Packard <keithp@keithp.com>
1402 Generate and install PDF versions of the manuals
1404 * doc/fcpattern.fncs:
1407 * doc/fcstring.fncs:
1408 Add missing exported functions, fix data types
1410 * doc/fontconfig-devel.sgml:
1411 Add missing pattern elements.
1413 * doc/fontconfig-user.sgml:
1414 Add missing pattern elements. Document conf.d usage,
1415 clarify available orthography list. Fix some config file
1416 attributes. Complete list of constants.
1418 * fontconfig/fontconfig.h:
1419 Mark FC_SOURCE deprecated.
1421 * src/fcfreetype.c: (FcFreeTypeQuery):
1422 Don't set FC_SOURCE any longer.
1424 2005-02-28 Keith Packard <keithp@keithp.com>
1427 * conf.d/Makefile.am:
1429 * conf.d/no-bitmaps.conf:
1430 * conf.d/sub-pixel.conf:
1431 * conf.d/yes-bitmaps.conf:
1433 Create prototype /etc/fonts/conf.d directory with a few
1434 sample configuration files.
1435 Deprecate use of local.conf for local customizations in favor of
1436 this directory based scheme which is more easily integrated into
1437 installation systems.
1440 Tag FC_EMBOLDEN as a boolean variable
1442 2005-02-10 Keith Packard <keithp@keithp.com>
1444 reviewed by: pborelli@katamail.com
1446 * src/fcdir.c: (FcFileScanConfig):
1447 Free patterns from fonts which are rejected by configuration
1450 2005-01-28 Keith Packard <keithp@keithp.com>
1454 * fontconfig/fontconfig.h:
1455 Update for version 2.2.99
1457 2005-01-28 Keith Packard <keithp@keithp.com>
1460 Add a few pointers (#2284, #2285)
1462 2005-01-28 Keith Packard <keithp@keithp.com>
1465 * src/fcname.c: (FcNameBool):
1466 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1467 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1468 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1469 Polite typechecking for test and edit expressions. Helps
1470 catch errors in the font configuration. (bug 229)
1472 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1474 reviewed by: Keith Packard <keithp@keithp.com>
1477 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1479 2005-01-13 Keith Packard <keithp@keithp.com>
1481 * doc/fontconfig-user.sgml:
1482 Add SEE ALSO section (bug 2085)
1484 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1486 reviewed by: Keith Packard <keithp@keithp.com>
1491 * fc-case/Makefile.am:
1492 * fc-glyphname/Makefile.am:
1493 * fc-lang/Makefile.am:
1494 * src/fontconfig.def.in:
1495 Cross compiling fixes (bug 280)
1497 2005-01-13 Keith Packard <keithp@keithp.com>
1500 Update blanks list (Closes bug 86)
1502 2005-01-04 Keith Packard <keithp@keithp.com>
1504 * src/fccache.c: (FcCacheFontSetAdd):
1505 Verify that every font pattern loaded from cache has
1506 both FC_FILE and FC_FAMILY entries.
1507 Attempt to fix bug #2219.
1509 2004-12-29 Keith Packard <keithp@keithp.com>
1513 * fontconfig/fontconfig.h:
1514 Update for version 2.2.98
1516 2004-12-29 Keith Packard <keithp@keithp.com>
1518 * fontconfig/fontconfig.h:
1519 Document ASCII limitations of Fc character conversion macros
1520 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1521 Fix off-by-one error in utf-8 case walking code.
1522 Add FcStrDowncase (useful for testing case conversion functions)
1524 2004-12-29 Keith Packard <keithp@keithp.com>
1527 * fc-case/.cvsignore:
1528 clean up CVS ignore lists
1529 * fc-lang/iso-3166.txt:
1530 Add territory database
1532 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1534 Reviewed by: Keith Packard
1537 Remove Han characters from Korean orthography
1539 2004-12-29 Keith Packard <keithp@keithp.com>
1542 Reorder utility programs to make sure fc-case is run before fc-lang
1543 as fc-lang uses fcstr.c which uses fccase.h
1547 2004-12-29 Keith Packard <keithp@keithp.com>
1550 Adopt some RedHat suggestions for standard font configuration.
1554 * fc-case/CaseFolding.txt:
1555 * fc-case/Makefile.am:
1556 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1557 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1558 (dump), (parseRaw), (caseFoldReadRaw), (main):
1559 * fc-case/fccase.tmpl.h:
1560 Add new helper program 'fc-case' to construct case folding
1561 tables from standard Unicode CaseFolding.txt file
1564 * src/fclist.c: (FcListValueHash):
1565 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1566 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1567 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1568 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1569 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1570 Re-implement case insensitive functions with Unicode
1571 aware versions (including full case folding mappings)
1573 2004-12-13 Keith Packard <keithp@keithp.com>
1575 reviewed by: Owen Taylor <otaylor@redhat.com>
1577 * src/fcmatch.c: (FcFontSetSort):
1578 I changed FcFontSetSort to respect the generic aliases better
1579 in the face of language matching.
1581 What I did was to ammend the strict sort order used by FcFontSort so
1582 that it 'satisfies' the language specified in the pattern by locating
1583 the best matching font supporting each pattern language and then
1584 ignores language in the remaining fonts for purposes of matching.
1586 So, when asking for 'sans:lang=en', you'll get an English font first,
1587 and then the remaining fonts sorted with respect to the 'sans' alias
1588 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1590 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1592 reviewed by: Keith Packard <keithp@keithp.com>
1594 * fontconfig/fontconfig.h:
1597 Configuration changes to request synthetic emboldening of
1598 fonts. The actual emboldening code will live in Xft.
1600 2004-12-09 John Thacker <thacker@math.cornell.edu>
1602 reviewed by: Keith Packard <keithp@keithp.com>
1606 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1607 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1608 и), and don't even appear in KOI8-R. (The hypothesis that they
1609 don't appear in KOI8-R due to their similarity with Latin I and i is
1610 eliminated by their presence in KOI8-U.) I have a couple of fonts
1611 with Russian support that don't have the letter.
1613 Therefore, 0406 and 0456 should be removed from or commented out of
1616 2004-12-06 michael meeks <mmeeks@novell.com>
1618 Reviewed by: Keith Packard <keithp@keithp.com>
1620 * src/fcinit.c: (FcMemReport):
1622 * src/fclist.c: (FcObjectSetAdd):
1623 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1624 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1625 * src/fcxml.c: (FcParsePatelt):
1626 memoize strings and share a single copy for all uses. Note that
1627 this could be improved further by using statically allocated blocks
1628 and gluing multiple strings together, but I'm basically lazy.
1629 In my environment with 800 font files, I get a savings of about 90KB.
1631 2004-12-06 Keith Packard <keithp@keithp.com>
1635 * config/Makedefs.in:
1638 * doc/fcatomic.fncs:
1639 * doc/fcblanks.fncs:
1640 * doc/fccharset.fncs:
1641 * doc/fcconfig.fncs:
1642 * doc/fcconstant.fncs:
1644 * doc/fcfontset.fncs:
1645 * doc/fcfreetype.fncs:
1647 * doc/fcmatrix.fncs:
1648 * doc/fcobjectset.fncs:
1649 * doc/fcobjecttype.fncs:
1650 * doc/fcpattern.fncs:
1651 * doc/fcstring.fncs:
1652 * doc/fcstrset.fncs:
1654 * doc/fontconfig-devel.sgml:
1655 * doc/fontconfig-user.sgml:
1657 * doc/version.sgml.in:
1658 * fc-cache/Makefile.am:
1659 * fc-cache/fc-cache.c:
1660 * fc-glyphname/Makefile.am:
1661 * fc-glyphname/fc-glyphname.c:
1662 * fc-glyphname/fcglyphname.tmpl.h:
1663 * fc-lang/Makefile.am:
1673 * fc-lang/az_ir.orth:
1707 * fc-lang/fc-lang.c:
1708 * fc-lang/fc-lang.man:
1709 * fc-lang/fclang.tmpl.h:
1754 * fc-lang/ku_ir.orth:
1787 * fc-lang/ps_af.orth:
1788 * fc-lang/ps_pk.orth:
1817 * fc-lang/ti_er.orth:
1818 * fc-lang/ti_et.orth:
1844 * fc-lang/zh_cn.orth:
1845 * fc-lang/zh_hk.orth:
1846 * fc-lang/zh_mo.orth:
1847 * fc-lang/zh_sg.orth:
1848 * fc-lang/zh_tw.orth:
1850 * fc-list/Makefile.am:
1851 * fc-list/fc-list.c:
1852 * fc-match/Makefile.am:
1853 * fc-match/fc-match.1:
1854 * fc-match/fc-match.c:
1855 * fontconfig/fcfreetype.h:
1856 * fontconfig/fcprivate.h:
1857 * fontconfig/fontconfig.h:
1878 Change files from ISO-Latin-1 to UTF-8
1880 2004-12-04 Keith Packard <keithp@keithp.com>
1883 Update links to new freedesktop.org locations
1885 Add uninstall-local to get rid of fonts.conf and local.conf if they
1886 match the distributed versions. Fixes 'make distcheck'
1888 2004-12-04 Keith Packard <keithp@keithp.com>
1892 * fontconfig/fontconfig.h:
1893 Updates for version 2.2.97
1895 2004-12-04 Owen Taylor <otaylor@redhat.com>
1897 reviewed by: Keith Packard <keithp@keithp.com>
1899 * fc-cache/fc-cache.c: (main):
1900 Sleep for two seconds before exiting to make sure timestamps
1901 for future changes have distinct mod times in the file system.
1904 Add Punjabi orthography. Bug #1671.
1906 2004-12-04 Keith Packard <keithp@keithp.com>
1909 Just remove the FC_FONTDATE -- it has locale issues and
1910 annoys redhat multi-arch installs. Now that all X fonts are
1911 included without prejudice, the chances of the date being at
1912 all interesting are rather limited. Bug #505.
1914 Add copyright and license
1916 2004-12-04 Keith Packard <keithp@keithp.com>
1919 Change default set of fonts to include all of
1920 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1921 * doc/fontconfig-user.sgml:
1922 Document new <include>directory-name</include> semantics
1924 add <include ignore_missing="yes">conf.d</include>
1926 Add selectfont to ignore bitmap fonts, add comment for
1927 selectfont which accepts bitmap fonts.
1930 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1931 Allow <include> configuration elements to reference directories.
1932 Parse and load all files of the form [0-9]* in sorted order.
1934 2004-12-04 Keith Packard <keithp@keithp.com>
1937 Report command line for $srcdir/configure accurately.
1940 2004-12-04 Keith Packard <keithp@keithp.com>
1942 * src/fcfreetype.c: (FcFreeTypeQuery):
1943 Check for non-empty face->family_name and face->style_name
1944 before using those for the font. Empty names match everything.
1947 2004-12-04 Keith Packard <keithp@keithp.com>
1950 * fontconfig/fontconfig.h:
1951 * src/fcfreetype.c: (FcFreeTypeQuery):
1953 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1954 available. This provides font file format information (BDF, Type 1,
1955 PCF, TrueType) for each font. Closes #109.
1957 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1959 reviewed by: Keith Packard <keithp@keithp.com>
1961 * doc/fontconfig-user.sgml:
1964 * fontconfig/fontconfig.h:
1965 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1966 (GetScriptTags), (FcFontCapabilities):
1968 Add detection for font capabilities (bug #105)
1970 2004-12-04 Keith Packard <keithp@keithp.com>
1973 Move existing fonts.conf to fonts.conf.bak
1976 Add detection of iconv
1978 * doc/fcpattern.fncs:
1979 * doc/fontconfig-devel.sgml:
1980 * doc/fontconfig-user.sgml:
1982 Document new selectfont elements
1985 Switch to UTF-8 in comment
1987 * fontconfig/fontconfig.h:
1989 Add fullname, and family/style/fullname language entries
1991 * src/fccache.c: (FcCacheFontSetAdd):
1992 * src/fcdir.c: (FcFileScanConfig):
1993 Respect selectfont/*/glob
1996 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1997 (FcConfigCompareValue), (FcConfigPatternsAdd),
1998 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1999 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2000 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2001 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2002 Add support for selectfont
2004 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2005 (FcStringInPatternElement), (FcFreeTypeQuery):
2006 Add multi-lingual family/style/fullname support
2008 * src/fclist.c: (FcListPatternMatchAny):
2009 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2011 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2012 (FcObjectStaticName):
2013 Add new FcPatternRemove/FcPatternAppend.
2014 FcObjectStaticName stores computed pattern element names which
2015 are required to be static.
2017 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2022 Remove spurious / after $(DESTDIR)
2024 2004-06-30 Keith Packard <keithp@keithp.com>
2028 * fontconfig/fontconfig.h:
2031 2004-06-30 Keith Packard <keithp@keithp.com>
2033 Provided by: Lubos Lunak <l.lunak@suse.cz>
2035 * src/fccfg.c: (FcConfigUptoDate):
2036 However FcConfigUptoDate() doesn't seem to work. See the attached
2037 patch. First there's an obvious misplaced parenthesis making it
2038 return always false, and second, even this call fails to detect font
2039 changes (e.g. adding a new font to
2040 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2041 well. The problem seems to be triggered by my fonts.conf specifying
2042 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2043 doesn't include subdirs, unlike config->fontDirs.
2045 2004-06-03 Keith Packard <keithp@keithp.com>
2047 * fontconfig/fontconfig.h:
2048 Remove comma at end of FcResult enum definition.
2050 2004-05-29 Keith Packard <keithp@keithp.com>
2053 Add steps to md5sum release
2055 2004-05-29 Keith Packard <keithp@keithp.com>
2059 * fontconfig/fontconfig.h:
2062 2004-05-29 Keith Packard <keithp@keithp.com>
2064 * fontconfig/fontconfig.h:
2065 * src/fcmatch.c: (FcFontSetMatch):
2066 Add FcResultOutOfMemory to provide an accurate error when
2067 FcFontSetMatch fails in this way
2070 Make #warning about lacking various FreeType features indicate
2071 which version those features appeared so users know how to
2072 fix the problem (Thanks to Anton Tropashko)
2074 2004-05-05 Keith Packard <keithp@keithp.com>
2076 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2077 Replace MIN/MAX/ABS macros which happen to have come
2078 from FreeType with fontconfig-specific ones (FC_*)
2080 2004-04-23 Keith Packard <keithp@keithp.com>
2083 Extend release preparation instructions to include
2084 notification and distribution steps
2086 2004-04-23 Keith Packard <keithp@keithp.com>
2090 * fontconfig/fontconfig.h:
2091 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2093 2004-04-23 Keith Packard <keithp@keithp.com>
2096 Ignore a few more autotool files
2098 2004-04-14 Keith Packard <keithp@keithp.com>
2101 Add instructions for doing a release
2103 * fontconfig.spec.in:
2104 clean up .spec file; perhaps this will be useful to somebody...
2108 * fontconfig/fontconfig.h:
2111 * fc-lang/fc-lang.c:
2112 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2114 * fc-glyphname/Makefile.am:
2115 * fc-lang/Makefile.am:
2116 * fc-list/Makefile.am:
2117 * fc-match/Makefile.am:
2119 Add WARN_CFLAGS to pass -W flags for GCC systems
2121 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2122 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2123 Change various char types around to match across
2125 Fixed bug in using available_sizes[i].height which
2126 is in pixels, not 64ths of a pixel.
2128 2004-03-06 Keith Packard <keithp@keithp.com>
2130 * src/fcfreetype.c: (FcFreeTypeQuery):
2131 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2132 matches looking for explicit values prefer exact matches
2134 2004-03-02 Keith Packard <keithp@keithp.com>
2136 Supplied by: mfabian@suse.de (Mike FABIAN)
2138 * src/fcfreetype.c: (FcFreeTypeQuery):
2139 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2140 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2142 2004-02-21 Manish Singh <yosh@gimp.org>
2144 * fc-glyphname/fc-glyphname.c: (main):
2145 Cast strlen to int for printf, so we're 64-bit clean.
2147 2004-02-11 Keith Packard <keithp@keithp.com>
2150 * src/fcfreetype.c: (FcGetPixelSize):
2151 Ok, so I messed up the test for y_ppem. Let's see if I
2152 got it right this time.
2154 2004-02-10 Keith Packard <keithp@keithp.com>
2157 * src/fcfreetype.c: (FcGetPixelSize):
2158 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2159 FT_Bitmap_Size record. Add a configure.in test for this
2160 and change the code accordingly (using height instead).
2162 2004-02-06 Keith Packard <keithp@keithp.com>
2165 Add Low Saxon orthography
2166 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2168 * src/fccfg.c: (FcConfigNewestFile):
2169 Oops. Left 'newest.set' unset, which would miscompute
2172 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2173 (FcFreeTypeCheckGlyph):
2174 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2175 font properties (which report the wrong value in current FreeType)
2177 Don't attempt to check for empty glyphs in non-scalable fonts; they
2180 2004-02-01 Tor Lillqvist <tml@iki.fi>
2182 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2183 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2184 cache if config->cache is NULL, which happens if FcConfigHome() is
2185 NULL. Guard against that by using the temp folder in that case.
2187 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2189 * fc-lang/az_ir.orth:
2190 * fc-lang/ku_ir.orth:
2191 * fc-lang/ps_af.orth:
2192 * fc-lang/ps_pk.orth:
2193 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2194 (Afghan and Pakistani).
2196 Updated Urdu orthography with real data.
2198 2003-12-11 Carl Worth <cworth@east.isi.edu>
2200 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2203 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2205 (all-local): Remove excessive whitespace.
2207 * autogen.sh: Add 'set -e' to abort when any program fails,
2208 (avoids printing of 'now type make' after configure aborts).
2210 2003-11-17 Eric Christopherson <rakko@charter.net>
2212 reviewed by: Keith Packard <keithp@keithp.com>
2215 * fontconfig/fcfreetype.h:
2217 Switch to FreeType 2.1.7 style includes. Bug #150.
2219 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2221 * fc-list/fc-list.sgml: Add some example usages.
2223 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2226 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2229 2003-10-27 Keith Packard <keith@keithp.com>
2232 * fontconfig/fontconfig.h:
2233 Update to version 2.2.92
2235 2003-10-27 Keith Packard <keithp@keithp.com>
2240 * fc-cache/Makefile.am:
2241 * fc-glyphname/Makefile.am:
2242 * fc-lang/Makefile.am:
2243 * fc-list/Makefile.am:
2244 * fc-match/Makefile.am:
2247 Yet more cleanups to finish getting 'make distcheck' working
2248 This has been tested to ensure that it even works from a _build
2251 2003-10-26 Keith Packard <keithp@keithp.com>
2255 * fc-cache/Makefile.am:
2256 * fc-glyphname/Makefile.am:
2257 * fc-lang/Makefile.am:
2258 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2259 * fc-list/Makefile.am:
2260 * fc-match/Makefile.am:
2261 Attempts to fix 'make distcheck' work. Things are
2262 progressing pretty well, but there are still failures
2263 long into the process dealing with docs (as always).
2265 The big changes here are mostly to make $(srcdir) != "."
2266 work correctly, fixing the docbook related sections and
2267 fc-lang were particularily tricky. Docbook refuses to load
2268 system entities from anywhere other than where the original .sgml
2269 file was located, so no luck looking in "." for the
2270 configure-generated version.sgml and confdir.sgml files.
2272 fc-lang needed help finding .orth files; added a -d option
2273 to set the directory as the least evil of many options.
2275 Now to go use a faster machine and try and wring out the last
2278 2003-10-26 Keith Packard <keithp@keithp.com>
2282 2003-10-26 Keith Packard <keithp@keithp.com>
2285 Include confdir.sgml.in in EXTRA_DIST
2287 2003-10-09 Josselin Mouette <joss@debian.org>
2289 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2290 * fc-list/fc-list.sgml fc-list/Makefile.am:
2291 Replace fc-cache and fc-list manpages with more detailed, SGML
2294 2003-09-23 Owen Taylor <otaylor@redhat.com>
2296 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2297 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2298 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2301 2003-09-23 Owen Taylor <otaylor@redhat.com>
2303 * fc-lang/ka.orth: Remove Georgian capitals, they
2304 aren't used for normal writing. (Bug #116)
2306 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2308 * doc/fontconfig-devel.sgml:
2309 * doc/fontconfig-user.sgml:
2310 * fontconfig/fontconfig.h:
2312 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2313 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2315 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2316 monospace and dual-width fonts, allow roughly a 3% variance in the
2319 2003-08-31 Manish Singh <yosh@gimp.org>
2321 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2324 2003-08-15 Carl Worth <cworth@isi.edu>
2326 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2327 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2329 * src/fcpat.c (FcValueListEntDestroy): New function to support
2330 FcFini memory cleanup. Some statistics are not kept in
2332 (FcValueListFreeze): Move hashTable outside this function so it
2333 can be accessed by FcValueListThawAll.
2334 (FcValueListThawAll): New function complements FcValueListFreeze.
2335 (FcPatternBaseFreeze): Move hashTable outside this function so it
2336 can be accessed by FcPatternBaseThawAll.
2337 (FcPatternBaseThawAll): New function complements
2338 FcPatternBaseFreeze.
2339 (FcPatternThawAll): New function complements FcPatternFreeze.
2341 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2343 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2344 allocated FcCharLeafEnt "blocks" so they can be freed later.
2345 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2346 can be accessed by FcCharSetThawAllLeaf.
2347 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2348 (FcCharSetFreezeBase): Move hashTable outside this function so it
2349 can be accessed by FcCharSetThawAll.
2350 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2352 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2353 (FcConfigDestroy): Fic leak of FcBlanks.
2355 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2356 (main): Add call to FcFini when finished.
2358 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2359 static. Add prototypes.
2361 * doc/fcinit.fncs: Add documentation for FcFini function.
2363 * doc/edit-sgml.c: Mark several local functions as static. Add
2366 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2368 2003-06-15 Tor Lillqvist <tml@iki.fi>
2370 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2371 before comparing (needed on Windows).
2373 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2375 2003-06-13 Tor Lillqvist <tml@iki.fi>
2377 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2380 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2381 WINDOWSFONTDIR token.
2383 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2384 end, not to confuse libtool, which expects the EXPORTS line to be
2385 the first. Add FcConfigEnableHome.
2387 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2388 built as a DLL on Win32.
2390 2003-06-09 Keith Packard <keithp@keithp.com>
2392 * Tag version 2.2.90
2394 2003-06-09 Keith Packard <keithp@keithp.com>
2396 * Optimization in FcLangSetIndex was broken, occasionally
2397 returning a pointer to the wrong location on miss
2399 * Add fc-match to test font matching from the command line.
2401 2003-05-31 Keith Packard <keithp@keithp.com>
2403 * (Bug 85) add support for culmus fonts
2404 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2405 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2407 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2409 * Fix "contains" op for strings and langsets.
2411 2003-05-17 Keith Packard <keithp@keithp.com>
2413 * Fix build error with BDF prop local. Free langset after query
2415 2003-05-14 Keith Packard <keithp@keithp.com>
2417 * Extract spacing from XLFD atom
2419 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2421 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2422 disappeared in 1.30.
2424 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2426 2003-05-12 Keith Packard <keithp@keithp.com>
2428 * Use FcIsWidth to share code
2430 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2431 misclassifying some Han fonts as monospaced.
2433 2003-05-07 Keith Packard <keithp@keithp.com>
2435 * Add filename-based accept/reject to ammend available fonts.
2437 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2438 older FreeType releases.
2440 2003-05-06 Keith Packard <keithp@keithp.com>
2442 * Remove 0b82 and Tamil numbers from tamil
2443 orthography (Jungshik Shin <jshin@mailaps.org>)
2445 2003-05-04 Keith Packard <keithp@keithp.com>
2447 + Map glyph names in fonts with adobe custom encoding to unicode
2449 2003-05-02 Keith Packard <keithp@keithp.com>
2451 * Add FC_WEIGHT_BOOK as weight 75
2453 2003-04-30 Keith Packard <keithp@keithp.com>
2455 * Typo in bitstream foundry name
2457 2003-04-24 Keith Packard <keithp@keithp.com>
2459 * Eliminate italic_angle check for PS fonts
2461 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2463 * Getting closer to fixing /etc/fonts hard-coding.
2465 2003-04-22 Keith Packard <keithp@keithp.com>
2467 * Update autogen.sh to work with newer automake versions
2468 * Handle pattern elements moving during multiple edits
2470 2003-04-23 James Henstridge <james@daa.com.au>
2472 * doc/fontconfig-devel.sgml: close the <para> element.
2474 * doc/fcpattern.fncs: close the <para> element.
2476 * doc/func.sgml: close the <refsynopsisdiv> element.
2478 2003-04-22 Keith Packard <keithp@keithp.com
2480 * Update autogen.sh to work with newer automake versions
2481 * Handle pattern elements moving during multiple edits
2483 2003-04-17 Colin Walters <walters@debian.org>
2485 + Remove some unused variables, and initialize some other ones so
2486 gcc doesn't warn us.
2488 2003-04-16 Keith Packard <keithp@keithp.com>
2490 + tag version 2.1.94
2492 2003-04-16 Keith Packard <keithp@keithp.com>
2494 + add BDF property fetching support for foundry
2495 (from Juliusz Chroboczek)
2496 + add BDF property fetching support for width
2498 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2500 + Implemented foundry generation for Type 1 and TrueType
2502 2003-04-11 Gerard Escalante <g2@magestudios.net>
2504 + Retrieve information from Type1 FontInfo dictionaries
2506 2003-04-07 Colin Walters <walters@verbum.org>
2508 + src/Makefile.am: Fix dummy makefile target names when
2509 MS_LIB_AVAILABLE isn't set.
2511 2003-03-22 Tor Lillqvist <tml@iki.fi>
2513 Changes for Windows:
2515 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2517 + We don't want to hardcode the fonts.conf file location in the
2518 DLL, so we look up the DLL location at run-time in a DllMain()
2519 function. The fonts.conf location is deduced from that.
2521 + The colon can't be used as path separator on Windows,
2522 semicolon is used instead. File path components can be separated
2523 with either slash or backslash. Absolute paths can also begin
2524 with a drive letter.
2526 + Add internal function FcStrLastSlash that strrchr's the last
2527 slash, or backslash on Windows.
2529 + There is no link() on Windows. For atomicity checks, mkdir a
2530 lock directory instead.
2532 + In addition to HOME, also look for USERPROFILE.
2534 + Recognize the special font directory token WINDOWSFONTDIR, to
2535 use the system's font directory.
2537 + Remove the fontconfig-def.cpp that was obsolete. Add
2538 fontconfig.def(.in), without internal functions.
2540 + Add a fontconfig-zip(.in) script, used to build a binary
2543 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2544 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2545 to main package and man3/* to devel package
2547 + Added missing defattr(-, root, root) to main RPM package
2549 + Added HTML and text development documentation to -devel subpackage
2551 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2552 + Added back the configure macro options --disable-docs, otherwise
2553 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2554 version number) unconditionally, causing RPM to fail the build due
2555 to _unpackaged_files_terminate_build. We pick up the pregenerated
2556 docs with %doc already.
2558 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2559 + Removed commented out rpm macro define at top of spec file,
2560 replacing it with a simple explanation, since rpm macros are
2561 expanded by rpm even in comments.
2563 + Changed /usr/bin to _bindir in BuildRequires lines
2565 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2567 + Reorganized file manifest lists
2569 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2571 + fontconfig.spec.in: Improvements from Red Hat spec file.
2573 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2575 + docs/*.sgml: SGML fixes.
2577 Sat Mar 1 17:28:53 PST 2003 keithp
2578 + Ok, so the ChangeLog is a bit out of date
2580 + Lots of bugs fixed; most are in bugzilla, the
2581 biggest problems were in cache management where
2582 Owen discovered the library would lose badly when
2583 combining fonts-cache and ~/.fonts-cache data
2585 + Converted from autoconf to automake. This after
2586 getting patches accepted into libtool to allow
2587 the '-version-number' argument which lets
2588 packages set version numbers explicitly rather
2589 than the roundabout libtool way
2591 + Converted documentation to SGML using the docbook
2592 DTD. Now .txt and .html documents are installed
2593 in /usr/share/doc/fontconfig and there's no
2594 man page. Perhaps a man version can be written
2597 Sat Aug 31 15:21:22 PDT 2002 keithp
2598 + Xrender and Xft had several bugs related to
2599 rendering manually placed or poly-face text
2601 + Added more complete memory tracing in fontconfig
2602 Checked with (patched) mozilla and found no leaks
2604 + Updated Latin orthographies by comparing those from
2605 evertype.com with those from eki.ee. Tried to make
2606 sensible choices, including chars that occured in both
2607 and leaving some optional chars out that occured only
2610 Mon Aug 26 16:33:04 PDT 2002 keithp
2611 + Owen discovered that FcLangSetHasLang wasn't actually
2612 checking the language set.
2614 Mon Aug 26 13:37:23 PDT 2002 keithp
2615 + Append a version number to cache filenames
2617 Thu Aug 22 11:36:18 PDT 2002 keithp
2619 + Add "contains" and "not_contains" operators and elements to
2622 + Changed semantics of eq operator for LangSets to check for
2623 FcLangEqual so that any match will do
2625 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2626 of FcValueEqual to check for identical values when inserting into
2627 the results. This broke when the above semantic change was made,
2628 now it uses FcValueEqual which is "more correct" in any case.
2630 Thu Aug 22 00:32:29 PDT 2002 keithp
2632 + Reimplement FC_LANG as new datatype. Lists of strings
2633 was consuming over a megabyte of memory for 401 fonts.
2635 + Freeze patterns loaded from cache files. This shares
2636 common value lists and common patterns which saves
2637 considerable memory.
2639 + Change the denotation of 'constant' charsets to use special
2640 ref value instead of separate boolean.
2642 + Clean up leak tracing stuff, found several unannoted alloc/free
2645 Tue Aug 20 16:17:37 PDT 2002 keithp
2647 + Fix memory leak when parsing matrices from XML
2649 Mon Aug 19 11:57:27 PDT 2002 keithp
2651 + Fix autoconf files to pass FONTCONFIG_PATH on
2652 compile line so that ${prefix} gets substituted
2655 + Use getc_unlocked/putc_unlocked on systems that
2656 provide them to avoid damage done to stdio by posix
2658 + Eliminate FC_PATTERN and FcTypePattern in favor of
2659 an extended api for FcConfigSubstitute which takes
2660 both the font and the pattern.
2662 + Add 'sans serif' alias for 'sans-serif' as some apps
2663 can't handle hyphens in family names
2665 + Eliminate pretense of support for libxml2
2667 + Comment origins of Han orthographies
2669 Tue Jul 30 18:37:09 PDT 2002 keithp
2671 + Add binding property to edit element so that strong
2672 binding values may be inserted by the config file.
2673 The default remains weak.
2675 Sun 28 Jul 04:16:55 PDT 2002 keithp
2677 + Tagged release candidate 1 in the CVS tree and
2678 placed fcpackage.rc1.tar.gz for distribution
2680 Thu Aug 1 08:55:08 PDT 2002 keithp
2682 + Fixed autoconf builds to always specify install
2683 target files (for BSD). Also fixed to
2684 define FONTCONFIG_PATH in config.h so that
2685 nonstandard installs will actually work.