1 2006-02-03 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheUnlink):
4 Fix double free in error case.
6 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
7 Stephan Kulow <coolo@suse.de>
10 * fc-cache/Makefile.am:
12 Replace 'stamp' target with mkinstalldirs.
14 2006-01-31 Mike Fabian <mfabian@suse.de>
17 * src/fccache.c (FcGlobalCacheLoad):
19 Toast broken global cache files.
21 2006-01-30 Patrick Lam <plam@mit.edu>
22 * src/fccache.c (FcGlobalCacheReadDir):
24 Actually use the directories that I added to the global cache.
27 2006-01-30 Mike Fabian <mfabian@suse.de>
30 * fc-cache/fc-cache.c (scanDirs):
32 Don't stop scanning if a directory in fonts.conf doesn't
33 exist, because subsequent directories might exist.
35 2006-01-30 Patrick Lam <plam@mit.edu>
36 * src/fccache.c (FcGlobalCacheLoad):
38 Make global cache work again after putting dir names into global
39 cache (I misplaced the recording of a file offset).
41 2006-01-30 Patrick Lam <plam@mit.edu>
42 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
44 Update fc-cat to handle subdir lists in global cache file.
46 * src/fccache.c (FcGlobalCacheLoad):
48 Another FcCacheReadString return value check.
50 2006-01-30 Mike Fabian <mfabian@suse.de>
53 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
54 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
56 Make fccache more resilient to broken cache files by checking
57 return value of FcCacheReadString all the time.
59 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
62 * fc-match/fc-match.1:
63 * fc-lang/fc-lang.man:
65 Remove references to dead fontconfig(3) manpages in
66 other fontconfig manpages.
68 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
73 Fix world's tiniest typo in code example.
75 2006-01-29 Mike Fabian <mfabian@suse.de>
78 * src/fccache.c (FcGlobalCacheReadDir):
80 Fix global cache reads of subdirectories.
82 2006-01-29 Patrick Lam <plam@mit.edu>
84 Add documentation for FcConfigNormalizeFontDir.
86 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
87 FcGlobalCacheUpdate, FcGlobalCacheSave):
88 * src/fcdir.c (FcDirScanConfig):
91 Write directory information to global caches to fix make check
92 (reported by Ronny V. Vindenes). This changes the global cache
95 2006-01-27 Patrick Lam <plam@mit.edu>
96 * fc-cache/fc-cache.c (scanDirs):
97 * fontconfig/fontconfig.h:
99 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
101 Move FcConfigNormalizeFontDir call so that it doesn't result in
102 infinite recursion (reported by Ronny V. Vindenes).
104 2006-01-26 Patrick Lam <plam@mit.edu>
105 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
106 * src/fccfg.c (FcConfigNormalizeFontDir):
108 Add a couple of missing normalizations to make fc-cache work
109 right; only scan subdirectories once.
111 2006-01-26 Mike Fabian <mfabian@suse.de>
114 * src/fcacache.c (FcGlobalCacheReadDir):
116 Don't crash on non-existant directories in global cache.
118 2006-01-26 Patirck Lam <plam@mit.edu>
119 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
120 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
121 * src/fcdir.c (FcDirScanConfig):
122 * src/fcxml.c (FcEndElement):
124 Stop trampling the directory name when writing out caches.
125 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
126 subdirs when necessary. Don't scan directories that can't be
129 2006-01-25 Patrick Lam <plam@mit.edu>
130 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
131 * src/fccfg.c (FcConfigEvaluate):
132 * src/fcfreetype.c (FcPatternAddWithBinding):
134 Fix additional memory leaks reported by Ronny V. Vindenes: don't
135 invoke FcValueSave on hashed static strings in
136 FcPatternAddWithBinding.
138 Add another st_dev check in FcDirCacheOpen.
140 2006-01-24 James Su <james.su@gmail.com>
143 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
144 * fc-lang/zh_hk.orth:
146 Treat zh-hk fonts differently from zh-tw fonts. This patch may
147 cause fontconfig to treat A-X fonts differently from A-Y fonts;
148 please mail the fontconfig list if this causes any problems.
150 2006-01-24 Patrick Lam <plam@mit.edu>
151 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
152 * src/fcfreetype.c (FcFreeTypeQuery):
154 Fix memory leaks reported by Ronny V. Vindenes.
156 2006-01-19 Andreas Schwab <schwab@suse.de>
159 * src/fcpat.c (FcStrNeededBytes):
161 Fix for unaligned memory accesses.
163 2006-01-18 Mike Fabian <mfabian@suse.de>
166 * src/fcdir.c (FcDirScanConfig):
168 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
169 calls to avoid crashes.
171 2006-01-14 Patrick Lam <plam@mit.edu>
172 * src/fccache.c (FcDirCacheConsume):
174 Fix segfault when consuming zero-length caches in fc-cat
175 (which has no config, so FcConfigAddFontDir shouldn't be called.)
177 2006-01-14 Patrick Lam <plam@mit.edu>
178 * fc-cache/fc-cache.c (scanDirs):
179 * fontconfig/fontconfig.h:
180 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
181 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
182 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
183 * src/fcdir.c (FcDirScanConfig):
186 Compare device numbers as well as inodes.
187 Always normalize directory names before comparing them.
189 2006-01-11 Mike Fabian <mfabian@suse.de>
192 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
194 Allocate extra space for appended '/' in directory name.
196 2006-01-10 Patrick Lam <plam@mit.edu>
197 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
198 FcDirCacheValid, FcDirCacheHasCurrentArch,
199 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
200 * fc-cache/fc-cache.c (main):
202 Explicitly add font dirs to config.fontDirs even if they're empty.
203 Set current config in fc-cache.c.
204 Fix treatment of cache directory as read from cache file; don't
205 use string equality to determine if we have the right file,
208 2006-01-09 Patrick Lam <plam@mit.edu>
209 * fc-cache/fc-cache.c (scanDirs):
210 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
211 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
212 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
213 * src/fccfg.c (FcConfigNormalizeFontDir):
214 * src/fcdir.c (FcDirScanConfig):
217 Normalize font dirs by using the form, as given in fonts.conf, and
218 recorded in FcConfig's fontDirs string set, as canonical.
220 Actually update config.fontDirs as font directories are scanned.
222 2006-01-08 James Su <james.su@gmail.com>
223 * src/fcmatch.c (FcFontSetMatch):
225 Fix matching bug when multiple elements match; don't use
226 the sum of all scores, but the best score.
228 Also more perf opts, e.g. evaluate best over all font sets
229 rather than on a per-set basis (and other changes).
231 2006-01-08 Patrick Lam <plam@mit.edu>
232 * src/fccache.c (FcDirCacheConsume):
234 Properly skip past dir caches that contain zero fonts (as occurs
235 in global caches.) Reported by Mike Fabian.
237 2006-01-06 Patrick Lam <plam@mit.edu>
238 * src/fcdbg.c (FcPatternPrint):
240 Print out full pathname in fc-match -v as well. Reported by
243 2006-01-06 Mike Fabian <mfabian@suse.de>
246 * src/fcname.c (FcNameParse):
248 Fix bug where fc-match crashes when given __DUMMY__ property to
251 (I added the __DUMMY__ string to enable callers of
252 FcObjectToPtrLookup to distinguish an error return from a
253 successful return. -PL)
255 2006-01-05 Patrick Lam <plam@mit.edu>
258 Add self to AUTHORS list.
260 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
261 FcCacheFileRead, FcCachePrintSet, main):
262 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
263 FcGlobalCacheSave, FcCacheNextOffset,
264 FcDirCacheHasCurrentArch, FcDirCacheRead,
265 FcDirCacheConsume, FcDirCacheWrite):
267 * src/fcpat.c (comment):
269 Minor change to global cache file format to fix fc-cat bug
270 reported by Frederic Crozat, and buglet with not globally caching
271 directories with zero fonts cached.
273 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
276 * src/fccfg.c (FcConfigEvaluate):
278 Fix double-free which occurs because FcValueCanonicalize doesn't
279 create an extra copy of the returned value, it only canonicalizes
282 2006-01-02 Patrick Lam <plam@mit.edu>
283 * doc/fontconfig-user.sgml:
285 Fix version of .cache file (currently 1 -> currently 2). Reported
288 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
291 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
293 Shut up GCC warnings on amd.
295 2005-12-20 Patrick Lam <plam@mit.edu>
299 * fontconfig/fontconfig.h:
301 Bump version to 2.3.93.
303 2005-12-20 Patrick Lam <plam@mit.edu>
304 * src/fccharset.c (FcLangCharSetPopulate):
305 * src/fcint.h (FcCacheBankToIndex):
307 Avoid check on _fcBankId nullness and fix case where it used to
310 2005-12-20 Patrick Lam <plam@mit.edu>
311 * src/fcxml.c (FcConfigParseAndLoad):
313 Use open instead of fopen (requested by Phil Race for Sun).
315 2005-12-20 Patrick Lam <plam@mit.edu>
316 * src/fccache.c (FcDirCacheWrite);
317 * fc-cache/Makefile.am:
319 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
322 2005-12-20 Patrick Lam <plam@mit.edu>
323 * src/fcfreetype.c (FcFreeTypeQuery):
325 Restore code to skip over PCF fonts that have no encoded
327 (We guess that a font is PCF by presence of the PIXEL_SIZE
330 2005-12-12 Patrick Lam <plam@mit.edu>
331 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
333 Read and write the original location as a fallback for the
334 hashed cache file locations. This is mostly for users to be
335 able to have per-directory cache files.
337 2005-12-12 Patrick Lam <plam@mit.edu>
338 * fc-cache/fc-cache.c (scanDirs):
339 * fc-cache/Makefile.am:
340 * src/fccache.c (FcDirCacheHashName):
342 Improve error message when fc-cache can't write the cache. Add
343 missing slash. Reported by Behdad. Incorporate Behdad's patch to
344 create /var/cache/fontconfig when appropriate.
346 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
349 * src/fcxml.c (FcConfigGetAttribute):
351 Fix crash reported by Frederic Crozat when using libxml2.
353 2005-12-09 Patrick Lam <plam@mit.edu>
356 * fc-cache/Makefile.am:
357 * fc-cat/Makefile.am:
359 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
360 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
361 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
362 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
363 FcDirCacheHasCurrentArch, FcDirCacheHashName,
364 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
366 Migrate cache files from fonts directories to
367 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
368 but requires that all caches get rebuilt.
370 Also, autogen.sh now needs the additional parameter
371 --localstatedir=/var.
373 2005-12-07 Patrick Lam <plam@mit.edu>
374 * src/fcpat.c (FcPatternAddString):
376 Because we've changed FcPatternAddString to use FcStrStaticName
377 and not FcValueSave, explicitly handle the case of a null string.
379 2005-12-06 Patrick Lam <plam@mit.edu>
380 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
384 2005-12-05 Patrick Lam <plam@mit.edu>
385 * src/fcname.c (FcNameGetObjectType):
387 Don't assign types to user object names.
389 2005-12-05 Patrick Lam <plam@mit.edu>
390 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
392 Don't free strings that have been returned from FcStrStaticName.
394 2005-12-01 Patrick Lam <plam@mit.edu>
395 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
397 Add codepath for reading global cache files as well.
399 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
402 * conf.d/10-fonts.persian.conf:
403 * conf.d/Makefile.am:
405 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
407 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
410 * src/fcxml.c (FcConfigParseAndLoad):
412 Only add a config file to the set of config files once.
414 2005-11-29 Patrick Lam <plam@mit.edu>
415 * src/fcint.h (FcCacheBankToIndex);
417 Fix segfault by guarding array dereference.
419 2005-11-29 Dirk Mueller <dmueller@suse.de>
423 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
424 FcCacheBankToIndex, FcCacheBankToIndexMTF,
428 Refactor FcCacheBankToIndex into an inlineable part
429 (in fcint.h) which checks the front of the list and a
430 non-inlineable part which finds and moves the appropriate element
431 to the front of the list.
433 2005-11-29 Patrick Lam <plam@mit.edu>
434 * src/fccfg.c (FcConfigBuildFonts):
435 * src/fccache.c (FcCacheReadDirs):
437 Make the perf guys hate me a bit less: hoist the directory-name
438 FcConfigAcceptFont check for cached fonts up to directory cache
439 read time, rather than running it for each font.
441 2005-11-29 Patrick Lam <plam@mit.edu>
442 * src/fccfg.c (FcConfigBuildFonts):
444 * src/fcpat.c (FcPatternFindFullFname):
446 Don't make FcPatternFindFullFname available to fccfg, it's not
447 really safe. Instead go through FcPatternGetString (sorry,
448 perf guys.) Also, use globs for dirs as well.
450 2005-11-28 Patrick Lam <plam@mit.edu>
451 * src/fccfg.c (FcConfigBuildFonts):
455 2005-11-28 Patrick Lam <plam@mit.edu>
457 * src/fcpat.c (FcPatternFindFullFname):
458 * src/fccfg.c (FcConfigBuildFonts):
460 Fix problem dating back at least to 2.3.2 where globs weren't
461 being applied to patterns loaded from a cache.
463 2005-11-28 Patrick Lam <plam@mit.edu>
464 * doc/fontconfig-user.sgml:
466 Fix some obvious spelling mistakes.
468 2005-11-28 Dirk Mueller <dmueller@suse.com>
469 Stephan Kulow <coolo@suse.de>
472 * src/fcmatch.c (FcFontSetMatch):
474 Don't kill all fonts during match (oops!)
477 2005-11-25 Dirk Mueller <dmueller@suse.com>
478 Stephan Kulow <coolo@suse.de>
479 Michael Matz <matz@suse.de>
482 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
485 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
486 inline FcCompare into FcFontSetMatch and reorder the
487 loops, adding a boolean array which blocks patterns from future
488 consideration if they're known to not be best on some past
491 2005-11-26 Dirk Mueller <dmueller@suse.com>
494 * src/fcmatch.c (FcCompareValueList):
498 2005-11-25 Patrick Lam <plam@mit.edu>
499 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
501 Don't do random matching when bad objects are passed into
504 2005-11-25 Patrick Lam <plam@mit.edu>
506 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
507 FcPatternSerialize, FcPatternUnserialize,
508 FcValueListEnsureBank, FcValueListDistributeBytes,
509 FcValueListUnserialize):
511 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
512 _fcPatternElts, _fcValueLists for consistency.
514 2005-11-25 Dirk Mueller <dmueller@suse.com>
519 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
521 2005-11-25 Patrick Lam <plam@mit.edu>
523 * src/fccache.c (FcDirCacheConsume):
524 * src/fccharset.c (FcCharSetUnserialize):
525 * src/fcfs.c (FcFontSetUnserialize):
526 * src/fclang.c (FcLangSetUnserialize):
527 * src/fcname.c (FcObjectUnserialize):
528 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
529 FcPatternUnserialize):
531 Pass around FcCache *s to the Unserialize functions for extra
532 consistency (and less overhead, for what that's worth).
534 2005-11-24 Dirk Mueller <dmueller@suse.com>
538 * src/fcmatch.c (FcCompare*, FcFontSetSort):
539 * src/fcname.c (FcNameUnparseValue):
541 Inline the *PtrU functions to gain perf.
542 Remove unneeded params for the FcCompare* functions.
544 2005-11-24 Dirk Mueller <dmueller@suse.com>
547 * src/fcint.h, fontconfig/fontconfig.h:
549 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
551 * src/fcpat.c, src/fcint.h, src/fcname.c:
553 Check for type validity during FcPatternAddWithBinding, don't
554 verify type in FcFontMatch, don't call FcCanonicalize here
555 (which always does a deep copy).
557 2005-11-24 Dirk Mueller <dmueller@suse.com>
560 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
561 * src/fcpat.c (FcPatternAddWithBinding):
563 Make FcCompareString and FcCompareFamily less expensive.
564 Only add a value for FC_FAMILY if the proposed value is a string.
566 2005-11-24 Dirk Mueller <dmueller@suse.com>
569 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
570 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
571 * src/fcint.h (FcDebug):
573 Inline FcDebug invocations and only initialize once, in FcInit*.
574 Improve debug msg in FcPatternPrint.
576 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
579 * fontconfig/fontconfig.h:
582 Minor code warning cleanups.
584 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
587 * fc-match/fc-match.c (main):
589 Make getopt_long accept -s parameter to fc-match as well.
591 2005-11-21 Dirk Mueller <dmueller@suse.com>
594 * src/fcmatch.c (FcCompareValueList):
596 Manually perform inlining & partial redundancy elimination to
597 reduce calls to FcValueListPtrU.
599 2005-11-21 Dirk Mueller <dmueller@suse.com>
602 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
603 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
605 Only invoke strlen() when really necessary.
607 2005-11-19 Matthias Clasen <mclasen@redhat.com>
611 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
616 Get rid of the use of freetype internal headers in fcfreetype.c,
617 since those headers will go away with freetype 2.2. Replace with
618 public domain ftglue code from pango. Note that the patch removes
619 some extra error checking in FT_Get_BDF_Property() and comments
620 out the skipping of empty pcf fonts.
622 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
625 * fc-lang/fc-lang.c (main):
627 Further fix of patch from 2005-11-04: miscounted numbers count
628 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
629 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
631 Removed leafidx_count and numbers_count since they are the same
632 and replaced them with offset_count.
634 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
637 * fc-cat/fc-cat.c (main):
639 Don't crash when fc-cat invoked with no arguments.
641 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
644 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
646 Fix invalid read access caused by premature free and
647 GCC4 warnings in libxml2 codepath.
649 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
652 * src/fccfg.c (FcConfigValues):
654 List iteration not needed in FcConfigValues, since it's building
655 up the list itself; we can just strip FcVoid elements during
658 2005-11-17 Patrick Lam <plam@mit.edu>
659 * src/fccfg.c (FcConfigValues):
661 Fix crash on invalid constants in config files (forgot to update
662 a pointer upon list iteration.)
664 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
667 * src/fcxml.c (FcTypecheckExpr):
669 Complain about invalid constants in config files.
671 2005-11-17 Andreas Schwab <schwab@suse.de>
674 * src/fccache.c (FcGlobalCacheSave):
676 Don't add current_arch_start more than once.
678 2005-11-16 Patrick Lam <plam@mit.edu>
679 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
680 * src/fcfs.c (FcFontSetUnserialize):
681 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
682 * src/fcpat.c (FcStrUnserialize):
684 Fix ordering of ALIGN with respect to saving block_ptr; add
685 another ALIGN to fcfs.c.
687 2005-11-16 Patrick Lam <plam@mit.edu>
688 * src/fccache.c (FcDirCacheProduce)
690 Fix case where alignment bytes bumped up metadata->count
691 causing unwarranted failures to write cache files.
692 (Reported by Stephan Kulow).
694 2005-11-16 Patrick Lam <plam@mit.edu>
695 * src/fccache.c (FcDirCacheProduce):
696 * src/fccharset.c (FcCharSetDistributeBytes):
697 * src/fcfs.c (FcFontSetDistributeBytes):
699 * src/fclang.c (FcLangSetDistributeBytes):
700 * src/fcname.c (FcObjectDistributeBytes):
701 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
704 Add *NeededBytesAlign(), which overestimates the padding which is
705 later added by the new ALIGN macro. Fix alignment problems on
706 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
707 version by Andreas Schwab).
709 2005-11-16 Stephan Kulow <coolo@kde.org>
714 Use sysconf to determine proper PAGESIZE value; this
715 appears to be POSIX-compliant. (reported by Andreas Schwab)
717 2005-11-04 Patrick Lam <plam@mit.edu>
723 Fix bug 2878 (excessive relocations at startup for charsets,
724 reported by Ross Burton): fc-lang/fc-lang now creates the
725 static form of the langset, not the dynamic form, so that
726 the charsets should now be in .rodata.
728 2005-11-04 Patrick Lam <plam@mit.edu>
729 * src/fcdir.c (FcDirScanConfig):
731 Add test for validity of directory caches that
732 somehow got lost (reported by make distcheck).
734 2005-11-04 Patrick Lam <plam@mit.edu>
738 * fontconfig/fontconfig.h:
740 Bump version to 2.3.92.
742 2005-11-02 Patrick Lam <plam@mit.edu>
743 * src/fcpat.c (FcPatternDuplicate):
745 Fix argument ordering problem in call to FcPatternTransferFullFname.
747 2005-11-02 Patrick Lam <plam@mit.edu>
748 * src/fcfreetype.c (FcFreetypeQuery):
749 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
750 FcPatternTransferFullFname):
752 Fix warnings and embarrassing double-free error.
754 2005-11-02 Zhe Su <zsu@novell.com>
759 Change the rule for artificial emboldening in fonts.conf.in. This
760 enables the support for artificial emboldening included in cairo.
762 2005-11-02 Patrick Lam <plam@mit.edu>
763 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
765 Don't zero out full names for FC_REF_CONSTANT fonts;
766 also, duplicate full names when transferring, and free
767 full names when freeing the associated font.
768 Reported by Jinghua Luo.
770 2005-11-02 Patrick Lam <plam@mit.edu>
771 * fc-cache/fc-cache.c (scanDirs):
772 * src/fcpat.c (FcValueListSerialize):
774 Revert the previous patch and commit the correct patch:
775 I forgot a canonicalization in FcValueListSerialize, so
776 that it would choke on already-serialized input files. Duh!
778 2005-11-02 Patrick Lam <plam@mit.edu>
779 * fc-cache/fc-cache.c (scanDirs):
781 Forcibly rescan a directory before writing a fresh local
782 cache file for that directory, fixing the losing-fonts
783 problem reported by Mike Fabian and also apparently the
784 font cache file corruption.
786 2005-11-02 Patrick Lam <plam@mit.edu>
787 * src/fccache.c (FcGlobalCacheLoad):
789 Fix thinko: actually, the whole global cache is stale
790 if the global cache is older than the (newest) config file.
792 2005-11-02 Patrick Lam <plam@mit.edu>
793 * src/fccache.c (FcGlobalCacheLoad):
794 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
797 Declare the global cache of a directory's contents to be stale if
798 the directory is newer than the (newest) configuration file.
800 2005-10-31 Patrick Lam <plam@mit.edu>
802 * src/fclist.c (FcListAppend):
803 * src/fcmatch.c (FcFontRenderPrepare):
804 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
805 FcPatternFreeze, FcPatternBaseFreeze):
807 Copy the full pathname whenever duplicating an FcPattern; otherwise,
808 applications continue breaking.
810 2005-10-31 Patrick Lam <plam@mit.edu>
811 * fc-cat/fc-cat.c (FcCacheFileRead, main):
812 * src/fcfreetype.c (FcFreeTypeQuery):
814 Fix small memory error (tried to free argv); use basename and
815 dirname correctly (they can modify their arguments).
817 2005-10-31 Patrick Lam <plam@mit.edu>
825 Reinstate basename patch, but keep a hash table linking FcPatterns
826 to their fully-qualified font names for clients' benefit. Clients
827 only pay for the font names once they request the FC_FILE property
828 from an FcPattern, but the font name is malloc'd at that point (i.e.
829 not mmapped: that's impossible, since it may vary between machines.)
830 Clients do have to pay for a copy of the path name per cache file.
832 Note that FcPatternGetString now does some rewriting if you ask
833 for an FC_FILE, appending the pathname as appropriate.
835 2005-10-31 Patrick Lam <plam@mit.edu>
836 * src/fcfreetype.c (FcFreeTypeQuery):
838 Revert basename patch, which breaks fontconfig clients on my system.
840 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
843 * fontconfig/fonts.conf.in:
844 * fontconfig/fontconfig.h:
848 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
849 to load embedded bitmaps or not.
851 2005-10-25 Patrick Lam <plam@mit.edu>
852 * src/fcfreetype.c (FcFreeTypeQuery):
854 Only add basename to patterns' FC_FILE element, not any part of
857 2005-10-22 Patrick Lam <plam@mit.edu>
860 Add some more consts, fixing more GCC4 warnings.
862 2005-10-22 Zhe Su <zsu@novell.com>
865 Support localized font family and style names.
866 This has been reported to break old apps like xfd, but modern
867 (gtk+/qt/mozilla) apps work fine.
869 2005-10-21 Patrick Lam <plam@mit.edu>
870 * src/fccache.c (FcGlobalCacheLoad):
872 Destroy the global cache file if it's terminally broken. (reported by
875 2005-10-21 Patrick Lam <plam@mit.edu>
876 * fc-list/fc-list.c (main):
877 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
878 * fontconfig/fontconfig.h:
880 Prevent fc-list from escaping strings when printing them (reported by
883 2005-10-20 Marcus Meissner <meissner@suse.de>
886 * fontconfig/fontconfig.h:
888 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
890 2005-10-14 Ross Burton <ross@burtonini.com>
893 * fc-glyphname/fc-glyphname.c:
896 Add consts to variables so as to move arrays into .rodata.
898 2005-10-14 Mike Fabian <mfabian@suse.de>
901 * src/fccache.c (FcDirCacheUnlink):
903 Check existence of directory cache file before attempting to unlink.
905 2005-10-13 Patrick Lam <plam@mit.edu>
906 * src/fccache.c (FcDirCacheUnlink):
908 Fix flipped return value on unlink. (Reported by Mike Fabian)
910 2005-10-12 Patrick Lam <plam@mit.edu>
913 * src/fcdir.c (FcDirScanConfig):
916 When fc-cache is run without --force, use directory cache files
917 to speed up fc-cache run time. (Reported by Mike Fabian)
919 2005-10-06 Patrick Lam <plam@mit.edu>
921 * src/fcname.c (FcObjectToPtr):
922 * src/fcpat.c (FcStrStaticName):
924 Add padding to make valgrind and glibc not hate each other
925 when calling strlen().
927 2005-10-05 Simos Xenitellis <simos74@gmx.net>
928 reviewed by: plam & keithp
932 Modify config file to use Greek fonts before Asian fonts with
935 2005-10-05 Christian Biesinger <cbiesinger@web.de>
936 reviewed by: plam & keithp
940 Use libtool -no-undefined flag on all platforms.
942 2005-10-05 Patrick Lam <plam@mit.edu>
943 * src/fccache.c (FcCacheHaveBank):
945 Implement move-to-front array for banks (perf regression
946 reported by Ronny V. Vindenes).
948 2005-10-04 Patrick Lam <plam@mit.edu>
949 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
950 FcDirCacheHasCurrentArch):
951 * fc-cache/fc-cache.c (scanDirs):
952 * fontconfig/fontconfig.h:
954 Add new API which unlinks directory caches and checks dir caches
955 for existence of appropriate sections. Fix fc-cache to unlink
956 stale cache files and save directory caches that lack relevant
959 2005-10-03 Patrick Lam <plam@mit.edu>
960 * src/fccache.c (FcDirCacheValid):
962 Ensure that a directory cache has the appropriate section
963 before reporting that it is valid (reported by Matthias Clasen).
965 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
973 Use libxml2 if requested (with --enable-libxml2) or if
974 expat is not available.
976 2005-09-29 Patrick Lam <plam@mit.edu>
977 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
979 Fix multi-arch cache files: compute the position for the
980 block to be added using info from OrigFile, not NewFile.
982 2005-09-28 Patrick Lam <plam@mit.edu>
983 * src/fccache.c (FcCacheMachineSignature):
985 Cast results of sizeof() to unsigned int to get rid of
986 warnings on x86_64 (thanks Matthias Clasen).
988 2005-09-27 Patrick Lam <plam@mit.edu>
989 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
992 Use FcAtomic to rewrite cache files.
994 2005-09-27 Patrick Lam <plam@mit.edu>
996 * src/fccache.c (FcDirCacheWrite):
998 Don't unlink the fonts.cache-2 file even if there's no data
999 to write; just write an empty cache file. (thanks Lubos Lunak)
1001 2005-09-27 Patrick Lam <plam@mit.edu>
1003 * src/fccache.c (FcDirCacheWrite):
1005 Allocate room for the subdirectory names in each
1006 directory cache. Thanks to James Cloos for finding
1007 and diagnosing this bug!
1009 2005-09-22 Patrick Lam <plam@mit.edu>
1011 * fc-cache/fc-cache.sgml:
1012 * src/fccache.c (FcDirCacheWrite):
1013 * src/fccache.h (struct FcCache):
1015 Update documentation -- fc-cache's man page now says that you
1016 need to run fc-cache once per cached architecture; add some
1017 documentation to the FcCache structure.
1019 Make fc-cache write out fonts.cache-2 files for directories with
1020 no fonts (i.e. only subdirectories).
1022 2005-09-22 Patrick Lam <plam@mit.edu>
1024 * fc-cache/fc-cache.sgml:
1025 * fc-case/fc-case.c:
1026 * fc-glyphname/fc-glyphname.c:
1032 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1036 * fc-lang/fc-lang.c:
1037 * fontconfig/fcprivate.h:
1038 * fontconfig/fontconfig.h:
1052 Implement new mmaped cache for font information.
1053 Bump so revision to 2.3.90.
1055 2005-07-25 Keith Packard <keithp@keithp.com>
1057 * doc/fontconfig-user.sgml:
1058 * fc-glyphname/fc-glyphname.c: (scan), (main):
1059 * fc-lang/fc-lang.c: (FcConfigHome):
1060 * fc-match/fc-match.c: (main):
1061 * src/fccfg.c: (FcConfigHome):
1062 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1063 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1064 (addtag), (FcFontCapabilities):
1065 * src/fcpat.c: (FcValueListEntCreate):
1066 * src/fcstr.c: (FcStrCaseWalkerInit):
1067 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1069 Various GCC 4 cleanups for signed vs unsigned char
1071 Match only [0-9]*.conf files in <include>{directory}</include>
1072 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1074 2005-07-15 Carl Worth <cworth@cworth.org>
1077 * src/fcinit.c: (FcFini):
1078 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1081 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1082 Pull the FcObjectStateName hash table out to file scope, and add
1083 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1086 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1089 2005-06-16 Patrick Lam <plam@MIT.EDU>
1093 * src/fccfg.c: (FcConfigCompareValue):
1094 Make FcOpNotContains use FcStrStr for strings so that
1095 it matches semantics for !FcOpContains.
1097 2005-05-20 Keith Packard <keithp@keithp.com>
1101 Move fontconfig source package to libs as per override
1103 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1105 reviewed by: Mike Fabian
1108 The ka.orth file requires several characters which are not
1109 used anymore in modern Georgian and which are missing in the free
1110 Georgian TrueType fonts downloadable at:
1112 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1114 2005-04-27 Keith Packard <keithp@keithp.com>
1118 Update date to real 2.3.2 release date.
1119 Fix change attributions
1121 2005-04-27 Keith Packard <keithp@keithp.com>
1124 Bump so revision for 2.3.2
1125 * fc-cache/fc-cache.c: (scanDirs):
1126 Fix a few minor leaks in error cases.
1128 2005-04-23 Keith Packard <keithp@keithp.com>
1133 * fontconfig/fontconfig.h:
1134 Update for version 2.3.2
1136 2005-04-21 Keith Packard <keithp@keithp.com>
1138 * debian/fontconfig.postinst:
1139 Don't force bitmap font enable in default
1140 configuration; allows users to override this in
1150 * debian/po/pt_BR.po:
1151 * debian/po/templates.pot:
1153 * debian/po/zh_CN.po:
1154 Updated translations
1156 * fc-cache/fc-cache.c: (main):
1157 Destroy font configuration on exit to help valgrind
1160 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1161 (FcFreeTypeCheckGlyph):
1162 Use own transcoding routines in preference to iconv
1163 which appears to have leaks in some translators.
1164 Call iconv_close after using iconv (oops).
1166 Prefer unicode encoding of Euro char as some
1167 fonts mis-encode Euro in other ones.
1169 Must fetch bitmap glyphs to get width values
1170 to check for monospace/dual-width fonts.
1172 2005-04-13 Ross Burton <ross@burtonini.com>
1175 Check that a pattern isn't already frozen in FcPatternFreeze.
1177 2005-03-31 Ross Burton <ross@burtonini.com>
1182 Run all FcPattern objects through FcObjectStaticName, so that
1183 compares can be done on pointers instead of strings (#2659)
1185 2005-03-17 Tor Lillqvist <tml@novell.com>
1187 * src/fontconfig.def.in: Add the .dll to the dll name.
1189 2005-03-10 Keith Packard <keithp@keithp.com>
1191 * debian/README.Debian:
1192 Update to reflect configuration changes
1194 * debian/fontconfig.postinst:
1195 Fix Autohint vs Autohinter mistake
1196 * debian/fontconfig.templates:
1197 Adopt changes from Josselin Mouette for configuration descriptions
1198 Update debian to version 2.3.1-2
1200 2005-03-08 Keith Packard <keithp@keithp.com>
1204 Update debian for 2.3.1
1206 2005-03-09 Tor Lillqvist <tml@novell.com>
1208 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1211 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1214 2005-03-08 Keith Packard <keithp@keithp.com>
1218 * fontconfig/fontconfig.h:
1221 2005-03-05 Keith Packard <keithp@keithp.com>
1223 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1224 Include space and remove numbers from valid script tags.
1225 This ensures that tags like 'lao ' work while rejecting
1226 those which have any digits.
1227 Eliminate a spurious debugging variable (len)
1229 2005-03-05 Keith Packard <keithp@keithp.com>
1231 * src/fcfreetype.c: (addtag), (GetScriptTags),
1232 (FcFontCapabilities):
1233 Rework GSUB/GPOS script parsing to survive broken fonts.
1234 Thanks for the broken font go to Manish Singh
1236 2005-03-05 Keith Packard <keithp@keithp.com>
1241 * debian/fontconfig.config:
1242 * debian/fontconfig.templates:
1244 Include 2.3 release information in changelog
1245 Add Josselin Mouette as an Uploader
1246 Set hinting_type to low priority configuration option
1249 * debian/fontconfig.postinst:
1250 yes_bitmaps.conf -> yes-bitmaps.conf
1256 2005-03-02 Keith Packard <keithp@keithp.com>
1259 * conf.d/Makefile.am:
1260 * conf.d/autohint.conf:
1261 * conf.d/no-sub-pixel.conf:
1262 * conf.d/sub-pixel.conf:
1263 * conf.d/unhinted.conf:
1264 * debian/autohint.conf:
1265 * debian/fontconfig.install:
1266 * debian/fontconfig.postinst:
1267 * debian/fontconfig.templates:
1268 * debian/no-sub-pixel.conf:
1269 * debian/unhinted.conf:
1270 Move debian-specific conf file examples upstream.
1272 Sub-pixel configuration examples must smash subpixel value
1273 as Xft always sets it from X.
1275 Change sub-pixel rendering debconf descriptions from
1276 Enable/Disable to Always/Never.
1278 2005-03-02 Keith Packard <keithp@keithp.com>
1281 * conf.d/.cvsignore:
1283 Ignore more build detritus
1286 Add debian package construction stuff.
1288 * config/config.guess:
1289 * config/config.sub:
1290 Update to newer versions of these tools
1293 Get library manuals to build again (we love automake).
1295 * debian/README.Debian:
1296 * debian/autohint.conf:
1301 * debian/fontconfig-udeb.install:
1302 * debian/fontconfig.config:
1303 * debian/fontconfig.defoma:
1304 * debian/fontconfig.dirs:
1305 * debian/fontconfig.install:
1306 * debian/fontconfig.postinst:
1307 * debian/fontconfig.postrm:
1308 * debian/fontconfig.templates:
1309 * debian/libfontconfig1-dev.install:
1310 * debian/libfontconfig1.install:
1311 * debian/local.conf.md5sum:
1312 * debian/no-sub-pixel.conf:
1313 * debian/po/POTFILES.in:
1322 * debian/po/pt_BR.po:
1323 * debian/po/templates.pot:
1325 * debian/po/zh_CN.po:
1327 * debian/unhinted.conf:
1328 Update debian build system to switch maintainers and
1329 deal with 2.3 functionality
1331 2005-03-01 Keith Packard <keithp@keithp.com>
1335 * fontconfig/fontconfig.h:
1338 2005-03-01 Keith Packard <keithp@keithp.com>
1341 Generate and install PDF versions of the manuals
1343 * doc/fcpattern.fncs:
1346 * doc/fcstring.fncs:
1347 Add missing exported functions, fix data types
1349 * doc/fontconfig-devel.sgml:
1350 Add missing pattern elements.
1352 * doc/fontconfig-user.sgml:
1353 Add missing pattern elements. Document conf.d usage,
1354 clarify available orthography list. Fix some config file
1355 attributes. Complete list of constants.
1357 * fontconfig/fontconfig.h:
1358 Mark FC_SOURCE deprecated.
1360 * src/fcfreetype.c: (FcFreeTypeQuery):
1361 Don't set FC_SOURCE any longer.
1363 2005-02-28 Keith Packard <keithp@keithp.com>
1366 * conf.d/Makefile.am:
1368 * conf.d/no-bitmaps.conf:
1369 * conf.d/sub-pixel.conf:
1370 * conf.d/yes-bitmaps.conf:
1372 Create prototype /etc/fonts/conf.d directory with a few
1373 sample configuration files.
1374 Deprecate use of local.conf for local customizations in favor of
1375 this directory based scheme which is more easily integrated into
1376 installation systems.
1379 Tag FC_EMBOLDEN as a boolean variable
1381 2005-02-10 Keith Packard <keithp@keithp.com>
1383 reviewed by: pborelli@katamail.com
1385 * src/fcdir.c: (FcFileScanConfig):
1386 Free patterns from fonts which are rejected by configuration
1389 2005-01-28 Keith Packard <keithp@keithp.com>
1393 * fontconfig/fontconfig.h:
1394 Update for version 2.2.99
1396 2005-01-28 Keith Packard <keithp@keithp.com>
1399 Add a few pointers (#2284, #2285)
1401 2005-01-28 Keith Packard <keithp@keithp.com>
1404 * src/fcname.c: (FcNameBool):
1405 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1406 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1407 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1408 Polite typechecking for test and edit expressions. Helps
1409 catch errors in the font configuration. (bug 229)
1411 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1413 reviewed by: Keith Packard <keithp@keithp.com>
1416 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1418 2005-01-13 Keith Packard <keithp@keithp.com>
1420 * doc/fontconfig-user.sgml:
1421 Add SEE ALSO section (bug 2085)
1423 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1425 reviewed by: Keith Packard <keithp@keithp.com>
1430 * fc-case/Makefile.am:
1431 * fc-glyphname/Makefile.am:
1432 * fc-lang/Makefile.am:
1433 * src/fontconfig.def.in:
1434 Cross compiling fixes (bug 280)
1436 2005-01-13 Keith Packard <keithp@keithp.com>
1439 Update blanks list (Closes bug 86)
1441 2005-01-04 Keith Packard <keithp@keithp.com>
1443 * src/fccache.c: (FcCacheFontSetAdd):
1444 Verify that every font pattern loaded from cache has
1445 both FC_FILE and FC_FAMILY entries.
1446 Attempt to fix bug #2219.
1448 2004-12-29 Keith Packard <keithp@keithp.com>
1452 * fontconfig/fontconfig.h:
1453 Update for version 2.2.98
1455 2004-12-29 Keith Packard <keithp@keithp.com>
1457 * fontconfig/fontconfig.h:
1458 Document ASCII limitations of Fc character conversion macros
1459 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1460 Fix off-by-one error in utf-8 case walking code.
1461 Add FcStrDowncase (useful for testing case conversion functions)
1463 2004-12-29 Keith Packard <keithp@keithp.com>
1466 * fc-case/.cvsignore:
1467 clean up CVS ignore lists
1468 * fc-lang/iso-3166.txt:
1469 Add territory database
1471 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1473 Reviewed by: Keith Packard
1476 Remove Han characters from Korean orthography
1478 2004-12-29 Keith Packard <keithp@keithp.com>
1481 Reorder utility programs to make sure fc-case is run before fc-lang
1482 as fc-lang uses fcstr.c which uses fccase.h
1486 2004-12-29 Keith Packard <keithp@keithp.com>
1489 Adopt some RedHat suggestions for standard font configuration.
1493 * fc-case/CaseFolding.txt:
1494 * fc-case/Makefile.am:
1495 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1496 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1497 (dump), (parseRaw), (caseFoldReadRaw), (main):
1498 * fc-case/fccase.tmpl.h:
1499 Add new helper program 'fc-case' to construct case folding
1500 tables from standard Unicode CaseFolding.txt file
1503 * src/fclist.c: (FcListValueHash):
1504 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1505 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1506 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1507 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1508 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1509 Re-implement case insensitive functions with Unicode
1510 aware versions (including full case folding mappings)
1512 2004-12-13 Keith Packard <keithp@keithp.com>
1514 reviewed by: Owen Taylor <otaylor@redhat.com>
1516 * src/fcmatch.c: (FcFontSetSort):
1517 I changed FcFontSetSort to respect the generic aliases better
1518 in the face of language matching.
1520 What I did was to ammend the strict sort order used by FcFontSort so
1521 that it 'satisfies' the language specified in the pattern by locating
1522 the best matching font supporting each pattern language and then
1523 ignores language in the remaining fonts for purposes of matching.
1525 So, when asking for 'sans:lang=en', you'll get an English font first,
1526 and then the remaining fonts sorted with respect to the 'sans' alias
1527 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1529 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1531 reviewed by: Keith Packard <keithp@keithp.com>
1533 * fontconfig/fontconfig.h:
1536 Configuration changes to request synthetic emboldening of
1537 fonts. The actual emboldening code will live in Xft.
1539 2004-12-09 John Thacker <thacker@math.cornell.edu>
1541 reviewed by: Keith Packard <keithp@keithp.com>
1545 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1546 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1547 и), and don't even appear in KOI8-R. (The hypothesis that they
1548 don't appear in KOI8-R due to their similarity with Latin I and i is
1549 eliminated by their presence in KOI8-U.) I have a couple of fonts
1550 with Russian support that don't have the letter.
1552 Therefore, 0406 and 0456 should be removed from or commented out of
1555 2004-12-06 michael meeks <mmeeks@novell.com>
1557 Reviewed by: Keith Packard <keithp@keithp.com>
1559 * src/fcinit.c: (FcMemReport):
1561 * src/fclist.c: (FcObjectSetAdd):
1562 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1563 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1564 * src/fcxml.c: (FcParsePatelt):
1565 memoize strings and share a single copy for all uses. Note that
1566 this could be improved further by using statically allocated blocks
1567 and gluing multiple strings together, but I'm basically lazy.
1568 In my environment with 800 font files, I get a savings of about 90KB.
1570 2004-12-06 Keith Packard <keithp@keithp.com>
1574 * config/Makedefs.in:
1577 * doc/fcatomic.fncs:
1578 * doc/fcblanks.fncs:
1579 * doc/fccharset.fncs:
1580 * doc/fcconfig.fncs:
1581 * doc/fcconstant.fncs:
1583 * doc/fcfontset.fncs:
1584 * doc/fcfreetype.fncs:
1586 * doc/fcmatrix.fncs:
1587 * doc/fcobjectset.fncs:
1588 * doc/fcobjecttype.fncs:
1589 * doc/fcpattern.fncs:
1590 * doc/fcstring.fncs:
1591 * doc/fcstrset.fncs:
1593 * doc/fontconfig-devel.sgml:
1594 * doc/fontconfig-user.sgml:
1596 * doc/version.sgml.in:
1597 * fc-cache/Makefile.am:
1598 * fc-cache/fc-cache.c:
1599 * fc-glyphname/Makefile.am:
1600 * fc-glyphname/fc-glyphname.c:
1601 * fc-glyphname/fcglyphname.tmpl.h:
1602 * fc-lang/Makefile.am:
1612 * fc-lang/az_ir.orth:
1646 * fc-lang/fc-lang.c:
1647 * fc-lang/fc-lang.man:
1648 * fc-lang/fclang.tmpl.h:
1693 * fc-lang/ku_ir.orth:
1726 * fc-lang/ps_af.orth:
1727 * fc-lang/ps_pk.orth:
1756 * fc-lang/ti_er.orth:
1757 * fc-lang/ti_et.orth:
1783 * fc-lang/zh_cn.orth:
1784 * fc-lang/zh_hk.orth:
1785 * fc-lang/zh_mo.orth:
1786 * fc-lang/zh_sg.orth:
1787 * fc-lang/zh_tw.orth:
1789 * fc-list/Makefile.am:
1790 * fc-list/fc-list.c:
1791 * fc-match/Makefile.am:
1792 * fc-match/fc-match.1:
1793 * fc-match/fc-match.c:
1794 * fontconfig/fcfreetype.h:
1795 * fontconfig/fcprivate.h:
1796 * fontconfig/fontconfig.h:
1817 Change files from ISO-Latin-1 to UTF-8
1819 2004-12-04 Keith Packard <keithp@keithp.com>
1822 Update links to new freedesktop.org locations
1824 Add uninstall-local to get rid of fonts.conf and local.conf if they
1825 match the distributed versions. Fixes 'make distcheck'
1827 2004-12-04 Keith Packard <keithp@keithp.com>
1831 * fontconfig/fontconfig.h:
1832 Updates for version 2.2.97
1834 2004-12-04 Owen Taylor <otaylor@redhat.com>
1836 reviewed by: Keith Packard <keithp@keithp.com>
1838 * fc-cache/fc-cache.c: (main):
1839 Sleep for two seconds before exiting to make sure timestamps
1840 for future changes have distinct mod times in the file system.
1843 Add Punjabi orthography. Bug #1671.
1845 2004-12-04 Keith Packard <keithp@keithp.com>
1848 Just remove the FC_FONTDATE -- it has locale issues and
1849 annoys redhat multi-arch installs. Now that all X fonts are
1850 included without prejudice, the chances of the date being at
1851 all interesting are rather limited. Bug #505.
1853 Add copyright and license
1855 2004-12-04 Keith Packard <keithp@keithp.com>
1858 Change default set of fonts to include all of
1859 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1860 * doc/fontconfig-user.sgml:
1861 Document new <include>directory-name</include> semantics
1863 add <include ignore_missing="yes">conf.d</include>
1865 Add selectfont to ignore bitmap fonts, add comment for
1866 selectfont which accepts bitmap fonts.
1869 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1870 Allow <include> configuration elements to reference directories.
1871 Parse and load all files of the form [0-9]* in sorted order.
1873 2004-12-04 Keith Packard <keithp@keithp.com>
1876 Report command line for $srcdir/configure accurately.
1879 2004-12-04 Keith Packard <keithp@keithp.com>
1881 * src/fcfreetype.c: (FcFreeTypeQuery):
1882 Check for non-empty face->family_name and face->style_name
1883 before using those for the font. Empty names match everything.
1886 2004-12-04 Keith Packard <keithp@keithp.com>
1889 * fontconfig/fontconfig.h:
1890 * src/fcfreetype.c: (FcFreeTypeQuery):
1892 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1893 available. This provides font file format information (BDF, Type 1,
1894 PCF, TrueType) for each font. Closes #109.
1896 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1898 reviewed by: Keith Packard <keithp@keithp.com>
1900 * doc/fontconfig-user.sgml:
1903 * fontconfig/fontconfig.h:
1904 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1905 (GetScriptTags), (FcFontCapabilities):
1907 Add detection for font capabilities (bug #105)
1909 2004-12-04 Keith Packard <keithp@keithp.com>
1912 Move existing fonts.conf to fonts.conf.bak
1915 Add detection of iconv
1917 * doc/fcpattern.fncs:
1918 * doc/fontconfig-devel.sgml:
1919 * doc/fontconfig-user.sgml:
1921 Document new selectfont elements
1924 Switch to UTF-8 in comment
1926 * fontconfig/fontconfig.h:
1928 Add fullname, and family/style/fullname language entries
1930 * src/fccache.c: (FcCacheFontSetAdd):
1931 * src/fcdir.c: (FcFileScanConfig):
1932 Respect selectfont/*/glob
1935 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1936 (FcConfigCompareValue), (FcConfigPatternsAdd),
1937 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1938 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1939 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1940 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1941 Add support for selectfont
1943 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1944 (FcStringInPatternElement), (FcFreeTypeQuery):
1945 Add multi-lingual family/style/fullname support
1947 * src/fclist.c: (FcListPatternMatchAny):
1948 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1950 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1951 (FcObjectStaticName):
1952 Add new FcPatternRemove/FcPatternAppend.
1953 FcObjectStaticName stores computed pattern element names which
1954 are required to be static.
1956 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1961 Remove spurious / after $(DESTDIR)
1963 2004-06-30 Keith Packard <keithp@keithp.com>
1967 * fontconfig/fontconfig.h:
1970 2004-06-30 Keith Packard <keithp@keithp.com>
1972 Provided by: Lubos Lunak <l.lunak@suse.cz>
1974 * src/fccfg.c: (FcConfigUptoDate):
1975 However FcConfigUptoDate() doesn't seem to work. See the attached
1976 patch. First there's an obvious misplaced parenthesis making it
1977 return always false, and second, even this call fails to detect font
1978 changes (e.g. adding a new font to
1979 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1980 well. The problem seems to be triggered by my fonts.conf specifying
1981 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1982 doesn't include subdirs, unlike config->fontDirs.
1984 2004-06-03 Keith Packard <keithp@keithp.com>
1986 * fontconfig/fontconfig.h:
1987 Remove comma at end of FcResult enum definition.
1989 2004-05-29 Keith Packard <keithp@keithp.com>
1992 Add steps to md5sum release
1994 2004-05-29 Keith Packard <keithp@keithp.com>
1998 * fontconfig/fontconfig.h:
2001 2004-05-29 Keith Packard <keithp@keithp.com>
2003 * fontconfig/fontconfig.h:
2004 * src/fcmatch.c: (FcFontSetMatch):
2005 Add FcResultOutOfMemory to provide an accurate error when
2006 FcFontSetMatch fails in this way
2009 Make #warning about lacking various FreeType features indicate
2010 which version those features appeared so users know how to
2011 fix the problem (Thanks to Anton Tropashko)
2013 2004-05-05 Keith Packard <keithp@keithp.com>
2015 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2016 Replace MIN/MAX/ABS macros which happen to have come
2017 from FreeType with fontconfig-specific ones (FC_*)
2019 2004-04-23 Keith Packard <keithp@keithp.com>
2022 Extend release preparation instructions to include
2023 notification and distribution steps
2025 2004-04-23 Keith Packard <keithp@keithp.com>
2029 * fontconfig/fontconfig.h:
2030 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2032 2004-04-23 Keith Packard <keithp@keithp.com>
2035 Ignore a few more autotool files
2037 2004-04-14 Keith Packard <keithp@keithp.com>
2040 Add instructions for doing a release
2042 * fontconfig.spec.in:
2043 clean up .spec file; perhaps this will be useful to somebody...
2047 * fontconfig/fontconfig.h:
2050 * fc-lang/fc-lang.c:
2051 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2053 * fc-glyphname/Makefile.am:
2054 * fc-lang/Makefile.am:
2055 * fc-list/Makefile.am:
2056 * fc-match/Makefile.am:
2058 Add WARN_CFLAGS to pass -W flags for GCC systems
2060 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2061 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2062 Change various char types around to match across
2064 Fixed bug in using available_sizes[i].height which
2065 is in pixels, not 64ths of a pixel.
2067 2004-03-06 Keith Packard <keithp@keithp.com>
2069 * src/fcfreetype.c: (FcFreeTypeQuery):
2070 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2071 matches looking for explicit values prefer exact matches
2073 2004-03-02 Keith Packard <keithp@keithp.com>
2075 Supplied by: mfabian@suse.de (Mike FABIAN)
2077 * src/fcfreetype.c: (FcFreeTypeQuery):
2078 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2079 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2081 2004-02-21 Manish Singh <yosh@gimp.org>
2083 * fc-glyphname/fc-glyphname.c: (main):
2084 Cast strlen to int for printf, so we're 64-bit clean.
2086 2004-02-11 Keith Packard <keithp@keithp.com>
2089 * src/fcfreetype.c: (FcGetPixelSize):
2090 Ok, so I messed up the test for y_ppem. Let's see if I
2091 got it right this time.
2093 2004-02-10 Keith Packard <keithp@keithp.com>
2096 * src/fcfreetype.c: (FcGetPixelSize):
2097 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2098 FT_Bitmap_Size record. Add a configure.in test for this
2099 and change the code accordingly (using height instead).
2101 2004-02-06 Keith Packard <keithp@keithp.com>
2104 Add Low Saxon orthography
2105 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2107 * src/fccfg.c: (FcConfigNewestFile):
2108 Oops. Left 'newest.set' unset, which would miscompute
2111 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2112 (FcFreeTypeCheckGlyph):
2113 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2114 font properties (which report the wrong value in current FreeType)
2116 Don't attempt to check for empty glyphs in non-scalable fonts; they
2119 2004-02-01 Tor Lillqvist <tml@iki.fi>
2121 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2122 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2123 cache if config->cache is NULL, which happens if FcConfigHome() is
2124 NULL. Guard against that by using the temp folder in that case.
2126 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2128 * fc-lang/az_ir.orth:
2129 * fc-lang/ku_ir.orth:
2130 * fc-lang/ps_af.orth:
2131 * fc-lang/ps_pk.orth:
2132 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2133 (Afghan and Pakistani).
2135 Updated Urdu orthography with real data.
2137 2003-12-11 Carl Worth <cworth@east.isi.edu>
2139 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2142 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2144 (all-local): Remove excessive whitespace.
2146 * autogen.sh: Add 'set -e' to abort when any program fails,
2147 (avoids printing of 'now type make' after configure aborts).
2149 2003-11-17 Eric Christopherson <rakko@charter.net>
2151 reviewed by: Keith Packard <keithp@keithp.com>
2154 * fontconfig/fcfreetype.h:
2156 Switch to FreeType 2.1.7 style includes. Bug #150.
2158 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2160 * fc-list/fc-list.sgml: Add some example usages.
2162 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2165 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2168 2003-10-27 Keith Packard <keith@keithp.com>
2171 * fontconfig/fontconfig.h:
2172 Update to version 2.2.92
2174 2003-10-27 Keith Packard <keithp@keithp.com>
2179 * fc-cache/Makefile.am:
2180 * fc-glyphname/Makefile.am:
2181 * fc-lang/Makefile.am:
2182 * fc-list/Makefile.am:
2183 * fc-match/Makefile.am:
2186 Yet more cleanups to finish getting 'make distcheck' working
2187 This has been tested to ensure that it even works from a _build
2190 2003-10-26 Keith Packard <keithp@keithp.com>
2194 * fc-cache/Makefile.am:
2195 * fc-glyphname/Makefile.am:
2196 * fc-lang/Makefile.am:
2197 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2198 * fc-list/Makefile.am:
2199 * fc-match/Makefile.am:
2200 Attempts to fix 'make distcheck' work. Things are
2201 progressing pretty well, but there are still failures
2202 long into the process dealing with docs (as always).
2204 The big changes here are mostly to make $(srcdir) != "."
2205 work correctly, fixing the docbook related sections and
2206 fc-lang were particularily tricky. Docbook refuses to load
2207 system entities from anywhere other than where the original .sgml
2208 file was located, so no luck looking in "." for the
2209 configure-generated version.sgml and confdir.sgml files.
2211 fc-lang needed help finding .orth files; added a -d option
2212 to set the directory as the least evil of many options.
2214 Now to go use a faster machine and try and wring out the last
2217 2003-10-26 Keith Packard <keithp@keithp.com>
2221 2003-10-26 Keith Packard <keithp@keithp.com>
2224 Include confdir.sgml.in in EXTRA_DIST
2226 2003-10-09 Josselin Mouette <joss@debian.org>
2228 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2229 * fc-list/fc-list.sgml fc-list/Makefile.am:
2230 Replace fc-cache and fc-list manpages with more detailed, SGML
2233 2003-09-23 Owen Taylor <otaylor@redhat.com>
2235 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2236 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2237 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2240 2003-09-23 Owen Taylor <otaylor@redhat.com>
2242 * fc-lang/ka.orth: Remove Georgian capitals, they
2243 aren't used for normal writing. (Bug #116)
2245 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2247 * doc/fontconfig-devel.sgml:
2248 * doc/fontconfig-user.sgml:
2249 * fontconfig/fontconfig.h:
2251 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2252 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2254 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2255 monospace and dual-width fonts, allow roughly a 3% variance in the
2258 2003-08-31 Manish Singh <yosh@gimp.org>
2260 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2263 2003-08-15 Carl Worth <cworth@isi.edu>
2265 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2266 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2268 * src/fcpat.c (FcValueListEntDestroy): New function to support
2269 FcFini memory cleanup. Some statistics are not kept in
2271 (FcValueListFreeze): Move hashTable outside this function so it
2272 can be accessed by FcValueListThawAll.
2273 (FcValueListThawAll): New function complements FcValueListFreeze.
2274 (FcPatternBaseFreeze): Move hashTable outside this function so it
2275 can be accessed by FcPatternBaseThawAll.
2276 (FcPatternBaseThawAll): New function complements
2277 FcPatternBaseFreeze.
2278 (FcPatternThawAll): New function complements FcPatternFreeze.
2280 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2282 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2283 allocated FcCharLeafEnt "blocks" so they can be freed later.
2284 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2285 can be accessed by FcCharSetThawAllLeaf.
2286 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2287 (FcCharSetFreezeBase): Move hashTable outside this function so it
2288 can be accessed by FcCharSetThawAll.
2289 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2291 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2292 (FcConfigDestroy): Fic leak of FcBlanks.
2294 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2295 (main): Add call to FcFini when finished.
2297 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2298 static. Add prototypes.
2300 * doc/fcinit.fncs: Add documentation for FcFini function.
2302 * doc/edit-sgml.c: Mark several local functions as static. Add
2305 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2307 2003-06-15 Tor Lillqvist <tml@iki.fi>
2309 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2310 before comparing (needed on Windows).
2312 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2314 2003-06-13 Tor Lillqvist <tml@iki.fi>
2316 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2319 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2320 WINDOWSFONTDIR token.
2322 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2323 end, not to confuse libtool, which expects the EXPORTS line to be
2324 the first. Add FcConfigEnableHome.
2326 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2327 built as a DLL on Win32.
2329 2003-06-09 Keith Packard <keithp@keithp.com>
2331 * Tag version 2.2.90
2333 2003-06-09 Keith Packard <keithp@keithp.com>
2335 * Optimization in FcLangSetIndex was broken, occasionally
2336 returning a pointer to the wrong location on miss
2338 * Add fc-match to test font matching from the command line.
2340 2003-05-31 Keith Packard <keithp@keithp.com>
2342 * (Bug 85) add support for culmus fonts
2343 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2344 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2346 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2348 * Fix "contains" op for strings and langsets.
2350 2003-05-17 Keith Packard <keithp@keithp.com>
2352 * Fix build error with BDF prop local. Free langset after query
2354 2003-05-14 Keith Packard <keithp@keithp.com>
2356 * Extract spacing from XLFD atom
2358 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2360 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2361 disappeared in 1.30.
2363 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2365 2003-05-12 Keith Packard <keithp@keithp.com>
2367 * Use FcIsWidth to share code
2369 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2370 misclassifying some Han fonts as monospaced.
2372 2003-05-07 Keith Packard <keithp@keithp.com>
2374 * Add filename-based accept/reject to ammend available fonts.
2376 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2377 older FreeType releases.
2379 2003-05-06 Keith Packard <keithp@keithp.com>
2381 * Remove 0b82 and Tamil numbers from tamil
2382 orthography (Jungshik Shin <jshin@mailaps.org>)
2384 2003-05-04 Keith Packard <keithp@keithp.com>
2386 + Map glyph names in fonts with adobe custom encoding to unicode
2388 2003-05-02 Keith Packard <keithp@keithp.com>
2390 * Add FC_WEIGHT_BOOK as weight 75
2392 2003-04-30 Keith Packard <keithp@keithp.com>
2394 * Typo in bitstream foundry name
2396 2003-04-24 Keith Packard <keithp@keithp.com>
2398 * Eliminate italic_angle check for PS fonts
2400 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2402 * Getting closer to fixing /etc/fonts hard-coding.
2404 2003-04-22 Keith Packard <keithp@keithp.com>
2406 * Update autogen.sh to work with newer automake versions
2407 * Handle pattern elements moving during multiple edits
2409 2003-04-23 James Henstridge <james@daa.com.au>
2411 * doc/fontconfig-devel.sgml: close the <para> element.
2413 * doc/fcpattern.fncs: close the <para> element.
2415 * doc/func.sgml: close the <refsynopsisdiv> element.
2417 2003-04-22 Keith Packard <keithp@keithp.com
2419 * Update autogen.sh to work with newer automake versions
2420 * Handle pattern elements moving during multiple edits
2422 2003-04-17 Colin Walters <walters@debian.org>
2424 + Remove some unused variables, and initialize some other ones so
2425 gcc doesn't warn us.
2427 2003-04-16 Keith Packard <keithp@keithp.com>
2429 + tag version 2.1.94
2431 2003-04-16 Keith Packard <keithp@keithp.com>
2433 + add BDF property fetching support for foundry
2434 (from Juliusz Chroboczek)
2435 + add BDF property fetching support for width
2437 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2439 + Implemented foundry generation for Type 1 and TrueType
2441 2003-04-11 Gerard Escalante <g2@magestudios.net>
2443 + Retrieve information from Type1 FontInfo dictionaries
2445 2003-04-07 Colin Walters <walters@verbum.org>
2447 + src/Makefile.am: Fix dummy makefile target names when
2448 MS_LIB_AVAILABLE isn't set.
2450 2003-03-22 Tor Lillqvist <tml@iki.fi>
2452 Changes for Windows:
2454 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2456 + We don't want to hardcode the fonts.conf file location in the
2457 DLL, so we look up the DLL location at run-time in a DllMain()
2458 function. The fonts.conf location is deduced from that.
2460 + The colon can't be used as path separator on Windows,
2461 semicolon is used instead. File path components can be separated
2462 with either slash or backslash. Absolute paths can also begin
2463 with a drive letter.
2465 + Add internal function FcStrLastSlash that strrchr's the last
2466 slash, or backslash on Windows.
2468 + There is no link() on Windows. For atomicity checks, mkdir a
2469 lock directory instead.
2471 + In addition to HOME, also look for USERPROFILE.
2473 + Recognize the special font directory token WINDOWSFONTDIR, to
2474 use the system's font directory.
2476 + Remove the fontconfig-def.cpp that was obsolete. Add
2477 fontconfig.def(.in), without internal functions.
2479 + Add a fontconfig-zip(.in) script, used to build a binary
2482 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2483 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2484 to main package and man3/* to devel package
2486 + Added missing defattr(-, root, root) to main RPM package
2488 + Added HTML and text development documentation to -devel subpackage
2490 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2491 + Added back the configure macro options --disable-docs, otherwise
2492 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2493 version number) unconditionally, causing RPM to fail the build due
2494 to _unpackaged_files_terminate_build. We pick up the pregenerated
2495 docs with %doc already.
2497 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2498 + Removed commented out rpm macro define at top of spec file,
2499 replacing it with a simple explanation, since rpm macros are
2500 expanded by rpm even in comments.
2502 + Changed /usr/bin to _bindir in BuildRequires lines
2504 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2506 + Reorganized file manifest lists
2508 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2510 + fontconfig.spec.in: Improvements from Red Hat spec file.
2512 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2514 + docs/*.sgml: SGML fixes.
2516 Sat Mar 1 17:28:53 PST 2003 keithp
2517 + Ok, so the ChangeLog is a bit out of date
2519 + Lots of bugs fixed; most are in bugzilla, the
2520 biggest problems were in cache management where
2521 Owen discovered the library would lose badly when
2522 combining fonts-cache and ~/.fonts-cache data
2524 + Converted from autoconf to automake. This after
2525 getting patches accepted into libtool to allow
2526 the '-version-number' argument which lets
2527 packages set version numbers explicitly rather
2528 than the roundabout libtool way
2530 + Converted documentation to SGML using the docbook
2531 DTD. Now .txt and .html documents are installed
2532 in /usr/share/doc/fontconfig and there's no
2533 man page. Perhaps a man version can be written
2536 Sat Aug 31 15:21:22 PDT 2002 keithp
2537 + Xrender and Xft had several bugs related to
2538 rendering manually placed or poly-face text
2540 + Added more complete memory tracing in fontconfig
2541 Checked with (patched) mozilla and found no leaks
2543 + Updated Latin orthographies by comparing those from
2544 evertype.com with those from eki.ee. Tried to make
2545 sensible choices, including chars that occured in both
2546 and leaving some optional chars out that occured only
2549 Mon Aug 26 16:33:04 PDT 2002 keithp
2550 + Owen discovered that FcLangSetHasLang wasn't actually
2551 checking the language set.
2553 Mon Aug 26 13:37:23 PDT 2002 keithp
2554 + Append a version number to cache filenames
2556 Thu Aug 22 11:36:18 PDT 2002 keithp
2558 + Add "contains" and "not_contains" operators and elements to
2561 + Changed semantics of eq operator for LangSets to check for
2562 FcLangEqual so that any match will do
2564 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2565 of FcValueEqual to check for identical values when inserting into
2566 the results. This broke when the above semantic change was made,
2567 now it uses FcValueEqual which is "more correct" in any case.
2569 Thu Aug 22 00:32:29 PDT 2002 keithp
2571 + Reimplement FC_LANG as new datatype. Lists of strings
2572 was consuming over a megabyte of memory for 401 fonts.
2574 + Freeze patterns loaded from cache files. This shares
2575 common value lists and common patterns which saves
2576 considerable memory.
2578 + Change the denotation of 'constant' charsets to use special
2579 ref value instead of separate boolean.
2581 + Clean up leak tracing stuff, found several unannoted alloc/free
2584 Tue Aug 20 16:17:37 PDT 2002 keithp
2586 + Fix memory leak when parsing matrices from XML
2588 Mon Aug 19 11:57:27 PDT 2002 keithp
2590 + Fix autoconf files to pass FONTCONFIG_PATH on
2591 compile line so that ${prefix} gets substituted
2594 + Use getc_unlocked/putc_unlocked on systems that
2595 provide them to avoid damage done to stdio by posix
2597 + Eliminate FC_PATTERN and FcTypePattern in favor of
2598 an extended api for FcConfigSubstitute which takes
2599 both the font and the pattern.
2601 + Add 'sans serif' alias for 'sans-serif' as some apps
2602 can't handle hyphens in family names
2604 + Eliminate pretense of support for libxml2
2606 + Comment origins of Han orthographies
2608 Tue Jul 30 18:37:09 PDT 2002 keithp
2610 + Add binding property to edit element so that strong
2611 binding values may be inserted by the config file.
2612 The default remains weak.
2614 Sun 28 Jul 04:16:55 PDT 2002 keithp
2616 + Tagged release candidate 1 in the CVS tree and
2617 placed fcpackage.rc1.tar.gz for distribution
2619 Thu Aug 1 08:55:08 PDT 2002 keithp
2621 + Fixed autoconf builds to always specify install
2622 target files (for BSD). Also fixed to
2623 define FONTCONFIG_PATH in config.h so that
2624 nonstandard installs will actually work.