1 2006-02-03 Takashi IWAI <tiwai@suse.de>
4 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
7 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
8 FcDirCacheConsume, FcDirCacheWrite)
9 * src/fcxml.c (FcConfigMessage):
11 Check I/O call return values and eliminate unused variable
14 2006-02-03 Takashi Iwai <tiwai@suse.de>
17 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
21 2006-02-03 Dirk Mueller <dmueller@suse.de>
24 * src/fcfs.c (FcFontSetUnserialize):
26 Gracefully handle the case where a cache asserts that it
27 has a negative number of fonts, causing overflow.
29 2006-02-03 Patrick Lam <plam@mit.edu>
30 * src/fccache.c (FcDirCacheUnlink):
32 Fix double free in error case.
34 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
35 Stephan Kulow <coolo@suse.de>
38 * fc-cache/Makefile.am:
40 Replace 'stamp' target with mkinstalldirs.
42 2006-01-31 Mike Fabian <mfabian@suse.de>
45 * src/fccache.c (FcGlobalCacheLoad):
47 Toast broken global cache files.
49 2006-01-30 Patrick Lam <plam@mit.edu>
50 * src/fccache.c (FcGlobalCacheReadDir):
52 Actually use the directories that I added to the global cache.
55 2006-01-30 Mike Fabian <mfabian@suse.de>
58 * fc-cache/fc-cache.c (scanDirs):
60 Don't stop scanning if a directory in fonts.conf doesn't
61 exist, because subsequent directories might exist.
63 2006-01-30 Patrick Lam <plam@mit.edu>
64 * src/fccache.c (FcGlobalCacheLoad):
66 Make global cache work again after putting dir names into global
67 cache (I misplaced the recording of a file offset).
69 2006-01-30 Patrick Lam <plam@mit.edu>
70 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
72 Update fc-cat to handle subdir lists in global cache file.
74 * src/fccache.c (FcGlobalCacheLoad):
76 Another FcCacheReadString return value check.
78 2006-01-30 Mike Fabian <mfabian@suse.de>
81 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
82 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
84 Make fccache more resilient to broken cache files by checking
85 return value of FcCacheReadString all the time.
87 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
90 * fc-match/fc-match.1:
91 * fc-lang/fc-lang.man:
93 Remove references to dead fontconfig(3) manpages in
94 other fontconfig manpages.
96 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
101 Fix world's tiniest typo in code example.
103 2006-01-29 Mike Fabian <mfabian@suse.de>
106 * src/fccache.c (FcGlobalCacheReadDir):
108 Fix global cache reads of subdirectories.
110 2006-01-29 Patrick Lam <plam@mit.edu>
112 Add documentation for FcConfigNormalizeFontDir.
114 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
115 FcGlobalCacheUpdate, FcGlobalCacheSave):
116 * src/fcdir.c (FcDirScanConfig):
119 Write directory information to global caches to fix make check
120 (reported by Ronny V. Vindenes). This changes the global cache
123 2006-01-27 Patrick Lam <plam@mit.edu>
124 * fc-cache/fc-cache.c (scanDirs):
125 * fontconfig/fontconfig.h:
127 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
129 Move FcConfigNormalizeFontDir call so that it doesn't result in
130 infinite recursion (reported by Ronny V. Vindenes).
132 2006-01-26 Patrick Lam <plam@mit.edu>
133 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
134 * src/fccfg.c (FcConfigNormalizeFontDir):
136 Add a couple of missing normalizations to make fc-cache work
137 right; only scan subdirectories once.
139 2006-01-26 Mike Fabian <mfabian@suse.de>
142 * src/fcacache.c (FcGlobalCacheReadDir):
144 Don't crash on non-existant directories in global cache.
146 2006-01-26 Patirck Lam <plam@mit.edu>
147 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
148 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
149 * src/fcdir.c (FcDirScanConfig):
150 * src/fcxml.c (FcEndElement):
152 Stop trampling the directory name when writing out caches.
153 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
154 subdirs when necessary. Don't scan directories that can't be
157 2006-01-25 Patrick Lam <plam@mit.edu>
158 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
159 * src/fccfg.c (FcConfigEvaluate):
160 * src/fcfreetype.c (FcPatternAddWithBinding):
162 Fix additional memory leaks reported by Ronny V. Vindenes: don't
163 invoke FcValueSave on hashed static strings in
164 FcPatternAddWithBinding.
166 Add another st_dev check in FcDirCacheOpen.
168 2006-01-24 James Su <james.su@gmail.com>
171 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
172 * fc-lang/zh_hk.orth:
174 Treat zh-hk fonts differently from zh-tw fonts. This patch may
175 cause fontconfig to treat A-X fonts differently from A-Y fonts;
176 please mail the fontconfig list if this causes any problems.
178 2006-01-24 Patrick Lam <plam@mit.edu>
179 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
180 * src/fcfreetype.c (FcFreeTypeQuery):
182 Fix memory leaks reported by Ronny V. Vindenes.
184 2006-01-19 Andreas Schwab <schwab@suse.de>
187 * src/fcpat.c (FcStrNeededBytes):
189 Fix for unaligned memory accesses.
191 2006-01-18 Mike Fabian <mfabian@suse.de>
194 * src/fcdir.c (FcDirScanConfig):
196 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
197 calls to avoid crashes.
199 2006-01-14 Patrick Lam <plam@mit.edu>
200 * src/fccache.c (FcDirCacheConsume):
202 Fix segfault when consuming zero-length caches in fc-cat
203 (which has no config, so FcConfigAddFontDir shouldn't be called.)
205 2006-01-14 Patrick Lam <plam@mit.edu>
206 * fc-cache/fc-cache.c (scanDirs):
207 * fontconfig/fontconfig.h:
208 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
209 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
210 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
211 * src/fcdir.c (FcDirScanConfig):
214 Compare device numbers as well as inodes.
215 Always normalize directory names before comparing them.
217 2006-01-11 Mike Fabian <mfabian@suse.de>
220 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
222 Allocate extra space for appended '/' in directory name.
224 2006-01-10 Patrick Lam <plam@mit.edu>
225 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
226 FcDirCacheValid, FcDirCacheHasCurrentArch,
227 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
228 * fc-cache/fc-cache.c (main):
230 Explicitly add font dirs to config.fontDirs even if they're empty.
231 Set current config in fc-cache.c.
232 Fix treatment of cache directory as read from cache file; don't
233 use string equality to determine if we have the right file,
236 2006-01-09 Patrick Lam <plam@mit.edu>
237 * fc-cache/fc-cache.c (scanDirs):
238 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
239 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
240 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
241 * src/fccfg.c (FcConfigNormalizeFontDir):
242 * src/fcdir.c (FcDirScanConfig):
245 Normalize font dirs by using the form, as given in fonts.conf, and
246 recorded in FcConfig's fontDirs string set, as canonical.
248 Actually update config.fontDirs as font directories are scanned.
250 2006-01-08 James Su <james.su@gmail.com>
251 * src/fcmatch.c (FcFontSetMatch):
253 Fix matching bug when multiple elements match; don't use
254 the sum of all scores, but the best score.
256 Also more perf opts, e.g. evaluate best over all font sets
257 rather than on a per-set basis (and other changes).
259 2006-01-08 Patrick Lam <plam@mit.edu>
260 * src/fccache.c (FcDirCacheConsume):
262 Properly skip past dir caches that contain zero fonts (as occurs
263 in global caches.) Reported by Mike Fabian.
265 2006-01-06 Patrick Lam <plam@mit.edu>
266 * src/fcdbg.c (FcPatternPrint):
268 Print out full pathname in fc-match -v as well. Reported by
271 2006-01-06 Mike Fabian <mfabian@suse.de>
274 * src/fcname.c (FcNameParse):
276 Fix bug where fc-match crashes when given __DUMMY__ property to
279 (I added the __DUMMY__ string to enable callers of
280 FcObjectToPtrLookup to distinguish an error return from a
281 successful return. -PL)
283 2006-01-05 Patrick Lam <plam@mit.edu>
286 Add self to AUTHORS list.
288 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
289 FcCacheFileRead, FcCachePrintSet, main):
290 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
291 FcGlobalCacheSave, FcCacheNextOffset,
292 FcDirCacheHasCurrentArch, FcDirCacheRead,
293 FcDirCacheConsume, FcDirCacheWrite):
295 * src/fcpat.c (comment):
297 Minor change to global cache file format to fix fc-cat bug
298 reported by Frederic Crozat, and buglet with not globally caching
299 directories with zero fonts cached.
301 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
304 * src/fccfg.c (FcConfigEvaluate):
306 Fix double-free which occurs because FcValueCanonicalize doesn't
307 create an extra copy of the returned value, it only canonicalizes
310 2006-01-02 Patrick Lam <plam@mit.edu>
311 * doc/fontconfig-user.sgml:
313 Fix version of .cache file (currently 1 -> currently 2). Reported
316 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
319 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
321 Shut up GCC warnings on amd.
323 2005-12-20 Patrick Lam <plam@mit.edu>
327 * fontconfig/fontconfig.h:
329 Bump version to 2.3.93.
331 2005-12-20 Patrick Lam <plam@mit.edu>
332 * src/fccharset.c (FcLangCharSetPopulate):
333 * src/fcint.h (FcCacheBankToIndex):
335 Avoid check on _fcBankId nullness and fix case where it used to
338 2005-12-20 Patrick Lam <plam@mit.edu>
339 * src/fcxml.c (FcConfigParseAndLoad):
341 Use open instead of fopen (requested by Phil Race for Sun).
343 2005-12-20 Patrick Lam <plam@mit.edu>
344 * src/fccache.c (FcDirCacheWrite);
345 * fc-cache/Makefile.am:
347 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
350 2005-12-20 Patrick Lam <plam@mit.edu>
351 * src/fcfreetype.c (FcFreeTypeQuery):
353 Restore code to skip over PCF fonts that have no encoded
355 (We guess that a font is PCF by presence of the PIXEL_SIZE
358 2005-12-12 Patrick Lam <plam@mit.edu>
359 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
361 Read and write the original location as a fallback for the
362 hashed cache file locations. This is mostly for users to be
363 able to have per-directory cache files.
365 2005-12-12 Patrick Lam <plam@mit.edu>
366 * fc-cache/fc-cache.c (scanDirs):
367 * fc-cache/Makefile.am:
368 * src/fccache.c (FcDirCacheHashName):
370 Improve error message when fc-cache can't write the cache. Add
371 missing slash. Reported by Behdad. Incorporate Behdad's patch to
372 create /var/cache/fontconfig when appropriate.
374 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
377 * src/fcxml.c (FcConfigGetAttribute):
379 Fix crash reported by Frederic Crozat when using libxml2.
381 2005-12-09 Patrick Lam <plam@mit.edu>
384 * fc-cache/Makefile.am:
385 * fc-cat/Makefile.am:
387 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
388 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
389 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
390 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
391 FcDirCacheHasCurrentArch, FcDirCacheHashName,
392 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
394 Migrate cache files from fonts directories to
395 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
396 but requires that all caches get rebuilt.
398 Also, autogen.sh now needs the additional parameter
399 --localstatedir=/var.
401 2005-12-07 Patrick Lam <plam@mit.edu>
402 * src/fcpat.c (FcPatternAddString):
404 Because we've changed FcPatternAddString to use FcStrStaticName
405 and not FcValueSave, explicitly handle the case of a null string.
407 2005-12-06 Patrick Lam <plam@mit.edu>
408 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
412 2005-12-05 Patrick Lam <plam@mit.edu>
413 * src/fcname.c (FcNameGetObjectType):
415 Don't assign types to user object names.
417 2005-12-05 Patrick Lam <plam@mit.edu>
418 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
420 Don't free strings that have been returned from FcStrStaticName.
422 2005-12-01 Patrick Lam <plam@mit.edu>
423 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
425 Add codepath for reading global cache files as well.
427 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
430 * conf.d/10-fonts.persian.conf:
431 * conf.d/Makefile.am:
433 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
435 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
438 * src/fcxml.c (FcConfigParseAndLoad):
440 Only add a config file to the set of config files once.
442 2005-11-29 Patrick Lam <plam@mit.edu>
443 * src/fcint.h (FcCacheBankToIndex);
445 Fix segfault by guarding array dereference.
447 2005-11-29 Dirk Mueller <dmueller@suse.de>
451 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
452 FcCacheBankToIndex, FcCacheBankToIndexMTF,
456 Refactor FcCacheBankToIndex into an inlineable part
457 (in fcint.h) which checks the front of the list and a
458 non-inlineable part which finds and moves the appropriate element
459 to the front of the list.
461 2005-11-29 Patrick Lam <plam@mit.edu>
462 * src/fccfg.c (FcConfigBuildFonts):
463 * src/fccache.c (FcCacheReadDirs):
465 Make the perf guys hate me a bit less: hoist the directory-name
466 FcConfigAcceptFont check for cached fonts up to directory cache
467 read time, rather than running it for each font.
469 2005-11-29 Patrick Lam <plam@mit.edu>
470 * src/fccfg.c (FcConfigBuildFonts):
472 * src/fcpat.c (FcPatternFindFullFname):
474 Don't make FcPatternFindFullFname available to fccfg, it's not
475 really safe. Instead go through FcPatternGetString (sorry,
476 perf guys.) Also, use globs for dirs as well.
478 2005-11-28 Patrick Lam <plam@mit.edu>
479 * src/fccfg.c (FcConfigBuildFonts):
483 2005-11-28 Patrick Lam <plam@mit.edu>
485 * src/fcpat.c (FcPatternFindFullFname):
486 * src/fccfg.c (FcConfigBuildFonts):
488 Fix problem dating back at least to 2.3.2 where globs weren't
489 being applied to patterns loaded from a cache.
491 2005-11-28 Patrick Lam <plam@mit.edu>
492 * doc/fontconfig-user.sgml:
494 Fix some obvious spelling mistakes.
496 2005-11-28 Dirk Mueller <dmueller@suse.com>
497 Stephan Kulow <coolo@suse.de>
500 * src/fcmatch.c (FcFontSetMatch):
502 Don't kill all fonts during match (oops!)
505 2005-11-25 Dirk Mueller <dmueller@suse.com>
506 Stephan Kulow <coolo@suse.de>
507 Michael Matz <matz@suse.de>
510 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
513 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
514 inline FcCompare into FcFontSetMatch and reorder the
515 loops, adding a boolean array which blocks patterns from future
516 consideration if they're known to not be best on some past
519 2005-11-26 Dirk Mueller <dmueller@suse.com>
522 * src/fcmatch.c (FcCompareValueList):
526 2005-11-25 Patrick Lam <plam@mit.edu>
527 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
529 Don't do random matching when bad objects are passed into
532 2005-11-25 Patrick Lam <plam@mit.edu>
534 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
535 FcPatternSerialize, FcPatternUnserialize,
536 FcValueListEnsureBank, FcValueListDistributeBytes,
537 FcValueListUnserialize):
539 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
540 _fcPatternElts, _fcValueLists for consistency.
542 2005-11-25 Dirk Mueller <dmueller@suse.com>
547 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
549 2005-11-25 Patrick Lam <plam@mit.edu>
551 * src/fccache.c (FcDirCacheConsume):
552 * src/fccharset.c (FcCharSetUnserialize):
553 * src/fcfs.c (FcFontSetUnserialize):
554 * src/fclang.c (FcLangSetUnserialize):
555 * src/fcname.c (FcObjectUnserialize):
556 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
557 FcPatternUnserialize):
559 Pass around FcCache *s to the Unserialize functions for extra
560 consistency (and less overhead, for what that's worth).
562 2005-11-24 Dirk Mueller <dmueller@suse.com>
566 * src/fcmatch.c (FcCompare*, FcFontSetSort):
567 * src/fcname.c (FcNameUnparseValue):
569 Inline the *PtrU functions to gain perf.
570 Remove unneeded params for the FcCompare* functions.
572 2005-11-24 Dirk Mueller <dmueller@suse.com>
575 * src/fcint.h, fontconfig/fontconfig.h:
577 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
579 * src/fcpat.c, src/fcint.h, src/fcname.c:
581 Check for type validity during FcPatternAddWithBinding, don't
582 verify type in FcFontMatch, don't call FcCanonicalize here
583 (which always does a deep copy).
585 2005-11-24 Dirk Mueller <dmueller@suse.com>
588 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
589 * src/fcpat.c (FcPatternAddWithBinding):
591 Make FcCompareString and FcCompareFamily less expensive.
592 Only add a value for FC_FAMILY if the proposed value is a string.
594 2005-11-24 Dirk Mueller <dmueller@suse.com>
597 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
598 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
599 * src/fcint.h (FcDebug):
601 Inline FcDebug invocations and only initialize once, in FcInit*.
602 Improve debug msg in FcPatternPrint.
604 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
607 * fontconfig/fontconfig.h:
610 Minor code warning cleanups.
612 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
615 * fc-match/fc-match.c (main):
617 Make getopt_long accept -s parameter to fc-match as well.
619 2005-11-21 Dirk Mueller <dmueller@suse.com>
622 * src/fcmatch.c (FcCompareValueList):
624 Manually perform inlining & partial redundancy elimination to
625 reduce calls to FcValueListPtrU.
627 2005-11-21 Dirk Mueller <dmueller@suse.com>
630 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
631 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
633 Only invoke strlen() when really necessary.
635 2005-11-19 Matthias Clasen <mclasen@redhat.com>
639 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
644 Get rid of the use of freetype internal headers in fcfreetype.c,
645 since those headers will go away with freetype 2.2. Replace with
646 public domain ftglue code from pango. Note that the patch removes
647 some extra error checking in FT_Get_BDF_Property() and comments
648 out the skipping of empty pcf fonts.
650 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
653 * fc-lang/fc-lang.c (main):
655 Further fix of patch from 2005-11-04: miscounted numbers count
656 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
657 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
659 Removed leafidx_count and numbers_count since they are the same
660 and replaced them with offset_count.
662 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
665 * fc-cat/fc-cat.c (main):
667 Don't crash when fc-cat invoked with no arguments.
669 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
672 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
674 Fix invalid read access caused by premature free and
675 GCC4 warnings in libxml2 codepath.
677 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
680 * src/fccfg.c (FcConfigValues):
682 List iteration not needed in FcConfigValues, since it's building
683 up the list itself; we can just strip FcVoid elements during
686 2005-11-17 Patrick Lam <plam@mit.edu>
687 * src/fccfg.c (FcConfigValues):
689 Fix crash on invalid constants in config files (forgot to update
690 a pointer upon list iteration.)
692 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
695 * src/fcxml.c (FcTypecheckExpr):
697 Complain about invalid constants in config files.
699 2005-11-17 Andreas Schwab <schwab@suse.de>
702 * src/fccache.c (FcGlobalCacheSave):
704 Don't add current_arch_start more than once.
706 2005-11-16 Patrick Lam <plam@mit.edu>
707 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
708 * src/fcfs.c (FcFontSetUnserialize):
709 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
710 * src/fcpat.c (FcStrUnserialize):
712 Fix ordering of ALIGN with respect to saving block_ptr; add
713 another ALIGN to fcfs.c.
715 2005-11-16 Patrick Lam <plam@mit.edu>
716 * src/fccache.c (FcDirCacheProduce)
718 Fix case where alignment bytes bumped up metadata->count
719 causing unwarranted failures to write cache files.
720 (Reported by Stephan Kulow).
722 2005-11-16 Patrick Lam <plam@mit.edu>
723 * src/fccache.c (FcDirCacheProduce):
724 * src/fccharset.c (FcCharSetDistributeBytes):
725 * src/fcfs.c (FcFontSetDistributeBytes):
727 * src/fclang.c (FcLangSetDistributeBytes):
728 * src/fcname.c (FcObjectDistributeBytes):
729 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
732 Add *NeededBytesAlign(), which overestimates the padding which is
733 later added by the new ALIGN macro. Fix alignment problems on
734 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
735 version by Andreas Schwab).
737 2005-11-16 Stephan Kulow <coolo@kde.org>
742 Use sysconf to determine proper PAGESIZE value; this
743 appears to be POSIX-compliant. (reported by Andreas Schwab)
745 2005-11-04 Patrick Lam <plam@mit.edu>
751 Fix bug 2878 (excessive relocations at startup for charsets,
752 reported by Ross Burton): fc-lang/fc-lang now creates the
753 static form of the langset, not the dynamic form, so that
754 the charsets should now be in .rodata.
756 2005-11-04 Patrick Lam <plam@mit.edu>
757 * src/fcdir.c (FcDirScanConfig):
759 Add test for validity of directory caches that
760 somehow got lost (reported by make distcheck).
762 2005-11-04 Patrick Lam <plam@mit.edu>
766 * fontconfig/fontconfig.h:
768 Bump version to 2.3.92.
770 2005-11-02 Patrick Lam <plam@mit.edu>
771 * src/fcpat.c (FcPatternDuplicate):
773 Fix argument ordering problem in call to FcPatternTransferFullFname.
775 2005-11-02 Patrick Lam <plam@mit.edu>
776 * src/fcfreetype.c (FcFreetypeQuery):
777 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
778 FcPatternTransferFullFname):
780 Fix warnings and embarrassing double-free error.
782 2005-11-02 Zhe Su <zsu@novell.com>
787 Change the rule for artificial emboldening in fonts.conf.in. This
788 enables the support for artificial emboldening included in cairo.
790 2005-11-02 Patrick Lam <plam@mit.edu>
791 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
793 Don't zero out full names for FC_REF_CONSTANT fonts;
794 also, duplicate full names when transferring, and free
795 full names when freeing the associated font.
796 Reported by Jinghua Luo.
798 2005-11-02 Patrick Lam <plam@mit.edu>
799 * fc-cache/fc-cache.c (scanDirs):
800 * src/fcpat.c (FcValueListSerialize):
802 Revert the previous patch and commit the correct patch:
803 I forgot a canonicalization in FcValueListSerialize, so
804 that it would choke on already-serialized input files. Duh!
806 2005-11-02 Patrick Lam <plam@mit.edu>
807 * fc-cache/fc-cache.c (scanDirs):
809 Forcibly rescan a directory before writing a fresh local
810 cache file for that directory, fixing the losing-fonts
811 problem reported by Mike Fabian and also apparently the
812 font cache file corruption.
814 2005-11-02 Patrick Lam <plam@mit.edu>
815 * src/fccache.c (FcGlobalCacheLoad):
817 Fix thinko: actually, the whole global cache is stale
818 if the global cache is older than the (newest) config file.
820 2005-11-02 Patrick Lam <plam@mit.edu>
821 * src/fccache.c (FcGlobalCacheLoad):
822 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
825 Declare the global cache of a directory's contents to be stale if
826 the directory is newer than the (newest) configuration file.
828 2005-10-31 Patrick Lam <plam@mit.edu>
830 * src/fclist.c (FcListAppend):
831 * src/fcmatch.c (FcFontRenderPrepare):
832 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
833 FcPatternFreeze, FcPatternBaseFreeze):
835 Copy the full pathname whenever duplicating an FcPattern; otherwise,
836 applications continue breaking.
838 2005-10-31 Patrick Lam <plam@mit.edu>
839 * fc-cat/fc-cat.c (FcCacheFileRead, main):
840 * src/fcfreetype.c (FcFreeTypeQuery):
842 Fix small memory error (tried to free argv); use basename and
843 dirname correctly (they can modify their arguments).
845 2005-10-31 Patrick Lam <plam@mit.edu>
853 Reinstate basename patch, but keep a hash table linking FcPatterns
854 to their fully-qualified font names for clients' benefit. Clients
855 only pay for the font names once they request the FC_FILE property
856 from an FcPattern, but the font name is malloc'd at that point (i.e.
857 not mmapped: that's impossible, since it may vary between machines.)
858 Clients do have to pay for a copy of the path name per cache file.
860 Note that FcPatternGetString now does some rewriting if you ask
861 for an FC_FILE, appending the pathname as appropriate.
863 2005-10-31 Patrick Lam <plam@mit.edu>
864 * src/fcfreetype.c (FcFreeTypeQuery):
866 Revert basename patch, which breaks fontconfig clients on my system.
868 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
871 * fontconfig/fonts.conf.in:
872 * fontconfig/fontconfig.h:
876 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
877 to load embedded bitmaps or not.
879 2005-10-25 Patrick Lam <plam@mit.edu>
880 * src/fcfreetype.c (FcFreeTypeQuery):
882 Only add basename to patterns' FC_FILE element, not any part of
885 2005-10-22 Patrick Lam <plam@mit.edu>
888 Add some more consts, fixing more GCC4 warnings.
890 2005-10-22 Zhe Su <zsu@novell.com>
893 Support localized font family and style names.
894 This has been reported to break old apps like xfd, but modern
895 (gtk+/qt/mozilla) apps work fine.
897 2005-10-21 Patrick Lam <plam@mit.edu>
898 * src/fccache.c (FcGlobalCacheLoad):
900 Destroy the global cache file if it's terminally broken. (reported by
903 2005-10-21 Patrick Lam <plam@mit.edu>
904 * fc-list/fc-list.c (main):
905 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
906 * fontconfig/fontconfig.h:
908 Prevent fc-list from escaping strings when printing them (reported by
911 2005-10-20 Marcus Meissner <meissner@suse.de>
914 * fontconfig/fontconfig.h:
916 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
918 2005-10-14 Ross Burton <ross@burtonini.com>
921 * fc-glyphname/fc-glyphname.c:
924 Add consts to variables so as to move arrays into .rodata.
926 2005-10-14 Mike Fabian <mfabian@suse.de>
929 * src/fccache.c (FcDirCacheUnlink):
931 Check existence of directory cache file before attempting to unlink.
933 2005-10-13 Patrick Lam <plam@mit.edu>
934 * src/fccache.c (FcDirCacheUnlink):
936 Fix flipped return value on unlink. (Reported by Mike Fabian)
938 2005-10-12 Patrick Lam <plam@mit.edu>
941 * src/fcdir.c (FcDirScanConfig):
944 When fc-cache is run without --force, use directory cache files
945 to speed up fc-cache run time. (Reported by Mike Fabian)
947 2005-10-06 Patrick Lam <plam@mit.edu>
949 * src/fcname.c (FcObjectToPtr):
950 * src/fcpat.c (FcStrStaticName):
952 Add padding to make valgrind and glibc not hate each other
953 when calling strlen().
955 2005-10-05 Simos Xenitellis <simos74@gmx.net>
956 reviewed by: plam & keithp
960 Modify config file to use Greek fonts before Asian fonts with
963 2005-10-05 Christian Biesinger <cbiesinger@web.de>
964 reviewed by: plam & keithp
968 Use libtool -no-undefined flag on all platforms.
970 2005-10-05 Patrick Lam <plam@mit.edu>
971 * src/fccache.c (FcCacheHaveBank):
973 Implement move-to-front array for banks (perf regression
974 reported by Ronny V. Vindenes).
976 2005-10-04 Patrick Lam <plam@mit.edu>
977 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
978 FcDirCacheHasCurrentArch):
979 * fc-cache/fc-cache.c (scanDirs):
980 * fontconfig/fontconfig.h:
982 Add new API which unlinks directory caches and checks dir caches
983 for existence of appropriate sections. Fix fc-cache to unlink
984 stale cache files and save directory caches that lack relevant
987 2005-10-03 Patrick Lam <plam@mit.edu>
988 * src/fccache.c (FcDirCacheValid):
990 Ensure that a directory cache has the appropriate section
991 before reporting that it is valid (reported by Matthias Clasen).
993 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1001 Use libxml2 if requested (with --enable-libxml2) or if
1002 expat is not available.
1004 2005-09-29 Patrick Lam <plam@mit.edu>
1005 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1007 Fix multi-arch cache files: compute the position for the
1008 block to be added using info from OrigFile, not NewFile.
1010 2005-09-28 Patrick Lam <plam@mit.edu>
1011 * src/fccache.c (FcCacheMachineSignature):
1013 Cast results of sizeof() to unsigned int to get rid of
1014 warnings on x86_64 (thanks Matthias Clasen).
1016 2005-09-27 Patrick Lam <plam@mit.edu>
1017 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1020 Use FcAtomic to rewrite cache files.
1022 2005-09-27 Patrick Lam <plam@mit.edu>
1024 * src/fccache.c (FcDirCacheWrite):
1026 Don't unlink the fonts.cache-2 file even if there's no data
1027 to write; just write an empty cache file. (thanks Lubos Lunak)
1029 2005-09-27 Patrick Lam <plam@mit.edu>
1031 * src/fccache.c (FcDirCacheWrite):
1033 Allocate room for the subdirectory names in each
1034 directory cache. Thanks to James Cloos for finding
1035 and diagnosing this bug!
1037 2005-09-22 Patrick Lam <plam@mit.edu>
1039 * fc-cache/fc-cache.sgml:
1040 * src/fccache.c (FcDirCacheWrite):
1041 * src/fccache.h (struct FcCache):
1043 Update documentation -- fc-cache's man page now says that you
1044 need to run fc-cache once per cached architecture; add some
1045 documentation to the FcCache structure.
1047 Make fc-cache write out fonts.cache-2 files for directories with
1048 no fonts (i.e. only subdirectories).
1050 2005-09-22 Patrick Lam <plam@mit.edu>
1052 * fc-cache/fc-cache.sgml:
1053 * fc-case/fc-case.c:
1054 * fc-glyphname/fc-glyphname.c:
1060 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1064 * fc-lang/fc-lang.c:
1065 * fontconfig/fcprivate.h:
1066 * fontconfig/fontconfig.h:
1080 Implement new mmaped cache for font information.
1081 Bump so revision to 2.3.90.
1083 2005-07-25 Keith Packard <keithp@keithp.com>
1085 * doc/fontconfig-user.sgml:
1086 * fc-glyphname/fc-glyphname.c: (scan), (main):
1087 * fc-lang/fc-lang.c: (FcConfigHome):
1088 * fc-match/fc-match.c: (main):
1089 * src/fccfg.c: (FcConfigHome):
1090 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1091 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1092 (addtag), (FcFontCapabilities):
1093 * src/fcpat.c: (FcValueListEntCreate):
1094 * src/fcstr.c: (FcStrCaseWalkerInit):
1095 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1097 Various GCC 4 cleanups for signed vs unsigned char
1099 Match only [0-9]*.conf files in <include>{directory}</include>
1100 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1102 2005-07-15 Carl Worth <cworth@cworth.org>
1105 * src/fcinit.c: (FcFini):
1106 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1109 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1110 Pull the FcObjectStateName hash table out to file scope, and add
1111 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1114 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1117 2005-06-16 Patrick Lam <plam@MIT.EDU>
1121 * src/fccfg.c: (FcConfigCompareValue):
1122 Make FcOpNotContains use FcStrStr for strings so that
1123 it matches semantics for !FcOpContains.
1125 2005-05-20 Keith Packard <keithp@keithp.com>
1129 Move fontconfig source package to libs as per override
1131 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1133 reviewed by: Mike Fabian
1136 The ka.orth file requires several characters which are not
1137 used anymore in modern Georgian and which are missing in the free
1138 Georgian TrueType fonts downloadable at:
1140 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1142 2005-04-27 Keith Packard <keithp@keithp.com>
1146 Update date to real 2.3.2 release date.
1147 Fix change attributions
1149 2005-04-27 Keith Packard <keithp@keithp.com>
1152 Bump so revision for 2.3.2
1153 * fc-cache/fc-cache.c: (scanDirs):
1154 Fix a few minor leaks in error cases.
1156 2005-04-23 Keith Packard <keithp@keithp.com>
1161 * fontconfig/fontconfig.h:
1162 Update for version 2.3.2
1164 2005-04-21 Keith Packard <keithp@keithp.com>
1166 * debian/fontconfig.postinst:
1167 Don't force bitmap font enable in default
1168 configuration; allows users to override this in
1178 * debian/po/pt_BR.po:
1179 * debian/po/templates.pot:
1181 * debian/po/zh_CN.po:
1182 Updated translations
1184 * fc-cache/fc-cache.c: (main):
1185 Destroy font configuration on exit to help valgrind
1188 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1189 (FcFreeTypeCheckGlyph):
1190 Use own transcoding routines in preference to iconv
1191 which appears to have leaks in some translators.
1192 Call iconv_close after using iconv (oops).
1194 Prefer unicode encoding of Euro char as some
1195 fonts mis-encode Euro in other ones.
1197 Must fetch bitmap glyphs to get width values
1198 to check for monospace/dual-width fonts.
1200 2005-04-13 Ross Burton <ross@burtonini.com>
1203 Check that a pattern isn't already frozen in FcPatternFreeze.
1205 2005-03-31 Ross Burton <ross@burtonini.com>
1210 Run all FcPattern objects through FcObjectStaticName, so that
1211 compares can be done on pointers instead of strings (#2659)
1213 2005-03-17 Tor Lillqvist <tml@novell.com>
1215 * src/fontconfig.def.in: Add the .dll to the dll name.
1217 2005-03-10 Keith Packard <keithp@keithp.com>
1219 * debian/README.Debian:
1220 Update to reflect configuration changes
1222 * debian/fontconfig.postinst:
1223 Fix Autohint vs Autohinter mistake
1224 * debian/fontconfig.templates:
1225 Adopt changes from Josselin Mouette for configuration descriptions
1226 Update debian to version 2.3.1-2
1228 2005-03-08 Keith Packard <keithp@keithp.com>
1232 Update debian for 2.3.1
1234 2005-03-09 Tor Lillqvist <tml@novell.com>
1236 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1239 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1242 2005-03-08 Keith Packard <keithp@keithp.com>
1246 * fontconfig/fontconfig.h:
1249 2005-03-05 Keith Packard <keithp@keithp.com>
1251 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1252 Include space and remove numbers from valid script tags.
1253 This ensures that tags like 'lao ' work while rejecting
1254 those which have any digits.
1255 Eliminate a spurious debugging variable (len)
1257 2005-03-05 Keith Packard <keithp@keithp.com>
1259 * src/fcfreetype.c: (addtag), (GetScriptTags),
1260 (FcFontCapabilities):
1261 Rework GSUB/GPOS script parsing to survive broken fonts.
1262 Thanks for the broken font go to Manish Singh
1264 2005-03-05 Keith Packard <keithp@keithp.com>
1269 * debian/fontconfig.config:
1270 * debian/fontconfig.templates:
1272 Include 2.3 release information in changelog
1273 Add Josselin Mouette as an Uploader
1274 Set hinting_type to low priority configuration option
1277 * debian/fontconfig.postinst:
1278 yes_bitmaps.conf -> yes-bitmaps.conf
1284 2005-03-02 Keith Packard <keithp@keithp.com>
1287 * conf.d/Makefile.am:
1288 * conf.d/autohint.conf:
1289 * conf.d/no-sub-pixel.conf:
1290 * conf.d/sub-pixel.conf:
1291 * conf.d/unhinted.conf:
1292 * debian/autohint.conf:
1293 * debian/fontconfig.install:
1294 * debian/fontconfig.postinst:
1295 * debian/fontconfig.templates:
1296 * debian/no-sub-pixel.conf:
1297 * debian/unhinted.conf:
1298 Move debian-specific conf file examples upstream.
1300 Sub-pixel configuration examples must smash subpixel value
1301 as Xft always sets it from X.
1303 Change sub-pixel rendering debconf descriptions from
1304 Enable/Disable to Always/Never.
1306 2005-03-02 Keith Packard <keithp@keithp.com>
1309 * conf.d/.cvsignore:
1311 Ignore more build detritus
1314 Add debian package construction stuff.
1316 * config/config.guess:
1317 * config/config.sub:
1318 Update to newer versions of these tools
1321 Get library manuals to build again (we love automake).
1323 * debian/README.Debian:
1324 * debian/autohint.conf:
1329 * debian/fontconfig-udeb.install:
1330 * debian/fontconfig.config:
1331 * debian/fontconfig.defoma:
1332 * debian/fontconfig.dirs:
1333 * debian/fontconfig.install:
1334 * debian/fontconfig.postinst:
1335 * debian/fontconfig.postrm:
1336 * debian/fontconfig.templates:
1337 * debian/libfontconfig1-dev.install:
1338 * debian/libfontconfig1.install:
1339 * debian/local.conf.md5sum:
1340 * debian/no-sub-pixel.conf:
1341 * debian/po/POTFILES.in:
1350 * debian/po/pt_BR.po:
1351 * debian/po/templates.pot:
1353 * debian/po/zh_CN.po:
1355 * debian/unhinted.conf:
1356 Update debian build system to switch maintainers and
1357 deal with 2.3 functionality
1359 2005-03-01 Keith Packard <keithp@keithp.com>
1363 * fontconfig/fontconfig.h:
1366 2005-03-01 Keith Packard <keithp@keithp.com>
1369 Generate and install PDF versions of the manuals
1371 * doc/fcpattern.fncs:
1374 * doc/fcstring.fncs:
1375 Add missing exported functions, fix data types
1377 * doc/fontconfig-devel.sgml:
1378 Add missing pattern elements.
1380 * doc/fontconfig-user.sgml:
1381 Add missing pattern elements. Document conf.d usage,
1382 clarify available orthography list. Fix some config file
1383 attributes. Complete list of constants.
1385 * fontconfig/fontconfig.h:
1386 Mark FC_SOURCE deprecated.
1388 * src/fcfreetype.c: (FcFreeTypeQuery):
1389 Don't set FC_SOURCE any longer.
1391 2005-02-28 Keith Packard <keithp@keithp.com>
1394 * conf.d/Makefile.am:
1396 * conf.d/no-bitmaps.conf:
1397 * conf.d/sub-pixel.conf:
1398 * conf.d/yes-bitmaps.conf:
1400 Create prototype /etc/fonts/conf.d directory with a few
1401 sample configuration files.
1402 Deprecate use of local.conf for local customizations in favor of
1403 this directory based scheme which is more easily integrated into
1404 installation systems.
1407 Tag FC_EMBOLDEN as a boolean variable
1409 2005-02-10 Keith Packard <keithp@keithp.com>
1411 reviewed by: pborelli@katamail.com
1413 * src/fcdir.c: (FcFileScanConfig):
1414 Free patterns from fonts which are rejected by configuration
1417 2005-01-28 Keith Packard <keithp@keithp.com>
1421 * fontconfig/fontconfig.h:
1422 Update for version 2.2.99
1424 2005-01-28 Keith Packard <keithp@keithp.com>
1427 Add a few pointers (#2284, #2285)
1429 2005-01-28 Keith Packard <keithp@keithp.com>
1432 * src/fcname.c: (FcNameBool):
1433 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1434 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1435 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1436 Polite typechecking for test and edit expressions. Helps
1437 catch errors in the font configuration. (bug 229)
1439 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1441 reviewed by: Keith Packard <keithp@keithp.com>
1444 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1446 2005-01-13 Keith Packard <keithp@keithp.com>
1448 * doc/fontconfig-user.sgml:
1449 Add SEE ALSO section (bug 2085)
1451 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1453 reviewed by: Keith Packard <keithp@keithp.com>
1458 * fc-case/Makefile.am:
1459 * fc-glyphname/Makefile.am:
1460 * fc-lang/Makefile.am:
1461 * src/fontconfig.def.in:
1462 Cross compiling fixes (bug 280)
1464 2005-01-13 Keith Packard <keithp@keithp.com>
1467 Update blanks list (Closes bug 86)
1469 2005-01-04 Keith Packard <keithp@keithp.com>
1471 * src/fccache.c: (FcCacheFontSetAdd):
1472 Verify that every font pattern loaded from cache has
1473 both FC_FILE and FC_FAMILY entries.
1474 Attempt to fix bug #2219.
1476 2004-12-29 Keith Packard <keithp@keithp.com>
1480 * fontconfig/fontconfig.h:
1481 Update for version 2.2.98
1483 2004-12-29 Keith Packard <keithp@keithp.com>
1485 * fontconfig/fontconfig.h:
1486 Document ASCII limitations of Fc character conversion macros
1487 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1488 Fix off-by-one error in utf-8 case walking code.
1489 Add FcStrDowncase (useful for testing case conversion functions)
1491 2004-12-29 Keith Packard <keithp@keithp.com>
1494 * fc-case/.cvsignore:
1495 clean up CVS ignore lists
1496 * fc-lang/iso-3166.txt:
1497 Add territory database
1499 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1501 Reviewed by: Keith Packard
1504 Remove Han characters from Korean orthography
1506 2004-12-29 Keith Packard <keithp@keithp.com>
1509 Reorder utility programs to make sure fc-case is run before fc-lang
1510 as fc-lang uses fcstr.c which uses fccase.h
1514 2004-12-29 Keith Packard <keithp@keithp.com>
1517 Adopt some RedHat suggestions for standard font configuration.
1521 * fc-case/CaseFolding.txt:
1522 * fc-case/Makefile.am:
1523 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1524 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1525 (dump), (parseRaw), (caseFoldReadRaw), (main):
1526 * fc-case/fccase.tmpl.h:
1527 Add new helper program 'fc-case' to construct case folding
1528 tables from standard Unicode CaseFolding.txt file
1531 * src/fclist.c: (FcListValueHash):
1532 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1533 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1534 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1535 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1536 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1537 Re-implement case insensitive functions with Unicode
1538 aware versions (including full case folding mappings)
1540 2004-12-13 Keith Packard <keithp@keithp.com>
1542 reviewed by: Owen Taylor <otaylor@redhat.com>
1544 * src/fcmatch.c: (FcFontSetSort):
1545 I changed FcFontSetSort to respect the generic aliases better
1546 in the face of language matching.
1548 What I did was to ammend the strict sort order used by FcFontSort so
1549 that it 'satisfies' the language specified in the pattern by locating
1550 the best matching font supporting each pattern language and then
1551 ignores language in the remaining fonts for purposes of matching.
1553 So, when asking for 'sans:lang=en', you'll get an English font first,
1554 and then the remaining fonts sorted with respect to the 'sans' alias
1555 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1557 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1559 reviewed by: Keith Packard <keithp@keithp.com>
1561 * fontconfig/fontconfig.h:
1564 Configuration changes to request synthetic emboldening of
1565 fonts. The actual emboldening code will live in Xft.
1567 2004-12-09 John Thacker <thacker@math.cornell.edu>
1569 reviewed by: Keith Packard <keithp@keithp.com>
1573 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1574 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1575 и), and don't even appear in KOI8-R. (The hypothesis that they
1576 don't appear in KOI8-R due to their similarity with Latin I and i is
1577 eliminated by their presence in KOI8-U.) I have a couple of fonts
1578 with Russian support that don't have the letter.
1580 Therefore, 0406 and 0456 should be removed from or commented out of
1583 2004-12-06 michael meeks <mmeeks@novell.com>
1585 Reviewed by: Keith Packard <keithp@keithp.com>
1587 * src/fcinit.c: (FcMemReport):
1589 * src/fclist.c: (FcObjectSetAdd):
1590 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1591 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1592 * src/fcxml.c: (FcParsePatelt):
1593 memoize strings and share a single copy for all uses. Note that
1594 this could be improved further by using statically allocated blocks
1595 and gluing multiple strings together, but I'm basically lazy.
1596 In my environment with 800 font files, I get a savings of about 90KB.
1598 2004-12-06 Keith Packard <keithp@keithp.com>
1602 * config/Makedefs.in:
1605 * doc/fcatomic.fncs:
1606 * doc/fcblanks.fncs:
1607 * doc/fccharset.fncs:
1608 * doc/fcconfig.fncs:
1609 * doc/fcconstant.fncs:
1611 * doc/fcfontset.fncs:
1612 * doc/fcfreetype.fncs:
1614 * doc/fcmatrix.fncs:
1615 * doc/fcobjectset.fncs:
1616 * doc/fcobjecttype.fncs:
1617 * doc/fcpattern.fncs:
1618 * doc/fcstring.fncs:
1619 * doc/fcstrset.fncs:
1621 * doc/fontconfig-devel.sgml:
1622 * doc/fontconfig-user.sgml:
1624 * doc/version.sgml.in:
1625 * fc-cache/Makefile.am:
1626 * fc-cache/fc-cache.c:
1627 * fc-glyphname/Makefile.am:
1628 * fc-glyphname/fc-glyphname.c:
1629 * fc-glyphname/fcglyphname.tmpl.h:
1630 * fc-lang/Makefile.am:
1640 * fc-lang/az_ir.orth:
1674 * fc-lang/fc-lang.c:
1675 * fc-lang/fc-lang.man:
1676 * fc-lang/fclang.tmpl.h:
1721 * fc-lang/ku_ir.orth:
1754 * fc-lang/ps_af.orth:
1755 * fc-lang/ps_pk.orth:
1784 * fc-lang/ti_er.orth:
1785 * fc-lang/ti_et.orth:
1811 * fc-lang/zh_cn.orth:
1812 * fc-lang/zh_hk.orth:
1813 * fc-lang/zh_mo.orth:
1814 * fc-lang/zh_sg.orth:
1815 * fc-lang/zh_tw.orth:
1817 * fc-list/Makefile.am:
1818 * fc-list/fc-list.c:
1819 * fc-match/Makefile.am:
1820 * fc-match/fc-match.1:
1821 * fc-match/fc-match.c:
1822 * fontconfig/fcfreetype.h:
1823 * fontconfig/fcprivate.h:
1824 * fontconfig/fontconfig.h:
1845 Change files from ISO-Latin-1 to UTF-8
1847 2004-12-04 Keith Packard <keithp@keithp.com>
1850 Update links to new freedesktop.org locations
1852 Add uninstall-local to get rid of fonts.conf and local.conf if they
1853 match the distributed versions. Fixes 'make distcheck'
1855 2004-12-04 Keith Packard <keithp@keithp.com>
1859 * fontconfig/fontconfig.h:
1860 Updates for version 2.2.97
1862 2004-12-04 Owen Taylor <otaylor@redhat.com>
1864 reviewed by: Keith Packard <keithp@keithp.com>
1866 * fc-cache/fc-cache.c: (main):
1867 Sleep for two seconds before exiting to make sure timestamps
1868 for future changes have distinct mod times in the file system.
1871 Add Punjabi orthography. Bug #1671.
1873 2004-12-04 Keith Packard <keithp@keithp.com>
1876 Just remove the FC_FONTDATE -- it has locale issues and
1877 annoys redhat multi-arch installs. Now that all X fonts are
1878 included without prejudice, the chances of the date being at
1879 all interesting are rather limited. Bug #505.
1881 Add copyright and license
1883 2004-12-04 Keith Packard <keithp@keithp.com>
1886 Change default set of fonts to include all of
1887 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1888 * doc/fontconfig-user.sgml:
1889 Document new <include>directory-name</include> semantics
1891 add <include ignore_missing="yes">conf.d</include>
1893 Add selectfont to ignore bitmap fonts, add comment for
1894 selectfont which accepts bitmap fonts.
1897 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1898 Allow <include> configuration elements to reference directories.
1899 Parse and load all files of the form [0-9]* in sorted order.
1901 2004-12-04 Keith Packard <keithp@keithp.com>
1904 Report command line for $srcdir/configure accurately.
1907 2004-12-04 Keith Packard <keithp@keithp.com>
1909 * src/fcfreetype.c: (FcFreeTypeQuery):
1910 Check for non-empty face->family_name and face->style_name
1911 before using those for the font. Empty names match everything.
1914 2004-12-04 Keith Packard <keithp@keithp.com>
1917 * fontconfig/fontconfig.h:
1918 * src/fcfreetype.c: (FcFreeTypeQuery):
1920 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1921 available. This provides font file format information (BDF, Type 1,
1922 PCF, TrueType) for each font. Closes #109.
1924 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1926 reviewed by: Keith Packard <keithp@keithp.com>
1928 * doc/fontconfig-user.sgml:
1931 * fontconfig/fontconfig.h:
1932 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1933 (GetScriptTags), (FcFontCapabilities):
1935 Add detection for font capabilities (bug #105)
1937 2004-12-04 Keith Packard <keithp@keithp.com>
1940 Move existing fonts.conf to fonts.conf.bak
1943 Add detection of iconv
1945 * doc/fcpattern.fncs:
1946 * doc/fontconfig-devel.sgml:
1947 * doc/fontconfig-user.sgml:
1949 Document new selectfont elements
1952 Switch to UTF-8 in comment
1954 * fontconfig/fontconfig.h:
1956 Add fullname, and family/style/fullname language entries
1958 * src/fccache.c: (FcCacheFontSetAdd):
1959 * src/fcdir.c: (FcFileScanConfig):
1960 Respect selectfont/*/glob
1963 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1964 (FcConfigCompareValue), (FcConfigPatternsAdd),
1965 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1966 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1967 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1968 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1969 Add support for selectfont
1971 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1972 (FcStringInPatternElement), (FcFreeTypeQuery):
1973 Add multi-lingual family/style/fullname support
1975 * src/fclist.c: (FcListPatternMatchAny):
1976 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1978 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1979 (FcObjectStaticName):
1980 Add new FcPatternRemove/FcPatternAppend.
1981 FcObjectStaticName stores computed pattern element names which
1982 are required to be static.
1984 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1989 Remove spurious / after $(DESTDIR)
1991 2004-06-30 Keith Packard <keithp@keithp.com>
1995 * fontconfig/fontconfig.h:
1998 2004-06-30 Keith Packard <keithp@keithp.com>
2000 Provided by: Lubos Lunak <l.lunak@suse.cz>
2002 * src/fccfg.c: (FcConfigUptoDate):
2003 However FcConfigUptoDate() doesn't seem to work. See the attached
2004 patch. First there's an obvious misplaced parenthesis making it
2005 return always false, and second, even this call fails to detect font
2006 changes (e.g. adding a new font to
2007 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2008 well. The problem seems to be triggered by my fonts.conf specifying
2009 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2010 doesn't include subdirs, unlike config->fontDirs.
2012 2004-06-03 Keith Packard <keithp@keithp.com>
2014 * fontconfig/fontconfig.h:
2015 Remove comma at end of FcResult enum definition.
2017 2004-05-29 Keith Packard <keithp@keithp.com>
2020 Add steps to md5sum release
2022 2004-05-29 Keith Packard <keithp@keithp.com>
2026 * fontconfig/fontconfig.h:
2029 2004-05-29 Keith Packard <keithp@keithp.com>
2031 * fontconfig/fontconfig.h:
2032 * src/fcmatch.c: (FcFontSetMatch):
2033 Add FcResultOutOfMemory to provide an accurate error when
2034 FcFontSetMatch fails in this way
2037 Make #warning about lacking various FreeType features indicate
2038 which version those features appeared so users know how to
2039 fix the problem (Thanks to Anton Tropashko)
2041 2004-05-05 Keith Packard <keithp@keithp.com>
2043 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2044 Replace MIN/MAX/ABS macros which happen to have come
2045 from FreeType with fontconfig-specific ones (FC_*)
2047 2004-04-23 Keith Packard <keithp@keithp.com>
2050 Extend release preparation instructions to include
2051 notification and distribution steps
2053 2004-04-23 Keith Packard <keithp@keithp.com>
2057 * fontconfig/fontconfig.h:
2058 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2060 2004-04-23 Keith Packard <keithp@keithp.com>
2063 Ignore a few more autotool files
2065 2004-04-14 Keith Packard <keithp@keithp.com>
2068 Add instructions for doing a release
2070 * fontconfig.spec.in:
2071 clean up .spec file; perhaps this will be useful to somebody...
2075 * fontconfig/fontconfig.h:
2078 * fc-lang/fc-lang.c:
2079 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2081 * fc-glyphname/Makefile.am:
2082 * fc-lang/Makefile.am:
2083 * fc-list/Makefile.am:
2084 * fc-match/Makefile.am:
2086 Add WARN_CFLAGS to pass -W flags for GCC systems
2088 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2089 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2090 Change various char types around to match across
2092 Fixed bug in using available_sizes[i].height which
2093 is in pixels, not 64ths of a pixel.
2095 2004-03-06 Keith Packard <keithp@keithp.com>
2097 * src/fcfreetype.c: (FcFreeTypeQuery):
2098 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2099 matches looking for explicit values prefer exact matches
2101 2004-03-02 Keith Packard <keithp@keithp.com>
2103 Supplied by: mfabian@suse.de (Mike FABIAN)
2105 * src/fcfreetype.c: (FcFreeTypeQuery):
2106 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2107 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2109 2004-02-21 Manish Singh <yosh@gimp.org>
2111 * fc-glyphname/fc-glyphname.c: (main):
2112 Cast strlen to int for printf, so we're 64-bit clean.
2114 2004-02-11 Keith Packard <keithp@keithp.com>
2117 * src/fcfreetype.c: (FcGetPixelSize):
2118 Ok, so I messed up the test for y_ppem. Let's see if I
2119 got it right this time.
2121 2004-02-10 Keith Packard <keithp@keithp.com>
2124 * src/fcfreetype.c: (FcGetPixelSize):
2125 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2126 FT_Bitmap_Size record. Add a configure.in test for this
2127 and change the code accordingly (using height instead).
2129 2004-02-06 Keith Packard <keithp@keithp.com>
2132 Add Low Saxon orthography
2133 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2135 * src/fccfg.c: (FcConfigNewestFile):
2136 Oops. Left 'newest.set' unset, which would miscompute
2139 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2140 (FcFreeTypeCheckGlyph):
2141 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2142 font properties (which report the wrong value in current FreeType)
2144 Don't attempt to check for empty glyphs in non-scalable fonts; they
2147 2004-02-01 Tor Lillqvist <tml@iki.fi>
2149 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2150 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2151 cache if config->cache is NULL, which happens if FcConfigHome() is
2152 NULL. Guard against that by using the temp folder in that case.
2154 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2156 * fc-lang/az_ir.orth:
2157 * fc-lang/ku_ir.orth:
2158 * fc-lang/ps_af.orth:
2159 * fc-lang/ps_pk.orth:
2160 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2161 (Afghan and Pakistani).
2163 Updated Urdu orthography with real data.
2165 2003-12-11 Carl Worth <cworth@east.isi.edu>
2167 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2170 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2172 (all-local): Remove excessive whitespace.
2174 * autogen.sh: Add 'set -e' to abort when any program fails,
2175 (avoids printing of 'now type make' after configure aborts).
2177 2003-11-17 Eric Christopherson <rakko@charter.net>
2179 reviewed by: Keith Packard <keithp@keithp.com>
2182 * fontconfig/fcfreetype.h:
2184 Switch to FreeType 2.1.7 style includes. Bug #150.
2186 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2188 * fc-list/fc-list.sgml: Add some example usages.
2190 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2193 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2196 2003-10-27 Keith Packard <keith@keithp.com>
2199 * fontconfig/fontconfig.h:
2200 Update to version 2.2.92
2202 2003-10-27 Keith Packard <keithp@keithp.com>
2207 * fc-cache/Makefile.am:
2208 * fc-glyphname/Makefile.am:
2209 * fc-lang/Makefile.am:
2210 * fc-list/Makefile.am:
2211 * fc-match/Makefile.am:
2214 Yet more cleanups to finish getting 'make distcheck' working
2215 This has been tested to ensure that it even works from a _build
2218 2003-10-26 Keith Packard <keithp@keithp.com>
2222 * fc-cache/Makefile.am:
2223 * fc-glyphname/Makefile.am:
2224 * fc-lang/Makefile.am:
2225 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2226 * fc-list/Makefile.am:
2227 * fc-match/Makefile.am:
2228 Attempts to fix 'make distcheck' work. Things are
2229 progressing pretty well, but there are still failures
2230 long into the process dealing with docs (as always).
2232 The big changes here are mostly to make $(srcdir) != "."
2233 work correctly, fixing the docbook related sections and
2234 fc-lang were particularily tricky. Docbook refuses to load
2235 system entities from anywhere other than where the original .sgml
2236 file was located, so no luck looking in "." for the
2237 configure-generated version.sgml and confdir.sgml files.
2239 fc-lang needed help finding .orth files; added a -d option
2240 to set the directory as the least evil of many options.
2242 Now to go use a faster machine and try and wring out the last
2245 2003-10-26 Keith Packard <keithp@keithp.com>
2249 2003-10-26 Keith Packard <keithp@keithp.com>
2252 Include confdir.sgml.in in EXTRA_DIST
2254 2003-10-09 Josselin Mouette <joss@debian.org>
2256 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2257 * fc-list/fc-list.sgml fc-list/Makefile.am:
2258 Replace fc-cache and fc-list manpages with more detailed, SGML
2261 2003-09-23 Owen Taylor <otaylor@redhat.com>
2263 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2264 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2265 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2268 2003-09-23 Owen Taylor <otaylor@redhat.com>
2270 * fc-lang/ka.orth: Remove Georgian capitals, they
2271 aren't used for normal writing. (Bug #116)
2273 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2275 * doc/fontconfig-devel.sgml:
2276 * doc/fontconfig-user.sgml:
2277 * fontconfig/fontconfig.h:
2279 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2280 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2282 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2283 monospace and dual-width fonts, allow roughly a 3% variance in the
2286 2003-08-31 Manish Singh <yosh@gimp.org>
2288 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2291 2003-08-15 Carl Worth <cworth@isi.edu>
2293 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2294 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2296 * src/fcpat.c (FcValueListEntDestroy): New function to support
2297 FcFini memory cleanup. Some statistics are not kept in
2299 (FcValueListFreeze): Move hashTable outside this function so it
2300 can be accessed by FcValueListThawAll.
2301 (FcValueListThawAll): New function complements FcValueListFreeze.
2302 (FcPatternBaseFreeze): Move hashTable outside this function so it
2303 can be accessed by FcPatternBaseThawAll.
2304 (FcPatternBaseThawAll): New function complements
2305 FcPatternBaseFreeze.
2306 (FcPatternThawAll): New function complements FcPatternFreeze.
2308 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2310 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2311 allocated FcCharLeafEnt "blocks" so they can be freed later.
2312 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2313 can be accessed by FcCharSetThawAllLeaf.
2314 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2315 (FcCharSetFreezeBase): Move hashTable outside this function so it
2316 can be accessed by FcCharSetThawAll.
2317 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2319 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2320 (FcConfigDestroy): Fic leak of FcBlanks.
2322 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2323 (main): Add call to FcFini when finished.
2325 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2326 static. Add prototypes.
2328 * doc/fcinit.fncs: Add documentation for FcFini function.
2330 * doc/edit-sgml.c: Mark several local functions as static. Add
2333 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2335 2003-06-15 Tor Lillqvist <tml@iki.fi>
2337 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2338 before comparing (needed on Windows).
2340 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2342 2003-06-13 Tor Lillqvist <tml@iki.fi>
2344 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2347 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2348 WINDOWSFONTDIR token.
2350 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2351 end, not to confuse libtool, which expects the EXPORTS line to be
2352 the first. Add FcConfigEnableHome.
2354 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2355 built as a DLL on Win32.
2357 2003-06-09 Keith Packard <keithp@keithp.com>
2359 * Tag version 2.2.90
2361 2003-06-09 Keith Packard <keithp@keithp.com>
2363 * Optimization in FcLangSetIndex was broken, occasionally
2364 returning a pointer to the wrong location on miss
2366 * Add fc-match to test font matching from the command line.
2368 2003-05-31 Keith Packard <keithp@keithp.com>
2370 * (Bug 85) add support for culmus fonts
2371 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2372 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2374 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2376 * Fix "contains" op for strings and langsets.
2378 2003-05-17 Keith Packard <keithp@keithp.com>
2380 * Fix build error with BDF prop local. Free langset after query
2382 2003-05-14 Keith Packard <keithp@keithp.com>
2384 * Extract spacing from XLFD atom
2386 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2388 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2389 disappeared in 1.30.
2391 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2393 2003-05-12 Keith Packard <keithp@keithp.com>
2395 * Use FcIsWidth to share code
2397 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2398 misclassifying some Han fonts as monospaced.
2400 2003-05-07 Keith Packard <keithp@keithp.com>
2402 * Add filename-based accept/reject to ammend available fonts.
2404 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2405 older FreeType releases.
2407 2003-05-06 Keith Packard <keithp@keithp.com>
2409 * Remove 0b82 and Tamil numbers from tamil
2410 orthography (Jungshik Shin <jshin@mailaps.org>)
2412 2003-05-04 Keith Packard <keithp@keithp.com>
2414 + Map glyph names in fonts with adobe custom encoding to unicode
2416 2003-05-02 Keith Packard <keithp@keithp.com>
2418 * Add FC_WEIGHT_BOOK as weight 75
2420 2003-04-30 Keith Packard <keithp@keithp.com>
2422 * Typo in bitstream foundry name
2424 2003-04-24 Keith Packard <keithp@keithp.com>
2426 * Eliminate italic_angle check for PS fonts
2428 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2430 * Getting closer to fixing /etc/fonts hard-coding.
2432 2003-04-22 Keith Packard <keithp@keithp.com>
2434 * Update autogen.sh to work with newer automake versions
2435 * Handle pattern elements moving during multiple edits
2437 2003-04-23 James Henstridge <james@daa.com.au>
2439 * doc/fontconfig-devel.sgml: close the <para> element.
2441 * doc/fcpattern.fncs: close the <para> element.
2443 * doc/func.sgml: close the <refsynopsisdiv> element.
2445 2003-04-22 Keith Packard <keithp@keithp.com
2447 * Update autogen.sh to work with newer automake versions
2448 * Handle pattern elements moving during multiple edits
2450 2003-04-17 Colin Walters <walters@debian.org>
2452 + Remove some unused variables, and initialize some other ones so
2453 gcc doesn't warn us.
2455 2003-04-16 Keith Packard <keithp@keithp.com>
2457 + tag version 2.1.94
2459 2003-04-16 Keith Packard <keithp@keithp.com>
2461 + add BDF property fetching support for foundry
2462 (from Juliusz Chroboczek)
2463 + add BDF property fetching support for width
2465 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2467 + Implemented foundry generation for Type 1 and TrueType
2469 2003-04-11 Gerard Escalante <g2@magestudios.net>
2471 + Retrieve information from Type1 FontInfo dictionaries
2473 2003-04-07 Colin Walters <walters@verbum.org>
2475 + src/Makefile.am: Fix dummy makefile target names when
2476 MS_LIB_AVAILABLE isn't set.
2478 2003-03-22 Tor Lillqvist <tml@iki.fi>
2480 Changes for Windows:
2482 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2484 + We don't want to hardcode the fonts.conf file location in the
2485 DLL, so we look up the DLL location at run-time in a DllMain()
2486 function. The fonts.conf location is deduced from that.
2488 + The colon can't be used as path separator on Windows,
2489 semicolon is used instead. File path components can be separated
2490 with either slash or backslash. Absolute paths can also begin
2491 with a drive letter.
2493 + Add internal function FcStrLastSlash that strrchr's the last
2494 slash, or backslash on Windows.
2496 + There is no link() on Windows. For atomicity checks, mkdir a
2497 lock directory instead.
2499 + In addition to HOME, also look for USERPROFILE.
2501 + Recognize the special font directory token WINDOWSFONTDIR, to
2502 use the system's font directory.
2504 + Remove the fontconfig-def.cpp that was obsolete. Add
2505 fontconfig.def(.in), without internal functions.
2507 + Add a fontconfig-zip(.in) script, used to build a binary
2510 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2511 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2512 to main package and man3/* to devel package
2514 + Added missing defattr(-, root, root) to main RPM package
2516 + Added HTML and text development documentation to -devel subpackage
2518 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2519 + Added back the configure macro options --disable-docs, otherwise
2520 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2521 version number) unconditionally, causing RPM to fail the build due
2522 to _unpackaged_files_terminate_build. We pick up the pregenerated
2523 docs with %doc already.
2525 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2526 + Removed commented out rpm macro define at top of spec file,
2527 replacing it with a simple explanation, since rpm macros are
2528 expanded by rpm even in comments.
2530 + Changed /usr/bin to _bindir in BuildRequires lines
2532 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2534 + Reorganized file manifest lists
2536 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2538 + fontconfig.spec.in: Improvements from Red Hat spec file.
2540 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2542 + docs/*.sgml: SGML fixes.
2544 Sat Mar 1 17:28:53 PST 2003 keithp
2545 + Ok, so the ChangeLog is a bit out of date
2547 + Lots of bugs fixed; most are in bugzilla, the
2548 biggest problems were in cache management where
2549 Owen discovered the library would lose badly when
2550 combining fonts-cache and ~/.fonts-cache data
2552 + Converted from autoconf to automake. This after
2553 getting patches accepted into libtool to allow
2554 the '-version-number' argument which lets
2555 packages set version numbers explicitly rather
2556 than the roundabout libtool way
2558 + Converted documentation to SGML using the docbook
2559 DTD. Now .txt and .html documents are installed
2560 in /usr/share/doc/fontconfig and there's no
2561 man page. Perhaps a man version can be written
2564 Sat Aug 31 15:21:22 PDT 2002 keithp
2565 + Xrender and Xft had several bugs related to
2566 rendering manually placed or poly-face text
2568 + Added more complete memory tracing in fontconfig
2569 Checked with (patched) mozilla and found no leaks
2571 + Updated Latin orthographies by comparing those from
2572 evertype.com with those from eki.ee. Tried to make
2573 sensible choices, including chars that occured in both
2574 and leaving some optional chars out that occured only
2577 Mon Aug 26 16:33:04 PDT 2002 keithp
2578 + Owen discovered that FcLangSetHasLang wasn't actually
2579 checking the language set.
2581 Mon Aug 26 13:37:23 PDT 2002 keithp
2582 + Append a version number to cache filenames
2584 Thu Aug 22 11:36:18 PDT 2002 keithp
2586 + Add "contains" and "not_contains" operators and elements to
2589 + Changed semantics of eq operator for LangSets to check for
2590 FcLangEqual so that any match will do
2592 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2593 of FcValueEqual to check for identical values when inserting into
2594 the results. This broke when the above semantic change was made,
2595 now it uses FcValueEqual which is "more correct" in any case.
2597 Thu Aug 22 00:32:29 PDT 2002 keithp
2599 + Reimplement FC_LANG as new datatype. Lists of strings
2600 was consuming over a megabyte of memory for 401 fonts.
2602 + Freeze patterns loaded from cache files. This shares
2603 common value lists and common patterns which saves
2604 considerable memory.
2606 + Change the denotation of 'constant' charsets to use special
2607 ref value instead of separate boolean.
2609 + Clean up leak tracing stuff, found several unannoted alloc/free
2612 Tue Aug 20 16:17:37 PDT 2002 keithp
2614 + Fix memory leak when parsing matrices from XML
2616 Mon Aug 19 11:57:27 PDT 2002 keithp
2618 + Fix autoconf files to pass FONTCONFIG_PATH on
2619 compile line so that ${prefix} gets substituted
2622 + Use getc_unlocked/putc_unlocked on systems that
2623 provide them to avoid damage done to stdio by posix
2625 + Eliminate FC_PATTERN and FcTypePattern in favor of
2626 an extended api for FcConfigSubstitute which takes
2627 both the font and the pattern.
2629 + Add 'sans serif' alias for 'sans-serif' as some apps
2630 can't handle hyphens in family names
2632 + Eliminate pretense of support for libxml2
2634 + Comment origins of Han orthographies
2636 Tue Jul 30 18:37:09 PDT 2002 keithp
2638 + Add binding property to edit element so that strong
2639 binding values may be inserted by the config file.
2640 The default remains weak.
2642 Sun 28 Jul 04:16:55 PDT 2002 keithp
2644 + Tagged release candidate 1 in the CVS tree and
2645 placed fcpackage.rc1.tar.gz for distribution
2647 Thu Aug 1 08:55:08 PDT 2002 keithp
2649 + Fixed autoconf builds to always specify install
2650 target files (for BSD). Also fixed to
2651 define FONTCONFIG_PATH in config.h so that
2652 nonstandard installs will actually work.