1 2006-01-30 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcGlobalCacheLoad):
4 Make global cache work again after putting dir names into global
5 cache (I misplaced the recording of a file offset).
7 2006-01-30 Patrick Lam <plam@mit.edu>
8 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
10 Update fc-cat to handle subdir lists in global cache file.
12 * src/fccache.c (FcGlobalCacheLoad):
14 Another FcCacheReadString return value check.
16 2006-01-30 Mike Fabian <mfabian@suse.de>
19 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
20 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
22 Make fccache more resilient to broken cache files by checking
23 return value of FcCacheReadString all the time.
25 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
28 * fc-match/fc-match.1:
29 * fc-lang/fc-lang.man:
31 Remove references to dead fontconfig(3) manpages in
32 other fontconfig manpages.
34 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
39 Fix world's tiniest typo in code example.
41 2006-01-29 Mike Fabian <mfabian@suse.de>
44 * src/fccache.c (FcGlobalCacheReadDir):
46 Fix global cache reads of subdirectories.
48 2006-01-29 Patrick Lam <plam@mit.edu>
50 Add documentation for FcConfigNormalizeFontDir.
52 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
53 FcGlobalCacheUpdate, FcGlobalCacheSave):
54 * src/fcdir.c (FcDirScanConfig):
57 Write directory information to global caches to fix make check
58 (reported by Ronny V. Vindenes). This changes the global cache
61 2006-01-27 Patrick Lam <plam@mit.edu>
62 * fc-cache/fc-cache.c (scanDirs):
63 * fontconfig/fontconfig.h:
65 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
67 Move FcConfigNormalizeFontDir call so that it doesn't result in
68 infinite recursion (reported by Ronny V. Vindenes).
70 2006-01-26 Patrick Lam <plam@mit.edu>
71 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
72 * src/fccfg.c (FcConfigNormalizeFontDir):
74 Add a couple of missing normalizations to make fc-cache work
75 right; only scan subdirectories once.
77 2006-01-26 Mike Fabian <mfabian@suse.de>
80 * src/fcacache.c (FcGlobalCacheReadDir):
82 Don't crash on non-existant directories in global cache.
84 2006-01-26 Patirck Lam <plam@mit.edu>
85 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
86 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
87 * src/fcdir.c (FcDirScanConfig):
88 * src/fcxml.c (FcEndElement):
90 Stop trampling the directory name when writing out caches.
91 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
92 subdirs when necessary. Don't scan directories that can't be
95 2006-01-25 Patrick Lam <plam@mit.edu>
96 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
97 * src/fccfg.c (FcConfigEvaluate):
98 * src/fcfreetype.c (FcPatternAddWithBinding):
100 Fix additional memory leaks reported by Ronny V. Vindenes: don't
101 invoke FcValueSave on hashed static strings in
102 FcPatternAddWithBinding.
104 Add another st_dev check in FcDirCacheOpen.
106 2006-01-24 James Su <james.su@gmail.com>
109 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
110 * fc-lang/zh_hk.orth:
112 Treat zh-hk fonts differently from zh-tw fonts. This patch may
113 cause fontconfig to treat A-X fonts differently from A-Y fonts;
114 please mail the fontconfig list if this causes any problems.
116 2006-01-24 Patrick Lam <plam@mit.edu>
117 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
118 * src/fcfreetype.c (FcFreeTypeQuery):
120 Fix memory leaks reported by Ronny V. Vindenes.
122 2006-01-19 Andreas Schwab <schwab@suse.de>
125 * src/fcpat.c (FcStrNeededBytes):
127 Fix for unaligned memory accesses.
129 2006-01-18 Mike Fabian <mfabian@suse.de>
132 * src/fcdir.c (FcDirScanConfig):
134 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
135 calls to avoid crashes.
137 2006-01-14 Patrick Lam <plam@mit.edu>
138 * src/fccache.c (FcDirCacheConsume):
140 Fix segfault when consuming zero-length caches in fc-cat
141 (which has no config, so FcConfigAddFontDir shouldn't be called.)
143 2006-01-14 Patrick Lam <plam@mit.edu>
144 * fc-cache/fc-cache.c (scanDirs):
145 * fontconfig/fontconfig.h:
146 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
147 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
148 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
149 * src/fcdir.c (FcDirScanConfig):
152 Compare device numbers as well as inodes.
153 Always normalize directory names before comparing them.
155 2006-01-11 Mike Fabian <mfabian@suse.de>
158 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
160 Allocate extra space for appended '/' in directory name.
162 2006-01-10 Patrick Lam <plam@mit.edu>
163 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
164 FcDirCacheValid, FcDirCacheHasCurrentArch,
165 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
166 * fc-cache/fc-cache.c (main):
168 Explicitly add font dirs to config.fontDirs even if they're empty.
169 Set current config in fc-cache.c.
170 Fix treatment of cache directory as read from cache file; don't
171 use string equality to determine if we have the right file,
174 2006-01-09 Patrick Lam <plam@mit.edu>
175 * fc-cache/fc-cache.c (scanDirs):
176 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
177 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
178 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
179 * src/fccfg.c (FcConfigNormalizeFontDir):
180 * src/fcdir.c (FcDirScanConfig):
183 Normalize font dirs by using the form, as given in fonts.conf, and
184 recorded in FcConfig's fontDirs string set, as canonical.
186 Actually update config.fontDirs as font directories are scanned.
188 2006-01-08 James Su <james.su@gmail.com>
189 * src/fcmatch.c (FcFontSetMatch):
191 Fix matching bug when multiple elements match; don't use
192 the sum of all scores, but the best score.
194 Also more perf opts, e.g. evaluate best over all font sets
195 rather than on a per-set basis (and other changes).
197 2006-01-08 Patrick Lam <plam@mit.edu>
198 * src/fccache.c (FcDirCacheConsume):
200 Properly skip past dir caches that contain zero fonts (as occurs
201 in global caches.) Reported by Mike Fabian.
203 2006-01-06 Patrick Lam <plam@mit.edu>
204 * src/fcdbg.c (FcPatternPrint):
206 Print out full pathname in fc-match -v as well. Reported by
209 2006-01-06 Mike Fabian <mfabian@suse.de>
212 * src/fcname.c (FcNameParse):
214 Fix bug where fc-match crashes when given __DUMMY__ property to
217 (I added the __DUMMY__ string to enable callers of
218 FcObjectToPtrLookup to distinguish an error return from a
219 successful return. -PL)
221 2006-01-05 Patrick Lam <plam@mit.edu>
224 Add self to AUTHORS list.
226 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
227 FcCacheFileRead, FcCachePrintSet, main):
228 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
229 FcGlobalCacheSave, FcCacheNextOffset,
230 FcDirCacheHasCurrentArch, FcDirCacheRead,
231 FcDirCacheConsume, FcDirCacheWrite):
233 * src/fcpat.c (comment):
235 Minor change to global cache file format to fix fc-cat bug
236 reported by Frederic Crozat, and buglet with not globally caching
237 directories with zero fonts cached.
239 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
242 * src/fccfg.c (FcConfigEvaluate):
244 Fix double-free which occurs because FcValueCanonicalize doesn't
245 create an extra copy of the returned value, it only canonicalizes
248 2006-01-02 Patrick Lam <plam@mit.edu>
249 * doc/fontconfig-user.sgml:
251 Fix version of .cache file (currently 1 -> currently 2). Reported
254 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
257 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
259 Shut up GCC warnings on amd.
261 2005-12-20 Patrick Lam <plam@mit.edu>
265 * fontconfig/fontconfig.h:
267 Bump version to 2.3.93.
269 2005-12-20 Patrick Lam <plam@mit.edu>
270 * src/fccharset.c (FcLangCharSetPopulate):
271 * src/fcint.h (FcCacheBankToIndex):
273 Avoid check on _fcBankId nullness and fix case where it used to
276 2005-12-20 Patrick Lam <plam@mit.edu>
277 * src/fcxml.c (FcConfigParseAndLoad):
279 Use open instead of fopen (requested by Phil Race for Sun).
281 2005-12-20 Patrick Lam <plam@mit.edu>
282 * src/fccache.c (FcDirCacheWrite);
283 * fc-cache/Makefile.am:
285 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
288 2005-12-20 Patrick Lam <plam@mit.edu>
289 * src/fcfreetype.c (FcFreeTypeQuery):
291 Restore code to skip over PCF fonts that have no encoded
293 (We guess that a font is PCF by presence of the PIXEL_SIZE
296 2005-12-12 Patrick Lam <plam@mit.edu>
297 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
299 Read and write the original location as a fallback for the
300 hashed cache file locations. This is mostly for users to be
301 able to have per-directory cache files.
303 2005-12-12 Patrick Lam <plam@mit.edu>
304 * fc-cache/fc-cache.c (scanDirs):
305 * fc-cache/Makefile.am:
306 * src/fccache.c (FcDirCacheHashName):
308 Improve error message when fc-cache can't write the cache. Add
309 missing slash. Reported by Behdad. Incorporate Behdad's patch to
310 create /var/cache/fontconfig when appropriate.
312 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
315 * src/fcxml.c (FcConfigGetAttribute):
317 Fix crash reported by Frederic Crozat when using libxml2.
319 2005-12-09 Patrick Lam <plam@mit.edu>
322 * fc-cache/Makefile.am:
323 * fc-cat/Makefile.am:
325 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
326 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
327 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
328 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
329 FcDirCacheHasCurrentArch, FcDirCacheHashName,
330 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
332 Migrate cache files from fonts directories to
333 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
334 but requires that all caches get rebuilt.
336 Also, autogen.sh now needs the additional parameter
337 --localstatedir=/var.
339 2005-12-07 Patrick Lam <plam@mit.edu>
340 * src/fcpat.c (FcPatternAddString):
342 Because we've changed FcPatternAddString to use FcStrStaticName
343 and not FcValueSave, explicitly handle the case of a null string.
345 2005-12-06 Patrick Lam <plam@mit.edu>
346 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
350 2005-12-05 Patrick Lam <plam@mit.edu>
351 * src/fcname.c (FcNameGetObjectType):
353 Don't assign types to user object names.
355 2005-12-05 Patrick Lam <plam@mit.edu>
356 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
358 Don't free strings that have been returned from FcStrStaticName.
360 2005-12-01 Patrick Lam <plam@mit.edu>
361 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
363 Add codepath for reading global cache files as well.
365 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
368 * conf.d/10-fonts.persian.conf:
369 * conf.d/Makefile.am:
371 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
373 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
376 * src/fcxml.c (FcConfigParseAndLoad):
378 Only add a config file to the set of config files once.
380 2005-11-29 Patrick Lam <plam@mit.edu>
381 * src/fcint.h (FcCacheBankToIndex);
383 Fix segfault by guarding array dereference.
385 2005-11-29 Dirk Mueller <dmueller@suse.de>
389 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
390 FcCacheBankToIndex, FcCacheBankToIndexMTF,
394 Refactor FcCacheBankToIndex into an inlineable part
395 (in fcint.h) which checks the front of the list and a
396 non-inlineable part which finds and moves the appropriate element
397 to the front of the list.
399 2005-11-29 Patrick Lam <plam@mit.edu>
400 * src/fccfg.c (FcConfigBuildFonts):
401 * src/fccache.c (FcCacheReadDirs):
403 Make the perf guys hate me a bit less: hoist the directory-name
404 FcConfigAcceptFont check for cached fonts up to directory cache
405 read time, rather than running it for each font.
407 2005-11-29 Patrick Lam <plam@mit.edu>
408 * src/fccfg.c (FcConfigBuildFonts):
410 * src/fcpat.c (FcPatternFindFullFname):
412 Don't make FcPatternFindFullFname available to fccfg, it's not
413 really safe. Instead go through FcPatternGetString (sorry,
414 perf guys.) Also, use globs for dirs as well.
416 2005-11-28 Patrick Lam <plam@mit.edu>
417 * src/fccfg.c (FcConfigBuildFonts):
421 2005-11-28 Patrick Lam <plam@mit.edu>
423 * src/fcpat.c (FcPatternFindFullFname):
424 * src/fccfg.c (FcConfigBuildFonts):
426 Fix problem dating back at least to 2.3.2 where globs weren't
427 being applied to patterns loaded from a cache.
429 2005-11-28 Patrick Lam <plam@mit.edu>
430 * doc/fontconfig-user.sgml:
432 Fix some obvious spelling mistakes.
434 2005-11-28 Dirk Mueller <dmueller@suse.com>
435 Stephan Kulow <coolo@suse.de>
438 * src/fcmatch.c (FcFontSetMatch):
440 Don't kill all fonts during match (oops!)
443 2005-11-25 Dirk Mueller <dmueller@suse.com>
444 Stephan Kulow <coolo@suse.de>
445 Michael Matz <matz@suse.de>
448 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
451 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
452 inline FcCompare into FcFontSetMatch and reorder the
453 loops, adding a boolean array which blocks patterns from future
454 consideration if they're known to not be best on some past
457 2005-11-26 Dirk Mueller <dmueller@suse.com>
460 * src/fcmatch.c (FcCompareValueList):
464 2005-11-25 Patrick Lam <plam@mit.edu>
465 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
467 Don't do random matching when bad objects are passed into
470 2005-11-25 Patrick Lam <plam@mit.edu>
472 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
473 FcPatternSerialize, FcPatternUnserialize,
474 FcValueListEnsureBank, FcValueListDistributeBytes,
475 FcValueListUnserialize):
477 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
478 _fcPatternElts, _fcValueLists for consistency.
480 2005-11-25 Dirk Mueller <dmueller@suse.com>
485 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
487 2005-11-25 Patrick Lam <plam@mit.edu>
489 * src/fccache.c (FcDirCacheConsume):
490 * src/fccharset.c (FcCharSetUnserialize):
491 * src/fcfs.c (FcFontSetUnserialize):
492 * src/fclang.c (FcLangSetUnserialize):
493 * src/fcname.c (FcObjectUnserialize):
494 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
495 FcPatternUnserialize):
497 Pass around FcCache *s to the Unserialize functions for extra
498 consistency (and less overhead, for what that's worth).
500 2005-11-24 Dirk Mueller <dmueller@suse.com>
504 * src/fcmatch.c (FcCompare*, FcFontSetSort):
505 * src/fcname.c (FcNameUnparseValue):
507 Inline the *PtrU functions to gain perf.
508 Remove unneeded params for the FcCompare* functions.
510 2005-11-24 Dirk Mueller <dmueller@suse.com>
513 * src/fcint.h, fontconfig/fontconfig.h:
515 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
517 * src/fcpat.c, src/fcint.h, src/fcname.c:
519 Check for type validity during FcPatternAddWithBinding, don't
520 verify type in FcFontMatch, don't call FcCanonicalize here
521 (which always does a deep copy).
523 2005-11-24 Dirk Mueller <dmueller@suse.com>
526 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
527 * src/fcpat.c (FcPatternAddWithBinding):
529 Make FcCompareString and FcCompareFamily less expensive.
530 Only add a value for FC_FAMILY if the proposed value is a string.
532 2005-11-24 Dirk Mueller <dmueller@suse.com>
535 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
536 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
537 * src/fcint.h (FcDebug):
539 Inline FcDebug invocations and only initialize once, in FcInit*.
540 Improve debug msg in FcPatternPrint.
542 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
545 * fontconfig/fontconfig.h:
548 Minor code warning cleanups.
550 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
553 * fc-match/fc-match.c (main):
555 Make getopt_long accept -s parameter to fc-match as well.
557 2005-11-21 Dirk Mueller <dmueller@suse.com>
560 * src/fcmatch.c (FcCompareValueList):
562 Manually perform inlining & partial redundancy elimination to
563 reduce calls to FcValueListPtrU.
565 2005-11-21 Dirk Mueller <dmueller@suse.com>
568 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
569 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
571 Only invoke strlen() when really necessary.
573 2005-11-19 Matthias Clasen <mclasen@redhat.com>
577 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
582 Get rid of the use of freetype internal headers in fcfreetype.c,
583 since those headers will go away with freetype 2.2. Replace with
584 public domain ftglue code from pango. Note that the patch removes
585 some extra error checking in FT_Get_BDF_Property() and comments
586 out the skipping of empty pcf fonts.
588 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
591 * fc-lang/fc-lang.c (main):
593 Further fix of patch from 2005-11-04: miscounted numbers count
594 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
595 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
597 Removed leafidx_count and numbers_count since they are the same
598 and replaced them with offset_count.
600 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
603 * fc-cat/fc-cat.c (main):
605 Don't crash when fc-cat invoked with no arguments.
607 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
610 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
612 Fix invalid read access caused by premature free and
613 GCC4 warnings in libxml2 codepath.
615 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
618 * src/fccfg.c (FcConfigValues):
620 List iteration not needed in FcConfigValues, since it's building
621 up the list itself; we can just strip FcVoid elements during
624 2005-11-17 Patrick Lam <plam@mit.edu>
625 * src/fccfg.c (FcConfigValues):
627 Fix crash on invalid constants in config files (forgot to update
628 a pointer upon list iteration.)
630 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
633 * src/fcxml.c (FcTypecheckExpr):
635 Complain about invalid constants in config files.
637 2005-11-17 Andreas Schwab <schwab@suse.de>
640 * src/fccache.c (FcGlobalCacheSave):
642 Don't add current_arch_start more than once.
644 2005-11-16 Patrick Lam <plam@mit.edu>
645 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
646 * src/fcfs.c (FcFontSetUnserialize):
647 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
648 * src/fcpat.c (FcStrUnserialize):
650 Fix ordering of ALIGN with respect to saving block_ptr; add
651 another ALIGN to fcfs.c.
653 2005-11-16 Patrick Lam <plam@mit.edu>
654 * src/fccache.c (FcDirCacheProduce)
656 Fix case where alignment bytes bumped up metadata->count
657 causing unwarranted failures to write cache files.
658 (Reported by Stephan Kulow).
660 2005-11-16 Patrick Lam <plam@mit.edu>
661 * src/fccache.c (FcDirCacheProduce):
662 * src/fccharset.c (FcCharSetDistributeBytes):
663 * src/fcfs.c (FcFontSetDistributeBytes):
665 * src/fclang.c (FcLangSetDistributeBytes):
666 * src/fcname.c (FcObjectDistributeBytes):
667 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
670 Add *NeededBytesAlign(), which overestimates the padding which is
671 later added by the new ALIGN macro. Fix alignment problems on
672 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
673 version by Andreas Schwab).
675 2005-11-16 Stephan Kulow <coolo@kde.org>
680 Use sysconf to determine proper PAGESIZE value; this
681 appears to be POSIX-compliant. (reported by Andreas Schwab)
683 2005-11-04 Patrick Lam <plam@mit.edu>
689 Fix bug 2878 (excessive relocations at startup for charsets,
690 reported by Ross Burton): fc-lang/fc-lang now creates the
691 static form of the langset, not the dynamic form, so that
692 the charsets should now be in .rodata.
694 2005-11-04 Patrick Lam <plam@mit.edu>
695 * src/fcdir.c (FcDirScanConfig):
697 Add test for validity of directory caches that
698 somehow got lost (reported by make distcheck).
700 2005-11-04 Patrick Lam <plam@mit.edu>
704 * fontconfig/fontconfig.h:
706 Bump version to 2.3.92.
708 2005-11-02 Patrick Lam <plam@mit.edu>
709 * src/fcpat.c (FcPatternDuplicate):
711 Fix argument ordering problem in call to FcPatternTransferFullFname.
713 2005-11-02 Patrick Lam <plam@mit.edu>
714 * src/fcfreetype.c (FcFreetypeQuery):
715 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
716 FcPatternTransferFullFname):
718 Fix warnings and embarrassing double-free error.
720 2005-11-02 Zhe Su <zsu@novell.com>
725 Change the rule for artificial emboldening in fonts.conf.in. This
726 enables the support for artificial emboldening included in cairo.
728 2005-11-02 Patrick Lam <plam@mit.edu>
729 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
731 Don't zero out full names for FC_REF_CONSTANT fonts;
732 also, duplicate full names when transferring, and free
733 full names when freeing the associated font.
734 Reported by Jinghua Luo.
736 2005-11-02 Patrick Lam <plam@mit.edu>
737 * fc-cache/fc-cache.c (scanDirs):
738 * src/fcpat.c (FcValueListSerialize):
740 Revert the previous patch and commit the correct patch:
741 I forgot a canonicalization in FcValueListSerialize, so
742 that it would choke on already-serialized input files. Duh!
744 2005-11-02 Patrick Lam <plam@mit.edu>
745 * fc-cache/fc-cache.c (scanDirs):
747 Forcibly rescan a directory before writing a fresh local
748 cache file for that directory, fixing the losing-fonts
749 problem reported by Mike Fabian and also apparently the
750 font cache file corruption.
752 2005-11-02 Patrick Lam <plam@mit.edu>
753 * src/fccache.c (FcGlobalCacheLoad):
755 Fix thinko: actually, the whole global cache is stale
756 if the global cache is older than the (newest) config file.
758 2005-11-02 Patrick Lam <plam@mit.edu>
759 * src/fccache.c (FcGlobalCacheLoad):
760 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
763 Declare the global cache of a directory's contents to be stale if
764 the directory is newer than the (newest) configuration file.
766 2005-10-31 Patrick Lam <plam@mit.edu>
768 * src/fclist.c (FcListAppend):
769 * src/fcmatch.c (FcFontRenderPrepare):
770 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
771 FcPatternFreeze, FcPatternBaseFreeze):
773 Copy the full pathname whenever duplicating an FcPattern; otherwise,
774 applications continue breaking.
776 2005-10-31 Patrick Lam <plam@mit.edu>
777 * fc-cat/fc-cat.c (FcCacheFileRead, main):
778 * src/fcfreetype.c (FcFreeTypeQuery):
780 Fix small memory error (tried to free argv); use basename and
781 dirname correctly (they can modify their arguments).
783 2005-10-31 Patrick Lam <plam@mit.edu>
791 Reinstate basename patch, but keep a hash table linking FcPatterns
792 to their fully-qualified font names for clients' benefit. Clients
793 only pay for the font names once they request the FC_FILE property
794 from an FcPattern, but the font name is malloc'd at that point (i.e.
795 not mmapped: that's impossible, since it may vary between machines.)
796 Clients do have to pay for a copy of the path name per cache file.
798 Note that FcPatternGetString now does some rewriting if you ask
799 for an FC_FILE, appending the pathname as appropriate.
801 2005-10-31 Patrick Lam <plam@mit.edu>
802 * src/fcfreetype.c (FcFreeTypeQuery):
804 Revert basename patch, which breaks fontconfig clients on my system.
806 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
809 * fontconfig/fonts.conf.in:
810 * fontconfig/fontconfig.h:
814 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
815 to load embedded bitmaps or not.
817 2005-10-25 Patrick Lam <plam@mit.edu>
818 * src/fcfreetype.c (FcFreeTypeQuery):
820 Only add basename to patterns' FC_FILE element, not any part of
823 2005-10-22 Patrick Lam <plam@mit.edu>
826 Add some more consts, fixing more GCC4 warnings.
828 2005-10-22 Zhe Su <zsu@novell.com>
831 Support localized font family and style names.
832 This has been reported to break old apps like xfd, but modern
833 (gtk+/qt/mozilla) apps work fine.
835 2005-10-21 Patrick Lam <plam@mit.edu>
836 * src/fccache.c (FcGlobalCacheLoad):
838 Destroy the global cache file if it's terminally broken. (reported by
841 2005-10-21 Patrick Lam <plam@mit.edu>
842 * fc-list/fc-list.c (main):
843 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
844 * fontconfig/fontconfig.h:
846 Prevent fc-list from escaping strings when printing them (reported by
849 2005-10-20 Marcus Meissner <meissner@suse.de>
852 * fontconfig/fontconfig.h:
854 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
856 2005-10-14 Ross Burton <ross@burtonini.com>
859 * fc-glyphname/fc-glyphname.c:
862 Add consts to variables so as to move arrays into .rodata.
864 2005-10-14 Mike Fabian <mfabian@suse.de>
867 * src/fccache.c (FcDirCacheUnlink):
869 Check existence of directory cache file before attempting to unlink.
871 2005-10-13 Patrick Lam <plam@mit.edu>
872 * src/fccache.c (FcDirCacheUnlink):
874 Fix flipped return value on unlink. (Reported by Mike Fabian)
876 2005-10-12 Patrick Lam <plam@mit.edu>
879 * src/fcdir.c (FcDirScanConfig):
882 When fc-cache is run without --force, use directory cache files
883 to speed up fc-cache run time. (Reported by Mike Fabian)
885 2005-10-06 Patrick Lam <plam@mit.edu>
887 * src/fcname.c (FcObjectToPtr):
888 * src/fcpat.c (FcStrStaticName):
890 Add padding to make valgrind and glibc not hate each other
891 when calling strlen().
893 2005-10-05 Simos Xenitellis <simos74@gmx.net>
894 reviewed by: plam & keithp
898 Modify config file to use Greek fonts before Asian fonts with
901 2005-10-05 Christian Biesinger <cbiesinger@web.de>
902 reviewed by: plam & keithp
906 Use libtool -no-undefined flag on all platforms.
908 2005-10-05 Patrick Lam <plam@mit.edu>
909 * src/fccache.c (FcCacheHaveBank):
911 Implement move-to-front array for banks (perf regression
912 reported by Ronny V. Vindenes).
914 2005-10-04 Patrick Lam <plam@mit.edu>
915 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
916 FcDirCacheHasCurrentArch):
917 * fc-cache/fc-cache.c (scanDirs):
918 * fontconfig/fontconfig.h:
920 Add new API which unlinks directory caches and checks dir caches
921 for existence of appropriate sections. Fix fc-cache to unlink
922 stale cache files and save directory caches that lack relevant
925 2005-10-03 Patrick Lam <plam@mit.edu>
926 * src/fccache.c (FcDirCacheValid):
928 Ensure that a directory cache has the appropriate section
929 before reporting that it is valid (reported by Matthias Clasen).
931 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
939 Use libxml2 if requested (with --enable-libxml2) or if
940 expat is not available.
942 2005-09-29 Patrick Lam <plam@mit.edu>
943 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
945 Fix multi-arch cache files: compute the position for the
946 block to be added using info from OrigFile, not NewFile.
948 2005-09-28 Patrick Lam <plam@mit.edu>
949 * src/fccache.c (FcCacheMachineSignature):
951 Cast results of sizeof() to unsigned int to get rid of
952 warnings on x86_64 (thanks Matthias Clasen).
954 2005-09-27 Patrick Lam <plam@mit.edu>
955 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
958 Use FcAtomic to rewrite cache files.
960 2005-09-27 Patrick Lam <plam@mit.edu>
962 * src/fccache.c (FcDirCacheWrite):
964 Don't unlink the fonts.cache-2 file even if there's no data
965 to write; just write an empty cache file. (thanks Lubos Lunak)
967 2005-09-27 Patrick Lam <plam@mit.edu>
969 * src/fccache.c (FcDirCacheWrite):
971 Allocate room for the subdirectory names in each
972 directory cache. Thanks to James Cloos for finding
973 and diagnosing this bug!
975 2005-09-22 Patrick Lam <plam@mit.edu>
977 * fc-cache/fc-cache.sgml:
978 * src/fccache.c (FcDirCacheWrite):
979 * src/fccache.h (struct FcCache):
981 Update documentation -- fc-cache's man page now says that you
982 need to run fc-cache once per cached architecture; add some
983 documentation to the FcCache structure.
985 Make fc-cache write out fonts.cache-2 files for directories with
986 no fonts (i.e. only subdirectories).
988 2005-09-22 Patrick Lam <plam@mit.edu>
990 * fc-cache/fc-cache.sgml:
992 * fc-glyphname/fc-glyphname.c:
998 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1002 * fc-lang/fc-lang.c:
1003 * fontconfig/fcprivate.h:
1004 * fontconfig/fontconfig.h:
1018 Implement new mmaped cache for font information.
1019 Bump so revision to 2.3.90.
1021 2005-07-25 Keith Packard <keithp@keithp.com>
1023 * doc/fontconfig-user.sgml:
1024 * fc-glyphname/fc-glyphname.c: (scan), (main):
1025 * fc-lang/fc-lang.c: (FcConfigHome):
1026 * fc-match/fc-match.c: (main):
1027 * src/fccfg.c: (FcConfigHome):
1028 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1029 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1030 (addtag), (FcFontCapabilities):
1031 * src/fcpat.c: (FcValueListEntCreate):
1032 * src/fcstr.c: (FcStrCaseWalkerInit):
1033 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1035 Various GCC 4 cleanups for signed vs unsigned char
1037 Match only [0-9]*.conf files in <include>{directory}</include>
1038 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1040 2005-07-15 Carl Worth <cworth@cworth.org>
1043 * src/fcinit.c: (FcFini):
1044 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1047 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1048 Pull the FcObjectStateName hash table out to file scope, and add
1049 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1052 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1055 2005-06-16 Patrick Lam <plam@MIT.EDU>
1059 * src/fccfg.c: (FcConfigCompareValue):
1060 Make FcOpNotContains use FcStrStr for strings so that
1061 it matches semantics for !FcOpContains.
1063 2005-05-20 Keith Packard <keithp@keithp.com>
1067 Move fontconfig source package to libs as per override
1069 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1071 reviewed by: Mike Fabian
1074 The ka.orth file requires several characters which are not
1075 used anymore in modern Georgian and which are missing in the free
1076 Georgian TrueType fonts downloadable at:
1078 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1080 2005-04-27 Keith Packard <keithp@keithp.com>
1084 Update date to real 2.3.2 release date.
1085 Fix change attributions
1087 2005-04-27 Keith Packard <keithp@keithp.com>
1090 Bump so revision for 2.3.2
1091 * fc-cache/fc-cache.c: (scanDirs):
1092 Fix a few minor leaks in error cases.
1094 2005-04-23 Keith Packard <keithp@keithp.com>
1099 * fontconfig/fontconfig.h:
1100 Update for version 2.3.2
1102 2005-04-21 Keith Packard <keithp@keithp.com>
1104 * debian/fontconfig.postinst:
1105 Don't force bitmap font enable in default
1106 configuration; allows users to override this in
1116 * debian/po/pt_BR.po:
1117 * debian/po/templates.pot:
1119 * debian/po/zh_CN.po:
1120 Updated translations
1122 * fc-cache/fc-cache.c: (main):
1123 Destroy font configuration on exit to help valgrind
1126 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1127 (FcFreeTypeCheckGlyph):
1128 Use own transcoding routines in preference to iconv
1129 which appears to have leaks in some translators.
1130 Call iconv_close after using iconv (oops).
1132 Prefer unicode encoding of Euro char as some
1133 fonts mis-encode Euro in other ones.
1135 Must fetch bitmap glyphs to get width values
1136 to check for monospace/dual-width fonts.
1138 2005-04-13 Ross Burton <ross@burtonini.com>
1141 Check that a pattern isn't already frozen in FcPatternFreeze.
1143 2005-03-31 Ross Burton <ross@burtonini.com>
1148 Run all FcPattern objects through FcObjectStaticName, so that
1149 compares can be done on pointers instead of strings (#2659)
1151 2005-03-17 Tor Lillqvist <tml@novell.com>
1153 * src/fontconfig.def.in: Add the .dll to the dll name.
1155 2005-03-10 Keith Packard <keithp@keithp.com>
1157 * debian/README.Debian:
1158 Update to reflect configuration changes
1160 * debian/fontconfig.postinst:
1161 Fix Autohint vs Autohinter mistake
1162 * debian/fontconfig.templates:
1163 Adopt changes from Josselin Mouette for configuration descriptions
1164 Update debian to version 2.3.1-2
1166 2005-03-08 Keith Packard <keithp@keithp.com>
1170 Update debian for 2.3.1
1172 2005-03-09 Tor Lillqvist <tml@novell.com>
1174 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1177 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1180 2005-03-08 Keith Packard <keithp@keithp.com>
1184 * fontconfig/fontconfig.h:
1187 2005-03-05 Keith Packard <keithp@keithp.com>
1189 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1190 Include space and remove numbers from valid script tags.
1191 This ensures that tags like 'lao ' work while rejecting
1192 those which have any digits.
1193 Eliminate a spurious debugging variable (len)
1195 2005-03-05 Keith Packard <keithp@keithp.com>
1197 * src/fcfreetype.c: (addtag), (GetScriptTags),
1198 (FcFontCapabilities):
1199 Rework GSUB/GPOS script parsing to survive broken fonts.
1200 Thanks for the broken font go to Manish Singh
1202 2005-03-05 Keith Packard <keithp@keithp.com>
1207 * debian/fontconfig.config:
1208 * debian/fontconfig.templates:
1210 Include 2.3 release information in changelog
1211 Add Josselin Mouette as an Uploader
1212 Set hinting_type to low priority configuration option
1215 * debian/fontconfig.postinst:
1216 yes_bitmaps.conf -> yes-bitmaps.conf
1222 2005-03-02 Keith Packard <keithp@keithp.com>
1225 * conf.d/Makefile.am:
1226 * conf.d/autohint.conf:
1227 * conf.d/no-sub-pixel.conf:
1228 * conf.d/sub-pixel.conf:
1229 * conf.d/unhinted.conf:
1230 * debian/autohint.conf:
1231 * debian/fontconfig.install:
1232 * debian/fontconfig.postinst:
1233 * debian/fontconfig.templates:
1234 * debian/no-sub-pixel.conf:
1235 * debian/unhinted.conf:
1236 Move debian-specific conf file examples upstream.
1238 Sub-pixel configuration examples must smash subpixel value
1239 as Xft always sets it from X.
1241 Change sub-pixel rendering debconf descriptions from
1242 Enable/Disable to Always/Never.
1244 2005-03-02 Keith Packard <keithp@keithp.com>
1247 * conf.d/.cvsignore:
1249 Ignore more build detritus
1252 Add debian package construction stuff.
1254 * config/config.guess:
1255 * config/config.sub:
1256 Update to newer versions of these tools
1259 Get library manuals to build again (we love automake).
1261 * debian/README.Debian:
1262 * debian/autohint.conf:
1267 * debian/fontconfig-udeb.install:
1268 * debian/fontconfig.config:
1269 * debian/fontconfig.defoma:
1270 * debian/fontconfig.dirs:
1271 * debian/fontconfig.install:
1272 * debian/fontconfig.postinst:
1273 * debian/fontconfig.postrm:
1274 * debian/fontconfig.templates:
1275 * debian/libfontconfig1-dev.install:
1276 * debian/libfontconfig1.install:
1277 * debian/local.conf.md5sum:
1278 * debian/no-sub-pixel.conf:
1279 * debian/po/POTFILES.in:
1288 * debian/po/pt_BR.po:
1289 * debian/po/templates.pot:
1291 * debian/po/zh_CN.po:
1293 * debian/unhinted.conf:
1294 Update debian build system to switch maintainers and
1295 deal with 2.3 functionality
1297 2005-03-01 Keith Packard <keithp@keithp.com>
1301 * fontconfig/fontconfig.h:
1304 2005-03-01 Keith Packard <keithp@keithp.com>
1307 Generate and install PDF versions of the manuals
1309 * doc/fcpattern.fncs:
1312 * doc/fcstring.fncs:
1313 Add missing exported functions, fix data types
1315 * doc/fontconfig-devel.sgml:
1316 Add missing pattern elements.
1318 * doc/fontconfig-user.sgml:
1319 Add missing pattern elements. Document conf.d usage,
1320 clarify available orthography list. Fix some config file
1321 attributes. Complete list of constants.
1323 * fontconfig/fontconfig.h:
1324 Mark FC_SOURCE deprecated.
1326 * src/fcfreetype.c: (FcFreeTypeQuery):
1327 Don't set FC_SOURCE any longer.
1329 2005-02-28 Keith Packard <keithp@keithp.com>
1332 * conf.d/Makefile.am:
1334 * conf.d/no-bitmaps.conf:
1335 * conf.d/sub-pixel.conf:
1336 * conf.d/yes-bitmaps.conf:
1338 Create prototype /etc/fonts/conf.d directory with a few
1339 sample configuration files.
1340 Deprecate use of local.conf for local customizations in favor of
1341 this directory based scheme which is more easily integrated into
1342 installation systems.
1345 Tag FC_EMBOLDEN as a boolean variable
1347 2005-02-10 Keith Packard <keithp@keithp.com>
1349 reviewed by: pborelli@katamail.com
1351 * src/fcdir.c: (FcFileScanConfig):
1352 Free patterns from fonts which are rejected by configuration
1355 2005-01-28 Keith Packard <keithp@keithp.com>
1359 * fontconfig/fontconfig.h:
1360 Update for version 2.2.99
1362 2005-01-28 Keith Packard <keithp@keithp.com>
1365 Add a few pointers (#2284, #2285)
1367 2005-01-28 Keith Packard <keithp@keithp.com>
1370 * src/fcname.c: (FcNameBool):
1371 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1372 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1373 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1374 Polite typechecking for test and edit expressions. Helps
1375 catch errors in the font configuration. (bug 229)
1377 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1379 reviewed by: Keith Packard <keithp@keithp.com>
1382 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1384 2005-01-13 Keith Packard <keithp@keithp.com>
1386 * doc/fontconfig-user.sgml:
1387 Add SEE ALSO section (bug 2085)
1389 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1391 reviewed by: Keith Packard <keithp@keithp.com>
1396 * fc-case/Makefile.am:
1397 * fc-glyphname/Makefile.am:
1398 * fc-lang/Makefile.am:
1399 * src/fontconfig.def.in:
1400 Cross compiling fixes (bug 280)
1402 2005-01-13 Keith Packard <keithp@keithp.com>
1405 Update blanks list (Closes bug 86)
1407 2005-01-04 Keith Packard <keithp@keithp.com>
1409 * src/fccache.c: (FcCacheFontSetAdd):
1410 Verify that every font pattern loaded from cache has
1411 both FC_FILE and FC_FAMILY entries.
1412 Attempt to fix bug #2219.
1414 2004-12-29 Keith Packard <keithp@keithp.com>
1418 * fontconfig/fontconfig.h:
1419 Update for version 2.2.98
1421 2004-12-29 Keith Packard <keithp@keithp.com>
1423 * fontconfig/fontconfig.h:
1424 Document ASCII limitations of Fc character conversion macros
1425 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1426 Fix off-by-one error in utf-8 case walking code.
1427 Add FcStrDowncase (useful for testing case conversion functions)
1429 2004-12-29 Keith Packard <keithp@keithp.com>
1432 * fc-case/.cvsignore:
1433 clean up CVS ignore lists
1434 * fc-lang/iso-3166.txt:
1435 Add territory database
1437 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1439 Reviewed by: Keith Packard
1442 Remove Han characters from Korean orthography
1444 2004-12-29 Keith Packard <keithp@keithp.com>
1447 Reorder utility programs to make sure fc-case is run before fc-lang
1448 as fc-lang uses fcstr.c which uses fccase.h
1452 2004-12-29 Keith Packard <keithp@keithp.com>
1455 Adopt some RedHat suggestions for standard font configuration.
1459 * fc-case/CaseFolding.txt:
1460 * fc-case/Makefile.am:
1461 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1462 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1463 (dump), (parseRaw), (caseFoldReadRaw), (main):
1464 * fc-case/fccase.tmpl.h:
1465 Add new helper program 'fc-case' to construct case folding
1466 tables from standard Unicode CaseFolding.txt file
1469 * src/fclist.c: (FcListValueHash):
1470 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1471 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1472 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1473 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1474 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1475 Re-implement case insensitive functions with Unicode
1476 aware versions (including full case folding mappings)
1478 2004-12-13 Keith Packard <keithp@keithp.com>
1480 reviewed by: Owen Taylor <otaylor@redhat.com>
1482 * src/fcmatch.c: (FcFontSetSort):
1483 I changed FcFontSetSort to respect the generic aliases better
1484 in the face of language matching.
1486 What I did was to ammend the strict sort order used by FcFontSort so
1487 that it 'satisfies' the language specified in the pattern by locating
1488 the best matching font supporting each pattern language and then
1489 ignores language in the remaining fonts for purposes of matching.
1491 So, when asking for 'sans:lang=en', you'll get an English font first,
1492 and then the remaining fonts sorted with respect to the 'sans' alias
1493 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1495 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1497 reviewed by: Keith Packard <keithp@keithp.com>
1499 * fontconfig/fontconfig.h:
1502 Configuration changes to request synthetic emboldening of
1503 fonts. The actual emboldening code will live in Xft.
1505 2004-12-09 John Thacker <thacker@math.cornell.edu>
1507 reviewed by: Keith Packard <keithp@keithp.com>
1511 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1512 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1513 и), and don't even appear in KOI8-R. (The hypothesis that they
1514 don't appear in KOI8-R due to their similarity with Latin I and i is
1515 eliminated by their presence in KOI8-U.) I have a couple of fonts
1516 with Russian support that don't have the letter.
1518 Therefore, 0406 and 0456 should be removed from or commented out of
1521 2004-12-06 michael meeks <mmeeks@novell.com>
1523 Reviewed by: Keith Packard <keithp@keithp.com>
1525 * src/fcinit.c: (FcMemReport):
1527 * src/fclist.c: (FcObjectSetAdd):
1528 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1529 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1530 * src/fcxml.c: (FcParsePatelt):
1531 memoize strings and share a single copy for all uses. Note that
1532 this could be improved further by using statically allocated blocks
1533 and gluing multiple strings together, but I'm basically lazy.
1534 In my environment with 800 font files, I get a savings of about 90KB.
1536 2004-12-06 Keith Packard <keithp@keithp.com>
1540 * config/Makedefs.in:
1543 * doc/fcatomic.fncs:
1544 * doc/fcblanks.fncs:
1545 * doc/fccharset.fncs:
1546 * doc/fcconfig.fncs:
1547 * doc/fcconstant.fncs:
1549 * doc/fcfontset.fncs:
1550 * doc/fcfreetype.fncs:
1552 * doc/fcmatrix.fncs:
1553 * doc/fcobjectset.fncs:
1554 * doc/fcobjecttype.fncs:
1555 * doc/fcpattern.fncs:
1556 * doc/fcstring.fncs:
1557 * doc/fcstrset.fncs:
1559 * doc/fontconfig-devel.sgml:
1560 * doc/fontconfig-user.sgml:
1562 * doc/version.sgml.in:
1563 * fc-cache/Makefile.am:
1564 * fc-cache/fc-cache.c:
1565 * fc-glyphname/Makefile.am:
1566 * fc-glyphname/fc-glyphname.c:
1567 * fc-glyphname/fcglyphname.tmpl.h:
1568 * fc-lang/Makefile.am:
1578 * fc-lang/az_ir.orth:
1612 * fc-lang/fc-lang.c:
1613 * fc-lang/fc-lang.man:
1614 * fc-lang/fclang.tmpl.h:
1659 * fc-lang/ku_ir.orth:
1692 * fc-lang/ps_af.orth:
1693 * fc-lang/ps_pk.orth:
1722 * fc-lang/ti_er.orth:
1723 * fc-lang/ti_et.orth:
1749 * fc-lang/zh_cn.orth:
1750 * fc-lang/zh_hk.orth:
1751 * fc-lang/zh_mo.orth:
1752 * fc-lang/zh_sg.orth:
1753 * fc-lang/zh_tw.orth:
1755 * fc-list/Makefile.am:
1756 * fc-list/fc-list.c:
1757 * fc-match/Makefile.am:
1758 * fc-match/fc-match.1:
1759 * fc-match/fc-match.c:
1760 * fontconfig/fcfreetype.h:
1761 * fontconfig/fcprivate.h:
1762 * fontconfig/fontconfig.h:
1783 Change files from ISO-Latin-1 to UTF-8
1785 2004-12-04 Keith Packard <keithp@keithp.com>
1788 Update links to new freedesktop.org locations
1790 Add uninstall-local to get rid of fonts.conf and local.conf if they
1791 match the distributed versions. Fixes 'make distcheck'
1793 2004-12-04 Keith Packard <keithp@keithp.com>
1797 * fontconfig/fontconfig.h:
1798 Updates for version 2.2.97
1800 2004-12-04 Owen Taylor <otaylor@redhat.com>
1802 reviewed by: Keith Packard <keithp@keithp.com>
1804 * fc-cache/fc-cache.c: (main):
1805 Sleep for two seconds before exiting to make sure timestamps
1806 for future changes have distinct mod times in the file system.
1809 Add Punjabi orthography. Bug #1671.
1811 2004-12-04 Keith Packard <keithp@keithp.com>
1814 Just remove the FC_FONTDATE -- it has locale issues and
1815 annoys redhat multi-arch installs. Now that all X fonts are
1816 included without prejudice, the chances of the date being at
1817 all interesting are rather limited. Bug #505.
1819 Add copyright and license
1821 2004-12-04 Keith Packard <keithp@keithp.com>
1824 Change default set of fonts to include all of
1825 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1826 * doc/fontconfig-user.sgml:
1827 Document new <include>directory-name</include> semantics
1829 add <include ignore_missing="yes">conf.d</include>
1831 Add selectfont to ignore bitmap fonts, add comment for
1832 selectfont which accepts bitmap fonts.
1835 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1836 Allow <include> configuration elements to reference directories.
1837 Parse and load all files of the form [0-9]* in sorted order.
1839 2004-12-04 Keith Packard <keithp@keithp.com>
1842 Report command line for $srcdir/configure accurately.
1845 2004-12-04 Keith Packard <keithp@keithp.com>
1847 * src/fcfreetype.c: (FcFreeTypeQuery):
1848 Check for non-empty face->family_name and face->style_name
1849 before using those for the font. Empty names match everything.
1852 2004-12-04 Keith Packard <keithp@keithp.com>
1855 * fontconfig/fontconfig.h:
1856 * src/fcfreetype.c: (FcFreeTypeQuery):
1858 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1859 available. This provides font file format information (BDF, Type 1,
1860 PCF, TrueType) for each font. Closes #109.
1862 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1864 reviewed by: Keith Packard <keithp@keithp.com>
1866 * doc/fontconfig-user.sgml:
1869 * fontconfig/fontconfig.h:
1870 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1871 (GetScriptTags), (FcFontCapabilities):
1873 Add detection for font capabilities (bug #105)
1875 2004-12-04 Keith Packard <keithp@keithp.com>
1878 Move existing fonts.conf to fonts.conf.bak
1881 Add detection of iconv
1883 * doc/fcpattern.fncs:
1884 * doc/fontconfig-devel.sgml:
1885 * doc/fontconfig-user.sgml:
1887 Document new selectfont elements
1890 Switch to UTF-8 in comment
1892 * fontconfig/fontconfig.h:
1894 Add fullname, and family/style/fullname language entries
1896 * src/fccache.c: (FcCacheFontSetAdd):
1897 * src/fcdir.c: (FcFileScanConfig):
1898 Respect selectfont/*/glob
1901 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1902 (FcConfigCompareValue), (FcConfigPatternsAdd),
1903 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1904 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1905 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1906 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1907 Add support for selectfont
1909 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1910 (FcStringInPatternElement), (FcFreeTypeQuery):
1911 Add multi-lingual family/style/fullname support
1913 * src/fclist.c: (FcListPatternMatchAny):
1914 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1916 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1917 (FcObjectStaticName):
1918 Add new FcPatternRemove/FcPatternAppend.
1919 FcObjectStaticName stores computed pattern element names which
1920 are required to be static.
1922 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1927 Remove spurious / after $(DESTDIR)
1929 2004-06-30 Keith Packard <keithp@keithp.com>
1933 * fontconfig/fontconfig.h:
1936 2004-06-30 Keith Packard <keithp@keithp.com>
1938 Provided by: Lubos Lunak <l.lunak@suse.cz>
1940 * src/fccfg.c: (FcConfigUptoDate):
1941 However FcConfigUptoDate() doesn't seem to work. See the attached
1942 patch. First there's an obvious misplaced parenthesis making it
1943 return always false, and second, even this call fails to detect font
1944 changes (e.g. adding a new font to
1945 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1946 well. The problem seems to be triggered by my fonts.conf specifying
1947 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1948 doesn't include subdirs, unlike config->fontDirs.
1950 2004-06-03 Keith Packard <keithp@keithp.com>
1952 * fontconfig/fontconfig.h:
1953 Remove comma at end of FcResult enum definition.
1955 2004-05-29 Keith Packard <keithp@keithp.com>
1958 Add steps to md5sum release
1960 2004-05-29 Keith Packard <keithp@keithp.com>
1964 * fontconfig/fontconfig.h:
1967 2004-05-29 Keith Packard <keithp@keithp.com>
1969 * fontconfig/fontconfig.h:
1970 * src/fcmatch.c: (FcFontSetMatch):
1971 Add FcResultOutOfMemory to provide an accurate error when
1972 FcFontSetMatch fails in this way
1975 Make #warning about lacking various FreeType features indicate
1976 which version those features appeared so users know how to
1977 fix the problem (Thanks to Anton Tropashko)
1979 2004-05-05 Keith Packard <keithp@keithp.com>
1981 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1982 Replace MIN/MAX/ABS macros which happen to have come
1983 from FreeType with fontconfig-specific ones (FC_*)
1985 2004-04-23 Keith Packard <keithp@keithp.com>
1988 Extend release preparation instructions to include
1989 notification and distribution steps
1991 2004-04-23 Keith Packard <keithp@keithp.com>
1995 * fontconfig/fontconfig.h:
1996 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1998 2004-04-23 Keith Packard <keithp@keithp.com>
2001 Ignore a few more autotool files
2003 2004-04-14 Keith Packard <keithp@keithp.com>
2006 Add instructions for doing a release
2008 * fontconfig.spec.in:
2009 clean up .spec file; perhaps this will be useful to somebody...
2013 * fontconfig/fontconfig.h:
2016 * fc-lang/fc-lang.c:
2017 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2019 * fc-glyphname/Makefile.am:
2020 * fc-lang/Makefile.am:
2021 * fc-list/Makefile.am:
2022 * fc-match/Makefile.am:
2024 Add WARN_CFLAGS to pass -W flags for GCC systems
2026 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2027 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2028 Change various char types around to match across
2030 Fixed bug in using available_sizes[i].height which
2031 is in pixels, not 64ths of a pixel.
2033 2004-03-06 Keith Packard <keithp@keithp.com>
2035 * src/fcfreetype.c: (FcFreeTypeQuery):
2036 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2037 matches looking for explicit values prefer exact matches
2039 2004-03-02 Keith Packard <keithp@keithp.com>
2041 Supplied by: mfabian@suse.de (Mike FABIAN)
2043 * src/fcfreetype.c: (FcFreeTypeQuery):
2044 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2045 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2047 2004-02-21 Manish Singh <yosh@gimp.org>
2049 * fc-glyphname/fc-glyphname.c: (main):
2050 Cast strlen to int for printf, so we're 64-bit clean.
2052 2004-02-11 Keith Packard <keithp@keithp.com>
2055 * src/fcfreetype.c: (FcGetPixelSize):
2056 Ok, so I messed up the test for y_ppem. Let's see if I
2057 got it right this time.
2059 2004-02-10 Keith Packard <keithp@keithp.com>
2062 * src/fcfreetype.c: (FcGetPixelSize):
2063 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2064 FT_Bitmap_Size record. Add a configure.in test for this
2065 and change the code accordingly (using height instead).
2067 2004-02-06 Keith Packard <keithp@keithp.com>
2070 Add Low Saxon orthography
2071 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2073 * src/fccfg.c: (FcConfigNewestFile):
2074 Oops. Left 'newest.set' unset, which would miscompute
2077 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2078 (FcFreeTypeCheckGlyph):
2079 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2080 font properties (which report the wrong value in current FreeType)
2082 Don't attempt to check for empty glyphs in non-scalable fonts; they
2085 2004-02-01 Tor Lillqvist <tml@iki.fi>
2087 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2088 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2089 cache if config->cache is NULL, which happens if FcConfigHome() is
2090 NULL. Guard against that by using the temp folder in that case.
2092 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2094 * fc-lang/az_ir.orth:
2095 * fc-lang/ku_ir.orth:
2096 * fc-lang/ps_af.orth:
2097 * fc-lang/ps_pk.orth:
2098 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2099 (Afghan and Pakistani).
2101 Updated Urdu orthography with real data.
2103 2003-12-11 Carl Worth <cworth@east.isi.edu>
2105 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2108 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2110 (all-local): Remove excessive whitespace.
2112 * autogen.sh: Add 'set -e' to abort when any program fails,
2113 (avoids printing of 'now type make' after configure aborts).
2115 2003-11-17 Eric Christopherson <rakko@charter.net>
2117 reviewed by: Keith Packard <keithp@keithp.com>
2120 * fontconfig/fcfreetype.h:
2122 Switch to FreeType 2.1.7 style includes. Bug #150.
2124 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2126 * fc-list/fc-list.sgml: Add some example usages.
2128 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2131 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2134 2003-10-27 Keith Packard <keith@keithp.com>
2137 * fontconfig/fontconfig.h:
2138 Update to version 2.2.92
2140 2003-10-27 Keith Packard <keithp@keithp.com>
2145 * fc-cache/Makefile.am:
2146 * fc-glyphname/Makefile.am:
2147 * fc-lang/Makefile.am:
2148 * fc-list/Makefile.am:
2149 * fc-match/Makefile.am:
2152 Yet more cleanups to finish getting 'make distcheck' working
2153 This has been tested to ensure that it even works from a _build
2156 2003-10-26 Keith Packard <keithp@keithp.com>
2160 * fc-cache/Makefile.am:
2161 * fc-glyphname/Makefile.am:
2162 * fc-lang/Makefile.am:
2163 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2164 * fc-list/Makefile.am:
2165 * fc-match/Makefile.am:
2166 Attempts to fix 'make distcheck' work. Things are
2167 progressing pretty well, but there are still failures
2168 long into the process dealing with docs (as always).
2170 The big changes here are mostly to make $(srcdir) != "."
2171 work correctly, fixing the docbook related sections and
2172 fc-lang were particularily tricky. Docbook refuses to load
2173 system entities from anywhere other than where the original .sgml
2174 file was located, so no luck looking in "." for the
2175 configure-generated version.sgml and confdir.sgml files.
2177 fc-lang needed help finding .orth files; added a -d option
2178 to set the directory as the least evil of many options.
2180 Now to go use a faster machine and try and wring out the last
2183 2003-10-26 Keith Packard <keithp@keithp.com>
2187 2003-10-26 Keith Packard <keithp@keithp.com>
2190 Include confdir.sgml.in in EXTRA_DIST
2192 2003-10-09 Josselin Mouette <joss@debian.org>
2194 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2195 * fc-list/fc-list.sgml fc-list/Makefile.am:
2196 Replace fc-cache and fc-list manpages with more detailed, SGML
2199 2003-09-23 Owen Taylor <otaylor@redhat.com>
2201 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2202 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2203 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2206 2003-09-23 Owen Taylor <otaylor@redhat.com>
2208 * fc-lang/ka.orth: Remove Georgian capitals, they
2209 aren't used for normal writing. (Bug #116)
2211 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2213 * doc/fontconfig-devel.sgml:
2214 * doc/fontconfig-user.sgml:
2215 * fontconfig/fontconfig.h:
2217 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2218 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2220 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2221 monospace and dual-width fonts, allow roughly a 3% variance in the
2224 2003-08-31 Manish Singh <yosh@gimp.org>
2226 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2229 2003-08-15 Carl Worth <cworth@isi.edu>
2231 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2232 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2234 * src/fcpat.c (FcValueListEntDestroy): New function to support
2235 FcFini memory cleanup. Some statistics are not kept in
2237 (FcValueListFreeze): Move hashTable outside this function so it
2238 can be accessed by FcValueListThawAll.
2239 (FcValueListThawAll): New function complements FcValueListFreeze.
2240 (FcPatternBaseFreeze): Move hashTable outside this function so it
2241 can be accessed by FcPatternBaseThawAll.
2242 (FcPatternBaseThawAll): New function complements
2243 FcPatternBaseFreeze.
2244 (FcPatternThawAll): New function complements FcPatternFreeze.
2246 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2248 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2249 allocated FcCharLeafEnt "blocks" so they can be freed later.
2250 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2251 can be accessed by FcCharSetThawAllLeaf.
2252 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2253 (FcCharSetFreezeBase): Move hashTable outside this function so it
2254 can be accessed by FcCharSetThawAll.
2255 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2257 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2258 (FcConfigDestroy): Fic leak of FcBlanks.
2260 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2261 (main): Add call to FcFini when finished.
2263 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2264 static. Add prototypes.
2266 * doc/fcinit.fncs: Add documentation for FcFini function.
2268 * doc/edit-sgml.c: Mark several local functions as static. Add
2271 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2273 2003-06-15 Tor Lillqvist <tml@iki.fi>
2275 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2276 before comparing (needed on Windows).
2278 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2280 2003-06-13 Tor Lillqvist <tml@iki.fi>
2282 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2285 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2286 WINDOWSFONTDIR token.
2288 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2289 end, not to confuse libtool, which expects the EXPORTS line to be
2290 the first. Add FcConfigEnableHome.
2292 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2293 built as a DLL on Win32.
2295 2003-06-09 Keith Packard <keithp@keithp.com>
2297 * Tag version 2.2.90
2299 2003-06-09 Keith Packard <keithp@keithp.com>
2301 * Optimization in FcLangSetIndex was broken, occasionally
2302 returning a pointer to the wrong location on miss
2304 * Add fc-match to test font matching from the command line.
2306 2003-05-31 Keith Packard <keithp@keithp.com>
2308 * (Bug 85) add support for culmus fonts
2309 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2310 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2312 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2314 * Fix "contains" op for strings and langsets.
2316 2003-05-17 Keith Packard <keithp@keithp.com>
2318 * Fix build error with BDF prop local. Free langset after query
2320 2003-05-14 Keith Packard <keithp@keithp.com>
2322 * Extract spacing from XLFD atom
2324 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2326 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2327 disappeared in 1.30.
2329 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2331 2003-05-12 Keith Packard <keithp@keithp.com>
2333 * Use FcIsWidth to share code
2335 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2336 misclassifying some Han fonts as monospaced.
2338 2003-05-07 Keith Packard <keithp@keithp.com>
2340 * Add filename-based accept/reject to ammend available fonts.
2342 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2343 older FreeType releases.
2345 2003-05-06 Keith Packard <keithp@keithp.com>
2347 * Remove 0b82 and Tamil numbers from tamil
2348 orthography (Jungshik Shin <jshin@mailaps.org>)
2350 2003-05-04 Keith Packard <keithp@keithp.com>
2352 + Map glyph names in fonts with adobe custom encoding to unicode
2354 2003-05-02 Keith Packard <keithp@keithp.com>
2356 * Add FC_WEIGHT_BOOK as weight 75
2358 2003-04-30 Keith Packard <keithp@keithp.com>
2360 * Typo in bitstream foundry name
2362 2003-04-24 Keith Packard <keithp@keithp.com>
2364 * Eliminate italic_angle check for PS fonts
2366 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2368 * Getting closer to fixing /etc/fonts hard-coding.
2370 2003-04-22 Keith Packard <keithp@keithp.com>
2372 * Update autogen.sh to work with newer automake versions
2373 * Handle pattern elements moving during multiple edits
2375 2003-04-23 James Henstridge <james@daa.com.au>
2377 * doc/fontconfig-devel.sgml: close the <para> element.
2379 * doc/fcpattern.fncs: close the <para> element.
2381 * doc/func.sgml: close the <refsynopsisdiv> element.
2383 2003-04-22 Keith Packard <keithp@keithp.com
2385 * Update autogen.sh to work with newer automake versions
2386 * Handle pattern elements moving during multiple edits
2388 2003-04-17 Colin Walters <walters@debian.org>
2390 + Remove some unused variables, and initialize some other ones so
2391 gcc doesn't warn us.
2393 2003-04-16 Keith Packard <keithp@keithp.com>
2395 + tag version 2.1.94
2397 2003-04-16 Keith Packard <keithp@keithp.com>
2399 + add BDF property fetching support for foundry
2400 (from Juliusz Chroboczek)
2401 + add BDF property fetching support for width
2403 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2405 + Implemented foundry generation for Type 1 and TrueType
2407 2003-04-11 Gerard Escalante <g2@magestudios.net>
2409 + Retrieve information from Type1 FontInfo dictionaries
2411 2003-04-07 Colin Walters <walters@verbum.org>
2413 + src/Makefile.am: Fix dummy makefile target names when
2414 MS_LIB_AVAILABLE isn't set.
2416 2003-03-22 Tor Lillqvist <tml@iki.fi>
2418 Changes for Windows:
2420 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2422 + We don't want to hardcode the fonts.conf file location in the
2423 DLL, so we look up the DLL location at run-time in a DllMain()
2424 function. The fonts.conf location is deduced from that.
2426 + The colon can't be used as path separator on Windows,
2427 semicolon is used instead. File path components can be separated
2428 with either slash or backslash. Absolute paths can also begin
2429 with a drive letter.
2431 + Add internal function FcStrLastSlash that strrchr's the last
2432 slash, or backslash on Windows.
2434 + There is no link() on Windows. For atomicity checks, mkdir a
2435 lock directory instead.
2437 + In addition to HOME, also look for USERPROFILE.
2439 + Recognize the special font directory token WINDOWSFONTDIR, to
2440 use the system's font directory.
2442 + Remove the fontconfig-def.cpp that was obsolete. Add
2443 fontconfig.def(.in), without internal functions.
2445 + Add a fontconfig-zip(.in) script, used to build a binary
2448 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2449 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2450 to main package and man3/* to devel package
2452 + Added missing defattr(-, root, root) to main RPM package
2454 + Added HTML and text development documentation to -devel subpackage
2456 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2457 + Added back the configure macro options --disable-docs, otherwise
2458 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2459 version number) unconditionally, causing RPM to fail the build due
2460 to _unpackaged_files_terminate_build. We pick up the pregenerated
2461 docs with %doc already.
2463 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2464 + Removed commented out rpm macro define at top of spec file,
2465 replacing it with a simple explanation, since rpm macros are
2466 expanded by rpm even in comments.
2468 + Changed /usr/bin to _bindir in BuildRequires lines
2470 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2472 + Reorganized file manifest lists
2474 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2476 + fontconfig.spec.in: Improvements from Red Hat spec file.
2478 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2480 + docs/*.sgml: SGML fixes.
2482 Sat Mar 1 17:28:53 PST 2003 keithp
2483 + Ok, so the ChangeLog is a bit out of date
2485 + Lots of bugs fixed; most are in bugzilla, the
2486 biggest problems were in cache management where
2487 Owen discovered the library would lose badly when
2488 combining fonts-cache and ~/.fonts-cache data
2490 + Converted from autoconf to automake. This after
2491 getting patches accepted into libtool to allow
2492 the '-version-number' argument which lets
2493 packages set version numbers explicitly rather
2494 than the roundabout libtool way
2496 + Converted documentation to SGML using the docbook
2497 DTD. Now .txt and .html documents are installed
2498 in /usr/share/doc/fontconfig and there's no
2499 man page. Perhaps a man version can be written
2502 Sat Aug 31 15:21:22 PDT 2002 keithp
2503 + Xrender and Xft had several bugs related to
2504 rendering manually placed or poly-face text
2506 + Added more complete memory tracing in fontconfig
2507 Checked with (patched) mozilla and found no leaks
2509 + Updated Latin orthographies by comparing those from
2510 evertype.com with those from eki.ee. Tried to make
2511 sensible choices, including chars that occured in both
2512 and leaving some optional chars out that occured only
2515 Mon Aug 26 16:33:04 PDT 2002 keithp
2516 + Owen discovered that FcLangSetHasLang wasn't actually
2517 checking the language set.
2519 Mon Aug 26 13:37:23 PDT 2002 keithp
2520 + Append a version number to cache filenames
2522 Thu Aug 22 11:36:18 PDT 2002 keithp
2524 + Add "contains" and "not_contains" operators and elements to
2527 + Changed semantics of eq operator for LangSets to check for
2528 FcLangEqual so that any match will do
2530 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2531 of FcValueEqual to check for identical values when inserting into
2532 the results. This broke when the above semantic change was made,
2533 now it uses FcValueEqual which is "more correct" in any case.
2535 Thu Aug 22 00:32:29 PDT 2002 keithp
2537 + Reimplement FC_LANG as new datatype. Lists of strings
2538 was consuming over a megabyte of memory for 401 fonts.
2540 + Freeze patterns loaded from cache files. This shares
2541 common value lists and common patterns which saves
2542 considerable memory.
2544 + Change the denotation of 'constant' charsets to use special
2545 ref value instead of separate boolean.
2547 + Clean up leak tracing stuff, found several unannoted alloc/free
2550 Tue Aug 20 16:17:37 PDT 2002 keithp
2552 + Fix memory leak when parsing matrices from XML
2554 Mon Aug 19 11:57:27 PDT 2002 keithp
2556 + Fix autoconf files to pass FONTCONFIG_PATH on
2557 compile line so that ${prefix} gets substituted
2560 + Use getc_unlocked/putc_unlocked on systems that
2561 provide them to avoid damage done to stdio by posix
2563 + Eliminate FC_PATTERN and FcTypePattern in favor of
2564 an extended api for FcConfigSubstitute which takes
2565 both the font and the pattern.
2567 + Add 'sans serif' alias for 'sans-serif' as some apps
2568 can't handle hyphens in family names
2570 + Eliminate pretense of support for libxml2
2572 + Comment origins of Han orthographies
2574 Tue Jul 30 18:37:09 PDT 2002 keithp
2576 + Add binding property to edit element so that strong
2577 binding values may be inserted by the config file.
2578 The default remains weak.
2580 Sun 28 Jul 04:16:55 PDT 2002 keithp
2582 + Tagged release candidate 1 in the CVS tree and
2583 placed fcpackage.rc1.tar.gz for distribution
2585 Thu Aug 1 08:55:08 PDT 2002 keithp
2587 + Fixed autoconf builds to always specify install
2588 target files (for BSD). Also fixed to
2589 define FONTCONFIG_PATH in config.h so that
2590 nonstandard installs will actually work.