1 2006-01-30 Mike Fabian <mfabian@suse.de>
4 * fc-cache/fc-cache.c (scanDirs):
6 Don't stop scanning if a directory in fonts.conf doesn't
7 exist, because subsequent directories might exist.
9 2006-01-30 Patrick Lam <plam@mit.edu>
10 * src/fccache.c (FcGlobalCacheLoad):
12 Make global cache work again after putting dir names into global
13 cache (I misplaced the recording of a file offset).
15 2006-01-30 Patrick Lam <plam@mit.edu>
16 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
18 Update fc-cat to handle subdir lists in global cache file.
20 * src/fccache.c (FcGlobalCacheLoad):
22 Another FcCacheReadString return value check.
24 2006-01-30 Mike Fabian <mfabian@suse.de>
27 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
28 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
30 Make fccache more resilient to broken cache files by checking
31 return value of FcCacheReadString all the time.
33 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
36 * fc-match/fc-match.1:
37 * fc-lang/fc-lang.man:
39 Remove references to dead fontconfig(3) manpages in
40 other fontconfig manpages.
42 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
47 Fix world's tiniest typo in code example.
49 2006-01-29 Mike Fabian <mfabian@suse.de>
52 * src/fccache.c (FcGlobalCacheReadDir):
54 Fix global cache reads of subdirectories.
56 2006-01-29 Patrick Lam <plam@mit.edu>
58 Add documentation for FcConfigNormalizeFontDir.
60 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
61 FcGlobalCacheUpdate, FcGlobalCacheSave):
62 * src/fcdir.c (FcDirScanConfig):
65 Write directory information to global caches to fix make check
66 (reported by Ronny V. Vindenes). This changes the global cache
69 2006-01-27 Patrick Lam <plam@mit.edu>
70 * fc-cache/fc-cache.c (scanDirs):
71 * fontconfig/fontconfig.h:
73 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
75 Move FcConfigNormalizeFontDir call so that it doesn't result in
76 infinite recursion (reported by Ronny V. Vindenes).
78 2006-01-26 Patrick Lam <plam@mit.edu>
79 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
80 * src/fccfg.c (FcConfigNormalizeFontDir):
82 Add a couple of missing normalizations to make fc-cache work
83 right; only scan subdirectories once.
85 2006-01-26 Mike Fabian <mfabian@suse.de>
88 * src/fcacache.c (FcGlobalCacheReadDir):
90 Don't crash on non-existant directories in global cache.
92 2006-01-26 Patirck Lam <plam@mit.edu>
93 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
94 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
95 * src/fcdir.c (FcDirScanConfig):
96 * src/fcxml.c (FcEndElement):
98 Stop trampling the directory name when writing out caches.
99 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
100 subdirs when necessary. Don't scan directories that can't be
103 2006-01-25 Patrick Lam <plam@mit.edu>
104 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
105 * src/fccfg.c (FcConfigEvaluate):
106 * src/fcfreetype.c (FcPatternAddWithBinding):
108 Fix additional memory leaks reported by Ronny V. Vindenes: don't
109 invoke FcValueSave on hashed static strings in
110 FcPatternAddWithBinding.
112 Add another st_dev check in FcDirCacheOpen.
114 2006-01-24 James Su <james.su@gmail.com>
117 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
118 * fc-lang/zh_hk.orth:
120 Treat zh-hk fonts differently from zh-tw fonts. This patch may
121 cause fontconfig to treat A-X fonts differently from A-Y fonts;
122 please mail the fontconfig list if this causes any problems.
124 2006-01-24 Patrick Lam <plam@mit.edu>
125 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
126 * src/fcfreetype.c (FcFreeTypeQuery):
128 Fix memory leaks reported by Ronny V. Vindenes.
130 2006-01-19 Andreas Schwab <schwab@suse.de>
133 * src/fcpat.c (FcStrNeededBytes):
135 Fix for unaligned memory accesses.
137 2006-01-18 Mike Fabian <mfabian@suse.de>
140 * src/fcdir.c (FcDirScanConfig):
142 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
143 calls to avoid crashes.
145 2006-01-14 Patrick Lam <plam@mit.edu>
146 * src/fccache.c (FcDirCacheConsume):
148 Fix segfault when consuming zero-length caches in fc-cat
149 (which has no config, so FcConfigAddFontDir shouldn't be called.)
151 2006-01-14 Patrick Lam <plam@mit.edu>
152 * fc-cache/fc-cache.c (scanDirs):
153 * fontconfig/fontconfig.h:
154 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
155 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
156 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
157 * src/fcdir.c (FcDirScanConfig):
160 Compare device numbers as well as inodes.
161 Always normalize directory names before comparing them.
163 2006-01-11 Mike Fabian <mfabian@suse.de>
166 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
168 Allocate extra space for appended '/' in directory name.
170 2006-01-10 Patrick Lam <plam@mit.edu>
171 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
172 FcDirCacheValid, FcDirCacheHasCurrentArch,
173 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
174 * fc-cache/fc-cache.c (main):
176 Explicitly add font dirs to config.fontDirs even if they're empty.
177 Set current config in fc-cache.c.
178 Fix treatment of cache directory as read from cache file; don't
179 use string equality to determine if we have the right file,
182 2006-01-09 Patrick Lam <plam@mit.edu>
183 * fc-cache/fc-cache.c (scanDirs):
184 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
185 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
186 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
187 * src/fccfg.c (FcConfigNormalizeFontDir):
188 * src/fcdir.c (FcDirScanConfig):
191 Normalize font dirs by using the form, as given in fonts.conf, and
192 recorded in FcConfig's fontDirs string set, as canonical.
194 Actually update config.fontDirs as font directories are scanned.
196 2006-01-08 James Su <james.su@gmail.com>
197 * src/fcmatch.c (FcFontSetMatch):
199 Fix matching bug when multiple elements match; don't use
200 the sum of all scores, but the best score.
202 Also more perf opts, e.g. evaluate best over all font sets
203 rather than on a per-set basis (and other changes).
205 2006-01-08 Patrick Lam <plam@mit.edu>
206 * src/fccache.c (FcDirCacheConsume):
208 Properly skip past dir caches that contain zero fonts (as occurs
209 in global caches.) Reported by Mike Fabian.
211 2006-01-06 Patrick Lam <plam@mit.edu>
212 * src/fcdbg.c (FcPatternPrint):
214 Print out full pathname in fc-match -v as well. Reported by
217 2006-01-06 Mike Fabian <mfabian@suse.de>
220 * src/fcname.c (FcNameParse):
222 Fix bug where fc-match crashes when given __DUMMY__ property to
225 (I added the __DUMMY__ string to enable callers of
226 FcObjectToPtrLookup to distinguish an error return from a
227 successful return. -PL)
229 2006-01-05 Patrick Lam <plam@mit.edu>
232 Add self to AUTHORS list.
234 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
235 FcCacheFileRead, FcCachePrintSet, main):
236 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
237 FcGlobalCacheSave, FcCacheNextOffset,
238 FcDirCacheHasCurrentArch, FcDirCacheRead,
239 FcDirCacheConsume, FcDirCacheWrite):
241 * src/fcpat.c (comment):
243 Minor change to global cache file format to fix fc-cat bug
244 reported by Frederic Crozat, and buglet with not globally caching
245 directories with zero fonts cached.
247 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
250 * src/fccfg.c (FcConfigEvaluate):
252 Fix double-free which occurs because FcValueCanonicalize doesn't
253 create an extra copy of the returned value, it only canonicalizes
256 2006-01-02 Patrick Lam <plam@mit.edu>
257 * doc/fontconfig-user.sgml:
259 Fix version of .cache file (currently 1 -> currently 2). Reported
262 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
265 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
267 Shut up GCC warnings on amd.
269 2005-12-20 Patrick Lam <plam@mit.edu>
273 * fontconfig/fontconfig.h:
275 Bump version to 2.3.93.
277 2005-12-20 Patrick Lam <plam@mit.edu>
278 * src/fccharset.c (FcLangCharSetPopulate):
279 * src/fcint.h (FcCacheBankToIndex):
281 Avoid check on _fcBankId nullness and fix case where it used to
284 2005-12-20 Patrick Lam <plam@mit.edu>
285 * src/fcxml.c (FcConfigParseAndLoad):
287 Use open instead of fopen (requested by Phil Race for Sun).
289 2005-12-20 Patrick Lam <plam@mit.edu>
290 * src/fccache.c (FcDirCacheWrite);
291 * fc-cache/Makefile.am:
293 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
296 2005-12-20 Patrick Lam <plam@mit.edu>
297 * src/fcfreetype.c (FcFreeTypeQuery):
299 Restore code to skip over PCF fonts that have no encoded
301 (We guess that a font is PCF by presence of the PIXEL_SIZE
304 2005-12-12 Patrick Lam <plam@mit.edu>
305 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
307 Read and write the original location as a fallback for the
308 hashed cache file locations. This is mostly for users to be
309 able to have per-directory cache files.
311 2005-12-12 Patrick Lam <plam@mit.edu>
312 * fc-cache/fc-cache.c (scanDirs):
313 * fc-cache/Makefile.am:
314 * src/fccache.c (FcDirCacheHashName):
316 Improve error message when fc-cache can't write the cache. Add
317 missing slash. Reported by Behdad. Incorporate Behdad's patch to
318 create /var/cache/fontconfig when appropriate.
320 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
323 * src/fcxml.c (FcConfigGetAttribute):
325 Fix crash reported by Frederic Crozat when using libxml2.
327 2005-12-09 Patrick Lam <plam@mit.edu>
330 * fc-cache/Makefile.am:
331 * fc-cat/Makefile.am:
333 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
334 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
335 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
336 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
337 FcDirCacheHasCurrentArch, FcDirCacheHashName,
338 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
340 Migrate cache files from fonts directories to
341 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
342 but requires that all caches get rebuilt.
344 Also, autogen.sh now needs the additional parameter
345 --localstatedir=/var.
347 2005-12-07 Patrick Lam <plam@mit.edu>
348 * src/fcpat.c (FcPatternAddString):
350 Because we've changed FcPatternAddString to use FcStrStaticName
351 and not FcValueSave, explicitly handle the case of a null string.
353 2005-12-06 Patrick Lam <plam@mit.edu>
354 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
358 2005-12-05 Patrick Lam <plam@mit.edu>
359 * src/fcname.c (FcNameGetObjectType):
361 Don't assign types to user object names.
363 2005-12-05 Patrick Lam <plam@mit.edu>
364 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
366 Don't free strings that have been returned from FcStrStaticName.
368 2005-12-01 Patrick Lam <plam@mit.edu>
369 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
371 Add codepath for reading global cache files as well.
373 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
376 * conf.d/10-fonts.persian.conf:
377 * conf.d/Makefile.am:
379 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
381 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
384 * src/fcxml.c (FcConfigParseAndLoad):
386 Only add a config file to the set of config files once.
388 2005-11-29 Patrick Lam <plam@mit.edu>
389 * src/fcint.h (FcCacheBankToIndex);
391 Fix segfault by guarding array dereference.
393 2005-11-29 Dirk Mueller <dmueller@suse.de>
397 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
398 FcCacheBankToIndex, FcCacheBankToIndexMTF,
402 Refactor FcCacheBankToIndex into an inlineable part
403 (in fcint.h) which checks the front of the list and a
404 non-inlineable part which finds and moves the appropriate element
405 to the front of the list.
407 2005-11-29 Patrick Lam <plam@mit.edu>
408 * src/fccfg.c (FcConfigBuildFonts):
409 * src/fccache.c (FcCacheReadDirs):
411 Make the perf guys hate me a bit less: hoist the directory-name
412 FcConfigAcceptFont check for cached fonts up to directory cache
413 read time, rather than running it for each font.
415 2005-11-29 Patrick Lam <plam@mit.edu>
416 * src/fccfg.c (FcConfigBuildFonts):
418 * src/fcpat.c (FcPatternFindFullFname):
420 Don't make FcPatternFindFullFname available to fccfg, it's not
421 really safe. Instead go through FcPatternGetString (sorry,
422 perf guys.) Also, use globs for dirs as well.
424 2005-11-28 Patrick Lam <plam@mit.edu>
425 * src/fccfg.c (FcConfigBuildFonts):
429 2005-11-28 Patrick Lam <plam@mit.edu>
431 * src/fcpat.c (FcPatternFindFullFname):
432 * src/fccfg.c (FcConfigBuildFonts):
434 Fix problem dating back at least to 2.3.2 where globs weren't
435 being applied to patterns loaded from a cache.
437 2005-11-28 Patrick Lam <plam@mit.edu>
438 * doc/fontconfig-user.sgml:
440 Fix some obvious spelling mistakes.
442 2005-11-28 Dirk Mueller <dmueller@suse.com>
443 Stephan Kulow <coolo@suse.de>
446 * src/fcmatch.c (FcFontSetMatch):
448 Don't kill all fonts during match (oops!)
451 2005-11-25 Dirk Mueller <dmueller@suse.com>
452 Stephan Kulow <coolo@suse.de>
453 Michael Matz <matz@suse.de>
456 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
459 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
460 inline FcCompare into FcFontSetMatch and reorder the
461 loops, adding a boolean array which blocks patterns from future
462 consideration if they're known to not be best on some past
465 2005-11-26 Dirk Mueller <dmueller@suse.com>
468 * src/fcmatch.c (FcCompareValueList):
472 2005-11-25 Patrick Lam <plam@mit.edu>
473 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
475 Don't do random matching when bad objects are passed into
478 2005-11-25 Patrick Lam <plam@mit.edu>
480 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
481 FcPatternSerialize, FcPatternUnserialize,
482 FcValueListEnsureBank, FcValueListDistributeBytes,
483 FcValueListUnserialize):
485 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
486 _fcPatternElts, _fcValueLists for consistency.
488 2005-11-25 Dirk Mueller <dmueller@suse.com>
493 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
495 2005-11-25 Patrick Lam <plam@mit.edu>
497 * src/fccache.c (FcDirCacheConsume):
498 * src/fccharset.c (FcCharSetUnserialize):
499 * src/fcfs.c (FcFontSetUnserialize):
500 * src/fclang.c (FcLangSetUnserialize):
501 * src/fcname.c (FcObjectUnserialize):
502 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
503 FcPatternUnserialize):
505 Pass around FcCache *s to the Unserialize functions for extra
506 consistency (and less overhead, for what that's worth).
508 2005-11-24 Dirk Mueller <dmueller@suse.com>
512 * src/fcmatch.c (FcCompare*, FcFontSetSort):
513 * src/fcname.c (FcNameUnparseValue):
515 Inline the *PtrU functions to gain perf.
516 Remove unneeded params for the FcCompare* functions.
518 2005-11-24 Dirk Mueller <dmueller@suse.com>
521 * src/fcint.h, fontconfig/fontconfig.h:
523 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
525 * src/fcpat.c, src/fcint.h, src/fcname.c:
527 Check for type validity during FcPatternAddWithBinding, don't
528 verify type in FcFontMatch, don't call FcCanonicalize here
529 (which always does a deep copy).
531 2005-11-24 Dirk Mueller <dmueller@suse.com>
534 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
535 * src/fcpat.c (FcPatternAddWithBinding):
537 Make FcCompareString and FcCompareFamily less expensive.
538 Only add a value for FC_FAMILY if the proposed value is a string.
540 2005-11-24 Dirk Mueller <dmueller@suse.com>
543 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
544 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
545 * src/fcint.h (FcDebug):
547 Inline FcDebug invocations and only initialize once, in FcInit*.
548 Improve debug msg in FcPatternPrint.
550 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
553 * fontconfig/fontconfig.h:
556 Minor code warning cleanups.
558 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
561 * fc-match/fc-match.c (main):
563 Make getopt_long accept -s parameter to fc-match as well.
565 2005-11-21 Dirk Mueller <dmueller@suse.com>
568 * src/fcmatch.c (FcCompareValueList):
570 Manually perform inlining & partial redundancy elimination to
571 reduce calls to FcValueListPtrU.
573 2005-11-21 Dirk Mueller <dmueller@suse.com>
576 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
577 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
579 Only invoke strlen() when really necessary.
581 2005-11-19 Matthias Clasen <mclasen@redhat.com>
585 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
590 Get rid of the use of freetype internal headers in fcfreetype.c,
591 since those headers will go away with freetype 2.2. Replace with
592 public domain ftglue code from pango. Note that the patch removes
593 some extra error checking in FT_Get_BDF_Property() and comments
594 out the skipping of empty pcf fonts.
596 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
599 * fc-lang/fc-lang.c (main):
601 Further fix of patch from 2005-11-04: miscounted numbers count
602 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
603 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
605 Removed leafidx_count and numbers_count since they are the same
606 and replaced them with offset_count.
608 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
611 * fc-cat/fc-cat.c (main):
613 Don't crash when fc-cat invoked with no arguments.
615 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
618 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
620 Fix invalid read access caused by premature free and
621 GCC4 warnings in libxml2 codepath.
623 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
626 * src/fccfg.c (FcConfigValues):
628 List iteration not needed in FcConfigValues, since it's building
629 up the list itself; we can just strip FcVoid elements during
632 2005-11-17 Patrick Lam <plam@mit.edu>
633 * src/fccfg.c (FcConfigValues):
635 Fix crash on invalid constants in config files (forgot to update
636 a pointer upon list iteration.)
638 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
641 * src/fcxml.c (FcTypecheckExpr):
643 Complain about invalid constants in config files.
645 2005-11-17 Andreas Schwab <schwab@suse.de>
648 * src/fccache.c (FcGlobalCacheSave):
650 Don't add current_arch_start more than once.
652 2005-11-16 Patrick Lam <plam@mit.edu>
653 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
654 * src/fcfs.c (FcFontSetUnserialize):
655 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
656 * src/fcpat.c (FcStrUnserialize):
658 Fix ordering of ALIGN with respect to saving block_ptr; add
659 another ALIGN to fcfs.c.
661 2005-11-16 Patrick Lam <plam@mit.edu>
662 * src/fccache.c (FcDirCacheProduce)
664 Fix case where alignment bytes bumped up metadata->count
665 causing unwarranted failures to write cache files.
666 (Reported by Stephan Kulow).
668 2005-11-16 Patrick Lam <plam@mit.edu>
669 * src/fccache.c (FcDirCacheProduce):
670 * src/fccharset.c (FcCharSetDistributeBytes):
671 * src/fcfs.c (FcFontSetDistributeBytes):
673 * src/fclang.c (FcLangSetDistributeBytes):
674 * src/fcname.c (FcObjectDistributeBytes):
675 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
678 Add *NeededBytesAlign(), which overestimates the padding which is
679 later added by the new ALIGN macro. Fix alignment problems on
680 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
681 version by Andreas Schwab).
683 2005-11-16 Stephan Kulow <coolo@kde.org>
688 Use sysconf to determine proper PAGESIZE value; this
689 appears to be POSIX-compliant. (reported by Andreas Schwab)
691 2005-11-04 Patrick Lam <plam@mit.edu>
697 Fix bug 2878 (excessive relocations at startup for charsets,
698 reported by Ross Burton): fc-lang/fc-lang now creates the
699 static form of the langset, not the dynamic form, so that
700 the charsets should now be in .rodata.
702 2005-11-04 Patrick Lam <plam@mit.edu>
703 * src/fcdir.c (FcDirScanConfig):
705 Add test for validity of directory caches that
706 somehow got lost (reported by make distcheck).
708 2005-11-04 Patrick Lam <plam@mit.edu>
712 * fontconfig/fontconfig.h:
714 Bump version to 2.3.92.
716 2005-11-02 Patrick Lam <plam@mit.edu>
717 * src/fcpat.c (FcPatternDuplicate):
719 Fix argument ordering problem in call to FcPatternTransferFullFname.
721 2005-11-02 Patrick Lam <plam@mit.edu>
722 * src/fcfreetype.c (FcFreetypeQuery):
723 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
724 FcPatternTransferFullFname):
726 Fix warnings and embarrassing double-free error.
728 2005-11-02 Zhe Su <zsu@novell.com>
733 Change the rule for artificial emboldening in fonts.conf.in. This
734 enables the support for artificial emboldening included in cairo.
736 2005-11-02 Patrick Lam <plam@mit.edu>
737 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
739 Don't zero out full names for FC_REF_CONSTANT fonts;
740 also, duplicate full names when transferring, and free
741 full names when freeing the associated font.
742 Reported by Jinghua Luo.
744 2005-11-02 Patrick Lam <plam@mit.edu>
745 * fc-cache/fc-cache.c (scanDirs):
746 * src/fcpat.c (FcValueListSerialize):
748 Revert the previous patch and commit the correct patch:
749 I forgot a canonicalization in FcValueListSerialize, so
750 that it would choke on already-serialized input files. Duh!
752 2005-11-02 Patrick Lam <plam@mit.edu>
753 * fc-cache/fc-cache.c (scanDirs):
755 Forcibly rescan a directory before writing a fresh local
756 cache file for that directory, fixing the losing-fonts
757 problem reported by Mike Fabian and also apparently the
758 font cache file corruption.
760 2005-11-02 Patrick Lam <plam@mit.edu>
761 * src/fccache.c (FcGlobalCacheLoad):
763 Fix thinko: actually, the whole global cache is stale
764 if the global cache is older than the (newest) config file.
766 2005-11-02 Patrick Lam <plam@mit.edu>
767 * src/fccache.c (FcGlobalCacheLoad):
768 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
771 Declare the global cache of a directory's contents to be stale if
772 the directory is newer than the (newest) configuration file.
774 2005-10-31 Patrick Lam <plam@mit.edu>
776 * src/fclist.c (FcListAppend):
777 * src/fcmatch.c (FcFontRenderPrepare):
778 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
779 FcPatternFreeze, FcPatternBaseFreeze):
781 Copy the full pathname whenever duplicating an FcPattern; otherwise,
782 applications continue breaking.
784 2005-10-31 Patrick Lam <plam@mit.edu>
785 * fc-cat/fc-cat.c (FcCacheFileRead, main):
786 * src/fcfreetype.c (FcFreeTypeQuery):
788 Fix small memory error (tried to free argv); use basename and
789 dirname correctly (they can modify their arguments).
791 2005-10-31 Patrick Lam <plam@mit.edu>
799 Reinstate basename patch, but keep a hash table linking FcPatterns
800 to their fully-qualified font names for clients' benefit. Clients
801 only pay for the font names once they request the FC_FILE property
802 from an FcPattern, but the font name is malloc'd at that point (i.e.
803 not mmapped: that's impossible, since it may vary between machines.)
804 Clients do have to pay for a copy of the path name per cache file.
806 Note that FcPatternGetString now does some rewriting if you ask
807 for an FC_FILE, appending the pathname as appropriate.
809 2005-10-31 Patrick Lam <plam@mit.edu>
810 * src/fcfreetype.c (FcFreeTypeQuery):
812 Revert basename patch, which breaks fontconfig clients on my system.
814 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
817 * fontconfig/fonts.conf.in:
818 * fontconfig/fontconfig.h:
822 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
823 to load embedded bitmaps or not.
825 2005-10-25 Patrick Lam <plam@mit.edu>
826 * src/fcfreetype.c (FcFreeTypeQuery):
828 Only add basename to patterns' FC_FILE element, not any part of
831 2005-10-22 Patrick Lam <plam@mit.edu>
834 Add some more consts, fixing more GCC4 warnings.
836 2005-10-22 Zhe Su <zsu@novell.com>
839 Support localized font family and style names.
840 This has been reported to break old apps like xfd, but modern
841 (gtk+/qt/mozilla) apps work fine.
843 2005-10-21 Patrick Lam <plam@mit.edu>
844 * src/fccache.c (FcGlobalCacheLoad):
846 Destroy the global cache file if it's terminally broken. (reported by
849 2005-10-21 Patrick Lam <plam@mit.edu>
850 * fc-list/fc-list.c (main):
851 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
852 * fontconfig/fontconfig.h:
854 Prevent fc-list from escaping strings when printing them (reported by
857 2005-10-20 Marcus Meissner <meissner@suse.de>
860 * fontconfig/fontconfig.h:
862 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
864 2005-10-14 Ross Burton <ross@burtonini.com>
867 * fc-glyphname/fc-glyphname.c:
870 Add consts to variables so as to move arrays into .rodata.
872 2005-10-14 Mike Fabian <mfabian@suse.de>
875 * src/fccache.c (FcDirCacheUnlink):
877 Check existence of directory cache file before attempting to unlink.
879 2005-10-13 Patrick Lam <plam@mit.edu>
880 * src/fccache.c (FcDirCacheUnlink):
882 Fix flipped return value on unlink. (Reported by Mike Fabian)
884 2005-10-12 Patrick Lam <plam@mit.edu>
887 * src/fcdir.c (FcDirScanConfig):
890 When fc-cache is run without --force, use directory cache files
891 to speed up fc-cache run time. (Reported by Mike Fabian)
893 2005-10-06 Patrick Lam <plam@mit.edu>
895 * src/fcname.c (FcObjectToPtr):
896 * src/fcpat.c (FcStrStaticName):
898 Add padding to make valgrind and glibc not hate each other
899 when calling strlen().
901 2005-10-05 Simos Xenitellis <simos74@gmx.net>
902 reviewed by: plam & keithp
906 Modify config file to use Greek fonts before Asian fonts with
909 2005-10-05 Christian Biesinger <cbiesinger@web.de>
910 reviewed by: plam & keithp
914 Use libtool -no-undefined flag on all platforms.
916 2005-10-05 Patrick Lam <plam@mit.edu>
917 * src/fccache.c (FcCacheHaveBank):
919 Implement move-to-front array for banks (perf regression
920 reported by Ronny V. Vindenes).
922 2005-10-04 Patrick Lam <plam@mit.edu>
923 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
924 FcDirCacheHasCurrentArch):
925 * fc-cache/fc-cache.c (scanDirs):
926 * fontconfig/fontconfig.h:
928 Add new API which unlinks directory caches and checks dir caches
929 for existence of appropriate sections. Fix fc-cache to unlink
930 stale cache files and save directory caches that lack relevant
933 2005-10-03 Patrick Lam <plam@mit.edu>
934 * src/fccache.c (FcDirCacheValid):
936 Ensure that a directory cache has the appropriate section
937 before reporting that it is valid (reported by Matthias Clasen).
939 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
947 Use libxml2 if requested (with --enable-libxml2) or if
948 expat is not available.
950 2005-09-29 Patrick Lam <plam@mit.edu>
951 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
953 Fix multi-arch cache files: compute the position for the
954 block to be added using info from OrigFile, not NewFile.
956 2005-09-28 Patrick Lam <plam@mit.edu>
957 * src/fccache.c (FcCacheMachineSignature):
959 Cast results of sizeof() to unsigned int to get rid of
960 warnings on x86_64 (thanks Matthias Clasen).
962 2005-09-27 Patrick Lam <plam@mit.edu>
963 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
966 Use FcAtomic to rewrite cache files.
968 2005-09-27 Patrick Lam <plam@mit.edu>
970 * src/fccache.c (FcDirCacheWrite):
972 Don't unlink the fonts.cache-2 file even if there's no data
973 to write; just write an empty cache file. (thanks Lubos Lunak)
975 2005-09-27 Patrick Lam <plam@mit.edu>
977 * src/fccache.c (FcDirCacheWrite):
979 Allocate room for the subdirectory names in each
980 directory cache. Thanks to James Cloos for finding
981 and diagnosing this bug!
983 2005-09-22 Patrick Lam <plam@mit.edu>
985 * fc-cache/fc-cache.sgml:
986 * src/fccache.c (FcDirCacheWrite):
987 * src/fccache.h (struct FcCache):
989 Update documentation -- fc-cache's man page now says that you
990 need to run fc-cache once per cached architecture; add some
991 documentation to the FcCache structure.
993 Make fc-cache write out fonts.cache-2 files for directories with
994 no fonts (i.e. only subdirectories).
996 2005-09-22 Patrick Lam <plam@mit.edu>
998 * fc-cache/fc-cache.sgml:
1000 * fc-glyphname/fc-glyphname.c:
1006 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1010 * fc-lang/fc-lang.c:
1011 * fontconfig/fcprivate.h:
1012 * fontconfig/fontconfig.h:
1026 Implement new mmaped cache for font information.
1027 Bump so revision to 2.3.90.
1029 2005-07-25 Keith Packard <keithp@keithp.com>
1031 * doc/fontconfig-user.sgml:
1032 * fc-glyphname/fc-glyphname.c: (scan), (main):
1033 * fc-lang/fc-lang.c: (FcConfigHome):
1034 * fc-match/fc-match.c: (main):
1035 * src/fccfg.c: (FcConfigHome):
1036 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1037 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1038 (addtag), (FcFontCapabilities):
1039 * src/fcpat.c: (FcValueListEntCreate):
1040 * src/fcstr.c: (FcStrCaseWalkerInit):
1041 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1043 Various GCC 4 cleanups for signed vs unsigned char
1045 Match only [0-9]*.conf files in <include>{directory}</include>
1046 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1048 2005-07-15 Carl Worth <cworth@cworth.org>
1051 * src/fcinit.c: (FcFini):
1052 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1055 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1056 Pull the FcObjectStateName hash table out to file scope, and add
1057 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1060 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1063 2005-06-16 Patrick Lam <plam@MIT.EDU>
1067 * src/fccfg.c: (FcConfigCompareValue):
1068 Make FcOpNotContains use FcStrStr for strings so that
1069 it matches semantics for !FcOpContains.
1071 2005-05-20 Keith Packard <keithp@keithp.com>
1075 Move fontconfig source package to libs as per override
1077 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1079 reviewed by: Mike Fabian
1082 The ka.orth file requires several characters which are not
1083 used anymore in modern Georgian and which are missing in the free
1084 Georgian TrueType fonts downloadable at:
1086 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1088 2005-04-27 Keith Packard <keithp@keithp.com>
1092 Update date to real 2.3.2 release date.
1093 Fix change attributions
1095 2005-04-27 Keith Packard <keithp@keithp.com>
1098 Bump so revision for 2.3.2
1099 * fc-cache/fc-cache.c: (scanDirs):
1100 Fix a few minor leaks in error cases.
1102 2005-04-23 Keith Packard <keithp@keithp.com>
1107 * fontconfig/fontconfig.h:
1108 Update for version 2.3.2
1110 2005-04-21 Keith Packard <keithp@keithp.com>
1112 * debian/fontconfig.postinst:
1113 Don't force bitmap font enable in default
1114 configuration; allows users to override this in
1124 * debian/po/pt_BR.po:
1125 * debian/po/templates.pot:
1127 * debian/po/zh_CN.po:
1128 Updated translations
1130 * fc-cache/fc-cache.c: (main):
1131 Destroy font configuration on exit to help valgrind
1134 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1135 (FcFreeTypeCheckGlyph):
1136 Use own transcoding routines in preference to iconv
1137 which appears to have leaks in some translators.
1138 Call iconv_close after using iconv (oops).
1140 Prefer unicode encoding of Euro char as some
1141 fonts mis-encode Euro in other ones.
1143 Must fetch bitmap glyphs to get width values
1144 to check for monospace/dual-width fonts.
1146 2005-04-13 Ross Burton <ross@burtonini.com>
1149 Check that a pattern isn't already frozen in FcPatternFreeze.
1151 2005-03-31 Ross Burton <ross@burtonini.com>
1156 Run all FcPattern objects through FcObjectStaticName, so that
1157 compares can be done on pointers instead of strings (#2659)
1159 2005-03-17 Tor Lillqvist <tml@novell.com>
1161 * src/fontconfig.def.in: Add the .dll to the dll name.
1163 2005-03-10 Keith Packard <keithp@keithp.com>
1165 * debian/README.Debian:
1166 Update to reflect configuration changes
1168 * debian/fontconfig.postinst:
1169 Fix Autohint vs Autohinter mistake
1170 * debian/fontconfig.templates:
1171 Adopt changes from Josselin Mouette for configuration descriptions
1172 Update debian to version 2.3.1-2
1174 2005-03-08 Keith Packard <keithp@keithp.com>
1178 Update debian for 2.3.1
1180 2005-03-09 Tor Lillqvist <tml@novell.com>
1182 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1185 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1188 2005-03-08 Keith Packard <keithp@keithp.com>
1192 * fontconfig/fontconfig.h:
1195 2005-03-05 Keith Packard <keithp@keithp.com>
1197 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1198 Include space and remove numbers from valid script tags.
1199 This ensures that tags like 'lao ' work while rejecting
1200 those which have any digits.
1201 Eliminate a spurious debugging variable (len)
1203 2005-03-05 Keith Packard <keithp@keithp.com>
1205 * src/fcfreetype.c: (addtag), (GetScriptTags),
1206 (FcFontCapabilities):
1207 Rework GSUB/GPOS script parsing to survive broken fonts.
1208 Thanks for the broken font go to Manish Singh
1210 2005-03-05 Keith Packard <keithp@keithp.com>
1215 * debian/fontconfig.config:
1216 * debian/fontconfig.templates:
1218 Include 2.3 release information in changelog
1219 Add Josselin Mouette as an Uploader
1220 Set hinting_type to low priority configuration option
1223 * debian/fontconfig.postinst:
1224 yes_bitmaps.conf -> yes-bitmaps.conf
1230 2005-03-02 Keith Packard <keithp@keithp.com>
1233 * conf.d/Makefile.am:
1234 * conf.d/autohint.conf:
1235 * conf.d/no-sub-pixel.conf:
1236 * conf.d/sub-pixel.conf:
1237 * conf.d/unhinted.conf:
1238 * debian/autohint.conf:
1239 * debian/fontconfig.install:
1240 * debian/fontconfig.postinst:
1241 * debian/fontconfig.templates:
1242 * debian/no-sub-pixel.conf:
1243 * debian/unhinted.conf:
1244 Move debian-specific conf file examples upstream.
1246 Sub-pixel configuration examples must smash subpixel value
1247 as Xft always sets it from X.
1249 Change sub-pixel rendering debconf descriptions from
1250 Enable/Disable to Always/Never.
1252 2005-03-02 Keith Packard <keithp@keithp.com>
1255 * conf.d/.cvsignore:
1257 Ignore more build detritus
1260 Add debian package construction stuff.
1262 * config/config.guess:
1263 * config/config.sub:
1264 Update to newer versions of these tools
1267 Get library manuals to build again (we love automake).
1269 * debian/README.Debian:
1270 * debian/autohint.conf:
1275 * debian/fontconfig-udeb.install:
1276 * debian/fontconfig.config:
1277 * debian/fontconfig.defoma:
1278 * debian/fontconfig.dirs:
1279 * debian/fontconfig.install:
1280 * debian/fontconfig.postinst:
1281 * debian/fontconfig.postrm:
1282 * debian/fontconfig.templates:
1283 * debian/libfontconfig1-dev.install:
1284 * debian/libfontconfig1.install:
1285 * debian/local.conf.md5sum:
1286 * debian/no-sub-pixel.conf:
1287 * debian/po/POTFILES.in:
1296 * debian/po/pt_BR.po:
1297 * debian/po/templates.pot:
1299 * debian/po/zh_CN.po:
1301 * debian/unhinted.conf:
1302 Update debian build system to switch maintainers and
1303 deal with 2.3 functionality
1305 2005-03-01 Keith Packard <keithp@keithp.com>
1309 * fontconfig/fontconfig.h:
1312 2005-03-01 Keith Packard <keithp@keithp.com>
1315 Generate and install PDF versions of the manuals
1317 * doc/fcpattern.fncs:
1320 * doc/fcstring.fncs:
1321 Add missing exported functions, fix data types
1323 * doc/fontconfig-devel.sgml:
1324 Add missing pattern elements.
1326 * doc/fontconfig-user.sgml:
1327 Add missing pattern elements. Document conf.d usage,
1328 clarify available orthography list. Fix some config file
1329 attributes. Complete list of constants.
1331 * fontconfig/fontconfig.h:
1332 Mark FC_SOURCE deprecated.
1334 * src/fcfreetype.c: (FcFreeTypeQuery):
1335 Don't set FC_SOURCE any longer.
1337 2005-02-28 Keith Packard <keithp@keithp.com>
1340 * conf.d/Makefile.am:
1342 * conf.d/no-bitmaps.conf:
1343 * conf.d/sub-pixel.conf:
1344 * conf.d/yes-bitmaps.conf:
1346 Create prototype /etc/fonts/conf.d directory with a few
1347 sample configuration files.
1348 Deprecate use of local.conf for local customizations in favor of
1349 this directory based scheme which is more easily integrated into
1350 installation systems.
1353 Tag FC_EMBOLDEN as a boolean variable
1355 2005-02-10 Keith Packard <keithp@keithp.com>
1357 reviewed by: pborelli@katamail.com
1359 * src/fcdir.c: (FcFileScanConfig):
1360 Free patterns from fonts which are rejected by configuration
1363 2005-01-28 Keith Packard <keithp@keithp.com>
1367 * fontconfig/fontconfig.h:
1368 Update for version 2.2.99
1370 2005-01-28 Keith Packard <keithp@keithp.com>
1373 Add a few pointers (#2284, #2285)
1375 2005-01-28 Keith Packard <keithp@keithp.com>
1378 * src/fcname.c: (FcNameBool):
1379 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1380 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1381 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1382 Polite typechecking for test and edit expressions. Helps
1383 catch errors in the font configuration. (bug 229)
1385 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1387 reviewed by: Keith Packard <keithp@keithp.com>
1390 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1392 2005-01-13 Keith Packard <keithp@keithp.com>
1394 * doc/fontconfig-user.sgml:
1395 Add SEE ALSO section (bug 2085)
1397 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1399 reviewed by: Keith Packard <keithp@keithp.com>
1404 * fc-case/Makefile.am:
1405 * fc-glyphname/Makefile.am:
1406 * fc-lang/Makefile.am:
1407 * src/fontconfig.def.in:
1408 Cross compiling fixes (bug 280)
1410 2005-01-13 Keith Packard <keithp@keithp.com>
1413 Update blanks list (Closes bug 86)
1415 2005-01-04 Keith Packard <keithp@keithp.com>
1417 * src/fccache.c: (FcCacheFontSetAdd):
1418 Verify that every font pattern loaded from cache has
1419 both FC_FILE and FC_FAMILY entries.
1420 Attempt to fix bug #2219.
1422 2004-12-29 Keith Packard <keithp@keithp.com>
1426 * fontconfig/fontconfig.h:
1427 Update for version 2.2.98
1429 2004-12-29 Keith Packard <keithp@keithp.com>
1431 * fontconfig/fontconfig.h:
1432 Document ASCII limitations of Fc character conversion macros
1433 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1434 Fix off-by-one error in utf-8 case walking code.
1435 Add FcStrDowncase (useful for testing case conversion functions)
1437 2004-12-29 Keith Packard <keithp@keithp.com>
1440 * fc-case/.cvsignore:
1441 clean up CVS ignore lists
1442 * fc-lang/iso-3166.txt:
1443 Add territory database
1445 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1447 Reviewed by: Keith Packard
1450 Remove Han characters from Korean orthography
1452 2004-12-29 Keith Packard <keithp@keithp.com>
1455 Reorder utility programs to make sure fc-case is run before fc-lang
1456 as fc-lang uses fcstr.c which uses fccase.h
1460 2004-12-29 Keith Packard <keithp@keithp.com>
1463 Adopt some RedHat suggestions for standard font configuration.
1467 * fc-case/CaseFolding.txt:
1468 * fc-case/Makefile.am:
1469 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1470 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1471 (dump), (parseRaw), (caseFoldReadRaw), (main):
1472 * fc-case/fccase.tmpl.h:
1473 Add new helper program 'fc-case' to construct case folding
1474 tables from standard Unicode CaseFolding.txt file
1477 * src/fclist.c: (FcListValueHash):
1478 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1479 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1480 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1481 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1482 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1483 Re-implement case insensitive functions with Unicode
1484 aware versions (including full case folding mappings)
1486 2004-12-13 Keith Packard <keithp@keithp.com>
1488 reviewed by: Owen Taylor <otaylor@redhat.com>
1490 * src/fcmatch.c: (FcFontSetSort):
1491 I changed FcFontSetSort to respect the generic aliases better
1492 in the face of language matching.
1494 What I did was to ammend the strict sort order used by FcFontSort so
1495 that it 'satisfies' the language specified in the pattern by locating
1496 the best matching font supporting each pattern language and then
1497 ignores language in the remaining fonts for purposes of matching.
1499 So, when asking for 'sans:lang=en', you'll get an English font first,
1500 and then the remaining fonts sorted with respect to the 'sans' alias
1501 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1503 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1505 reviewed by: Keith Packard <keithp@keithp.com>
1507 * fontconfig/fontconfig.h:
1510 Configuration changes to request synthetic emboldening of
1511 fonts. The actual emboldening code will live in Xft.
1513 2004-12-09 John Thacker <thacker@math.cornell.edu>
1515 reviewed by: Keith Packard <keithp@keithp.com>
1519 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1520 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1521 и), and don't even appear in KOI8-R. (The hypothesis that they
1522 don't appear in KOI8-R due to their similarity with Latin I and i is
1523 eliminated by their presence in KOI8-U.) I have a couple of fonts
1524 with Russian support that don't have the letter.
1526 Therefore, 0406 and 0456 should be removed from or commented out of
1529 2004-12-06 michael meeks <mmeeks@novell.com>
1531 Reviewed by: Keith Packard <keithp@keithp.com>
1533 * src/fcinit.c: (FcMemReport):
1535 * src/fclist.c: (FcObjectSetAdd):
1536 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1537 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1538 * src/fcxml.c: (FcParsePatelt):
1539 memoize strings and share a single copy for all uses. Note that
1540 this could be improved further by using statically allocated blocks
1541 and gluing multiple strings together, but I'm basically lazy.
1542 In my environment with 800 font files, I get a savings of about 90KB.
1544 2004-12-06 Keith Packard <keithp@keithp.com>
1548 * config/Makedefs.in:
1551 * doc/fcatomic.fncs:
1552 * doc/fcblanks.fncs:
1553 * doc/fccharset.fncs:
1554 * doc/fcconfig.fncs:
1555 * doc/fcconstant.fncs:
1557 * doc/fcfontset.fncs:
1558 * doc/fcfreetype.fncs:
1560 * doc/fcmatrix.fncs:
1561 * doc/fcobjectset.fncs:
1562 * doc/fcobjecttype.fncs:
1563 * doc/fcpattern.fncs:
1564 * doc/fcstring.fncs:
1565 * doc/fcstrset.fncs:
1567 * doc/fontconfig-devel.sgml:
1568 * doc/fontconfig-user.sgml:
1570 * doc/version.sgml.in:
1571 * fc-cache/Makefile.am:
1572 * fc-cache/fc-cache.c:
1573 * fc-glyphname/Makefile.am:
1574 * fc-glyphname/fc-glyphname.c:
1575 * fc-glyphname/fcglyphname.tmpl.h:
1576 * fc-lang/Makefile.am:
1586 * fc-lang/az_ir.orth:
1620 * fc-lang/fc-lang.c:
1621 * fc-lang/fc-lang.man:
1622 * fc-lang/fclang.tmpl.h:
1667 * fc-lang/ku_ir.orth:
1700 * fc-lang/ps_af.orth:
1701 * fc-lang/ps_pk.orth:
1730 * fc-lang/ti_er.orth:
1731 * fc-lang/ti_et.orth:
1757 * fc-lang/zh_cn.orth:
1758 * fc-lang/zh_hk.orth:
1759 * fc-lang/zh_mo.orth:
1760 * fc-lang/zh_sg.orth:
1761 * fc-lang/zh_tw.orth:
1763 * fc-list/Makefile.am:
1764 * fc-list/fc-list.c:
1765 * fc-match/Makefile.am:
1766 * fc-match/fc-match.1:
1767 * fc-match/fc-match.c:
1768 * fontconfig/fcfreetype.h:
1769 * fontconfig/fcprivate.h:
1770 * fontconfig/fontconfig.h:
1791 Change files from ISO-Latin-1 to UTF-8
1793 2004-12-04 Keith Packard <keithp@keithp.com>
1796 Update links to new freedesktop.org locations
1798 Add uninstall-local to get rid of fonts.conf and local.conf if they
1799 match the distributed versions. Fixes 'make distcheck'
1801 2004-12-04 Keith Packard <keithp@keithp.com>
1805 * fontconfig/fontconfig.h:
1806 Updates for version 2.2.97
1808 2004-12-04 Owen Taylor <otaylor@redhat.com>
1810 reviewed by: Keith Packard <keithp@keithp.com>
1812 * fc-cache/fc-cache.c: (main):
1813 Sleep for two seconds before exiting to make sure timestamps
1814 for future changes have distinct mod times in the file system.
1817 Add Punjabi orthography. Bug #1671.
1819 2004-12-04 Keith Packard <keithp@keithp.com>
1822 Just remove the FC_FONTDATE -- it has locale issues and
1823 annoys redhat multi-arch installs. Now that all X fonts are
1824 included without prejudice, the chances of the date being at
1825 all interesting are rather limited. Bug #505.
1827 Add copyright and license
1829 2004-12-04 Keith Packard <keithp@keithp.com>
1832 Change default set of fonts to include all of
1833 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1834 * doc/fontconfig-user.sgml:
1835 Document new <include>directory-name</include> semantics
1837 add <include ignore_missing="yes">conf.d</include>
1839 Add selectfont to ignore bitmap fonts, add comment for
1840 selectfont which accepts bitmap fonts.
1843 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1844 Allow <include> configuration elements to reference directories.
1845 Parse and load all files of the form [0-9]* in sorted order.
1847 2004-12-04 Keith Packard <keithp@keithp.com>
1850 Report command line for $srcdir/configure accurately.
1853 2004-12-04 Keith Packard <keithp@keithp.com>
1855 * src/fcfreetype.c: (FcFreeTypeQuery):
1856 Check for non-empty face->family_name and face->style_name
1857 before using those for the font. Empty names match everything.
1860 2004-12-04 Keith Packard <keithp@keithp.com>
1863 * fontconfig/fontconfig.h:
1864 * src/fcfreetype.c: (FcFreeTypeQuery):
1866 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1867 available. This provides font file format information (BDF, Type 1,
1868 PCF, TrueType) for each font. Closes #109.
1870 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1872 reviewed by: Keith Packard <keithp@keithp.com>
1874 * doc/fontconfig-user.sgml:
1877 * fontconfig/fontconfig.h:
1878 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1879 (GetScriptTags), (FcFontCapabilities):
1881 Add detection for font capabilities (bug #105)
1883 2004-12-04 Keith Packard <keithp@keithp.com>
1886 Move existing fonts.conf to fonts.conf.bak
1889 Add detection of iconv
1891 * doc/fcpattern.fncs:
1892 * doc/fontconfig-devel.sgml:
1893 * doc/fontconfig-user.sgml:
1895 Document new selectfont elements
1898 Switch to UTF-8 in comment
1900 * fontconfig/fontconfig.h:
1902 Add fullname, and family/style/fullname language entries
1904 * src/fccache.c: (FcCacheFontSetAdd):
1905 * src/fcdir.c: (FcFileScanConfig):
1906 Respect selectfont/*/glob
1909 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1910 (FcConfigCompareValue), (FcConfigPatternsAdd),
1911 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1912 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1913 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1914 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1915 Add support for selectfont
1917 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1918 (FcStringInPatternElement), (FcFreeTypeQuery):
1919 Add multi-lingual family/style/fullname support
1921 * src/fclist.c: (FcListPatternMatchAny):
1922 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1924 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1925 (FcObjectStaticName):
1926 Add new FcPatternRemove/FcPatternAppend.
1927 FcObjectStaticName stores computed pattern element names which
1928 are required to be static.
1930 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1935 Remove spurious / after $(DESTDIR)
1937 2004-06-30 Keith Packard <keithp@keithp.com>
1941 * fontconfig/fontconfig.h:
1944 2004-06-30 Keith Packard <keithp@keithp.com>
1946 Provided by: Lubos Lunak <l.lunak@suse.cz>
1948 * src/fccfg.c: (FcConfigUptoDate):
1949 However FcConfigUptoDate() doesn't seem to work. See the attached
1950 patch. First there's an obvious misplaced parenthesis making it
1951 return always false, and second, even this call fails to detect font
1952 changes (e.g. adding a new font to
1953 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1954 well. The problem seems to be triggered by my fonts.conf specifying
1955 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1956 doesn't include subdirs, unlike config->fontDirs.
1958 2004-06-03 Keith Packard <keithp@keithp.com>
1960 * fontconfig/fontconfig.h:
1961 Remove comma at end of FcResult enum definition.
1963 2004-05-29 Keith Packard <keithp@keithp.com>
1966 Add steps to md5sum release
1968 2004-05-29 Keith Packard <keithp@keithp.com>
1972 * fontconfig/fontconfig.h:
1975 2004-05-29 Keith Packard <keithp@keithp.com>
1977 * fontconfig/fontconfig.h:
1978 * src/fcmatch.c: (FcFontSetMatch):
1979 Add FcResultOutOfMemory to provide an accurate error when
1980 FcFontSetMatch fails in this way
1983 Make #warning about lacking various FreeType features indicate
1984 which version those features appeared so users know how to
1985 fix the problem (Thanks to Anton Tropashko)
1987 2004-05-05 Keith Packard <keithp@keithp.com>
1989 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1990 Replace MIN/MAX/ABS macros which happen to have come
1991 from FreeType with fontconfig-specific ones (FC_*)
1993 2004-04-23 Keith Packard <keithp@keithp.com>
1996 Extend release preparation instructions to include
1997 notification and distribution steps
1999 2004-04-23 Keith Packard <keithp@keithp.com>
2003 * fontconfig/fontconfig.h:
2004 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2006 2004-04-23 Keith Packard <keithp@keithp.com>
2009 Ignore a few more autotool files
2011 2004-04-14 Keith Packard <keithp@keithp.com>
2014 Add instructions for doing a release
2016 * fontconfig.spec.in:
2017 clean up .spec file; perhaps this will be useful to somebody...
2021 * fontconfig/fontconfig.h:
2024 * fc-lang/fc-lang.c:
2025 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2027 * fc-glyphname/Makefile.am:
2028 * fc-lang/Makefile.am:
2029 * fc-list/Makefile.am:
2030 * fc-match/Makefile.am:
2032 Add WARN_CFLAGS to pass -W flags for GCC systems
2034 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2035 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2036 Change various char types around to match across
2038 Fixed bug in using available_sizes[i].height which
2039 is in pixels, not 64ths of a pixel.
2041 2004-03-06 Keith Packard <keithp@keithp.com>
2043 * src/fcfreetype.c: (FcFreeTypeQuery):
2044 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2045 matches looking for explicit values prefer exact matches
2047 2004-03-02 Keith Packard <keithp@keithp.com>
2049 Supplied by: mfabian@suse.de (Mike FABIAN)
2051 * src/fcfreetype.c: (FcFreeTypeQuery):
2052 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2053 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2055 2004-02-21 Manish Singh <yosh@gimp.org>
2057 * fc-glyphname/fc-glyphname.c: (main):
2058 Cast strlen to int for printf, so we're 64-bit clean.
2060 2004-02-11 Keith Packard <keithp@keithp.com>
2063 * src/fcfreetype.c: (FcGetPixelSize):
2064 Ok, so I messed up the test for y_ppem. Let's see if I
2065 got it right this time.
2067 2004-02-10 Keith Packard <keithp@keithp.com>
2070 * src/fcfreetype.c: (FcGetPixelSize):
2071 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2072 FT_Bitmap_Size record. Add a configure.in test for this
2073 and change the code accordingly (using height instead).
2075 2004-02-06 Keith Packard <keithp@keithp.com>
2078 Add Low Saxon orthography
2079 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2081 * src/fccfg.c: (FcConfigNewestFile):
2082 Oops. Left 'newest.set' unset, which would miscompute
2085 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2086 (FcFreeTypeCheckGlyph):
2087 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2088 font properties (which report the wrong value in current FreeType)
2090 Don't attempt to check for empty glyphs in non-scalable fonts; they
2093 2004-02-01 Tor Lillqvist <tml@iki.fi>
2095 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2096 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2097 cache if config->cache is NULL, which happens if FcConfigHome() is
2098 NULL. Guard against that by using the temp folder in that case.
2100 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2102 * fc-lang/az_ir.orth:
2103 * fc-lang/ku_ir.orth:
2104 * fc-lang/ps_af.orth:
2105 * fc-lang/ps_pk.orth:
2106 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2107 (Afghan and Pakistani).
2109 Updated Urdu orthography with real data.
2111 2003-12-11 Carl Worth <cworth@east.isi.edu>
2113 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2116 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2118 (all-local): Remove excessive whitespace.
2120 * autogen.sh: Add 'set -e' to abort when any program fails,
2121 (avoids printing of 'now type make' after configure aborts).
2123 2003-11-17 Eric Christopherson <rakko@charter.net>
2125 reviewed by: Keith Packard <keithp@keithp.com>
2128 * fontconfig/fcfreetype.h:
2130 Switch to FreeType 2.1.7 style includes. Bug #150.
2132 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2134 * fc-list/fc-list.sgml: Add some example usages.
2136 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2139 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2142 2003-10-27 Keith Packard <keith@keithp.com>
2145 * fontconfig/fontconfig.h:
2146 Update to version 2.2.92
2148 2003-10-27 Keith Packard <keithp@keithp.com>
2153 * fc-cache/Makefile.am:
2154 * fc-glyphname/Makefile.am:
2155 * fc-lang/Makefile.am:
2156 * fc-list/Makefile.am:
2157 * fc-match/Makefile.am:
2160 Yet more cleanups to finish getting 'make distcheck' working
2161 This has been tested to ensure that it even works from a _build
2164 2003-10-26 Keith Packard <keithp@keithp.com>
2168 * fc-cache/Makefile.am:
2169 * fc-glyphname/Makefile.am:
2170 * fc-lang/Makefile.am:
2171 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2172 * fc-list/Makefile.am:
2173 * fc-match/Makefile.am:
2174 Attempts to fix 'make distcheck' work. Things are
2175 progressing pretty well, but there are still failures
2176 long into the process dealing with docs (as always).
2178 The big changes here are mostly to make $(srcdir) != "."
2179 work correctly, fixing the docbook related sections and
2180 fc-lang were particularily tricky. Docbook refuses to load
2181 system entities from anywhere other than where the original .sgml
2182 file was located, so no luck looking in "." for the
2183 configure-generated version.sgml and confdir.sgml files.
2185 fc-lang needed help finding .orth files; added a -d option
2186 to set the directory as the least evil of many options.
2188 Now to go use a faster machine and try and wring out the last
2191 2003-10-26 Keith Packard <keithp@keithp.com>
2195 2003-10-26 Keith Packard <keithp@keithp.com>
2198 Include confdir.sgml.in in EXTRA_DIST
2200 2003-10-09 Josselin Mouette <joss@debian.org>
2202 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2203 * fc-list/fc-list.sgml fc-list/Makefile.am:
2204 Replace fc-cache and fc-list manpages with more detailed, SGML
2207 2003-09-23 Owen Taylor <otaylor@redhat.com>
2209 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2210 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2211 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2214 2003-09-23 Owen Taylor <otaylor@redhat.com>
2216 * fc-lang/ka.orth: Remove Georgian capitals, they
2217 aren't used for normal writing. (Bug #116)
2219 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2221 * doc/fontconfig-devel.sgml:
2222 * doc/fontconfig-user.sgml:
2223 * fontconfig/fontconfig.h:
2225 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2226 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2228 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2229 monospace and dual-width fonts, allow roughly a 3% variance in the
2232 2003-08-31 Manish Singh <yosh@gimp.org>
2234 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2237 2003-08-15 Carl Worth <cworth@isi.edu>
2239 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2240 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2242 * src/fcpat.c (FcValueListEntDestroy): New function to support
2243 FcFini memory cleanup. Some statistics are not kept in
2245 (FcValueListFreeze): Move hashTable outside this function so it
2246 can be accessed by FcValueListThawAll.
2247 (FcValueListThawAll): New function complements FcValueListFreeze.
2248 (FcPatternBaseFreeze): Move hashTable outside this function so it
2249 can be accessed by FcPatternBaseThawAll.
2250 (FcPatternBaseThawAll): New function complements
2251 FcPatternBaseFreeze.
2252 (FcPatternThawAll): New function complements FcPatternFreeze.
2254 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2256 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2257 allocated FcCharLeafEnt "blocks" so they can be freed later.
2258 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2259 can be accessed by FcCharSetThawAllLeaf.
2260 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2261 (FcCharSetFreezeBase): Move hashTable outside this function so it
2262 can be accessed by FcCharSetThawAll.
2263 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2265 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2266 (FcConfigDestroy): Fic leak of FcBlanks.
2268 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2269 (main): Add call to FcFini when finished.
2271 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2272 static. Add prototypes.
2274 * doc/fcinit.fncs: Add documentation for FcFini function.
2276 * doc/edit-sgml.c: Mark several local functions as static. Add
2279 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2281 2003-06-15 Tor Lillqvist <tml@iki.fi>
2283 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2284 before comparing (needed on Windows).
2286 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2288 2003-06-13 Tor Lillqvist <tml@iki.fi>
2290 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2293 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2294 WINDOWSFONTDIR token.
2296 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2297 end, not to confuse libtool, which expects the EXPORTS line to be
2298 the first. Add FcConfigEnableHome.
2300 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2301 built as a DLL on Win32.
2303 2003-06-09 Keith Packard <keithp@keithp.com>
2305 * Tag version 2.2.90
2307 2003-06-09 Keith Packard <keithp@keithp.com>
2309 * Optimization in FcLangSetIndex was broken, occasionally
2310 returning a pointer to the wrong location on miss
2312 * Add fc-match to test font matching from the command line.
2314 2003-05-31 Keith Packard <keithp@keithp.com>
2316 * (Bug 85) add support for culmus fonts
2317 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2318 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2320 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2322 * Fix "contains" op for strings and langsets.
2324 2003-05-17 Keith Packard <keithp@keithp.com>
2326 * Fix build error with BDF prop local. Free langset after query
2328 2003-05-14 Keith Packard <keithp@keithp.com>
2330 * Extract spacing from XLFD atom
2332 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2334 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2335 disappeared in 1.30.
2337 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2339 2003-05-12 Keith Packard <keithp@keithp.com>
2341 * Use FcIsWidth to share code
2343 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2344 misclassifying some Han fonts as monospaced.
2346 2003-05-07 Keith Packard <keithp@keithp.com>
2348 * Add filename-based accept/reject to ammend available fonts.
2350 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2351 older FreeType releases.
2353 2003-05-06 Keith Packard <keithp@keithp.com>
2355 * Remove 0b82 and Tamil numbers from tamil
2356 orthography (Jungshik Shin <jshin@mailaps.org>)
2358 2003-05-04 Keith Packard <keithp@keithp.com>
2360 + Map glyph names in fonts with adobe custom encoding to unicode
2362 2003-05-02 Keith Packard <keithp@keithp.com>
2364 * Add FC_WEIGHT_BOOK as weight 75
2366 2003-04-30 Keith Packard <keithp@keithp.com>
2368 * Typo in bitstream foundry name
2370 2003-04-24 Keith Packard <keithp@keithp.com>
2372 * Eliminate italic_angle check for PS fonts
2374 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2376 * Getting closer to fixing /etc/fonts hard-coding.
2378 2003-04-22 Keith Packard <keithp@keithp.com>
2380 * Update autogen.sh to work with newer automake versions
2381 * Handle pattern elements moving during multiple edits
2383 2003-04-23 James Henstridge <james@daa.com.au>
2385 * doc/fontconfig-devel.sgml: close the <para> element.
2387 * doc/fcpattern.fncs: close the <para> element.
2389 * doc/func.sgml: close the <refsynopsisdiv> element.
2391 2003-04-22 Keith Packard <keithp@keithp.com
2393 * Update autogen.sh to work with newer automake versions
2394 * Handle pattern elements moving during multiple edits
2396 2003-04-17 Colin Walters <walters@debian.org>
2398 + Remove some unused variables, and initialize some other ones so
2399 gcc doesn't warn us.
2401 2003-04-16 Keith Packard <keithp@keithp.com>
2403 + tag version 2.1.94
2405 2003-04-16 Keith Packard <keithp@keithp.com>
2407 + add BDF property fetching support for foundry
2408 (from Juliusz Chroboczek)
2409 + add BDF property fetching support for width
2411 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2413 + Implemented foundry generation for Type 1 and TrueType
2415 2003-04-11 Gerard Escalante <g2@magestudios.net>
2417 + Retrieve information from Type1 FontInfo dictionaries
2419 2003-04-07 Colin Walters <walters@verbum.org>
2421 + src/Makefile.am: Fix dummy makefile target names when
2422 MS_LIB_AVAILABLE isn't set.
2424 2003-03-22 Tor Lillqvist <tml@iki.fi>
2426 Changes for Windows:
2428 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2430 + We don't want to hardcode the fonts.conf file location in the
2431 DLL, so we look up the DLL location at run-time in a DllMain()
2432 function. The fonts.conf location is deduced from that.
2434 + The colon can't be used as path separator on Windows,
2435 semicolon is used instead. File path components can be separated
2436 with either slash or backslash. Absolute paths can also begin
2437 with a drive letter.
2439 + Add internal function FcStrLastSlash that strrchr's the last
2440 slash, or backslash on Windows.
2442 + There is no link() on Windows. For atomicity checks, mkdir a
2443 lock directory instead.
2445 + In addition to HOME, also look for USERPROFILE.
2447 + Recognize the special font directory token WINDOWSFONTDIR, to
2448 use the system's font directory.
2450 + Remove the fontconfig-def.cpp that was obsolete. Add
2451 fontconfig.def(.in), without internal functions.
2453 + Add a fontconfig-zip(.in) script, used to build a binary
2456 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2457 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2458 to main package and man3/* to devel package
2460 + Added missing defattr(-, root, root) to main RPM package
2462 + Added HTML and text development documentation to -devel subpackage
2464 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2465 + Added back the configure macro options --disable-docs, otherwise
2466 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2467 version number) unconditionally, causing RPM to fail the build due
2468 to _unpackaged_files_terminate_build. We pick up the pregenerated
2469 docs with %doc already.
2471 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2472 + Removed commented out rpm macro define at top of spec file,
2473 replacing it with a simple explanation, since rpm macros are
2474 expanded by rpm even in comments.
2476 + Changed /usr/bin to _bindir in BuildRequires lines
2478 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2480 + Reorganized file manifest lists
2482 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2484 + fontconfig.spec.in: Improvements from Red Hat spec file.
2486 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2488 + docs/*.sgml: SGML fixes.
2490 Sat Mar 1 17:28:53 PST 2003 keithp
2491 + Ok, so the ChangeLog is a bit out of date
2493 + Lots of bugs fixed; most are in bugzilla, the
2494 biggest problems were in cache management where
2495 Owen discovered the library would lose badly when
2496 combining fonts-cache and ~/.fonts-cache data
2498 + Converted from autoconf to automake. This after
2499 getting patches accepted into libtool to allow
2500 the '-version-number' argument which lets
2501 packages set version numbers explicitly rather
2502 than the roundabout libtool way
2504 + Converted documentation to SGML using the docbook
2505 DTD. Now .txt and .html documents are installed
2506 in /usr/share/doc/fontconfig and there's no
2507 man page. Perhaps a man version can be written
2510 Sat Aug 31 15:21:22 PDT 2002 keithp
2511 + Xrender and Xft had several bugs related to
2512 rendering manually placed or poly-face text
2514 + Added more complete memory tracing in fontconfig
2515 Checked with (patched) mozilla and found no leaks
2517 + Updated Latin orthographies by comparing those from
2518 evertype.com with those from eki.ee. Tried to make
2519 sensible choices, including chars that occured in both
2520 and leaving some optional chars out that occured only
2523 Mon Aug 26 16:33:04 PDT 2002 keithp
2524 + Owen discovered that FcLangSetHasLang wasn't actually
2525 checking the language set.
2527 Mon Aug 26 13:37:23 PDT 2002 keithp
2528 + Append a version number to cache filenames
2530 Thu Aug 22 11:36:18 PDT 2002 keithp
2532 + Add "contains" and "not_contains" operators and elements to
2535 + Changed semantics of eq operator for LangSets to check for
2536 FcLangEqual so that any match will do
2538 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2539 of FcValueEqual to check for identical values when inserting into
2540 the results. This broke when the above semantic change was made,
2541 now it uses FcValueEqual which is "more correct" in any case.
2543 Thu Aug 22 00:32:29 PDT 2002 keithp
2545 + Reimplement FC_LANG as new datatype. Lists of strings
2546 was consuming over a megabyte of memory for 401 fonts.
2548 + Freeze patterns loaded from cache files. This shares
2549 common value lists and common patterns which saves
2550 considerable memory.
2552 + Change the denotation of 'constant' charsets to use special
2553 ref value instead of separate boolean.
2555 + Clean up leak tracing stuff, found several unannoted alloc/free
2558 Tue Aug 20 16:17:37 PDT 2002 keithp
2560 + Fix memory leak when parsing matrices from XML
2562 Mon Aug 19 11:57:27 PDT 2002 keithp
2564 + Fix autoconf files to pass FONTCONFIG_PATH on
2565 compile line so that ${prefix} gets substituted
2568 + Use getc_unlocked/putc_unlocked on systems that
2569 provide them to avoid damage done to stdio by posix
2571 + Eliminate FC_PATTERN and FcTypePattern in favor of
2572 an extended api for FcConfigSubstitute which takes
2573 both the font and the pattern.
2575 + Add 'sans serif' alias for 'sans-serif' as some apps
2576 can't handle hyphens in family names
2578 + Eliminate pretense of support for libxml2
2580 + Comment origins of Han orthographies
2582 Tue Jul 30 18:37:09 PDT 2002 keithp
2584 + Add binding property to edit element so that strong
2585 binding values may be inserted by the config file.
2586 The default remains weak.
2588 Sun 28 Jul 04:16:55 PDT 2002 keithp
2590 + Tagged release candidate 1 in the CVS tree and
2591 placed fcpackage.rc1.tar.gz for distribution
2593 Thu Aug 1 08:55:08 PDT 2002 keithp
2595 + Fixed autoconf builds to always specify install
2596 target files (for BSD). Also fixed to
2597 define FONTCONFIG_PATH in config.h so that
2598 nonstandard installs will actually work.