1 2006-02-06 Takashi Iwai <tiwai@suse.de>
3 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
4 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
5 FcGlobalCacheSave, FcCacheReadDirs):
8 Skip subdirs when skipping over stale bits of global cache.
9 Introduce state machine into FcGlobalCacheDir to avoid
10 doing inappropriate operations on global dir entries, e.g.
11 writing out an out-of-date cache entry.
13 2006-02-06 Takashi Iwai <tiwai@suse.de>
15 * src/fcdir.c (FcFileScanConfig):
17 Hoist FcFileIsDir check out of FcFileScanConfig loop.
19 2006-02-06 Takashi Iwai <tiwai@suse.de>
22 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
23 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
25 Don't rescan when trying to normalize a non-declared font dir.
26 Don't add font dirs multiple times (even if they're aliased).
28 2006-02-06 Dirk Mueller <dmueller@suse.de>
31 * src/fcfs.c (FcFontSetUnserialize):
33 Explain apples/oranges comparison and fix compilation error.
35 2006-02-06 Dirk Mueller <dmueller@suse.de>
38 * src/fcfs.c (FcFontSetUnserialize):
40 Insert check for integer overflow in # of fonts.
42 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
46 * fc-cache/Makefile.am:
48 * fc-list/Makefile.am:
50 Make 'make distcheck' work with automake 1.6.3.
52 2006-02-03 Takashi IWAI <tiwai@suse.de>
55 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
58 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
59 FcDirCacheConsume, FcDirCacheWrite)
60 * src/fcxml.c (FcConfigMessage):
62 Check I/O call return values and eliminate unused variable
65 2006-02-03 Takashi Iwai <tiwai@suse.de>
68 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
72 2006-02-03 Dirk Mueller <dmueller@suse.de>
75 * src/fcfs.c (FcFontSetUnserialize):
77 Gracefully handle the case where a cache asserts that it
78 has a negative number of fonts, causing overflow.
80 2006-02-03 Patrick Lam <plam@mit.edu>
81 * src/fccache.c (FcDirCacheUnlink):
83 Fix double free in error case.
85 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
86 Stephan Kulow <coolo@suse.de>
89 * fc-cache/Makefile.am:
91 Replace 'stamp' target with mkinstalldirs.
93 2006-01-31 Mike Fabian <mfabian@suse.de>
96 * src/fccache.c (FcGlobalCacheLoad):
98 Toast broken global cache files.
100 2006-01-30 Patrick Lam <plam@mit.edu>
101 * src/fccache.c (FcGlobalCacheReadDir):
103 Actually use the directories that I added to the global cache.
106 2006-01-30 Mike Fabian <mfabian@suse.de>
109 * fc-cache/fc-cache.c (scanDirs):
111 Don't stop scanning if a directory in fonts.conf doesn't
112 exist, because subsequent directories might exist.
114 2006-01-30 Patrick Lam <plam@mit.edu>
115 * src/fccache.c (FcGlobalCacheLoad):
117 Make global cache work again after putting dir names into global
118 cache (I misplaced the recording of a file offset).
120 2006-01-30 Patrick Lam <plam@mit.edu>
121 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
123 Update fc-cat to handle subdir lists in global cache file.
125 * src/fccache.c (FcGlobalCacheLoad):
127 Another FcCacheReadString return value check.
129 2006-01-30 Mike Fabian <mfabian@suse.de>
132 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
133 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
135 Make fccache more resilient to broken cache files by checking
136 return value of FcCacheReadString all the time.
138 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
141 * fc-match/fc-match.1:
142 * fc-lang/fc-lang.man:
144 Remove references to dead fontconfig(3) manpages in
145 other fontconfig manpages.
147 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
150 * doc/fcpattern.fncs:
152 Fix world's tiniest typo in code example.
154 2006-01-29 Mike Fabian <mfabian@suse.de>
157 * src/fccache.c (FcGlobalCacheReadDir):
159 Fix global cache reads of subdirectories.
161 2006-01-29 Patrick Lam <plam@mit.edu>
163 Add documentation for FcConfigNormalizeFontDir.
165 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
166 FcGlobalCacheUpdate, FcGlobalCacheSave):
167 * src/fcdir.c (FcDirScanConfig):
170 Write directory information to global caches to fix make check
171 (reported by Ronny V. Vindenes). This changes the global cache
174 2006-01-27 Patrick Lam <plam@mit.edu>
175 * fc-cache/fc-cache.c (scanDirs):
176 * fontconfig/fontconfig.h:
178 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
180 Move FcConfigNormalizeFontDir call so that it doesn't result in
181 infinite recursion (reported by Ronny V. Vindenes).
183 2006-01-26 Patrick Lam <plam@mit.edu>
184 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
185 * src/fccfg.c (FcConfigNormalizeFontDir):
187 Add a couple of missing normalizations to make fc-cache work
188 right; only scan subdirectories once.
190 2006-01-26 Mike Fabian <mfabian@suse.de>
193 * src/fcacache.c (FcGlobalCacheReadDir):
195 Don't crash on non-existant directories in global cache.
197 2006-01-26 Patirck Lam <plam@mit.edu>
198 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
199 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
200 * src/fcdir.c (FcDirScanConfig):
201 * src/fcxml.c (FcEndElement):
203 Stop trampling the directory name when writing out caches.
204 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
205 subdirs when necessary. Don't scan directories that can't be
208 2006-01-25 Patrick Lam <plam@mit.edu>
209 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
210 * src/fccfg.c (FcConfigEvaluate):
211 * src/fcfreetype.c (FcPatternAddWithBinding):
213 Fix additional memory leaks reported by Ronny V. Vindenes: don't
214 invoke FcValueSave on hashed static strings in
215 FcPatternAddWithBinding.
217 Add another st_dev check in FcDirCacheOpen.
219 2006-01-24 James Su <james.su@gmail.com>
222 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
223 * fc-lang/zh_hk.orth:
225 Treat zh-hk fonts differently from zh-tw fonts. This patch may
226 cause fontconfig to treat A-X fonts differently from A-Y fonts;
227 please mail the fontconfig list if this causes any problems.
229 2006-01-24 Patrick Lam <plam@mit.edu>
230 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
231 * src/fcfreetype.c (FcFreeTypeQuery):
233 Fix memory leaks reported by Ronny V. Vindenes.
235 2006-01-19 Andreas Schwab <schwab@suse.de>
238 * src/fcpat.c (FcStrNeededBytes):
240 Fix for unaligned memory accesses.
242 2006-01-18 Mike Fabian <mfabian@suse.de>
245 * src/fcdir.c (FcDirScanConfig):
247 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
248 calls to avoid crashes.
250 2006-01-14 Patrick Lam <plam@mit.edu>
251 * src/fccache.c (FcDirCacheConsume):
253 Fix segfault when consuming zero-length caches in fc-cat
254 (which has no config, so FcConfigAddFontDir shouldn't be called.)
256 2006-01-14 Patrick Lam <plam@mit.edu>
257 * fc-cache/fc-cache.c (scanDirs):
258 * fontconfig/fontconfig.h:
259 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
260 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
261 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
262 * src/fcdir.c (FcDirScanConfig):
265 Compare device numbers as well as inodes.
266 Always normalize directory names before comparing them.
268 2006-01-11 Mike Fabian <mfabian@suse.de>
271 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
273 Allocate extra space for appended '/' in directory name.
275 2006-01-10 Patrick Lam <plam@mit.edu>
276 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
277 FcDirCacheValid, FcDirCacheHasCurrentArch,
278 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
279 * fc-cache/fc-cache.c (main):
281 Explicitly add font dirs to config.fontDirs even if they're empty.
282 Set current config in fc-cache.c.
283 Fix treatment of cache directory as read from cache file; don't
284 use string equality to determine if we have the right file,
287 2006-01-09 Patrick Lam <plam@mit.edu>
288 * fc-cache/fc-cache.c (scanDirs):
289 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
290 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
291 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
292 * src/fccfg.c (FcConfigNormalizeFontDir):
293 * src/fcdir.c (FcDirScanConfig):
296 Normalize font dirs by using the form, as given in fonts.conf, and
297 recorded in FcConfig's fontDirs string set, as canonical.
299 Actually update config.fontDirs as font directories are scanned.
301 2006-01-08 James Su <james.su@gmail.com>
302 * src/fcmatch.c (FcFontSetMatch):
304 Fix matching bug when multiple elements match; don't use
305 the sum of all scores, but the best score.
307 Also more perf opts, e.g. evaluate best over all font sets
308 rather than on a per-set basis (and other changes).
310 2006-01-08 Patrick Lam <plam@mit.edu>
311 * src/fccache.c (FcDirCacheConsume):
313 Properly skip past dir caches that contain zero fonts (as occurs
314 in global caches.) Reported by Mike Fabian.
316 2006-01-06 Patrick Lam <plam@mit.edu>
317 * src/fcdbg.c (FcPatternPrint):
319 Print out full pathname in fc-match -v as well. Reported by
322 2006-01-06 Mike Fabian <mfabian@suse.de>
325 * src/fcname.c (FcNameParse):
327 Fix bug where fc-match crashes when given __DUMMY__ property to
330 (I added the __DUMMY__ string to enable callers of
331 FcObjectToPtrLookup to distinguish an error return from a
332 successful return. -PL)
334 2006-01-05 Patrick Lam <plam@mit.edu>
337 Add self to AUTHORS list.
339 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
340 FcCacheFileRead, FcCachePrintSet, main):
341 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
342 FcGlobalCacheSave, FcCacheNextOffset,
343 FcDirCacheHasCurrentArch, FcDirCacheRead,
344 FcDirCacheConsume, FcDirCacheWrite):
346 * src/fcpat.c (comment):
348 Minor change to global cache file format to fix fc-cat bug
349 reported by Frederic Crozat, and buglet with not globally caching
350 directories with zero fonts cached.
352 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
355 * src/fccfg.c (FcConfigEvaluate):
357 Fix double-free which occurs because FcValueCanonicalize doesn't
358 create an extra copy of the returned value, it only canonicalizes
361 2006-01-02 Patrick Lam <plam@mit.edu>
362 * doc/fontconfig-user.sgml:
364 Fix version of .cache file (currently 1 -> currently 2). Reported
367 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
370 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
372 Shut up GCC warnings on amd.
374 2005-12-20 Patrick Lam <plam@mit.edu>
378 * fontconfig/fontconfig.h:
380 Bump version to 2.3.93.
382 2005-12-20 Patrick Lam <plam@mit.edu>
383 * src/fccharset.c (FcLangCharSetPopulate):
384 * src/fcint.h (FcCacheBankToIndex):
386 Avoid check on _fcBankId nullness and fix case where it used to
389 2005-12-20 Patrick Lam <plam@mit.edu>
390 * src/fcxml.c (FcConfigParseAndLoad):
392 Use open instead of fopen (requested by Phil Race for Sun).
394 2005-12-20 Patrick Lam <plam@mit.edu>
395 * src/fccache.c (FcDirCacheWrite);
396 * fc-cache/Makefile.am:
398 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
401 2005-12-20 Patrick Lam <plam@mit.edu>
402 * src/fcfreetype.c (FcFreeTypeQuery):
404 Restore code to skip over PCF fonts that have no encoded
406 (We guess that a font is PCF by presence of the PIXEL_SIZE
409 2005-12-12 Patrick Lam <plam@mit.edu>
410 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
412 Read and write the original location as a fallback for the
413 hashed cache file locations. This is mostly for users to be
414 able to have per-directory cache files.
416 2005-12-12 Patrick Lam <plam@mit.edu>
417 * fc-cache/fc-cache.c (scanDirs):
418 * fc-cache/Makefile.am:
419 * src/fccache.c (FcDirCacheHashName):
421 Improve error message when fc-cache can't write the cache. Add
422 missing slash. Reported by Behdad. Incorporate Behdad's patch to
423 create /var/cache/fontconfig when appropriate.
425 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
428 * src/fcxml.c (FcConfigGetAttribute):
430 Fix crash reported by Frederic Crozat when using libxml2.
432 2005-12-09 Patrick Lam <plam@mit.edu>
435 * fc-cache/Makefile.am:
436 * fc-cat/Makefile.am:
438 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
439 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
440 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
441 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
442 FcDirCacheHasCurrentArch, FcDirCacheHashName,
443 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
445 Migrate cache files from fonts directories to
446 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
447 but requires that all caches get rebuilt.
449 Also, autogen.sh now needs the additional parameter
450 --localstatedir=/var.
452 2005-12-07 Patrick Lam <plam@mit.edu>
453 * src/fcpat.c (FcPatternAddString):
455 Because we've changed FcPatternAddString to use FcStrStaticName
456 and not FcValueSave, explicitly handle the case of a null string.
458 2005-12-06 Patrick Lam <plam@mit.edu>
459 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
463 2005-12-05 Patrick Lam <plam@mit.edu>
464 * src/fcname.c (FcNameGetObjectType):
466 Don't assign types to user object names.
468 2005-12-05 Patrick Lam <plam@mit.edu>
469 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
471 Don't free strings that have been returned from FcStrStaticName.
473 2005-12-01 Patrick Lam <plam@mit.edu>
474 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
476 Add codepath for reading global cache files as well.
478 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
481 * conf.d/10-fonts.persian.conf:
482 * conf.d/Makefile.am:
484 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
486 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
489 * src/fcxml.c (FcConfigParseAndLoad):
491 Only add a config file to the set of config files once.
493 2005-11-29 Patrick Lam <plam@mit.edu>
494 * src/fcint.h (FcCacheBankToIndex);
496 Fix segfault by guarding array dereference.
498 2005-11-29 Dirk Mueller <dmueller@suse.de>
502 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
503 FcCacheBankToIndex, FcCacheBankToIndexMTF,
507 Refactor FcCacheBankToIndex into an inlineable part
508 (in fcint.h) which checks the front of the list and a
509 non-inlineable part which finds and moves the appropriate element
510 to the front of the list.
512 2005-11-29 Patrick Lam <plam@mit.edu>
513 * src/fccfg.c (FcConfigBuildFonts):
514 * src/fccache.c (FcCacheReadDirs):
516 Make the perf guys hate me a bit less: hoist the directory-name
517 FcConfigAcceptFont check for cached fonts up to directory cache
518 read time, rather than running it for each font.
520 2005-11-29 Patrick Lam <plam@mit.edu>
521 * src/fccfg.c (FcConfigBuildFonts):
523 * src/fcpat.c (FcPatternFindFullFname):
525 Don't make FcPatternFindFullFname available to fccfg, it's not
526 really safe. Instead go through FcPatternGetString (sorry,
527 perf guys.) Also, use globs for dirs as well.
529 2005-11-28 Patrick Lam <plam@mit.edu>
530 * src/fccfg.c (FcConfigBuildFonts):
534 2005-11-28 Patrick Lam <plam@mit.edu>
536 * src/fcpat.c (FcPatternFindFullFname):
537 * src/fccfg.c (FcConfigBuildFonts):
539 Fix problem dating back at least to 2.3.2 where globs weren't
540 being applied to patterns loaded from a cache.
542 2005-11-28 Patrick Lam <plam@mit.edu>
543 * doc/fontconfig-user.sgml:
545 Fix some obvious spelling mistakes.
547 2005-11-28 Dirk Mueller <dmueller@suse.com>
548 Stephan Kulow <coolo@suse.de>
551 * src/fcmatch.c (FcFontSetMatch):
553 Don't kill all fonts during match (oops!)
556 2005-11-25 Dirk Mueller <dmueller@suse.com>
557 Stephan Kulow <coolo@suse.de>
558 Michael Matz <matz@suse.de>
561 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
564 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
565 inline FcCompare into FcFontSetMatch and reorder the
566 loops, adding a boolean array which blocks patterns from future
567 consideration if they're known to not be best on some past
570 2005-11-26 Dirk Mueller <dmueller@suse.com>
573 * src/fcmatch.c (FcCompareValueList):
577 2005-11-25 Patrick Lam <plam@mit.edu>
578 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
580 Don't do random matching when bad objects are passed into
583 2005-11-25 Patrick Lam <plam@mit.edu>
585 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
586 FcPatternSerialize, FcPatternUnserialize,
587 FcValueListEnsureBank, FcValueListDistributeBytes,
588 FcValueListUnserialize):
590 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
591 _fcPatternElts, _fcValueLists for consistency.
593 2005-11-25 Dirk Mueller <dmueller@suse.com>
598 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
600 2005-11-25 Patrick Lam <plam@mit.edu>
602 * src/fccache.c (FcDirCacheConsume):
603 * src/fccharset.c (FcCharSetUnserialize):
604 * src/fcfs.c (FcFontSetUnserialize):
605 * src/fclang.c (FcLangSetUnserialize):
606 * src/fcname.c (FcObjectUnserialize):
607 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
608 FcPatternUnserialize):
610 Pass around FcCache *s to the Unserialize functions for extra
611 consistency (and less overhead, for what that's worth).
613 2005-11-24 Dirk Mueller <dmueller@suse.com>
617 * src/fcmatch.c (FcCompare*, FcFontSetSort):
618 * src/fcname.c (FcNameUnparseValue):
620 Inline the *PtrU functions to gain perf.
621 Remove unneeded params for the FcCompare* functions.
623 2005-11-24 Dirk Mueller <dmueller@suse.com>
626 * src/fcint.h, fontconfig/fontconfig.h:
628 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
630 * src/fcpat.c, src/fcint.h, src/fcname.c:
632 Check for type validity during FcPatternAddWithBinding, don't
633 verify type in FcFontMatch, don't call FcCanonicalize here
634 (which always does a deep copy).
636 2005-11-24 Dirk Mueller <dmueller@suse.com>
639 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
640 * src/fcpat.c (FcPatternAddWithBinding):
642 Make FcCompareString and FcCompareFamily less expensive.
643 Only add a value for FC_FAMILY if the proposed value is a string.
645 2005-11-24 Dirk Mueller <dmueller@suse.com>
648 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
649 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
650 * src/fcint.h (FcDebug):
652 Inline FcDebug invocations and only initialize once, in FcInit*.
653 Improve debug msg in FcPatternPrint.
655 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
658 * fontconfig/fontconfig.h:
661 Minor code warning cleanups.
663 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
666 * fc-match/fc-match.c (main):
668 Make getopt_long accept -s parameter to fc-match as well.
670 2005-11-21 Dirk Mueller <dmueller@suse.com>
673 * src/fcmatch.c (FcCompareValueList):
675 Manually perform inlining & partial redundancy elimination to
676 reduce calls to FcValueListPtrU.
678 2005-11-21 Dirk Mueller <dmueller@suse.com>
681 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
682 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
684 Only invoke strlen() when really necessary.
686 2005-11-19 Matthias Clasen <mclasen@redhat.com>
690 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
695 Get rid of the use of freetype internal headers in fcfreetype.c,
696 since those headers will go away with freetype 2.2. Replace with
697 public domain ftglue code from pango. Note that the patch removes
698 some extra error checking in FT_Get_BDF_Property() and comments
699 out the skipping of empty pcf fonts.
701 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
704 * fc-lang/fc-lang.c (main):
706 Further fix of patch from 2005-11-04: miscounted numbers count
707 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
708 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
710 Removed leafidx_count and numbers_count since they are the same
711 and replaced them with offset_count.
713 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
716 * fc-cat/fc-cat.c (main):
718 Don't crash when fc-cat invoked with no arguments.
720 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
723 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
725 Fix invalid read access caused by premature free and
726 GCC4 warnings in libxml2 codepath.
728 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
731 * src/fccfg.c (FcConfigValues):
733 List iteration not needed in FcConfigValues, since it's building
734 up the list itself; we can just strip FcVoid elements during
737 2005-11-17 Patrick Lam <plam@mit.edu>
738 * src/fccfg.c (FcConfigValues):
740 Fix crash on invalid constants in config files (forgot to update
741 a pointer upon list iteration.)
743 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
746 * src/fcxml.c (FcTypecheckExpr):
748 Complain about invalid constants in config files.
750 2005-11-17 Andreas Schwab <schwab@suse.de>
753 * src/fccache.c (FcGlobalCacheSave):
755 Don't add current_arch_start more than once.
757 2005-11-16 Patrick Lam <plam@mit.edu>
758 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
759 * src/fcfs.c (FcFontSetUnserialize):
760 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
761 * src/fcpat.c (FcStrUnserialize):
763 Fix ordering of ALIGN with respect to saving block_ptr; add
764 another ALIGN to fcfs.c.
766 2005-11-16 Patrick Lam <plam@mit.edu>
767 * src/fccache.c (FcDirCacheProduce)
769 Fix case where alignment bytes bumped up metadata->count
770 causing unwarranted failures to write cache files.
771 (Reported by Stephan Kulow).
773 2005-11-16 Patrick Lam <plam@mit.edu>
774 * src/fccache.c (FcDirCacheProduce):
775 * src/fccharset.c (FcCharSetDistributeBytes):
776 * src/fcfs.c (FcFontSetDistributeBytes):
778 * src/fclang.c (FcLangSetDistributeBytes):
779 * src/fcname.c (FcObjectDistributeBytes):
780 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
783 Add *NeededBytesAlign(), which overestimates the padding which is
784 later added by the new ALIGN macro. Fix alignment problems on
785 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
786 version by Andreas Schwab).
788 2005-11-16 Stephan Kulow <coolo@kde.org>
793 Use sysconf to determine proper PAGESIZE value; this
794 appears to be POSIX-compliant. (reported by Andreas Schwab)
796 2005-11-04 Patrick Lam <plam@mit.edu>
802 Fix bug 2878 (excessive relocations at startup for charsets,
803 reported by Ross Burton): fc-lang/fc-lang now creates the
804 static form of the langset, not the dynamic form, so that
805 the charsets should now be in .rodata.
807 2005-11-04 Patrick Lam <plam@mit.edu>
808 * src/fcdir.c (FcDirScanConfig):
810 Add test for validity of directory caches that
811 somehow got lost (reported by make distcheck).
813 2005-11-04 Patrick Lam <plam@mit.edu>
817 * fontconfig/fontconfig.h:
819 Bump version to 2.3.92.
821 2005-11-02 Patrick Lam <plam@mit.edu>
822 * src/fcpat.c (FcPatternDuplicate):
824 Fix argument ordering problem in call to FcPatternTransferFullFname.
826 2005-11-02 Patrick Lam <plam@mit.edu>
827 * src/fcfreetype.c (FcFreetypeQuery):
828 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
829 FcPatternTransferFullFname):
831 Fix warnings and embarrassing double-free error.
833 2005-11-02 Zhe Su <zsu@novell.com>
838 Change the rule for artificial emboldening in fonts.conf.in. This
839 enables the support for artificial emboldening included in cairo.
841 2005-11-02 Patrick Lam <plam@mit.edu>
842 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
844 Don't zero out full names for FC_REF_CONSTANT fonts;
845 also, duplicate full names when transferring, and free
846 full names when freeing the associated font.
847 Reported by Jinghua Luo.
849 2005-11-02 Patrick Lam <plam@mit.edu>
850 * fc-cache/fc-cache.c (scanDirs):
851 * src/fcpat.c (FcValueListSerialize):
853 Revert the previous patch and commit the correct patch:
854 I forgot a canonicalization in FcValueListSerialize, so
855 that it would choke on already-serialized input files. Duh!
857 2005-11-02 Patrick Lam <plam@mit.edu>
858 * fc-cache/fc-cache.c (scanDirs):
860 Forcibly rescan a directory before writing a fresh local
861 cache file for that directory, fixing the losing-fonts
862 problem reported by Mike Fabian and also apparently the
863 font cache file corruption.
865 2005-11-02 Patrick Lam <plam@mit.edu>
866 * src/fccache.c (FcGlobalCacheLoad):
868 Fix thinko: actually, the whole global cache is stale
869 if the global cache is older than the (newest) config file.
871 2005-11-02 Patrick Lam <plam@mit.edu>
872 * src/fccache.c (FcGlobalCacheLoad):
873 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
876 Declare the global cache of a directory's contents to be stale if
877 the directory is newer than the (newest) configuration file.
879 2005-10-31 Patrick Lam <plam@mit.edu>
881 * src/fclist.c (FcListAppend):
882 * src/fcmatch.c (FcFontRenderPrepare):
883 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
884 FcPatternFreeze, FcPatternBaseFreeze):
886 Copy the full pathname whenever duplicating an FcPattern; otherwise,
887 applications continue breaking.
889 2005-10-31 Patrick Lam <plam@mit.edu>
890 * fc-cat/fc-cat.c (FcCacheFileRead, main):
891 * src/fcfreetype.c (FcFreeTypeQuery):
893 Fix small memory error (tried to free argv); use basename and
894 dirname correctly (they can modify their arguments).
896 2005-10-31 Patrick Lam <plam@mit.edu>
904 Reinstate basename patch, but keep a hash table linking FcPatterns
905 to their fully-qualified font names for clients' benefit. Clients
906 only pay for the font names once they request the FC_FILE property
907 from an FcPattern, but the font name is malloc'd at that point (i.e.
908 not mmapped: that's impossible, since it may vary between machines.)
909 Clients do have to pay for a copy of the path name per cache file.
911 Note that FcPatternGetString now does some rewriting if you ask
912 for an FC_FILE, appending the pathname as appropriate.
914 2005-10-31 Patrick Lam <plam@mit.edu>
915 * src/fcfreetype.c (FcFreeTypeQuery):
917 Revert basename patch, which breaks fontconfig clients on my system.
919 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
922 * fontconfig/fonts.conf.in:
923 * fontconfig/fontconfig.h:
927 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
928 to load embedded bitmaps or not.
930 2005-10-25 Patrick Lam <plam@mit.edu>
931 * src/fcfreetype.c (FcFreeTypeQuery):
933 Only add basename to patterns' FC_FILE element, not any part of
936 2005-10-22 Patrick Lam <plam@mit.edu>
939 Add some more consts, fixing more GCC4 warnings.
941 2005-10-22 Zhe Su <zsu@novell.com>
944 Support localized font family and style names.
945 This has been reported to break old apps like xfd, but modern
946 (gtk+/qt/mozilla) apps work fine.
948 2005-10-21 Patrick Lam <plam@mit.edu>
949 * src/fccache.c (FcGlobalCacheLoad):
951 Destroy the global cache file if it's terminally broken. (reported by
954 2005-10-21 Patrick Lam <plam@mit.edu>
955 * fc-list/fc-list.c (main):
956 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
957 * fontconfig/fontconfig.h:
959 Prevent fc-list from escaping strings when printing them (reported by
962 2005-10-20 Marcus Meissner <meissner@suse.de>
965 * fontconfig/fontconfig.h:
967 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
969 2005-10-14 Ross Burton <ross@burtonini.com>
972 * fc-glyphname/fc-glyphname.c:
975 Add consts to variables so as to move arrays into .rodata.
977 2005-10-14 Mike Fabian <mfabian@suse.de>
980 * src/fccache.c (FcDirCacheUnlink):
982 Check existence of directory cache file before attempting to unlink.
984 2005-10-13 Patrick Lam <plam@mit.edu>
985 * src/fccache.c (FcDirCacheUnlink):
987 Fix flipped return value on unlink. (Reported by Mike Fabian)
989 2005-10-12 Patrick Lam <plam@mit.edu>
992 * src/fcdir.c (FcDirScanConfig):
995 When fc-cache is run without --force, use directory cache files
996 to speed up fc-cache run time. (Reported by Mike Fabian)
998 2005-10-06 Patrick Lam <plam@mit.edu>
1000 * src/fcname.c (FcObjectToPtr):
1001 * src/fcpat.c (FcStrStaticName):
1003 Add padding to make valgrind and glibc not hate each other
1004 when calling strlen().
1006 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1007 reviewed by: plam & keithp
1011 Modify config file to use Greek fonts before Asian fonts with
1014 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1015 reviewed by: plam & keithp
1019 Use libtool -no-undefined flag on all platforms.
1021 2005-10-05 Patrick Lam <plam@mit.edu>
1022 * src/fccache.c (FcCacheHaveBank):
1024 Implement move-to-front array for banks (perf regression
1025 reported by Ronny V. Vindenes).
1027 2005-10-04 Patrick Lam <plam@mit.edu>
1028 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1029 FcDirCacheHasCurrentArch):
1030 * fc-cache/fc-cache.c (scanDirs):
1031 * fontconfig/fontconfig.h:
1033 Add new API which unlinks directory caches and checks dir caches
1034 for existence of appropriate sections. Fix fc-cache to unlink
1035 stale cache files and save directory caches that lack relevant
1038 2005-10-03 Patrick Lam <plam@mit.edu>
1039 * src/fccache.c (FcDirCacheValid):
1041 Ensure that a directory cache has the appropriate section
1042 before reporting that it is valid (reported by Matthias Clasen).
1044 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1052 Use libxml2 if requested (with --enable-libxml2) or if
1053 expat is not available.
1055 2005-09-29 Patrick Lam <plam@mit.edu>
1056 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1058 Fix multi-arch cache files: compute the position for the
1059 block to be added using info from OrigFile, not NewFile.
1061 2005-09-28 Patrick Lam <plam@mit.edu>
1062 * src/fccache.c (FcCacheMachineSignature):
1064 Cast results of sizeof() to unsigned int to get rid of
1065 warnings on x86_64 (thanks Matthias Clasen).
1067 2005-09-27 Patrick Lam <plam@mit.edu>
1068 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1071 Use FcAtomic to rewrite cache files.
1073 2005-09-27 Patrick Lam <plam@mit.edu>
1075 * src/fccache.c (FcDirCacheWrite):
1077 Don't unlink the fonts.cache-2 file even if there's no data
1078 to write; just write an empty cache file. (thanks Lubos Lunak)
1080 2005-09-27 Patrick Lam <plam@mit.edu>
1082 * src/fccache.c (FcDirCacheWrite):
1084 Allocate room for the subdirectory names in each
1085 directory cache. Thanks to James Cloos for finding
1086 and diagnosing this bug!
1088 2005-09-22 Patrick Lam <plam@mit.edu>
1090 * fc-cache/fc-cache.sgml:
1091 * src/fccache.c (FcDirCacheWrite):
1092 * src/fccache.h (struct FcCache):
1094 Update documentation -- fc-cache's man page now says that you
1095 need to run fc-cache once per cached architecture; add some
1096 documentation to the FcCache structure.
1098 Make fc-cache write out fonts.cache-2 files for directories with
1099 no fonts (i.e. only subdirectories).
1101 2005-09-22 Patrick Lam <plam@mit.edu>
1103 * fc-cache/fc-cache.sgml:
1104 * fc-case/fc-case.c:
1105 * fc-glyphname/fc-glyphname.c:
1111 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1115 * fc-lang/fc-lang.c:
1116 * fontconfig/fcprivate.h:
1117 * fontconfig/fontconfig.h:
1131 Implement new mmaped cache for font information.
1132 Bump so revision to 2.3.90.
1134 2005-07-25 Keith Packard <keithp@keithp.com>
1136 * doc/fontconfig-user.sgml:
1137 * fc-glyphname/fc-glyphname.c: (scan), (main):
1138 * fc-lang/fc-lang.c: (FcConfigHome):
1139 * fc-match/fc-match.c: (main):
1140 * src/fccfg.c: (FcConfigHome):
1141 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1142 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1143 (addtag), (FcFontCapabilities):
1144 * src/fcpat.c: (FcValueListEntCreate):
1145 * src/fcstr.c: (FcStrCaseWalkerInit):
1146 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1148 Various GCC 4 cleanups for signed vs unsigned char
1150 Match only [0-9]*.conf files in <include>{directory}</include>
1151 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1153 2005-07-15 Carl Worth <cworth@cworth.org>
1156 * src/fcinit.c: (FcFini):
1157 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1160 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1161 Pull the FcObjectStateName hash table out to file scope, and add
1162 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1165 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1168 2005-06-16 Patrick Lam <plam@MIT.EDU>
1172 * src/fccfg.c: (FcConfigCompareValue):
1173 Make FcOpNotContains use FcStrStr for strings so that
1174 it matches semantics for !FcOpContains.
1176 2005-05-20 Keith Packard <keithp@keithp.com>
1180 Move fontconfig source package to libs as per override
1182 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1184 reviewed by: Mike Fabian
1187 The ka.orth file requires several characters which are not
1188 used anymore in modern Georgian and which are missing in the free
1189 Georgian TrueType fonts downloadable at:
1191 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1193 2005-04-27 Keith Packard <keithp@keithp.com>
1197 Update date to real 2.3.2 release date.
1198 Fix change attributions
1200 2005-04-27 Keith Packard <keithp@keithp.com>
1203 Bump so revision for 2.3.2
1204 * fc-cache/fc-cache.c: (scanDirs):
1205 Fix a few minor leaks in error cases.
1207 2005-04-23 Keith Packard <keithp@keithp.com>
1212 * fontconfig/fontconfig.h:
1213 Update for version 2.3.2
1215 2005-04-21 Keith Packard <keithp@keithp.com>
1217 * debian/fontconfig.postinst:
1218 Don't force bitmap font enable in default
1219 configuration; allows users to override this in
1229 * debian/po/pt_BR.po:
1230 * debian/po/templates.pot:
1232 * debian/po/zh_CN.po:
1233 Updated translations
1235 * fc-cache/fc-cache.c: (main):
1236 Destroy font configuration on exit to help valgrind
1239 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1240 (FcFreeTypeCheckGlyph):
1241 Use own transcoding routines in preference to iconv
1242 which appears to have leaks in some translators.
1243 Call iconv_close after using iconv (oops).
1245 Prefer unicode encoding of Euro char as some
1246 fonts mis-encode Euro in other ones.
1248 Must fetch bitmap glyphs to get width values
1249 to check for monospace/dual-width fonts.
1251 2005-04-13 Ross Burton <ross@burtonini.com>
1254 Check that a pattern isn't already frozen in FcPatternFreeze.
1256 2005-03-31 Ross Burton <ross@burtonini.com>
1261 Run all FcPattern objects through FcObjectStaticName, so that
1262 compares can be done on pointers instead of strings (#2659)
1264 2005-03-17 Tor Lillqvist <tml@novell.com>
1266 * src/fontconfig.def.in: Add the .dll to the dll name.
1268 2005-03-10 Keith Packard <keithp@keithp.com>
1270 * debian/README.Debian:
1271 Update to reflect configuration changes
1273 * debian/fontconfig.postinst:
1274 Fix Autohint vs Autohinter mistake
1275 * debian/fontconfig.templates:
1276 Adopt changes from Josselin Mouette for configuration descriptions
1277 Update debian to version 2.3.1-2
1279 2005-03-08 Keith Packard <keithp@keithp.com>
1283 Update debian for 2.3.1
1285 2005-03-09 Tor Lillqvist <tml@novell.com>
1287 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1290 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1293 2005-03-08 Keith Packard <keithp@keithp.com>
1297 * fontconfig/fontconfig.h:
1300 2005-03-05 Keith Packard <keithp@keithp.com>
1302 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1303 Include space and remove numbers from valid script tags.
1304 This ensures that tags like 'lao ' work while rejecting
1305 those which have any digits.
1306 Eliminate a spurious debugging variable (len)
1308 2005-03-05 Keith Packard <keithp@keithp.com>
1310 * src/fcfreetype.c: (addtag), (GetScriptTags),
1311 (FcFontCapabilities):
1312 Rework GSUB/GPOS script parsing to survive broken fonts.
1313 Thanks for the broken font go to Manish Singh
1315 2005-03-05 Keith Packard <keithp@keithp.com>
1320 * debian/fontconfig.config:
1321 * debian/fontconfig.templates:
1323 Include 2.3 release information in changelog
1324 Add Josselin Mouette as an Uploader
1325 Set hinting_type to low priority configuration option
1328 * debian/fontconfig.postinst:
1329 yes_bitmaps.conf -> yes-bitmaps.conf
1335 2005-03-02 Keith Packard <keithp@keithp.com>
1338 * conf.d/Makefile.am:
1339 * conf.d/autohint.conf:
1340 * conf.d/no-sub-pixel.conf:
1341 * conf.d/sub-pixel.conf:
1342 * conf.d/unhinted.conf:
1343 * debian/autohint.conf:
1344 * debian/fontconfig.install:
1345 * debian/fontconfig.postinst:
1346 * debian/fontconfig.templates:
1347 * debian/no-sub-pixel.conf:
1348 * debian/unhinted.conf:
1349 Move debian-specific conf file examples upstream.
1351 Sub-pixel configuration examples must smash subpixel value
1352 as Xft always sets it from X.
1354 Change sub-pixel rendering debconf descriptions from
1355 Enable/Disable to Always/Never.
1357 2005-03-02 Keith Packard <keithp@keithp.com>
1360 * conf.d/.cvsignore:
1362 Ignore more build detritus
1365 Add debian package construction stuff.
1367 * config/config.guess:
1368 * config/config.sub:
1369 Update to newer versions of these tools
1372 Get library manuals to build again (we love automake).
1374 * debian/README.Debian:
1375 * debian/autohint.conf:
1380 * debian/fontconfig-udeb.install:
1381 * debian/fontconfig.config:
1382 * debian/fontconfig.defoma:
1383 * debian/fontconfig.dirs:
1384 * debian/fontconfig.install:
1385 * debian/fontconfig.postinst:
1386 * debian/fontconfig.postrm:
1387 * debian/fontconfig.templates:
1388 * debian/libfontconfig1-dev.install:
1389 * debian/libfontconfig1.install:
1390 * debian/local.conf.md5sum:
1391 * debian/no-sub-pixel.conf:
1392 * debian/po/POTFILES.in:
1401 * debian/po/pt_BR.po:
1402 * debian/po/templates.pot:
1404 * debian/po/zh_CN.po:
1406 * debian/unhinted.conf:
1407 Update debian build system to switch maintainers and
1408 deal with 2.3 functionality
1410 2005-03-01 Keith Packard <keithp@keithp.com>
1414 * fontconfig/fontconfig.h:
1417 2005-03-01 Keith Packard <keithp@keithp.com>
1420 Generate and install PDF versions of the manuals
1422 * doc/fcpattern.fncs:
1425 * doc/fcstring.fncs:
1426 Add missing exported functions, fix data types
1428 * doc/fontconfig-devel.sgml:
1429 Add missing pattern elements.
1431 * doc/fontconfig-user.sgml:
1432 Add missing pattern elements. Document conf.d usage,
1433 clarify available orthography list. Fix some config file
1434 attributes. Complete list of constants.
1436 * fontconfig/fontconfig.h:
1437 Mark FC_SOURCE deprecated.
1439 * src/fcfreetype.c: (FcFreeTypeQuery):
1440 Don't set FC_SOURCE any longer.
1442 2005-02-28 Keith Packard <keithp@keithp.com>
1445 * conf.d/Makefile.am:
1447 * conf.d/no-bitmaps.conf:
1448 * conf.d/sub-pixel.conf:
1449 * conf.d/yes-bitmaps.conf:
1451 Create prototype /etc/fonts/conf.d directory with a few
1452 sample configuration files.
1453 Deprecate use of local.conf for local customizations in favor of
1454 this directory based scheme which is more easily integrated into
1455 installation systems.
1458 Tag FC_EMBOLDEN as a boolean variable
1460 2005-02-10 Keith Packard <keithp@keithp.com>
1462 reviewed by: pborelli@katamail.com
1464 * src/fcdir.c: (FcFileScanConfig):
1465 Free patterns from fonts which are rejected by configuration
1468 2005-01-28 Keith Packard <keithp@keithp.com>
1472 * fontconfig/fontconfig.h:
1473 Update for version 2.2.99
1475 2005-01-28 Keith Packard <keithp@keithp.com>
1478 Add a few pointers (#2284, #2285)
1480 2005-01-28 Keith Packard <keithp@keithp.com>
1483 * src/fcname.c: (FcNameBool):
1484 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1485 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1486 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1487 Polite typechecking for test and edit expressions. Helps
1488 catch errors in the font configuration. (bug 229)
1490 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1492 reviewed by: Keith Packard <keithp@keithp.com>
1495 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1497 2005-01-13 Keith Packard <keithp@keithp.com>
1499 * doc/fontconfig-user.sgml:
1500 Add SEE ALSO section (bug 2085)
1502 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1504 reviewed by: Keith Packard <keithp@keithp.com>
1509 * fc-case/Makefile.am:
1510 * fc-glyphname/Makefile.am:
1511 * fc-lang/Makefile.am:
1512 * src/fontconfig.def.in:
1513 Cross compiling fixes (bug 280)
1515 2005-01-13 Keith Packard <keithp@keithp.com>
1518 Update blanks list (Closes bug 86)
1520 2005-01-04 Keith Packard <keithp@keithp.com>
1522 * src/fccache.c: (FcCacheFontSetAdd):
1523 Verify that every font pattern loaded from cache has
1524 both FC_FILE and FC_FAMILY entries.
1525 Attempt to fix bug #2219.
1527 2004-12-29 Keith Packard <keithp@keithp.com>
1531 * fontconfig/fontconfig.h:
1532 Update for version 2.2.98
1534 2004-12-29 Keith Packard <keithp@keithp.com>
1536 * fontconfig/fontconfig.h:
1537 Document ASCII limitations of Fc character conversion macros
1538 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1539 Fix off-by-one error in utf-8 case walking code.
1540 Add FcStrDowncase (useful for testing case conversion functions)
1542 2004-12-29 Keith Packard <keithp@keithp.com>
1545 * fc-case/.cvsignore:
1546 clean up CVS ignore lists
1547 * fc-lang/iso-3166.txt:
1548 Add territory database
1550 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1552 Reviewed by: Keith Packard
1555 Remove Han characters from Korean orthography
1557 2004-12-29 Keith Packard <keithp@keithp.com>
1560 Reorder utility programs to make sure fc-case is run before fc-lang
1561 as fc-lang uses fcstr.c which uses fccase.h
1565 2004-12-29 Keith Packard <keithp@keithp.com>
1568 Adopt some RedHat suggestions for standard font configuration.
1572 * fc-case/CaseFolding.txt:
1573 * fc-case/Makefile.am:
1574 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1575 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1576 (dump), (parseRaw), (caseFoldReadRaw), (main):
1577 * fc-case/fccase.tmpl.h:
1578 Add new helper program 'fc-case' to construct case folding
1579 tables from standard Unicode CaseFolding.txt file
1582 * src/fclist.c: (FcListValueHash):
1583 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1584 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1585 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1586 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1587 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1588 Re-implement case insensitive functions with Unicode
1589 aware versions (including full case folding mappings)
1591 2004-12-13 Keith Packard <keithp@keithp.com>
1593 reviewed by: Owen Taylor <otaylor@redhat.com>
1595 * src/fcmatch.c: (FcFontSetSort):
1596 I changed FcFontSetSort to respect the generic aliases better
1597 in the face of language matching.
1599 What I did was to ammend the strict sort order used by FcFontSort so
1600 that it 'satisfies' the language specified in the pattern by locating
1601 the best matching font supporting each pattern language and then
1602 ignores language in the remaining fonts for purposes of matching.
1604 So, when asking for 'sans:lang=en', you'll get an English font first,
1605 and then the remaining fonts sorted with respect to the 'sans' alias
1606 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1608 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1610 reviewed by: Keith Packard <keithp@keithp.com>
1612 * fontconfig/fontconfig.h:
1615 Configuration changes to request synthetic emboldening of
1616 fonts. The actual emboldening code will live in Xft.
1618 2004-12-09 John Thacker <thacker@math.cornell.edu>
1620 reviewed by: Keith Packard <keithp@keithp.com>
1624 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1625 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1626 и), and don't even appear in KOI8-R. (The hypothesis that they
1627 don't appear in KOI8-R due to their similarity with Latin I and i is
1628 eliminated by their presence in KOI8-U.) I have a couple of fonts
1629 with Russian support that don't have the letter.
1631 Therefore, 0406 and 0456 should be removed from or commented out of
1634 2004-12-06 michael meeks <mmeeks@novell.com>
1636 Reviewed by: Keith Packard <keithp@keithp.com>
1638 * src/fcinit.c: (FcMemReport):
1640 * src/fclist.c: (FcObjectSetAdd):
1641 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1642 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1643 * src/fcxml.c: (FcParsePatelt):
1644 memoize strings and share a single copy for all uses. Note that
1645 this could be improved further by using statically allocated blocks
1646 and gluing multiple strings together, but I'm basically lazy.
1647 In my environment with 800 font files, I get a savings of about 90KB.
1649 2004-12-06 Keith Packard <keithp@keithp.com>
1653 * config/Makedefs.in:
1656 * doc/fcatomic.fncs:
1657 * doc/fcblanks.fncs:
1658 * doc/fccharset.fncs:
1659 * doc/fcconfig.fncs:
1660 * doc/fcconstant.fncs:
1662 * doc/fcfontset.fncs:
1663 * doc/fcfreetype.fncs:
1665 * doc/fcmatrix.fncs:
1666 * doc/fcobjectset.fncs:
1667 * doc/fcobjecttype.fncs:
1668 * doc/fcpattern.fncs:
1669 * doc/fcstring.fncs:
1670 * doc/fcstrset.fncs:
1672 * doc/fontconfig-devel.sgml:
1673 * doc/fontconfig-user.sgml:
1675 * doc/version.sgml.in:
1676 * fc-cache/Makefile.am:
1677 * fc-cache/fc-cache.c:
1678 * fc-glyphname/Makefile.am:
1679 * fc-glyphname/fc-glyphname.c:
1680 * fc-glyphname/fcglyphname.tmpl.h:
1681 * fc-lang/Makefile.am:
1691 * fc-lang/az_ir.orth:
1725 * fc-lang/fc-lang.c:
1726 * fc-lang/fc-lang.man:
1727 * fc-lang/fclang.tmpl.h:
1772 * fc-lang/ku_ir.orth:
1805 * fc-lang/ps_af.orth:
1806 * fc-lang/ps_pk.orth:
1835 * fc-lang/ti_er.orth:
1836 * fc-lang/ti_et.orth:
1862 * fc-lang/zh_cn.orth:
1863 * fc-lang/zh_hk.orth:
1864 * fc-lang/zh_mo.orth:
1865 * fc-lang/zh_sg.orth:
1866 * fc-lang/zh_tw.orth:
1868 * fc-list/Makefile.am:
1869 * fc-list/fc-list.c:
1870 * fc-match/Makefile.am:
1871 * fc-match/fc-match.1:
1872 * fc-match/fc-match.c:
1873 * fontconfig/fcfreetype.h:
1874 * fontconfig/fcprivate.h:
1875 * fontconfig/fontconfig.h:
1896 Change files from ISO-Latin-1 to UTF-8
1898 2004-12-04 Keith Packard <keithp@keithp.com>
1901 Update links to new freedesktop.org locations
1903 Add uninstall-local to get rid of fonts.conf and local.conf if they
1904 match the distributed versions. Fixes 'make distcheck'
1906 2004-12-04 Keith Packard <keithp@keithp.com>
1910 * fontconfig/fontconfig.h:
1911 Updates for version 2.2.97
1913 2004-12-04 Owen Taylor <otaylor@redhat.com>
1915 reviewed by: Keith Packard <keithp@keithp.com>
1917 * fc-cache/fc-cache.c: (main):
1918 Sleep for two seconds before exiting to make sure timestamps
1919 for future changes have distinct mod times in the file system.
1922 Add Punjabi orthography. Bug #1671.
1924 2004-12-04 Keith Packard <keithp@keithp.com>
1927 Just remove the FC_FONTDATE -- it has locale issues and
1928 annoys redhat multi-arch installs. Now that all X fonts are
1929 included without prejudice, the chances of the date being at
1930 all interesting are rather limited. Bug #505.
1932 Add copyright and license
1934 2004-12-04 Keith Packard <keithp@keithp.com>
1937 Change default set of fonts to include all of
1938 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1939 * doc/fontconfig-user.sgml:
1940 Document new <include>directory-name</include> semantics
1942 add <include ignore_missing="yes">conf.d</include>
1944 Add selectfont to ignore bitmap fonts, add comment for
1945 selectfont which accepts bitmap fonts.
1948 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1949 Allow <include> configuration elements to reference directories.
1950 Parse and load all files of the form [0-9]* in sorted order.
1952 2004-12-04 Keith Packard <keithp@keithp.com>
1955 Report command line for $srcdir/configure accurately.
1958 2004-12-04 Keith Packard <keithp@keithp.com>
1960 * src/fcfreetype.c: (FcFreeTypeQuery):
1961 Check for non-empty face->family_name and face->style_name
1962 before using those for the font. Empty names match everything.
1965 2004-12-04 Keith Packard <keithp@keithp.com>
1968 * fontconfig/fontconfig.h:
1969 * src/fcfreetype.c: (FcFreeTypeQuery):
1971 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1972 available. This provides font file format information (BDF, Type 1,
1973 PCF, TrueType) for each font. Closes #109.
1975 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1977 reviewed by: Keith Packard <keithp@keithp.com>
1979 * doc/fontconfig-user.sgml:
1982 * fontconfig/fontconfig.h:
1983 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1984 (GetScriptTags), (FcFontCapabilities):
1986 Add detection for font capabilities (bug #105)
1988 2004-12-04 Keith Packard <keithp@keithp.com>
1991 Move existing fonts.conf to fonts.conf.bak
1994 Add detection of iconv
1996 * doc/fcpattern.fncs:
1997 * doc/fontconfig-devel.sgml:
1998 * doc/fontconfig-user.sgml:
2000 Document new selectfont elements
2003 Switch to UTF-8 in comment
2005 * fontconfig/fontconfig.h:
2007 Add fullname, and family/style/fullname language entries
2009 * src/fccache.c: (FcCacheFontSetAdd):
2010 * src/fcdir.c: (FcFileScanConfig):
2011 Respect selectfont/*/glob
2014 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2015 (FcConfigCompareValue), (FcConfigPatternsAdd),
2016 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2017 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2018 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2019 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2020 Add support for selectfont
2022 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2023 (FcStringInPatternElement), (FcFreeTypeQuery):
2024 Add multi-lingual family/style/fullname support
2026 * src/fclist.c: (FcListPatternMatchAny):
2027 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2029 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2030 (FcObjectStaticName):
2031 Add new FcPatternRemove/FcPatternAppend.
2032 FcObjectStaticName stores computed pattern element names which
2033 are required to be static.
2035 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2040 Remove spurious / after $(DESTDIR)
2042 2004-06-30 Keith Packard <keithp@keithp.com>
2046 * fontconfig/fontconfig.h:
2049 2004-06-30 Keith Packard <keithp@keithp.com>
2051 Provided by: Lubos Lunak <l.lunak@suse.cz>
2053 * src/fccfg.c: (FcConfigUptoDate):
2054 However FcConfigUptoDate() doesn't seem to work. See the attached
2055 patch. First there's an obvious misplaced parenthesis making it
2056 return always false, and second, even this call fails to detect font
2057 changes (e.g. adding a new font to
2058 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2059 well. The problem seems to be triggered by my fonts.conf specifying
2060 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2061 doesn't include subdirs, unlike config->fontDirs.
2063 2004-06-03 Keith Packard <keithp@keithp.com>
2065 * fontconfig/fontconfig.h:
2066 Remove comma at end of FcResult enum definition.
2068 2004-05-29 Keith Packard <keithp@keithp.com>
2071 Add steps to md5sum release
2073 2004-05-29 Keith Packard <keithp@keithp.com>
2077 * fontconfig/fontconfig.h:
2080 2004-05-29 Keith Packard <keithp@keithp.com>
2082 * fontconfig/fontconfig.h:
2083 * src/fcmatch.c: (FcFontSetMatch):
2084 Add FcResultOutOfMemory to provide an accurate error when
2085 FcFontSetMatch fails in this way
2088 Make #warning about lacking various FreeType features indicate
2089 which version those features appeared so users know how to
2090 fix the problem (Thanks to Anton Tropashko)
2092 2004-05-05 Keith Packard <keithp@keithp.com>
2094 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2095 Replace MIN/MAX/ABS macros which happen to have come
2096 from FreeType with fontconfig-specific ones (FC_*)
2098 2004-04-23 Keith Packard <keithp@keithp.com>
2101 Extend release preparation instructions to include
2102 notification and distribution steps
2104 2004-04-23 Keith Packard <keithp@keithp.com>
2108 * fontconfig/fontconfig.h:
2109 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2111 2004-04-23 Keith Packard <keithp@keithp.com>
2114 Ignore a few more autotool files
2116 2004-04-14 Keith Packard <keithp@keithp.com>
2119 Add instructions for doing a release
2121 * fontconfig.spec.in:
2122 clean up .spec file; perhaps this will be useful to somebody...
2126 * fontconfig/fontconfig.h:
2129 * fc-lang/fc-lang.c:
2130 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2132 * fc-glyphname/Makefile.am:
2133 * fc-lang/Makefile.am:
2134 * fc-list/Makefile.am:
2135 * fc-match/Makefile.am:
2137 Add WARN_CFLAGS to pass -W flags for GCC systems
2139 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2140 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2141 Change various char types around to match across
2143 Fixed bug in using available_sizes[i].height which
2144 is in pixels, not 64ths of a pixel.
2146 2004-03-06 Keith Packard <keithp@keithp.com>
2148 * src/fcfreetype.c: (FcFreeTypeQuery):
2149 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2150 matches looking for explicit values prefer exact matches
2152 2004-03-02 Keith Packard <keithp@keithp.com>
2154 Supplied by: mfabian@suse.de (Mike FABIAN)
2156 * src/fcfreetype.c: (FcFreeTypeQuery):
2157 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2158 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2160 2004-02-21 Manish Singh <yosh@gimp.org>
2162 * fc-glyphname/fc-glyphname.c: (main):
2163 Cast strlen to int for printf, so we're 64-bit clean.
2165 2004-02-11 Keith Packard <keithp@keithp.com>
2168 * src/fcfreetype.c: (FcGetPixelSize):
2169 Ok, so I messed up the test for y_ppem. Let's see if I
2170 got it right this time.
2172 2004-02-10 Keith Packard <keithp@keithp.com>
2175 * src/fcfreetype.c: (FcGetPixelSize):
2176 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2177 FT_Bitmap_Size record. Add a configure.in test for this
2178 and change the code accordingly (using height instead).
2180 2004-02-06 Keith Packard <keithp@keithp.com>
2183 Add Low Saxon orthography
2184 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2186 * src/fccfg.c: (FcConfigNewestFile):
2187 Oops. Left 'newest.set' unset, which would miscompute
2190 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2191 (FcFreeTypeCheckGlyph):
2192 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2193 font properties (which report the wrong value in current FreeType)
2195 Don't attempt to check for empty glyphs in non-scalable fonts; they
2198 2004-02-01 Tor Lillqvist <tml@iki.fi>
2200 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2201 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2202 cache if config->cache is NULL, which happens if FcConfigHome() is
2203 NULL. Guard against that by using the temp folder in that case.
2205 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2207 * fc-lang/az_ir.orth:
2208 * fc-lang/ku_ir.orth:
2209 * fc-lang/ps_af.orth:
2210 * fc-lang/ps_pk.orth:
2211 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2212 (Afghan and Pakistani).
2214 Updated Urdu orthography with real data.
2216 2003-12-11 Carl Worth <cworth@east.isi.edu>
2218 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2221 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2223 (all-local): Remove excessive whitespace.
2225 * autogen.sh: Add 'set -e' to abort when any program fails,
2226 (avoids printing of 'now type make' after configure aborts).
2228 2003-11-17 Eric Christopherson <rakko@charter.net>
2230 reviewed by: Keith Packard <keithp@keithp.com>
2233 * fontconfig/fcfreetype.h:
2235 Switch to FreeType 2.1.7 style includes. Bug #150.
2237 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2239 * fc-list/fc-list.sgml: Add some example usages.
2241 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2244 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2247 2003-10-27 Keith Packard <keith@keithp.com>
2250 * fontconfig/fontconfig.h:
2251 Update to version 2.2.92
2253 2003-10-27 Keith Packard <keithp@keithp.com>
2258 * fc-cache/Makefile.am:
2259 * fc-glyphname/Makefile.am:
2260 * fc-lang/Makefile.am:
2261 * fc-list/Makefile.am:
2262 * fc-match/Makefile.am:
2265 Yet more cleanups to finish getting 'make distcheck' working
2266 This has been tested to ensure that it even works from a _build
2269 2003-10-26 Keith Packard <keithp@keithp.com>
2273 * fc-cache/Makefile.am:
2274 * fc-glyphname/Makefile.am:
2275 * fc-lang/Makefile.am:
2276 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2277 * fc-list/Makefile.am:
2278 * fc-match/Makefile.am:
2279 Attempts to fix 'make distcheck' work. Things are
2280 progressing pretty well, but there are still failures
2281 long into the process dealing with docs (as always).
2283 The big changes here are mostly to make $(srcdir) != "."
2284 work correctly, fixing the docbook related sections and
2285 fc-lang were particularily tricky. Docbook refuses to load
2286 system entities from anywhere other than where the original .sgml
2287 file was located, so no luck looking in "." for the
2288 configure-generated version.sgml and confdir.sgml files.
2290 fc-lang needed help finding .orth files; added a -d option
2291 to set the directory as the least evil of many options.
2293 Now to go use a faster machine and try and wring out the last
2296 2003-10-26 Keith Packard <keithp@keithp.com>
2300 2003-10-26 Keith Packard <keithp@keithp.com>
2303 Include confdir.sgml.in in EXTRA_DIST
2305 2003-10-09 Josselin Mouette <joss@debian.org>
2307 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2308 * fc-list/fc-list.sgml fc-list/Makefile.am:
2309 Replace fc-cache and fc-list manpages with more detailed, SGML
2312 2003-09-23 Owen Taylor <otaylor@redhat.com>
2314 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2315 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2316 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2319 2003-09-23 Owen Taylor <otaylor@redhat.com>
2321 * fc-lang/ka.orth: Remove Georgian capitals, they
2322 aren't used for normal writing. (Bug #116)
2324 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2326 * doc/fontconfig-devel.sgml:
2327 * doc/fontconfig-user.sgml:
2328 * fontconfig/fontconfig.h:
2330 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2331 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2333 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2334 monospace and dual-width fonts, allow roughly a 3% variance in the
2337 2003-08-31 Manish Singh <yosh@gimp.org>
2339 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2342 2003-08-15 Carl Worth <cworth@isi.edu>
2344 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2345 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2347 * src/fcpat.c (FcValueListEntDestroy): New function to support
2348 FcFini memory cleanup. Some statistics are not kept in
2350 (FcValueListFreeze): Move hashTable outside this function so it
2351 can be accessed by FcValueListThawAll.
2352 (FcValueListThawAll): New function complements FcValueListFreeze.
2353 (FcPatternBaseFreeze): Move hashTable outside this function so it
2354 can be accessed by FcPatternBaseThawAll.
2355 (FcPatternBaseThawAll): New function complements
2356 FcPatternBaseFreeze.
2357 (FcPatternThawAll): New function complements FcPatternFreeze.
2359 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2361 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2362 allocated FcCharLeafEnt "blocks" so they can be freed later.
2363 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2364 can be accessed by FcCharSetThawAllLeaf.
2365 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2366 (FcCharSetFreezeBase): Move hashTable outside this function so it
2367 can be accessed by FcCharSetThawAll.
2368 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2370 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2371 (FcConfigDestroy): Fic leak of FcBlanks.
2373 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2374 (main): Add call to FcFini when finished.
2376 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2377 static. Add prototypes.
2379 * doc/fcinit.fncs: Add documentation for FcFini function.
2381 * doc/edit-sgml.c: Mark several local functions as static. Add
2384 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2386 2003-06-15 Tor Lillqvist <tml@iki.fi>
2388 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2389 before comparing (needed on Windows).
2391 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2393 2003-06-13 Tor Lillqvist <tml@iki.fi>
2395 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2398 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2399 WINDOWSFONTDIR token.
2401 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2402 end, not to confuse libtool, which expects the EXPORTS line to be
2403 the first. Add FcConfigEnableHome.
2405 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2406 built as a DLL on Win32.
2408 2003-06-09 Keith Packard <keithp@keithp.com>
2410 * Tag version 2.2.90
2412 2003-06-09 Keith Packard <keithp@keithp.com>
2414 * Optimization in FcLangSetIndex was broken, occasionally
2415 returning a pointer to the wrong location on miss
2417 * Add fc-match to test font matching from the command line.
2419 2003-05-31 Keith Packard <keithp@keithp.com>
2421 * (Bug 85) add support for culmus fonts
2422 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2423 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2425 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2427 * Fix "contains" op for strings and langsets.
2429 2003-05-17 Keith Packard <keithp@keithp.com>
2431 * Fix build error with BDF prop local. Free langset after query
2433 2003-05-14 Keith Packard <keithp@keithp.com>
2435 * Extract spacing from XLFD atom
2437 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2439 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2440 disappeared in 1.30.
2442 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2444 2003-05-12 Keith Packard <keithp@keithp.com>
2446 * Use FcIsWidth to share code
2448 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2449 misclassifying some Han fonts as monospaced.
2451 2003-05-07 Keith Packard <keithp@keithp.com>
2453 * Add filename-based accept/reject to ammend available fonts.
2455 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2456 older FreeType releases.
2458 2003-05-06 Keith Packard <keithp@keithp.com>
2460 * Remove 0b82 and Tamil numbers from tamil
2461 orthography (Jungshik Shin <jshin@mailaps.org>)
2463 2003-05-04 Keith Packard <keithp@keithp.com>
2465 + Map glyph names in fonts with adobe custom encoding to unicode
2467 2003-05-02 Keith Packard <keithp@keithp.com>
2469 * Add FC_WEIGHT_BOOK as weight 75
2471 2003-04-30 Keith Packard <keithp@keithp.com>
2473 * Typo in bitstream foundry name
2475 2003-04-24 Keith Packard <keithp@keithp.com>
2477 * Eliminate italic_angle check for PS fonts
2479 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2481 * Getting closer to fixing /etc/fonts hard-coding.
2483 2003-04-22 Keith Packard <keithp@keithp.com>
2485 * Update autogen.sh to work with newer automake versions
2486 * Handle pattern elements moving during multiple edits
2488 2003-04-23 James Henstridge <james@daa.com.au>
2490 * doc/fontconfig-devel.sgml: close the <para> element.
2492 * doc/fcpattern.fncs: close the <para> element.
2494 * doc/func.sgml: close the <refsynopsisdiv> element.
2496 2003-04-22 Keith Packard <keithp@keithp.com
2498 * Update autogen.sh to work with newer automake versions
2499 * Handle pattern elements moving during multiple edits
2501 2003-04-17 Colin Walters <walters@debian.org>
2503 + Remove some unused variables, and initialize some other ones so
2504 gcc doesn't warn us.
2506 2003-04-16 Keith Packard <keithp@keithp.com>
2508 + tag version 2.1.94
2510 2003-04-16 Keith Packard <keithp@keithp.com>
2512 + add BDF property fetching support for foundry
2513 (from Juliusz Chroboczek)
2514 + add BDF property fetching support for width
2516 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2518 + Implemented foundry generation for Type 1 and TrueType
2520 2003-04-11 Gerard Escalante <g2@magestudios.net>
2522 + Retrieve information from Type1 FontInfo dictionaries
2524 2003-04-07 Colin Walters <walters@verbum.org>
2526 + src/Makefile.am: Fix dummy makefile target names when
2527 MS_LIB_AVAILABLE isn't set.
2529 2003-03-22 Tor Lillqvist <tml@iki.fi>
2531 Changes for Windows:
2533 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2535 + We don't want to hardcode the fonts.conf file location in the
2536 DLL, so we look up the DLL location at run-time in a DllMain()
2537 function. The fonts.conf location is deduced from that.
2539 + The colon can't be used as path separator on Windows,
2540 semicolon is used instead. File path components can be separated
2541 with either slash or backslash. Absolute paths can also begin
2542 with a drive letter.
2544 + Add internal function FcStrLastSlash that strrchr's the last
2545 slash, or backslash on Windows.
2547 + There is no link() on Windows. For atomicity checks, mkdir a
2548 lock directory instead.
2550 + In addition to HOME, also look for USERPROFILE.
2552 + Recognize the special font directory token WINDOWSFONTDIR, to
2553 use the system's font directory.
2555 + Remove the fontconfig-def.cpp that was obsolete. Add
2556 fontconfig.def(.in), without internal functions.
2558 + Add a fontconfig-zip(.in) script, used to build a binary
2561 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2562 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2563 to main package and man3/* to devel package
2565 + Added missing defattr(-, root, root) to main RPM package
2567 + Added HTML and text development documentation to -devel subpackage
2569 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2570 + Added back the configure macro options --disable-docs, otherwise
2571 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2572 version number) unconditionally, causing RPM to fail the build due
2573 to _unpackaged_files_terminate_build. We pick up the pregenerated
2574 docs with %doc already.
2576 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2577 + Removed commented out rpm macro define at top of spec file,
2578 replacing it with a simple explanation, since rpm macros are
2579 expanded by rpm even in comments.
2581 + Changed /usr/bin to _bindir in BuildRequires lines
2583 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2585 + Reorganized file manifest lists
2587 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2589 + fontconfig.spec.in: Improvements from Red Hat spec file.
2591 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2593 + docs/*.sgml: SGML fixes.
2595 Sat Mar 1 17:28:53 PST 2003 keithp
2596 + Ok, so the ChangeLog is a bit out of date
2598 + Lots of bugs fixed; most are in bugzilla, the
2599 biggest problems were in cache management where
2600 Owen discovered the library would lose badly when
2601 combining fonts-cache and ~/.fonts-cache data
2603 + Converted from autoconf to automake. This after
2604 getting patches accepted into libtool to allow
2605 the '-version-number' argument which lets
2606 packages set version numbers explicitly rather
2607 than the roundabout libtool way
2609 + Converted documentation to SGML using the docbook
2610 DTD. Now .txt and .html documents are installed
2611 in /usr/share/doc/fontconfig and there's no
2612 man page. Perhaps a man version can be written
2615 Sat Aug 31 15:21:22 PDT 2002 keithp
2616 + Xrender and Xft had several bugs related to
2617 rendering manually placed or poly-face text
2619 + Added more complete memory tracing in fontconfig
2620 Checked with (patched) mozilla and found no leaks
2622 + Updated Latin orthographies by comparing those from
2623 evertype.com with those from eki.ee. Tried to make
2624 sensible choices, including chars that occured in both
2625 and leaving some optional chars out that occured only
2628 Mon Aug 26 16:33:04 PDT 2002 keithp
2629 + Owen discovered that FcLangSetHasLang wasn't actually
2630 checking the language set.
2632 Mon Aug 26 13:37:23 PDT 2002 keithp
2633 + Append a version number to cache filenames
2635 Thu Aug 22 11:36:18 PDT 2002 keithp
2637 + Add "contains" and "not_contains" operators and elements to
2640 + Changed semantics of eq operator for LangSets to check for
2641 FcLangEqual so that any match will do
2643 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2644 of FcValueEqual to check for identical values when inserting into
2645 the results. This broke when the above semantic change was made,
2646 now it uses FcValueEqual which is "more correct" in any case.
2648 Thu Aug 22 00:32:29 PDT 2002 keithp
2650 + Reimplement FC_LANG as new datatype. Lists of strings
2651 was consuming over a megabyte of memory for 401 fonts.
2653 + Freeze patterns loaded from cache files. This shares
2654 common value lists and common patterns which saves
2655 considerable memory.
2657 + Change the denotation of 'constant' charsets to use special
2658 ref value instead of separate boolean.
2660 + Clean up leak tracing stuff, found several unannoted alloc/free
2663 Tue Aug 20 16:17:37 PDT 2002 keithp
2665 + Fix memory leak when parsing matrices from XML
2667 Mon Aug 19 11:57:27 PDT 2002 keithp
2669 + Fix autoconf files to pass FONTCONFIG_PATH on
2670 compile line so that ${prefix} gets substituted
2673 + Use getc_unlocked/putc_unlocked on systems that
2674 provide them to avoid damage done to stdio by posix
2676 + Eliminate FC_PATTERN and FcTypePattern in favor of
2677 an extended api for FcConfigSubstitute which takes
2678 both the font and the pattern.
2680 + Add 'sans serif' alias for 'sans-serif' as some apps
2681 can't handle hyphens in family names
2683 + Eliminate pretense of support for libxml2
2685 + Comment origins of Han orthographies
2687 Tue Jul 30 18:37:09 PDT 2002 keithp
2689 + Add binding property to edit element so that strong
2690 binding values may be inserted by the config file.
2691 The default remains weak.
2693 Sun 28 Jul 04:16:55 PDT 2002 keithp
2695 + Tagged release candidate 1 in the CVS tree and
2696 placed fcpackage.rc1.tar.gz for distribution
2698 Thu Aug 1 08:55:08 PDT 2002 keithp
2700 + Fixed autoconf builds to always specify install
2701 target files (for BSD). Also fixed to
2702 define FONTCONFIG_PATH in config.h so that
2703 nonstandard installs will actually work.