1 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
2 Stephan Kulow <coolo@suse.de>
5 * fc-cache/Makefile.am:
7 Replace 'stamp' target with mkinstalldirs.
9 2006-01-31 Mike Fabian <mfabian@suse.de>
12 * src/fccache.c (FcGlobalCacheLoad):
14 Toast broken global cache files.
16 2006-01-30 Patrick Lam <plam@mit.edu>
17 * src/fccache.c (FcGlobalCacheReadDir):
19 Actually use the directories that I added to the global cache.
22 2006-01-30 Mike Fabian <mfabian@suse.de>
25 * fc-cache/fc-cache.c (scanDirs):
27 Don't stop scanning if a directory in fonts.conf doesn't
28 exist, because subsequent directories might exist.
30 2006-01-30 Patrick Lam <plam@mit.edu>
31 * src/fccache.c (FcGlobalCacheLoad):
33 Make global cache work again after putting dir names into global
34 cache (I misplaced the recording of a file offset).
36 2006-01-30 Patrick Lam <plam@mit.edu>
37 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
39 Update fc-cat to handle subdir lists in global cache file.
41 * src/fccache.c (FcGlobalCacheLoad):
43 Another FcCacheReadString return value check.
45 2006-01-30 Mike Fabian <mfabian@suse.de>
48 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
49 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
51 Make fccache more resilient to broken cache files by checking
52 return value of FcCacheReadString all the time.
54 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
57 * fc-match/fc-match.1:
58 * fc-lang/fc-lang.man:
60 Remove references to dead fontconfig(3) manpages in
61 other fontconfig manpages.
63 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
68 Fix world's tiniest typo in code example.
70 2006-01-29 Mike Fabian <mfabian@suse.de>
73 * src/fccache.c (FcGlobalCacheReadDir):
75 Fix global cache reads of subdirectories.
77 2006-01-29 Patrick Lam <plam@mit.edu>
79 Add documentation for FcConfigNormalizeFontDir.
81 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
82 FcGlobalCacheUpdate, FcGlobalCacheSave):
83 * src/fcdir.c (FcDirScanConfig):
86 Write directory information to global caches to fix make check
87 (reported by Ronny V. Vindenes). This changes the global cache
90 2006-01-27 Patrick Lam <plam@mit.edu>
91 * fc-cache/fc-cache.c (scanDirs):
92 * fontconfig/fontconfig.h:
94 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
96 Move FcConfigNormalizeFontDir call so that it doesn't result in
97 infinite recursion (reported by Ronny V. Vindenes).
99 2006-01-26 Patrick Lam <plam@mit.edu>
100 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
101 * src/fccfg.c (FcConfigNormalizeFontDir):
103 Add a couple of missing normalizations to make fc-cache work
104 right; only scan subdirectories once.
106 2006-01-26 Mike Fabian <mfabian@suse.de>
109 * src/fcacache.c (FcGlobalCacheReadDir):
111 Don't crash on non-existant directories in global cache.
113 2006-01-26 Patirck Lam <plam@mit.edu>
114 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
115 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
116 * src/fcdir.c (FcDirScanConfig):
117 * src/fcxml.c (FcEndElement):
119 Stop trampling the directory name when writing out caches.
120 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
121 subdirs when necessary. Don't scan directories that can't be
124 2006-01-25 Patrick Lam <plam@mit.edu>
125 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
126 * src/fccfg.c (FcConfigEvaluate):
127 * src/fcfreetype.c (FcPatternAddWithBinding):
129 Fix additional memory leaks reported by Ronny V. Vindenes: don't
130 invoke FcValueSave on hashed static strings in
131 FcPatternAddWithBinding.
133 Add another st_dev check in FcDirCacheOpen.
135 2006-01-24 James Su <james.su@gmail.com>
138 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
139 * fc-lang/zh_hk.orth:
141 Treat zh-hk fonts differently from zh-tw fonts. This patch may
142 cause fontconfig to treat A-X fonts differently from A-Y fonts;
143 please mail the fontconfig list if this causes any problems.
145 2006-01-24 Patrick Lam <plam@mit.edu>
146 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
147 * src/fcfreetype.c (FcFreeTypeQuery):
149 Fix memory leaks reported by Ronny V. Vindenes.
151 2006-01-19 Andreas Schwab <schwab@suse.de>
154 * src/fcpat.c (FcStrNeededBytes):
156 Fix for unaligned memory accesses.
158 2006-01-18 Mike Fabian <mfabian@suse.de>
161 * src/fcdir.c (FcDirScanConfig):
163 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
164 calls to avoid crashes.
166 2006-01-14 Patrick Lam <plam@mit.edu>
167 * src/fccache.c (FcDirCacheConsume):
169 Fix segfault when consuming zero-length caches in fc-cat
170 (which has no config, so FcConfigAddFontDir shouldn't be called.)
172 2006-01-14 Patrick Lam <plam@mit.edu>
173 * fc-cache/fc-cache.c (scanDirs):
174 * fontconfig/fontconfig.h:
175 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
176 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
177 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
178 * src/fcdir.c (FcDirScanConfig):
181 Compare device numbers as well as inodes.
182 Always normalize directory names before comparing them.
184 2006-01-11 Mike Fabian <mfabian@suse.de>
187 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
189 Allocate extra space for appended '/' in directory name.
191 2006-01-10 Patrick Lam <plam@mit.edu>
192 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
193 FcDirCacheValid, FcDirCacheHasCurrentArch,
194 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
195 * fc-cache/fc-cache.c (main):
197 Explicitly add font dirs to config.fontDirs even if they're empty.
198 Set current config in fc-cache.c.
199 Fix treatment of cache directory as read from cache file; don't
200 use string equality to determine if we have the right file,
203 2006-01-09 Patrick Lam <plam@mit.edu>
204 * fc-cache/fc-cache.c (scanDirs):
205 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
206 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
207 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
208 * src/fccfg.c (FcConfigNormalizeFontDir):
209 * src/fcdir.c (FcDirScanConfig):
212 Normalize font dirs by using the form, as given in fonts.conf, and
213 recorded in FcConfig's fontDirs string set, as canonical.
215 Actually update config.fontDirs as font directories are scanned.
217 2006-01-08 James Su <james.su@gmail.com>
218 * src/fcmatch.c (FcFontSetMatch):
220 Fix matching bug when multiple elements match; don't use
221 the sum of all scores, but the best score.
223 Also more perf opts, e.g. evaluate best over all font sets
224 rather than on a per-set basis (and other changes).
226 2006-01-08 Patrick Lam <plam@mit.edu>
227 * src/fccache.c (FcDirCacheConsume):
229 Properly skip past dir caches that contain zero fonts (as occurs
230 in global caches.) Reported by Mike Fabian.
232 2006-01-06 Patrick Lam <plam@mit.edu>
233 * src/fcdbg.c (FcPatternPrint):
235 Print out full pathname in fc-match -v as well. Reported by
238 2006-01-06 Mike Fabian <mfabian@suse.de>
241 * src/fcname.c (FcNameParse):
243 Fix bug where fc-match crashes when given __DUMMY__ property to
246 (I added the __DUMMY__ string to enable callers of
247 FcObjectToPtrLookup to distinguish an error return from a
248 successful return. -PL)
250 2006-01-05 Patrick Lam <plam@mit.edu>
253 Add self to AUTHORS list.
255 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
256 FcCacheFileRead, FcCachePrintSet, main):
257 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
258 FcGlobalCacheSave, FcCacheNextOffset,
259 FcDirCacheHasCurrentArch, FcDirCacheRead,
260 FcDirCacheConsume, FcDirCacheWrite):
262 * src/fcpat.c (comment):
264 Minor change to global cache file format to fix fc-cat bug
265 reported by Frederic Crozat, and buglet with not globally caching
266 directories with zero fonts cached.
268 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
271 * src/fccfg.c (FcConfigEvaluate):
273 Fix double-free which occurs because FcValueCanonicalize doesn't
274 create an extra copy of the returned value, it only canonicalizes
277 2006-01-02 Patrick Lam <plam@mit.edu>
278 * doc/fontconfig-user.sgml:
280 Fix version of .cache file (currently 1 -> currently 2). Reported
283 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
286 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
288 Shut up GCC warnings on amd.
290 2005-12-20 Patrick Lam <plam@mit.edu>
294 * fontconfig/fontconfig.h:
296 Bump version to 2.3.93.
298 2005-12-20 Patrick Lam <plam@mit.edu>
299 * src/fccharset.c (FcLangCharSetPopulate):
300 * src/fcint.h (FcCacheBankToIndex):
302 Avoid check on _fcBankId nullness and fix case where it used to
305 2005-12-20 Patrick Lam <plam@mit.edu>
306 * src/fcxml.c (FcConfigParseAndLoad):
308 Use open instead of fopen (requested by Phil Race for Sun).
310 2005-12-20 Patrick Lam <plam@mit.edu>
311 * src/fccache.c (FcDirCacheWrite);
312 * fc-cache/Makefile.am:
314 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
317 2005-12-20 Patrick Lam <plam@mit.edu>
318 * src/fcfreetype.c (FcFreeTypeQuery):
320 Restore code to skip over PCF fonts that have no encoded
322 (We guess that a font is PCF by presence of the PIXEL_SIZE
325 2005-12-12 Patrick Lam <plam@mit.edu>
326 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
328 Read and write the original location as a fallback for the
329 hashed cache file locations. This is mostly for users to be
330 able to have per-directory cache files.
332 2005-12-12 Patrick Lam <plam@mit.edu>
333 * fc-cache/fc-cache.c (scanDirs):
334 * fc-cache/Makefile.am:
335 * src/fccache.c (FcDirCacheHashName):
337 Improve error message when fc-cache can't write the cache. Add
338 missing slash. Reported by Behdad. Incorporate Behdad's patch to
339 create /var/cache/fontconfig when appropriate.
341 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
344 * src/fcxml.c (FcConfigGetAttribute):
346 Fix crash reported by Frederic Crozat when using libxml2.
348 2005-12-09 Patrick Lam <plam@mit.edu>
351 * fc-cache/Makefile.am:
352 * fc-cat/Makefile.am:
354 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
355 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
356 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
357 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
358 FcDirCacheHasCurrentArch, FcDirCacheHashName,
359 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
361 Migrate cache files from fonts directories to
362 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
363 but requires that all caches get rebuilt.
365 Also, autogen.sh now needs the additional parameter
366 --localstatedir=/var.
368 2005-12-07 Patrick Lam <plam@mit.edu>
369 * src/fcpat.c (FcPatternAddString):
371 Because we've changed FcPatternAddString to use FcStrStaticName
372 and not FcValueSave, explicitly handle the case of a null string.
374 2005-12-06 Patrick Lam <plam@mit.edu>
375 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
379 2005-12-05 Patrick Lam <plam@mit.edu>
380 * src/fcname.c (FcNameGetObjectType):
382 Don't assign types to user object names.
384 2005-12-05 Patrick Lam <plam@mit.edu>
385 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
387 Don't free strings that have been returned from FcStrStaticName.
389 2005-12-01 Patrick Lam <plam@mit.edu>
390 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
392 Add codepath for reading global cache files as well.
394 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
397 * conf.d/10-fonts.persian.conf:
398 * conf.d/Makefile.am:
400 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
402 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
405 * src/fcxml.c (FcConfigParseAndLoad):
407 Only add a config file to the set of config files once.
409 2005-11-29 Patrick Lam <plam@mit.edu>
410 * src/fcint.h (FcCacheBankToIndex);
412 Fix segfault by guarding array dereference.
414 2005-11-29 Dirk Mueller <dmueller@suse.de>
418 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
419 FcCacheBankToIndex, FcCacheBankToIndexMTF,
423 Refactor FcCacheBankToIndex into an inlineable part
424 (in fcint.h) which checks the front of the list and a
425 non-inlineable part which finds and moves the appropriate element
426 to the front of the list.
428 2005-11-29 Patrick Lam <plam@mit.edu>
429 * src/fccfg.c (FcConfigBuildFonts):
430 * src/fccache.c (FcCacheReadDirs):
432 Make the perf guys hate me a bit less: hoist the directory-name
433 FcConfigAcceptFont check for cached fonts up to directory cache
434 read time, rather than running it for each font.
436 2005-11-29 Patrick Lam <plam@mit.edu>
437 * src/fccfg.c (FcConfigBuildFonts):
439 * src/fcpat.c (FcPatternFindFullFname):
441 Don't make FcPatternFindFullFname available to fccfg, it's not
442 really safe. Instead go through FcPatternGetString (sorry,
443 perf guys.) Also, use globs for dirs as well.
445 2005-11-28 Patrick Lam <plam@mit.edu>
446 * src/fccfg.c (FcConfigBuildFonts):
450 2005-11-28 Patrick Lam <plam@mit.edu>
452 * src/fcpat.c (FcPatternFindFullFname):
453 * src/fccfg.c (FcConfigBuildFonts):
455 Fix problem dating back at least to 2.3.2 where globs weren't
456 being applied to patterns loaded from a cache.
458 2005-11-28 Patrick Lam <plam@mit.edu>
459 * doc/fontconfig-user.sgml:
461 Fix some obvious spelling mistakes.
463 2005-11-28 Dirk Mueller <dmueller@suse.com>
464 Stephan Kulow <coolo@suse.de>
467 * src/fcmatch.c (FcFontSetMatch):
469 Don't kill all fonts during match (oops!)
472 2005-11-25 Dirk Mueller <dmueller@suse.com>
473 Stephan Kulow <coolo@suse.de>
474 Michael Matz <matz@suse.de>
477 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
480 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
481 inline FcCompare into FcFontSetMatch and reorder the
482 loops, adding a boolean array which blocks patterns from future
483 consideration if they're known to not be best on some past
486 2005-11-26 Dirk Mueller <dmueller@suse.com>
489 * src/fcmatch.c (FcCompareValueList):
493 2005-11-25 Patrick Lam <plam@mit.edu>
494 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
496 Don't do random matching when bad objects are passed into
499 2005-11-25 Patrick Lam <plam@mit.edu>
501 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
502 FcPatternSerialize, FcPatternUnserialize,
503 FcValueListEnsureBank, FcValueListDistributeBytes,
504 FcValueListUnserialize):
506 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
507 _fcPatternElts, _fcValueLists for consistency.
509 2005-11-25 Dirk Mueller <dmueller@suse.com>
514 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
516 2005-11-25 Patrick Lam <plam@mit.edu>
518 * src/fccache.c (FcDirCacheConsume):
519 * src/fccharset.c (FcCharSetUnserialize):
520 * src/fcfs.c (FcFontSetUnserialize):
521 * src/fclang.c (FcLangSetUnserialize):
522 * src/fcname.c (FcObjectUnserialize):
523 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
524 FcPatternUnserialize):
526 Pass around FcCache *s to the Unserialize functions for extra
527 consistency (and less overhead, for what that's worth).
529 2005-11-24 Dirk Mueller <dmueller@suse.com>
533 * src/fcmatch.c (FcCompare*, FcFontSetSort):
534 * src/fcname.c (FcNameUnparseValue):
536 Inline the *PtrU functions to gain perf.
537 Remove unneeded params for the FcCompare* functions.
539 2005-11-24 Dirk Mueller <dmueller@suse.com>
542 * src/fcint.h, fontconfig/fontconfig.h:
544 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
546 * src/fcpat.c, src/fcint.h, src/fcname.c:
548 Check for type validity during FcPatternAddWithBinding, don't
549 verify type in FcFontMatch, don't call FcCanonicalize here
550 (which always does a deep copy).
552 2005-11-24 Dirk Mueller <dmueller@suse.com>
555 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
556 * src/fcpat.c (FcPatternAddWithBinding):
558 Make FcCompareString and FcCompareFamily less expensive.
559 Only add a value for FC_FAMILY if the proposed value is a string.
561 2005-11-24 Dirk Mueller <dmueller@suse.com>
564 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
565 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
566 * src/fcint.h (FcDebug):
568 Inline FcDebug invocations and only initialize once, in FcInit*.
569 Improve debug msg in FcPatternPrint.
571 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
574 * fontconfig/fontconfig.h:
577 Minor code warning cleanups.
579 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
582 * fc-match/fc-match.c (main):
584 Make getopt_long accept -s parameter to fc-match as well.
586 2005-11-21 Dirk Mueller <dmueller@suse.com>
589 * src/fcmatch.c (FcCompareValueList):
591 Manually perform inlining & partial redundancy elimination to
592 reduce calls to FcValueListPtrU.
594 2005-11-21 Dirk Mueller <dmueller@suse.com>
597 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
598 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
600 Only invoke strlen() when really necessary.
602 2005-11-19 Matthias Clasen <mclasen@redhat.com>
606 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
611 Get rid of the use of freetype internal headers in fcfreetype.c,
612 since those headers will go away with freetype 2.2. Replace with
613 public domain ftglue code from pango. Note that the patch removes
614 some extra error checking in FT_Get_BDF_Property() and comments
615 out the skipping of empty pcf fonts.
617 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
620 * fc-lang/fc-lang.c (main):
622 Further fix of patch from 2005-11-04: miscounted numbers count
623 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
624 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
626 Removed leafidx_count and numbers_count since they are the same
627 and replaced them with offset_count.
629 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
632 * fc-cat/fc-cat.c (main):
634 Don't crash when fc-cat invoked with no arguments.
636 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
639 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
641 Fix invalid read access caused by premature free and
642 GCC4 warnings in libxml2 codepath.
644 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
647 * src/fccfg.c (FcConfigValues):
649 List iteration not needed in FcConfigValues, since it's building
650 up the list itself; we can just strip FcVoid elements during
653 2005-11-17 Patrick Lam <plam@mit.edu>
654 * src/fccfg.c (FcConfigValues):
656 Fix crash on invalid constants in config files (forgot to update
657 a pointer upon list iteration.)
659 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
662 * src/fcxml.c (FcTypecheckExpr):
664 Complain about invalid constants in config files.
666 2005-11-17 Andreas Schwab <schwab@suse.de>
669 * src/fccache.c (FcGlobalCacheSave):
671 Don't add current_arch_start more than once.
673 2005-11-16 Patrick Lam <plam@mit.edu>
674 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
675 * src/fcfs.c (FcFontSetUnserialize):
676 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
677 * src/fcpat.c (FcStrUnserialize):
679 Fix ordering of ALIGN with respect to saving block_ptr; add
680 another ALIGN to fcfs.c.
682 2005-11-16 Patrick Lam <plam@mit.edu>
683 * src/fccache.c (FcDirCacheProduce)
685 Fix case where alignment bytes bumped up metadata->count
686 causing unwarranted failures to write cache files.
687 (Reported by Stephan Kulow).
689 2005-11-16 Patrick Lam <plam@mit.edu>
690 * src/fccache.c (FcDirCacheProduce):
691 * src/fccharset.c (FcCharSetDistributeBytes):
692 * src/fcfs.c (FcFontSetDistributeBytes):
694 * src/fclang.c (FcLangSetDistributeBytes):
695 * src/fcname.c (FcObjectDistributeBytes):
696 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
699 Add *NeededBytesAlign(), which overestimates the padding which is
700 later added by the new ALIGN macro. Fix alignment problems on
701 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
702 version by Andreas Schwab).
704 2005-11-16 Stephan Kulow <coolo@kde.org>
709 Use sysconf to determine proper PAGESIZE value; this
710 appears to be POSIX-compliant. (reported by Andreas Schwab)
712 2005-11-04 Patrick Lam <plam@mit.edu>
718 Fix bug 2878 (excessive relocations at startup for charsets,
719 reported by Ross Burton): fc-lang/fc-lang now creates the
720 static form of the langset, not the dynamic form, so that
721 the charsets should now be in .rodata.
723 2005-11-04 Patrick Lam <plam@mit.edu>
724 * src/fcdir.c (FcDirScanConfig):
726 Add test for validity of directory caches that
727 somehow got lost (reported by make distcheck).
729 2005-11-04 Patrick Lam <plam@mit.edu>
733 * fontconfig/fontconfig.h:
735 Bump version to 2.3.92.
737 2005-11-02 Patrick Lam <plam@mit.edu>
738 * src/fcpat.c (FcPatternDuplicate):
740 Fix argument ordering problem in call to FcPatternTransferFullFname.
742 2005-11-02 Patrick Lam <plam@mit.edu>
743 * src/fcfreetype.c (FcFreetypeQuery):
744 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
745 FcPatternTransferFullFname):
747 Fix warnings and embarrassing double-free error.
749 2005-11-02 Zhe Su <zsu@novell.com>
754 Change the rule for artificial emboldening in fonts.conf.in. This
755 enables the support for artificial emboldening included in cairo.
757 2005-11-02 Patrick Lam <plam@mit.edu>
758 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
760 Don't zero out full names for FC_REF_CONSTANT fonts;
761 also, duplicate full names when transferring, and free
762 full names when freeing the associated font.
763 Reported by Jinghua Luo.
765 2005-11-02 Patrick Lam <plam@mit.edu>
766 * fc-cache/fc-cache.c (scanDirs):
767 * src/fcpat.c (FcValueListSerialize):
769 Revert the previous patch and commit the correct patch:
770 I forgot a canonicalization in FcValueListSerialize, so
771 that it would choke on already-serialized input files. Duh!
773 2005-11-02 Patrick Lam <plam@mit.edu>
774 * fc-cache/fc-cache.c (scanDirs):
776 Forcibly rescan a directory before writing a fresh local
777 cache file for that directory, fixing the losing-fonts
778 problem reported by Mike Fabian and also apparently the
779 font cache file corruption.
781 2005-11-02 Patrick Lam <plam@mit.edu>
782 * src/fccache.c (FcGlobalCacheLoad):
784 Fix thinko: actually, the whole global cache is stale
785 if the global cache is older than the (newest) config file.
787 2005-11-02 Patrick Lam <plam@mit.edu>
788 * src/fccache.c (FcGlobalCacheLoad):
789 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
792 Declare the global cache of a directory's contents to be stale if
793 the directory is newer than the (newest) configuration file.
795 2005-10-31 Patrick Lam <plam@mit.edu>
797 * src/fclist.c (FcListAppend):
798 * src/fcmatch.c (FcFontRenderPrepare):
799 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
800 FcPatternFreeze, FcPatternBaseFreeze):
802 Copy the full pathname whenever duplicating an FcPattern; otherwise,
803 applications continue breaking.
805 2005-10-31 Patrick Lam <plam@mit.edu>
806 * fc-cat/fc-cat.c (FcCacheFileRead, main):
807 * src/fcfreetype.c (FcFreeTypeQuery):
809 Fix small memory error (tried to free argv); use basename and
810 dirname correctly (they can modify their arguments).
812 2005-10-31 Patrick Lam <plam@mit.edu>
820 Reinstate basename patch, but keep a hash table linking FcPatterns
821 to their fully-qualified font names for clients' benefit. Clients
822 only pay for the font names once they request the FC_FILE property
823 from an FcPattern, but the font name is malloc'd at that point (i.e.
824 not mmapped: that's impossible, since it may vary between machines.)
825 Clients do have to pay for a copy of the path name per cache file.
827 Note that FcPatternGetString now does some rewriting if you ask
828 for an FC_FILE, appending the pathname as appropriate.
830 2005-10-31 Patrick Lam <plam@mit.edu>
831 * src/fcfreetype.c (FcFreeTypeQuery):
833 Revert basename patch, which breaks fontconfig clients on my system.
835 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
838 * fontconfig/fonts.conf.in:
839 * fontconfig/fontconfig.h:
843 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
844 to load embedded bitmaps or not.
846 2005-10-25 Patrick Lam <plam@mit.edu>
847 * src/fcfreetype.c (FcFreeTypeQuery):
849 Only add basename to patterns' FC_FILE element, not any part of
852 2005-10-22 Patrick Lam <plam@mit.edu>
855 Add some more consts, fixing more GCC4 warnings.
857 2005-10-22 Zhe Su <zsu@novell.com>
860 Support localized font family and style names.
861 This has been reported to break old apps like xfd, but modern
862 (gtk+/qt/mozilla) apps work fine.
864 2005-10-21 Patrick Lam <plam@mit.edu>
865 * src/fccache.c (FcGlobalCacheLoad):
867 Destroy the global cache file if it's terminally broken. (reported by
870 2005-10-21 Patrick Lam <plam@mit.edu>
871 * fc-list/fc-list.c (main):
872 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
873 * fontconfig/fontconfig.h:
875 Prevent fc-list from escaping strings when printing them (reported by
878 2005-10-20 Marcus Meissner <meissner@suse.de>
881 * fontconfig/fontconfig.h:
883 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
885 2005-10-14 Ross Burton <ross@burtonini.com>
888 * fc-glyphname/fc-glyphname.c:
891 Add consts to variables so as to move arrays into .rodata.
893 2005-10-14 Mike Fabian <mfabian@suse.de>
896 * src/fccache.c (FcDirCacheUnlink):
898 Check existence of directory cache file before attempting to unlink.
900 2005-10-13 Patrick Lam <plam@mit.edu>
901 * src/fccache.c (FcDirCacheUnlink):
903 Fix flipped return value on unlink. (Reported by Mike Fabian)
905 2005-10-12 Patrick Lam <plam@mit.edu>
908 * src/fcdir.c (FcDirScanConfig):
911 When fc-cache is run without --force, use directory cache files
912 to speed up fc-cache run time. (Reported by Mike Fabian)
914 2005-10-06 Patrick Lam <plam@mit.edu>
916 * src/fcname.c (FcObjectToPtr):
917 * src/fcpat.c (FcStrStaticName):
919 Add padding to make valgrind and glibc not hate each other
920 when calling strlen().
922 2005-10-05 Simos Xenitellis <simos74@gmx.net>
923 reviewed by: plam & keithp
927 Modify config file to use Greek fonts before Asian fonts with
930 2005-10-05 Christian Biesinger <cbiesinger@web.de>
931 reviewed by: plam & keithp
935 Use libtool -no-undefined flag on all platforms.
937 2005-10-05 Patrick Lam <plam@mit.edu>
938 * src/fccache.c (FcCacheHaveBank):
940 Implement move-to-front array for banks (perf regression
941 reported by Ronny V. Vindenes).
943 2005-10-04 Patrick Lam <plam@mit.edu>
944 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
945 FcDirCacheHasCurrentArch):
946 * fc-cache/fc-cache.c (scanDirs):
947 * fontconfig/fontconfig.h:
949 Add new API which unlinks directory caches and checks dir caches
950 for existence of appropriate sections. Fix fc-cache to unlink
951 stale cache files and save directory caches that lack relevant
954 2005-10-03 Patrick Lam <plam@mit.edu>
955 * src/fccache.c (FcDirCacheValid):
957 Ensure that a directory cache has the appropriate section
958 before reporting that it is valid (reported by Matthias Clasen).
960 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
968 Use libxml2 if requested (with --enable-libxml2) or if
969 expat is not available.
971 2005-09-29 Patrick Lam <plam@mit.edu>
972 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
974 Fix multi-arch cache files: compute the position for the
975 block to be added using info from OrigFile, not NewFile.
977 2005-09-28 Patrick Lam <plam@mit.edu>
978 * src/fccache.c (FcCacheMachineSignature):
980 Cast results of sizeof() to unsigned int to get rid of
981 warnings on x86_64 (thanks Matthias Clasen).
983 2005-09-27 Patrick Lam <plam@mit.edu>
984 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
987 Use FcAtomic to rewrite cache files.
989 2005-09-27 Patrick Lam <plam@mit.edu>
991 * src/fccache.c (FcDirCacheWrite):
993 Don't unlink the fonts.cache-2 file even if there's no data
994 to write; just write an empty cache file. (thanks Lubos Lunak)
996 2005-09-27 Patrick Lam <plam@mit.edu>
998 * src/fccache.c (FcDirCacheWrite):
1000 Allocate room for the subdirectory names in each
1001 directory cache. Thanks to James Cloos for finding
1002 and diagnosing this bug!
1004 2005-09-22 Patrick Lam <plam@mit.edu>
1006 * fc-cache/fc-cache.sgml:
1007 * src/fccache.c (FcDirCacheWrite):
1008 * src/fccache.h (struct FcCache):
1010 Update documentation -- fc-cache's man page now says that you
1011 need to run fc-cache once per cached architecture; add some
1012 documentation to the FcCache structure.
1014 Make fc-cache write out fonts.cache-2 files for directories with
1015 no fonts (i.e. only subdirectories).
1017 2005-09-22 Patrick Lam <plam@mit.edu>
1019 * fc-cache/fc-cache.sgml:
1020 * fc-case/fc-case.c:
1021 * fc-glyphname/fc-glyphname.c:
1027 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1031 * fc-lang/fc-lang.c:
1032 * fontconfig/fcprivate.h:
1033 * fontconfig/fontconfig.h:
1047 Implement new mmaped cache for font information.
1048 Bump so revision to 2.3.90.
1050 2005-07-25 Keith Packard <keithp@keithp.com>
1052 * doc/fontconfig-user.sgml:
1053 * fc-glyphname/fc-glyphname.c: (scan), (main):
1054 * fc-lang/fc-lang.c: (FcConfigHome):
1055 * fc-match/fc-match.c: (main):
1056 * src/fccfg.c: (FcConfigHome):
1057 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1058 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1059 (addtag), (FcFontCapabilities):
1060 * src/fcpat.c: (FcValueListEntCreate):
1061 * src/fcstr.c: (FcStrCaseWalkerInit):
1062 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1064 Various GCC 4 cleanups for signed vs unsigned char
1066 Match only [0-9]*.conf files in <include>{directory}</include>
1067 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1069 2005-07-15 Carl Worth <cworth@cworth.org>
1072 * src/fcinit.c: (FcFini):
1073 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1076 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1077 Pull the FcObjectStateName hash table out to file scope, and add
1078 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1081 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1084 2005-06-16 Patrick Lam <plam@MIT.EDU>
1088 * src/fccfg.c: (FcConfigCompareValue):
1089 Make FcOpNotContains use FcStrStr for strings so that
1090 it matches semantics for !FcOpContains.
1092 2005-05-20 Keith Packard <keithp@keithp.com>
1096 Move fontconfig source package to libs as per override
1098 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1100 reviewed by: Mike Fabian
1103 The ka.orth file requires several characters which are not
1104 used anymore in modern Georgian and which are missing in the free
1105 Georgian TrueType fonts downloadable at:
1107 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1109 2005-04-27 Keith Packard <keithp@keithp.com>
1113 Update date to real 2.3.2 release date.
1114 Fix change attributions
1116 2005-04-27 Keith Packard <keithp@keithp.com>
1119 Bump so revision for 2.3.2
1120 * fc-cache/fc-cache.c: (scanDirs):
1121 Fix a few minor leaks in error cases.
1123 2005-04-23 Keith Packard <keithp@keithp.com>
1128 * fontconfig/fontconfig.h:
1129 Update for version 2.3.2
1131 2005-04-21 Keith Packard <keithp@keithp.com>
1133 * debian/fontconfig.postinst:
1134 Don't force bitmap font enable in default
1135 configuration; allows users to override this in
1145 * debian/po/pt_BR.po:
1146 * debian/po/templates.pot:
1148 * debian/po/zh_CN.po:
1149 Updated translations
1151 * fc-cache/fc-cache.c: (main):
1152 Destroy font configuration on exit to help valgrind
1155 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1156 (FcFreeTypeCheckGlyph):
1157 Use own transcoding routines in preference to iconv
1158 which appears to have leaks in some translators.
1159 Call iconv_close after using iconv (oops).
1161 Prefer unicode encoding of Euro char as some
1162 fonts mis-encode Euro in other ones.
1164 Must fetch bitmap glyphs to get width values
1165 to check for monospace/dual-width fonts.
1167 2005-04-13 Ross Burton <ross@burtonini.com>
1170 Check that a pattern isn't already frozen in FcPatternFreeze.
1172 2005-03-31 Ross Burton <ross@burtonini.com>
1177 Run all FcPattern objects through FcObjectStaticName, so that
1178 compares can be done on pointers instead of strings (#2659)
1180 2005-03-17 Tor Lillqvist <tml@novell.com>
1182 * src/fontconfig.def.in: Add the .dll to the dll name.
1184 2005-03-10 Keith Packard <keithp@keithp.com>
1186 * debian/README.Debian:
1187 Update to reflect configuration changes
1189 * debian/fontconfig.postinst:
1190 Fix Autohint vs Autohinter mistake
1191 * debian/fontconfig.templates:
1192 Adopt changes from Josselin Mouette for configuration descriptions
1193 Update debian to version 2.3.1-2
1195 2005-03-08 Keith Packard <keithp@keithp.com>
1199 Update debian for 2.3.1
1201 2005-03-09 Tor Lillqvist <tml@novell.com>
1203 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1206 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1209 2005-03-08 Keith Packard <keithp@keithp.com>
1213 * fontconfig/fontconfig.h:
1216 2005-03-05 Keith Packard <keithp@keithp.com>
1218 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1219 Include space and remove numbers from valid script tags.
1220 This ensures that tags like 'lao ' work while rejecting
1221 those which have any digits.
1222 Eliminate a spurious debugging variable (len)
1224 2005-03-05 Keith Packard <keithp@keithp.com>
1226 * src/fcfreetype.c: (addtag), (GetScriptTags),
1227 (FcFontCapabilities):
1228 Rework GSUB/GPOS script parsing to survive broken fonts.
1229 Thanks for the broken font go to Manish Singh
1231 2005-03-05 Keith Packard <keithp@keithp.com>
1236 * debian/fontconfig.config:
1237 * debian/fontconfig.templates:
1239 Include 2.3 release information in changelog
1240 Add Josselin Mouette as an Uploader
1241 Set hinting_type to low priority configuration option
1244 * debian/fontconfig.postinst:
1245 yes_bitmaps.conf -> yes-bitmaps.conf
1251 2005-03-02 Keith Packard <keithp@keithp.com>
1254 * conf.d/Makefile.am:
1255 * conf.d/autohint.conf:
1256 * conf.d/no-sub-pixel.conf:
1257 * conf.d/sub-pixel.conf:
1258 * conf.d/unhinted.conf:
1259 * debian/autohint.conf:
1260 * debian/fontconfig.install:
1261 * debian/fontconfig.postinst:
1262 * debian/fontconfig.templates:
1263 * debian/no-sub-pixel.conf:
1264 * debian/unhinted.conf:
1265 Move debian-specific conf file examples upstream.
1267 Sub-pixel configuration examples must smash subpixel value
1268 as Xft always sets it from X.
1270 Change sub-pixel rendering debconf descriptions from
1271 Enable/Disable to Always/Never.
1273 2005-03-02 Keith Packard <keithp@keithp.com>
1276 * conf.d/.cvsignore:
1278 Ignore more build detritus
1281 Add debian package construction stuff.
1283 * config/config.guess:
1284 * config/config.sub:
1285 Update to newer versions of these tools
1288 Get library manuals to build again (we love automake).
1290 * debian/README.Debian:
1291 * debian/autohint.conf:
1296 * debian/fontconfig-udeb.install:
1297 * debian/fontconfig.config:
1298 * debian/fontconfig.defoma:
1299 * debian/fontconfig.dirs:
1300 * debian/fontconfig.install:
1301 * debian/fontconfig.postinst:
1302 * debian/fontconfig.postrm:
1303 * debian/fontconfig.templates:
1304 * debian/libfontconfig1-dev.install:
1305 * debian/libfontconfig1.install:
1306 * debian/local.conf.md5sum:
1307 * debian/no-sub-pixel.conf:
1308 * debian/po/POTFILES.in:
1317 * debian/po/pt_BR.po:
1318 * debian/po/templates.pot:
1320 * debian/po/zh_CN.po:
1322 * debian/unhinted.conf:
1323 Update debian build system to switch maintainers and
1324 deal with 2.3 functionality
1326 2005-03-01 Keith Packard <keithp@keithp.com>
1330 * fontconfig/fontconfig.h:
1333 2005-03-01 Keith Packard <keithp@keithp.com>
1336 Generate and install PDF versions of the manuals
1338 * doc/fcpattern.fncs:
1341 * doc/fcstring.fncs:
1342 Add missing exported functions, fix data types
1344 * doc/fontconfig-devel.sgml:
1345 Add missing pattern elements.
1347 * doc/fontconfig-user.sgml:
1348 Add missing pattern elements. Document conf.d usage,
1349 clarify available orthography list. Fix some config file
1350 attributes. Complete list of constants.
1352 * fontconfig/fontconfig.h:
1353 Mark FC_SOURCE deprecated.
1355 * src/fcfreetype.c: (FcFreeTypeQuery):
1356 Don't set FC_SOURCE any longer.
1358 2005-02-28 Keith Packard <keithp@keithp.com>
1361 * conf.d/Makefile.am:
1363 * conf.d/no-bitmaps.conf:
1364 * conf.d/sub-pixel.conf:
1365 * conf.d/yes-bitmaps.conf:
1367 Create prototype /etc/fonts/conf.d directory with a few
1368 sample configuration files.
1369 Deprecate use of local.conf for local customizations in favor of
1370 this directory based scheme which is more easily integrated into
1371 installation systems.
1374 Tag FC_EMBOLDEN as a boolean variable
1376 2005-02-10 Keith Packard <keithp@keithp.com>
1378 reviewed by: pborelli@katamail.com
1380 * src/fcdir.c: (FcFileScanConfig):
1381 Free patterns from fonts which are rejected by configuration
1384 2005-01-28 Keith Packard <keithp@keithp.com>
1388 * fontconfig/fontconfig.h:
1389 Update for version 2.2.99
1391 2005-01-28 Keith Packard <keithp@keithp.com>
1394 Add a few pointers (#2284, #2285)
1396 2005-01-28 Keith Packard <keithp@keithp.com>
1399 * src/fcname.c: (FcNameBool):
1400 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1401 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1402 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1403 Polite typechecking for test and edit expressions. Helps
1404 catch errors in the font configuration. (bug 229)
1406 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1408 reviewed by: Keith Packard <keithp@keithp.com>
1411 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1413 2005-01-13 Keith Packard <keithp@keithp.com>
1415 * doc/fontconfig-user.sgml:
1416 Add SEE ALSO section (bug 2085)
1418 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1420 reviewed by: Keith Packard <keithp@keithp.com>
1425 * fc-case/Makefile.am:
1426 * fc-glyphname/Makefile.am:
1427 * fc-lang/Makefile.am:
1428 * src/fontconfig.def.in:
1429 Cross compiling fixes (bug 280)
1431 2005-01-13 Keith Packard <keithp@keithp.com>
1434 Update blanks list (Closes bug 86)
1436 2005-01-04 Keith Packard <keithp@keithp.com>
1438 * src/fccache.c: (FcCacheFontSetAdd):
1439 Verify that every font pattern loaded from cache has
1440 both FC_FILE and FC_FAMILY entries.
1441 Attempt to fix bug #2219.
1443 2004-12-29 Keith Packard <keithp@keithp.com>
1447 * fontconfig/fontconfig.h:
1448 Update for version 2.2.98
1450 2004-12-29 Keith Packard <keithp@keithp.com>
1452 * fontconfig/fontconfig.h:
1453 Document ASCII limitations of Fc character conversion macros
1454 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1455 Fix off-by-one error in utf-8 case walking code.
1456 Add FcStrDowncase (useful for testing case conversion functions)
1458 2004-12-29 Keith Packard <keithp@keithp.com>
1461 * fc-case/.cvsignore:
1462 clean up CVS ignore lists
1463 * fc-lang/iso-3166.txt:
1464 Add territory database
1466 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1468 Reviewed by: Keith Packard
1471 Remove Han characters from Korean orthography
1473 2004-12-29 Keith Packard <keithp@keithp.com>
1476 Reorder utility programs to make sure fc-case is run before fc-lang
1477 as fc-lang uses fcstr.c which uses fccase.h
1481 2004-12-29 Keith Packard <keithp@keithp.com>
1484 Adopt some RedHat suggestions for standard font configuration.
1488 * fc-case/CaseFolding.txt:
1489 * fc-case/Makefile.am:
1490 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1491 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1492 (dump), (parseRaw), (caseFoldReadRaw), (main):
1493 * fc-case/fccase.tmpl.h:
1494 Add new helper program 'fc-case' to construct case folding
1495 tables from standard Unicode CaseFolding.txt file
1498 * src/fclist.c: (FcListValueHash):
1499 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1500 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1501 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1502 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1503 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1504 Re-implement case insensitive functions with Unicode
1505 aware versions (including full case folding mappings)
1507 2004-12-13 Keith Packard <keithp@keithp.com>
1509 reviewed by: Owen Taylor <otaylor@redhat.com>
1511 * src/fcmatch.c: (FcFontSetSort):
1512 I changed FcFontSetSort to respect the generic aliases better
1513 in the face of language matching.
1515 What I did was to ammend the strict sort order used by FcFontSort so
1516 that it 'satisfies' the language specified in the pattern by locating
1517 the best matching font supporting each pattern language and then
1518 ignores language in the remaining fonts for purposes of matching.
1520 So, when asking for 'sans:lang=en', you'll get an English font first,
1521 and then the remaining fonts sorted with respect to the 'sans' alias
1522 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1524 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1526 reviewed by: Keith Packard <keithp@keithp.com>
1528 * fontconfig/fontconfig.h:
1531 Configuration changes to request synthetic emboldening of
1532 fonts. The actual emboldening code will live in Xft.
1534 2004-12-09 John Thacker <thacker@math.cornell.edu>
1536 reviewed by: Keith Packard <keithp@keithp.com>
1540 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1541 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1542 и), and don't even appear in KOI8-R. (The hypothesis that they
1543 don't appear in KOI8-R due to their similarity with Latin I and i is
1544 eliminated by their presence in KOI8-U.) I have a couple of fonts
1545 with Russian support that don't have the letter.
1547 Therefore, 0406 and 0456 should be removed from or commented out of
1550 2004-12-06 michael meeks <mmeeks@novell.com>
1552 Reviewed by: Keith Packard <keithp@keithp.com>
1554 * src/fcinit.c: (FcMemReport):
1556 * src/fclist.c: (FcObjectSetAdd):
1557 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1558 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1559 * src/fcxml.c: (FcParsePatelt):
1560 memoize strings and share a single copy for all uses. Note that
1561 this could be improved further by using statically allocated blocks
1562 and gluing multiple strings together, but I'm basically lazy.
1563 In my environment with 800 font files, I get a savings of about 90KB.
1565 2004-12-06 Keith Packard <keithp@keithp.com>
1569 * config/Makedefs.in:
1572 * doc/fcatomic.fncs:
1573 * doc/fcblanks.fncs:
1574 * doc/fccharset.fncs:
1575 * doc/fcconfig.fncs:
1576 * doc/fcconstant.fncs:
1578 * doc/fcfontset.fncs:
1579 * doc/fcfreetype.fncs:
1581 * doc/fcmatrix.fncs:
1582 * doc/fcobjectset.fncs:
1583 * doc/fcobjecttype.fncs:
1584 * doc/fcpattern.fncs:
1585 * doc/fcstring.fncs:
1586 * doc/fcstrset.fncs:
1588 * doc/fontconfig-devel.sgml:
1589 * doc/fontconfig-user.sgml:
1591 * doc/version.sgml.in:
1592 * fc-cache/Makefile.am:
1593 * fc-cache/fc-cache.c:
1594 * fc-glyphname/Makefile.am:
1595 * fc-glyphname/fc-glyphname.c:
1596 * fc-glyphname/fcglyphname.tmpl.h:
1597 * fc-lang/Makefile.am:
1607 * fc-lang/az_ir.orth:
1641 * fc-lang/fc-lang.c:
1642 * fc-lang/fc-lang.man:
1643 * fc-lang/fclang.tmpl.h:
1688 * fc-lang/ku_ir.orth:
1721 * fc-lang/ps_af.orth:
1722 * fc-lang/ps_pk.orth:
1751 * fc-lang/ti_er.orth:
1752 * fc-lang/ti_et.orth:
1778 * fc-lang/zh_cn.orth:
1779 * fc-lang/zh_hk.orth:
1780 * fc-lang/zh_mo.orth:
1781 * fc-lang/zh_sg.orth:
1782 * fc-lang/zh_tw.orth:
1784 * fc-list/Makefile.am:
1785 * fc-list/fc-list.c:
1786 * fc-match/Makefile.am:
1787 * fc-match/fc-match.1:
1788 * fc-match/fc-match.c:
1789 * fontconfig/fcfreetype.h:
1790 * fontconfig/fcprivate.h:
1791 * fontconfig/fontconfig.h:
1812 Change files from ISO-Latin-1 to UTF-8
1814 2004-12-04 Keith Packard <keithp@keithp.com>
1817 Update links to new freedesktop.org locations
1819 Add uninstall-local to get rid of fonts.conf and local.conf if they
1820 match the distributed versions. Fixes 'make distcheck'
1822 2004-12-04 Keith Packard <keithp@keithp.com>
1826 * fontconfig/fontconfig.h:
1827 Updates for version 2.2.97
1829 2004-12-04 Owen Taylor <otaylor@redhat.com>
1831 reviewed by: Keith Packard <keithp@keithp.com>
1833 * fc-cache/fc-cache.c: (main):
1834 Sleep for two seconds before exiting to make sure timestamps
1835 for future changes have distinct mod times in the file system.
1838 Add Punjabi orthography. Bug #1671.
1840 2004-12-04 Keith Packard <keithp@keithp.com>
1843 Just remove the FC_FONTDATE -- it has locale issues and
1844 annoys redhat multi-arch installs. Now that all X fonts are
1845 included without prejudice, the chances of the date being at
1846 all interesting are rather limited. Bug #505.
1848 Add copyright and license
1850 2004-12-04 Keith Packard <keithp@keithp.com>
1853 Change default set of fonts to include all of
1854 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1855 * doc/fontconfig-user.sgml:
1856 Document new <include>directory-name</include> semantics
1858 add <include ignore_missing="yes">conf.d</include>
1860 Add selectfont to ignore bitmap fonts, add comment for
1861 selectfont which accepts bitmap fonts.
1864 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1865 Allow <include> configuration elements to reference directories.
1866 Parse and load all files of the form [0-9]* in sorted order.
1868 2004-12-04 Keith Packard <keithp@keithp.com>
1871 Report command line for $srcdir/configure accurately.
1874 2004-12-04 Keith Packard <keithp@keithp.com>
1876 * src/fcfreetype.c: (FcFreeTypeQuery):
1877 Check for non-empty face->family_name and face->style_name
1878 before using those for the font. Empty names match everything.
1881 2004-12-04 Keith Packard <keithp@keithp.com>
1884 * fontconfig/fontconfig.h:
1885 * src/fcfreetype.c: (FcFreeTypeQuery):
1887 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1888 available. This provides font file format information (BDF, Type 1,
1889 PCF, TrueType) for each font. Closes #109.
1891 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1893 reviewed by: Keith Packard <keithp@keithp.com>
1895 * doc/fontconfig-user.sgml:
1898 * fontconfig/fontconfig.h:
1899 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1900 (GetScriptTags), (FcFontCapabilities):
1902 Add detection for font capabilities (bug #105)
1904 2004-12-04 Keith Packard <keithp@keithp.com>
1907 Move existing fonts.conf to fonts.conf.bak
1910 Add detection of iconv
1912 * doc/fcpattern.fncs:
1913 * doc/fontconfig-devel.sgml:
1914 * doc/fontconfig-user.sgml:
1916 Document new selectfont elements
1919 Switch to UTF-8 in comment
1921 * fontconfig/fontconfig.h:
1923 Add fullname, and family/style/fullname language entries
1925 * src/fccache.c: (FcCacheFontSetAdd):
1926 * src/fcdir.c: (FcFileScanConfig):
1927 Respect selectfont/*/glob
1930 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1931 (FcConfigCompareValue), (FcConfigPatternsAdd),
1932 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1933 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1934 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1935 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1936 Add support for selectfont
1938 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1939 (FcStringInPatternElement), (FcFreeTypeQuery):
1940 Add multi-lingual family/style/fullname support
1942 * src/fclist.c: (FcListPatternMatchAny):
1943 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1945 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1946 (FcObjectStaticName):
1947 Add new FcPatternRemove/FcPatternAppend.
1948 FcObjectStaticName stores computed pattern element names which
1949 are required to be static.
1951 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1956 Remove spurious / after $(DESTDIR)
1958 2004-06-30 Keith Packard <keithp@keithp.com>
1962 * fontconfig/fontconfig.h:
1965 2004-06-30 Keith Packard <keithp@keithp.com>
1967 Provided by: Lubos Lunak <l.lunak@suse.cz>
1969 * src/fccfg.c: (FcConfigUptoDate):
1970 However FcConfigUptoDate() doesn't seem to work. See the attached
1971 patch. First there's an obvious misplaced parenthesis making it
1972 return always false, and second, even this call fails to detect font
1973 changes (e.g. adding a new font to
1974 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1975 well. The problem seems to be triggered by my fonts.conf specifying
1976 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1977 doesn't include subdirs, unlike config->fontDirs.
1979 2004-06-03 Keith Packard <keithp@keithp.com>
1981 * fontconfig/fontconfig.h:
1982 Remove comma at end of FcResult enum definition.
1984 2004-05-29 Keith Packard <keithp@keithp.com>
1987 Add steps to md5sum release
1989 2004-05-29 Keith Packard <keithp@keithp.com>
1993 * fontconfig/fontconfig.h:
1996 2004-05-29 Keith Packard <keithp@keithp.com>
1998 * fontconfig/fontconfig.h:
1999 * src/fcmatch.c: (FcFontSetMatch):
2000 Add FcResultOutOfMemory to provide an accurate error when
2001 FcFontSetMatch fails in this way
2004 Make #warning about lacking various FreeType features indicate
2005 which version those features appeared so users know how to
2006 fix the problem (Thanks to Anton Tropashko)
2008 2004-05-05 Keith Packard <keithp@keithp.com>
2010 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2011 Replace MIN/MAX/ABS macros which happen to have come
2012 from FreeType with fontconfig-specific ones (FC_*)
2014 2004-04-23 Keith Packard <keithp@keithp.com>
2017 Extend release preparation instructions to include
2018 notification and distribution steps
2020 2004-04-23 Keith Packard <keithp@keithp.com>
2024 * fontconfig/fontconfig.h:
2025 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2027 2004-04-23 Keith Packard <keithp@keithp.com>
2030 Ignore a few more autotool files
2032 2004-04-14 Keith Packard <keithp@keithp.com>
2035 Add instructions for doing a release
2037 * fontconfig.spec.in:
2038 clean up .spec file; perhaps this will be useful to somebody...
2042 * fontconfig/fontconfig.h:
2045 * fc-lang/fc-lang.c:
2046 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2048 * fc-glyphname/Makefile.am:
2049 * fc-lang/Makefile.am:
2050 * fc-list/Makefile.am:
2051 * fc-match/Makefile.am:
2053 Add WARN_CFLAGS to pass -W flags for GCC systems
2055 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2056 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2057 Change various char types around to match across
2059 Fixed bug in using available_sizes[i].height which
2060 is in pixels, not 64ths of a pixel.
2062 2004-03-06 Keith Packard <keithp@keithp.com>
2064 * src/fcfreetype.c: (FcFreeTypeQuery):
2065 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2066 matches looking for explicit values prefer exact matches
2068 2004-03-02 Keith Packard <keithp@keithp.com>
2070 Supplied by: mfabian@suse.de (Mike FABIAN)
2072 * src/fcfreetype.c: (FcFreeTypeQuery):
2073 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2074 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2076 2004-02-21 Manish Singh <yosh@gimp.org>
2078 * fc-glyphname/fc-glyphname.c: (main):
2079 Cast strlen to int for printf, so we're 64-bit clean.
2081 2004-02-11 Keith Packard <keithp@keithp.com>
2084 * src/fcfreetype.c: (FcGetPixelSize):
2085 Ok, so I messed up the test for y_ppem. Let's see if I
2086 got it right this time.
2088 2004-02-10 Keith Packard <keithp@keithp.com>
2091 * src/fcfreetype.c: (FcGetPixelSize):
2092 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2093 FT_Bitmap_Size record. Add a configure.in test for this
2094 and change the code accordingly (using height instead).
2096 2004-02-06 Keith Packard <keithp@keithp.com>
2099 Add Low Saxon orthography
2100 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2102 * src/fccfg.c: (FcConfigNewestFile):
2103 Oops. Left 'newest.set' unset, which would miscompute
2106 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2107 (FcFreeTypeCheckGlyph):
2108 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2109 font properties (which report the wrong value in current FreeType)
2111 Don't attempt to check for empty glyphs in non-scalable fonts; they
2114 2004-02-01 Tor Lillqvist <tml@iki.fi>
2116 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2117 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2118 cache if config->cache is NULL, which happens if FcConfigHome() is
2119 NULL. Guard against that by using the temp folder in that case.
2121 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2123 * fc-lang/az_ir.orth:
2124 * fc-lang/ku_ir.orth:
2125 * fc-lang/ps_af.orth:
2126 * fc-lang/ps_pk.orth:
2127 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2128 (Afghan and Pakistani).
2130 Updated Urdu orthography with real data.
2132 2003-12-11 Carl Worth <cworth@east.isi.edu>
2134 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2137 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2139 (all-local): Remove excessive whitespace.
2141 * autogen.sh: Add 'set -e' to abort when any program fails,
2142 (avoids printing of 'now type make' after configure aborts).
2144 2003-11-17 Eric Christopherson <rakko@charter.net>
2146 reviewed by: Keith Packard <keithp@keithp.com>
2149 * fontconfig/fcfreetype.h:
2151 Switch to FreeType 2.1.7 style includes. Bug #150.
2153 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2155 * fc-list/fc-list.sgml: Add some example usages.
2157 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2160 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2163 2003-10-27 Keith Packard <keith@keithp.com>
2166 * fontconfig/fontconfig.h:
2167 Update to version 2.2.92
2169 2003-10-27 Keith Packard <keithp@keithp.com>
2174 * fc-cache/Makefile.am:
2175 * fc-glyphname/Makefile.am:
2176 * fc-lang/Makefile.am:
2177 * fc-list/Makefile.am:
2178 * fc-match/Makefile.am:
2181 Yet more cleanups to finish getting 'make distcheck' working
2182 This has been tested to ensure that it even works from a _build
2185 2003-10-26 Keith Packard <keithp@keithp.com>
2189 * fc-cache/Makefile.am:
2190 * fc-glyphname/Makefile.am:
2191 * fc-lang/Makefile.am:
2192 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2193 * fc-list/Makefile.am:
2194 * fc-match/Makefile.am:
2195 Attempts to fix 'make distcheck' work. Things are
2196 progressing pretty well, but there are still failures
2197 long into the process dealing with docs (as always).
2199 The big changes here are mostly to make $(srcdir) != "."
2200 work correctly, fixing the docbook related sections and
2201 fc-lang were particularily tricky. Docbook refuses to load
2202 system entities from anywhere other than where the original .sgml
2203 file was located, so no luck looking in "." for the
2204 configure-generated version.sgml and confdir.sgml files.
2206 fc-lang needed help finding .orth files; added a -d option
2207 to set the directory as the least evil of many options.
2209 Now to go use a faster machine and try and wring out the last
2212 2003-10-26 Keith Packard <keithp@keithp.com>
2216 2003-10-26 Keith Packard <keithp@keithp.com>
2219 Include confdir.sgml.in in EXTRA_DIST
2221 2003-10-09 Josselin Mouette <joss@debian.org>
2223 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2224 * fc-list/fc-list.sgml fc-list/Makefile.am:
2225 Replace fc-cache and fc-list manpages with more detailed, SGML
2228 2003-09-23 Owen Taylor <otaylor@redhat.com>
2230 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2231 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2232 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2235 2003-09-23 Owen Taylor <otaylor@redhat.com>
2237 * fc-lang/ka.orth: Remove Georgian capitals, they
2238 aren't used for normal writing. (Bug #116)
2240 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2242 * doc/fontconfig-devel.sgml:
2243 * doc/fontconfig-user.sgml:
2244 * fontconfig/fontconfig.h:
2246 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2247 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2249 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2250 monospace and dual-width fonts, allow roughly a 3% variance in the
2253 2003-08-31 Manish Singh <yosh@gimp.org>
2255 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2258 2003-08-15 Carl Worth <cworth@isi.edu>
2260 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2261 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2263 * src/fcpat.c (FcValueListEntDestroy): New function to support
2264 FcFini memory cleanup. Some statistics are not kept in
2266 (FcValueListFreeze): Move hashTable outside this function so it
2267 can be accessed by FcValueListThawAll.
2268 (FcValueListThawAll): New function complements FcValueListFreeze.
2269 (FcPatternBaseFreeze): Move hashTable outside this function so it
2270 can be accessed by FcPatternBaseThawAll.
2271 (FcPatternBaseThawAll): New function complements
2272 FcPatternBaseFreeze.
2273 (FcPatternThawAll): New function complements FcPatternFreeze.
2275 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2277 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2278 allocated FcCharLeafEnt "blocks" so they can be freed later.
2279 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2280 can be accessed by FcCharSetThawAllLeaf.
2281 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2282 (FcCharSetFreezeBase): Move hashTable outside this function so it
2283 can be accessed by FcCharSetThawAll.
2284 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2286 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2287 (FcConfigDestroy): Fic leak of FcBlanks.
2289 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2290 (main): Add call to FcFini when finished.
2292 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2293 static. Add prototypes.
2295 * doc/fcinit.fncs: Add documentation for FcFini function.
2297 * doc/edit-sgml.c: Mark several local functions as static. Add
2300 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2302 2003-06-15 Tor Lillqvist <tml@iki.fi>
2304 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2305 before comparing (needed on Windows).
2307 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2309 2003-06-13 Tor Lillqvist <tml@iki.fi>
2311 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2314 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2315 WINDOWSFONTDIR token.
2317 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2318 end, not to confuse libtool, which expects the EXPORTS line to be
2319 the first. Add FcConfigEnableHome.
2321 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2322 built as a DLL on Win32.
2324 2003-06-09 Keith Packard <keithp@keithp.com>
2326 * Tag version 2.2.90
2328 2003-06-09 Keith Packard <keithp@keithp.com>
2330 * Optimization in FcLangSetIndex was broken, occasionally
2331 returning a pointer to the wrong location on miss
2333 * Add fc-match to test font matching from the command line.
2335 2003-05-31 Keith Packard <keithp@keithp.com>
2337 * (Bug 85) add support for culmus fonts
2338 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2339 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2341 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2343 * Fix "contains" op for strings and langsets.
2345 2003-05-17 Keith Packard <keithp@keithp.com>
2347 * Fix build error with BDF prop local. Free langset after query
2349 2003-05-14 Keith Packard <keithp@keithp.com>
2351 * Extract spacing from XLFD atom
2353 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2355 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2356 disappeared in 1.30.
2358 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2360 2003-05-12 Keith Packard <keithp@keithp.com>
2362 * Use FcIsWidth to share code
2364 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2365 misclassifying some Han fonts as monospaced.
2367 2003-05-07 Keith Packard <keithp@keithp.com>
2369 * Add filename-based accept/reject to ammend available fonts.
2371 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2372 older FreeType releases.
2374 2003-05-06 Keith Packard <keithp@keithp.com>
2376 * Remove 0b82 and Tamil numbers from tamil
2377 orthography (Jungshik Shin <jshin@mailaps.org>)
2379 2003-05-04 Keith Packard <keithp@keithp.com>
2381 + Map glyph names in fonts with adobe custom encoding to unicode
2383 2003-05-02 Keith Packard <keithp@keithp.com>
2385 * Add FC_WEIGHT_BOOK as weight 75
2387 2003-04-30 Keith Packard <keithp@keithp.com>
2389 * Typo in bitstream foundry name
2391 2003-04-24 Keith Packard <keithp@keithp.com>
2393 * Eliminate italic_angle check for PS fonts
2395 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2397 * Getting closer to fixing /etc/fonts hard-coding.
2399 2003-04-22 Keith Packard <keithp@keithp.com>
2401 * Update autogen.sh to work with newer automake versions
2402 * Handle pattern elements moving during multiple edits
2404 2003-04-23 James Henstridge <james@daa.com.au>
2406 * doc/fontconfig-devel.sgml: close the <para> element.
2408 * doc/fcpattern.fncs: close the <para> element.
2410 * doc/func.sgml: close the <refsynopsisdiv> element.
2412 2003-04-22 Keith Packard <keithp@keithp.com
2414 * Update autogen.sh to work with newer automake versions
2415 * Handle pattern elements moving during multiple edits
2417 2003-04-17 Colin Walters <walters@debian.org>
2419 + Remove some unused variables, and initialize some other ones so
2420 gcc doesn't warn us.
2422 2003-04-16 Keith Packard <keithp@keithp.com>
2424 + tag version 2.1.94
2426 2003-04-16 Keith Packard <keithp@keithp.com>
2428 + add BDF property fetching support for foundry
2429 (from Juliusz Chroboczek)
2430 + add BDF property fetching support for width
2432 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2434 + Implemented foundry generation for Type 1 and TrueType
2436 2003-04-11 Gerard Escalante <g2@magestudios.net>
2438 + Retrieve information from Type1 FontInfo dictionaries
2440 2003-04-07 Colin Walters <walters@verbum.org>
2442 + src/Makefile.am: Fix dummy makefile target names when
2443 MS_LIB_AVAILABLE isn't set.
2445 2003-03-22 Tor Lillqvist <tml@iki.fi>
2447 Changes for Windows:
2449 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2451 + We don't want to hardcode the fonts.conf file location in the
2452 DLL, so we look up the DLL location at run-time in a DllMain()
2453 function. The fonts.conf location is deduced from that.
2455 + The colon can't be used as path separator on Windows,
2456 semicolon is used instead. File path components can be separated
2457 with either slash or backslash. Absolute paths can also begin
2458 with a drive letter.
2460 + Add internal function FcStrLastSlash that strrchr's the last
2461 slash, or backslash on Windows.
2463 + There is no link() on Windows. For atomicity checks, mkdir a
2464 lock directory instead.
2466 + In addition to HOME, also look for USERPROFILE.
2468 + Recognize the special font directory token WINDOWSFONTDIR, to
2469 use the system's font directory.
2471 + Remove the fontconfig-def.cpp that was obsolete. Add
2472 fontconfig.def(.in), without internal functions.
2474 + Add a fontconfig-zip(.in) script, used to build a binary
2477 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2478 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2479 to main package and man3/* to devel package
2481 + Added missing defattr(-, root, root) to main RPM package
2483 + Added HTML and text development documentation to -devel subpackage
2485 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2486 + Added back the configure macro options --disable-docs, otherwise
2487 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2488 version number) unconditionally, causing RPM to fail the build due
2489 to _unpackaged_files_terminate_build. We pick up the pregenerated
2490 docs with %doc already.
2492 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2493 + Removed commented out rpm macro define at top of spec file,
2494 replacing it with a simple explanation, since rpm macros are
2495 expanded by rpm even in comments.
2497 + Changed /usr/bin to _bindir in BuildRequires lines
2499 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2501 + Reorganized file manifest lists
2503 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2505 + fontconfig.spec.in: Improvements from Red Hat spec file.
2507 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2509 + docs/*.sgml: SGML fixes.
2511 Sat Mar 1 17:28:53 PST 2003 keithp
2512 + Ok, so the ChangeLog is a bit out of date
2514 + Lots of bugs fixed; most are in bugzilla, the
2515 biggest problems were in cache management where
2516 Owen discovered the library would lose badly when
2517 combining fonts-cache and ~/.fonts-cache data
2519 + Converted from autoconf to automake. This after
2520 getting patches accepted into libtool to allow
2521 the '-version-number' argument which lets
2522 packages set version numbers explicitly rather
2523 than the roundabout libtool way
2525 + Converted documentation to SGML using the docbook
2526 DTD. Now .txt and .html documents are installed
2527 in /usr/share/doc/fontconfig and there's no
2528 man page. Perhaps a man version can be written
2531 Sat Aug 31 15:21:22 PDT 2002 keithp
2532 + Xrender and Xft had several bugs related to
2533 rendering manually placed or poly-face text
2535 + Added more complete memory tracing in fontconfig
2536 Checked with (patched) mozilla and found no leaks
2538 + Updated Latin orthographies by comparing those from
2539 evertype.com with those from eki.ee. Tried to make
2540 sensible choices, including chars that occured in both
2541 and leaving some optional chars out that occured only
2544 Mon Aug 26 16:33:04 PDT 2002 keithp
2545 + Owen discovered that FcLangSetHasLang wasn't actually
2546 checking the language set.
2548 Mon Aug 26 13:37:23 PDT 2002 keithp
2549 + Append a version number to cache filenames
2551 Thu Aug 22 11:36:18 PDT 2002 keithp
2553 + Add "contains" and "not_contains" operators and elements to
2556 + Changed semantics of eq operator for LangSets to check for
2557 FcLangEqual so that any match will do
2559 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2560 of FcValueEqual to check for identical values when inserting into
2561 the results. This broke when the above semantic change was made,
2562 now it uses FcValueEqual which is "more correct" in any case.
2564 Thu Aug 22 00:32:29 PDT 2002 keithp
2566 + Reimplement FC_LANG as new datatype. Lists of strings
2567 was consuming over a megabyte of memory for 401 fonts.
2569 + Freeze patterns loaded from cache files. This shares
2570 common value lists and common patterns which saves
2571 considerable memory.
2573 + Change the denotation of 'constant' charsets to use special
2574 ref value instead of separate boolean.
2576 + Clean up leak tracing stuff, found several unannoted alloc/free
2579 Tue Aug 20 16:17:37 PDT 2002 keithp
2581 + Fix memory leak when parsing matrices from XML
2583 Mon Aug 19 11:57:27 PDT 2002 keithp
2585 + Fix autoconf files to pass FONTCONFIG_PATH on
2586 compile line so that ${prefix} gets substituted
2589 + Use getc_unlocked/putc_unlocked on systems that
2590 provide them to avoid damage done to stdio by posix
2592 + Eliminate FC_PATTERN and FcTypePattern in favor of
2593 an extended api for FcConfigSubstitute which takes
2594 both the font and the pattern.
2596 + Add 'sans serif' alias for 'sans-serif' as some apps
2597 can't handle hyphens in family names
2599 + Eliminate pretense of support for libxml2
2601 + Comment origins of Han orthographies
2603 Tue Jul 30 18:37:09 PDT 2002 keithp
2605 + Add binding property to edit element so that strong
2606 binding values may be inserted by the config file.
2607 The default remains weak.
2609 Sun 28 Jul 04:16:55 PDT 2002 keithp
2611 + Tagged release candidate 1 in the CVS tree and
2612 placed fcpackage.rc1.tar.gz for distribution
2614 Thu Aug 1 08:55:08 PDT 2002 keithp
2616 + Fixed autoconf builds to always specify install
2617 target files (for BSD). Also fixed to
2618 define FONTCONFIG_PATH in config.h so that
2619 nonstandard installs will actually work.