1 2006-02-06 Patrick Lam <plam@mit.edu>
2 Takashi Iwai <tiwai@suse.de>
4 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
6 Don't loop infinitely on recursive symlinks (client-side).
8 2006-02-06 Takashi Iwai <tiwai@suse.de>
10 * fc-cache/fc-cache.c (scanDirs, main):
12 Don't loop infinitely on recursive symlinks.
14 2006-02-06 Takashi Iwai <tiwai@suse.de>
16 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
17 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
18 FcGlobalCacheSave, FcCacheReadDirs):
21 Skip subdirs when skipping over stale bits of global cache.
22 Introduce state machine into FcGlobalCacheDir to avoid
23 doing inappropriate operations on global dir entries, e.g.
24 writing out an out-of-date cache entry.
26 2006-02-06 Takashi Iwai <tiwai@suse.de>
28 * src/fcdir.c (FcFileScanConfig):
30 Hoist FcFileIsDir check out of FcFileScanConfig loop.
32 2006-02-06 Takashi Iwai <tiwai@suse.de>
35 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
36 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
38 Don't rescan when trying to normalize a non-declared font dir.
39 Don't add font dirs multiple times (even if they're aliased).
41 2006-02-06 Dirk Mueller <dmueller@suse.de>
44 * src/fcfs.c (FcFontSetUnserialize):
46 Explain apples/oranges comparison and fix compilation error.
48 2006-02-06 Dirk Mueller <dmueller@suse.de>
51 * src/fcfs.c (FcFontSetUnserialize):
53 Insert check for integer overflow in # of fonts.
55 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
59 * fc-cache/Makefile.am:
61 * fc-list/Makefile.am:
63 Make 'make distcheck' work with automake 1.6.3.
65 2006-02-03 Takashi IWAI <tiwai@suse.de>
68 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
71 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
72 FcDirCacheConsume, FcDirCacheWrite)
73 * src/fcxml.c (FcConfigMessage):
75 Check I/O call return values and eliminate unused variable
78 2006-02-03 Takashi Iwai <tiwai@suse.de>
81 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
85 2006-02-03 Dirk Mueller <dmueller@suse.de>
88 * src/fcfs.c (FcFontSetUnserialize):
90 Gracefully handle the case where a cache asserts that it
91 has a negative number of fonts, causing overflow.
93 2006-02-03 Patrick Lam <plam@mit.edu>
94 * src/fccache.c (FcDirCacheUnlink):
96 Fix double free in error case.
98 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
99 Stephan Kulow <coolo@suse.de>
102 * fc-cache/Makefile.am:
104 Replace 'stamp' target with mkinstalldirs.
106 2006-01-31 Mike Fabian <mfabian@suse.de>
109 * src/fccache.c (FcGlobalCacheLoad):
111 Toast broken global cache files.
113 2006-01-30 Patrick Lam <plam@mit.edu>
114 * src/fccache.c (FcGlobalCacheReadDir):
116 Actually use the directories that I added to the global cache.
119 2006-01-30 Mike Fabian <mfabian@suse.de>
122 * fc-cache/fc-cache.c (scanDirs):
124 Don't stop scanning if a directory in fonts.conf doesn't
125 exist, because subsequent directories might exist.
127 2006-01-30 Patrick Lam <plam@mit.edu>
128 * src/fccache.c (FcGlobalCacheLoad):
130 Make global cache work again after putting dir names into global
131 cache (I misplaced the recording of a file offset).
133 2006-01-30 Patrick Lam <plam@mit.edu>
134 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
136 Update fc-cat to handle subdir lists in global cache file.
138 * src/fccache.c (FcGlobalCacheLoad):
140 Another FcCacheReadString return value check.
142 2006-01-30 Mike Fabian <mfabian@suse.de>
145 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
146 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
148 Make fccache more resilient to broken cache files by checking
149 return value of FcCacheReadString all the time.
151 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
154 * fc-match/fc-match.1:
155 * fc-lang/fc-lang.man:
157 Remove references to dead fontconfig(3) manpages in
158 other fontconfig manpages.
160 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
163 * doc/fcpattern.fncs:
165 Fix world's tiniest typo in code example.
167 2006-01-29 Mike Fabian <mfabian@suse.de>
170 * src/fccache.c (FcGlobalCacheReadDir):
172 Fix global cache reads of subdirectories.
174 2006-01-29 Patrick Lam <plam@mit.edu>
176 Add documentation for FcConfigNormalizeFontDir.
178 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
179 FcGlobalCacheUpdate, FcGlobalCacheSave):
180 * src/fcdir.c (FcDirScanConfig):
183 Write directory information to global caches to fix make check
184 (reported by Ronny V. Vindenes). This changes the global cache
187 2006-01-27 Patrick Lam <plam@mit.edu>
188 * fc-cache/fc-cache.c (scanDirs):
189 * fontconfig/fontconfig.h:
191 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
193 Move FcConfigNormalizeFontDir call so that it doesn't result in
194 infinite recursion (reported by Ronny V. Vindenes).
196 2006-01-26 Patrick Lam <plam@mit.edu>
197 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
198 * src/fccfg.c (FcConfigNormalizeFontDir):
200 Add a couple of missing normalizations to make fc-cache work
201 right; only scan subdirectories once.
203 2006-01-26 Mike Fabian <mfabian@suse.de>
206 * src/fcacache.c (FcGlobalCacheReadDir):
208 Don't crash on non-existant directories in global cache.
210 2006-01-26 Patirck Lam <plam@mit.edu>
211 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
212 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
213 * src/fcdir.c (FcDirScanConfig):
214 * src/fcxml.c (FcEndElement):
216 Stop trampling the directory name when writing out caches.
217 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
218 subdirs when necessary. Don't scan directories that can't be
221 2006-01-25 Patrick Lam <plam@mit.edu>
222 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
223 * src/fccfg.c (FcConfigEvaluate):
224 * src/fcfreetype.c (FcPatternAddWithBinding):
226 Fix additional memory leaks reported by Ronny V. Vindenes: don't
227 invoke FcValueSave on hashed static strings in
228 FcPatternAddWithBinding.
230 Add another st_dev check in FcDirCacheOpen.
232 2006-01-24 James Su <james.su@gmail.com>
235 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
236 * fc-lang/zh_hk.orth:
238 Treat zh-hk fonts differently from zh-tw fonts. This patch may
239 cause fontconfig to treat A-X fonts differently from A-Y fonts;
240 please mail the fontconfig list if this causes any problems.
242 2006-01-24 Patrick Lam <plam@mit.edu>
243 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
244 * src/fcfreetype.c (FcFreeTypeQuery):
246 Fix memory leaks reported by Ronny V. Vindenes.
248 2006-01-19 Andreas Schwab <schwab@suse.de>
251 * src/fcpat.c (FcStrNeededBytes):
253 Fix for unaligned memory accesses.
255 2006-01-18 Mike Fabian <mfabian@suse.de>
258 * src/fcdir.c (FcDirScanConfig):
260 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
261 calls to avoid crashes.
263 2006-01-14 Patrick Lam <plam@mit.edu>
264 * src/fccache.c (FcDirCacheConsume):
266 Fix segfault when consuming zero-length caches in fc-cat
267 (which has no config, so FcConfigAddFontDir shouldn't be called.)
269 2006-01-14 Patrick Lam <plam@mit.edu>
270 * fc-cache/fc-cache.c (scanDirs):
271 * fontconfig/fontconfig.h:
272 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
273 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
274 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
275 * src/fcdir.c (FcDirScanConfig):
278 Compare device numbers as well as inodes.
279 Always normalize directory names before comparing them.
281 2006-01-11 Mike Fabian <mfabian@suse.de>
284 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
286 Allocate extra space for appended '/' in directory name.
288 2006-01-10 Patrick Lam <plam@mit.edu>
289 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
290 FcDirCacheValid, FcDirCacheHasCurrentArch,
291 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
292 * fc-cache/fc-cache.c (main):
294 Explicitly add font dirs to config.fontDirs even if they're empty.
295 Set current config in fc-cache.c.
296 Fix treatment of cache directory as read from cache file; don't
297 use string equality to determine if we have the right file,
300 2006-01-09 Patrick Lam <plam@mit.edu>
301 * fc-cache/fc-cache.c (scanDirs):
302 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
303 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
304 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
305 * src/fccfg.c (FcConfigNormalizeFontDir):
306 * src/fcdir.c (FcDirScanConfig):
309 Normalize font dirs by using the form, as given in fonts.conf, and
310 recorded in FcConfig's fontDirs string set, as canonical.
312 Actually update config.fontDirs as font directories are scanned.
314 2006-01-08 James Su <james.su@gmail.com>
315 * src/fcmatch.c (FcFontSetMatch):
317 Fix matching bug when multiple elements match; don't use
318 the sum of all scores, but the best score.
320 Also more perf opts, e.g. evaluate best over all font sets
321 rather than on a per-set basis (and other changes).
323 2006-01-08 Patrick Lam <plam@mit.edu>
324 * src/fccache.c (FcDirCacheConsume):
326 Properly skip past dir caches that contain zero fonts (as occurs
327 in global caches.) Reported by Mike Fabian.
329 2006-01-06 Patrick Lam <plam@mit.edu>
330 * src/fcdbg.c (FcPatternPrint):
332 Print out full pathname in fc-match -v as well. Reported by
335 2006-01-06 Mike Fabian <mfabian@suse.de>
338 * src/fcname.c (FcNameParse):
340 Fix bug where fc-match crashes when given __DUMMY__ property to
343 (I added the __DUMMY__ string to enable callers of
344 FcObjectToPtrLookup to distinguish an error return from a
345 successful return. -PL)
347 2006-01-05 Patrick Lam <plam@mit.edu>
350 Add self to AUTHORS list.
352 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
353 FcCacheFileRead, FcCachePrintSet, main):
354 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
355 FcGlobalCacheSave, FcCacheNextOffset,
356 FcDirCacheHasCurrentArch, FcDirCacheRead,
357 FcDirCacheConsume, FcDirCacheWrite):
359 * src/fcpat.c (comment):
361 Minor change to global cache file format to fix fc-cat bug
362 reported by Frederic Crozat, and buglet with not globally caching
363 directories with zero fonts cached.
365 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
368 * src/fccfg.c (FcConfigEvaluate):
370 Fix double-free which occurs because FcValueCanonicalize doesn't
371 create an extra copy of the returned value, it only canonicalizes
374 2006-01-02 Patrick Lam <plam@mit.edu>
375 * doc/fontconfig-user.sgml:
377 Fix version of .cache file (currently 1 -> currently 2). Reported
380 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
383 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
385 Shut up GCC warnings on amd.
387 2005-12-20 Patrick Lam <plam@mit.edu>
391 * fontconfig/fontconfig.h:
393 Bump version to 2.3.93.
395 2005-12-20 Patrick Lam <plam@mit.edu>
396 * src/fccharset.c (FcLangCharSetPopulate):
397 * src/fcint.h (FcCacheBankToIndex):
399 Avoid check on _fcBankId nullness and fix case where it used to
402 2005-12-20 Patrick Lam <plam@mit.edu>
403 * src/fcxml.c (FcConfigParseAndLoad):
405 Use open instead of fopen (requested by Phil Race for Sun).
407 2005-12-20 Patrick Lam <plam@mit.edu>
408 * src/fccache.c (FcDirCacheWrite);
409 * fc-cache/Makefile.am:
411 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
414 2005-12-20 Patrick Lam <plam@mit.edu>
415 * src/fcfreetype.c (FcFreeTypeQuery):
417 Restore code to skip over PCF fonts that have no encoded
419 (We guess that a font is PCF by presence of the PIXEL_SIZE
422 2005-12-12 Patrick Lam <plam@mit.edu>
423 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
425 Read and write the original location as a fallback for the
426 hashed cache file locations. This is mostly for users to be
427 able to have per-directory cache files.
429 2005-12-12 Patrick Lam <plam@mit.edu>
430 * fc-cache/fc-cache.c (scanDirs):
431 * fc-cache/Makefile.am:
432 * src/fccache.c (FcDirCacheHashName):
434 Improve error message when fc-cache can't write the cache. Add
435 missing slash. Reported by Behdad. Incorporate Behdad's patch to
436 create /var/cache/fontconfig when appropriate.
438 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
441 * src/fcxml.c (FcConfigGetAttribute):
443 Fix crash reported by Frederic Crozat when using libxml2.
445 2005-12-09 Patrick Lam <plam@mit.edu>
448 * fc-cache/Makefile.am:
449 * fc-cat/Makefile.am:
451 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
452 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
453 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
454 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
455 FcDirCacheHasCurrentArch, FcDirCacheHashName,
456 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
458 Migrate cache files from fonts directories to
459 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
460 but requires that all caches get rebuilt.
462 Also, autogen.sh now needs the additional parameter
463 --localstatedir=/var.
465 2005-12-07 Patrick Lam <plam@mit.edu>
466 * src/fcpat.c (FcPatternAddString):
468 Because we've changed FcPatternAddString to use FcStrStaticName
469 and not FcValueSave, explicitly handle the case of a null string.
471 2005-12-06 Patrick Lam <plam@mit.edu>
472 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
476 2005-12-05 Patrick Lam <plam@mit.edu>
477 * src/fcname.c (FcNameGetObjectType):
479 Don't assign types to user object names.
481 2005-12-05 Patrick Lam <plam@mit.edu>
482 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
484 Don't free strings that have been returned from FcStrStaticName.
486 2005-12-01 Patrick Lam <plam@mit.edu>
487 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
489 Add codepath for reading global cache files as well.
491 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
494 * conf.d/10-fonts.persian.conf:
495 * conf.d/Makefile.am:
497 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
499 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
502 * src/fcxml.c (FcConfigParseAndLoad):
504 Only add a config file to the set of config files once.
506 2005-11-29 Patrick Lam <plam@mit.edu>
507 * src/fcint.h (FcCacheBankToIndex);
509 Fix segfault by guarding array dereference.
511 2005-11-29 Dirk Mueller <dmueller@suse.de>
515 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
516 FcCacheBankToIndex, FcCacheBankToIndexMTF,
520 Refactor FcCacheBankToIndex into an inlineable part
521 (in fcint.h) which checks the front of the list and a
522 non-inlineable part which finds and moves the appropriate element
523 to the front of the list.
525 2005-11-29 Patrick Lam <plam@mit.edu>
526 * src/fccfg.c (FcConfigBuildFonts):
527 * src/fccache.c (FcCacheReadDirs):
529 Make the perf guys hate me a bit less: hoist the directory-name
530 FcConfigAcceptFont check for cached fonts up to directory cache
531 read time, rather than running it for each font.
533 2005-11-29 Patrick Lam <plam@mit.edu>
534 * src/fccfg.c (FcConfigBuildFonts):
536 * src/fcpat.c (FcPatternFindFullFname):
538 Don't make FcPatternFindFullFname available to fccfg, it's not
539 really safe. Instead go through FcPatternGetString (sorry,
540 perf guys.) Also, use globs for dirs as well.
542 2005-11-28 Patrick Lam <plam@mit.edu>
543 * src/fccfg.c (FcConfigBuildFonts):
547 2005-11-28 Patrick Lam <plam@mit.edu>
549 * src/fcpat.c (FcPatternFindFullFname):
550 * src/fccfg.c (FcConfigBuildFonts):
552 Fix problem dating back at least to 2.3.2 where globs weren't
553 being applied to patterns loaded from a cache.
555 2005-11-28 Patrick Lam <plam@mit.edu>
556 * doc/fontconfig-user.sgml:
558 Fix some obvious spelling mistakes.
560 2005-11-28 Dirk Mueller <dmueller@suse.com>
561 Stephan Kulow <coolo@suse.de>
564 * src/fcmatch.c (FcFontSetMatch):
566 Don't kill all fonts during match (oops!)
569 2005-11-25 Dirk Mueller <dmueller@suse.com>
570 Stephan Kulow <coolo@suse.de>
571 Michael Matz <matz@suse.de>
574 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
577 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
578 inline FcCompare into FcFontSetMatch and reorder the
579 loops, adding a boolean array which blocks patterns from future
580 consideration if they're known to not be best on some past
583 2005-11-26 Dirk Mueller <dmueller@suse.com>
586 * src/fcmatch.c (FcCompareValueList):
590 2005-11-25 Patrick Lam <plam@mit.edu>
591 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
593 Don't do random matching when bad objects are passed into
596 2005-11-25 Patrick Lam <plam@mit.edu>
598 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
599 FcPatternSerialize, FcPatternUnserialize,
600 FcValueListEnsureBank, FcValueListDistributeBytes,
601 FcValueListUnserialize):
603 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
604 _fcPatternElts, _fcValueLists for consistency.
606 2005-11-25 Dirk Mueller <dmueller@suse.com>
611 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
613 2005-11-25 Patrick Lam <plam@mit.edu>
615 * src/fccache.c (FcDirCacheConsume):
616 * src/fccharset.c (FcCharSetUnserialize):
617 * src/fcfs.c (FcFontSetUnserialize):
618 * src/fclang.c (FcLangSetUnserialize):
619 * src/fcname.c (FcObjectUnserialize):
620 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
621 FcPatternUnserialize):
623 Pass around FcCache *s to the Unserialize functions for extra
624 consistency (and less overhead, for what that's worth).
626 2005-11-24 Dirk Mueller <dmueller@suse.com>
630 * src/fcmatch.c (FcCompare*, FcFontSetSort):
631 * src/fcname.c (FcNameUnparseValue):
633 Inline the *PtrU functions to gain perf.
634 Remove unneeded params for the FcCompare* functions.
636 2005-11-24 Dirk Mueller <dmueller@suse.com>
639 * src/fcint.h, fontconfig/fontconfig.h:
641 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
643 * src/fcpat.c, src/fcint.h, src/fcname.c:
645 Check for type validity during FcPatternAddWithBinding, don't
646 verify type in FcFontMatch, don't call FcCanonicalize here
647 (which always does a deep copy).
649 2005-11-24 Dirk Mueller <dmueller@suse.com>
652 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
653 * src/fcpat.c (FcPatternAddWithBinding):
655 Make FcCompareString and FcCompareFamily less expensive.
656 Only add a value for FC_FAMILY if the proposed value is a string.
658 2005-11-24 Dirk Mueller <dmueller@suse.com>
661 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
662 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
663 * src/fcint.h (FcDebug):
665 Inline FcDebug invocations and only initialize once, in FcInit*.
666 Improve debug msg in FcPatternPrint.
668 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
671 * fontconfig/fontconfig.h:
674 Minor code warning cleanups.
676 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
679 * fc-match/fc-match.c (main):
681 Make getopt_long accept -s parameter to fc-match as well.
683 2005-11-21 Dirk Mueller <dmueller@suse.com>
686 * src/fcmatch.c (FcCompareValueList):
688 Manually perform inlining & partial redundancy elimination to
689 reduce calls to FcValueListPtrU.
691 2005-11-21 Dirk Mueller <dmueller@suse.com>
694 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
695 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
697 Only invoke strlen() when really necessary.
699 2005-11-19 Matthias Clasen <mclasen@redhat.com>
703 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
708 Get rid of the use of freetype internal headers in fcfreetype.c,
709 since those headers will go away with freetype 2.2. Replace with
710 public domain ftglue code from pango. Note that the patch removes
711 some extra error checking in FT_Get_BDF_Property() and comments
712 out the skipping of empty pcf fonts.
714 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
717 * fc-lang/fc-lang.c (main):
719 Further fix of patch from 2005-11-04: miscounted numbers count
720 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
721 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
723 Removed leafidx_count and numbers_count since they are the same
724 and replaced them with offset_count.
726 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
729 * fc-cat/fc-cat.c (main):
731 Don't crash when fc-cat invoked with no arguments.
733 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
736 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
738 Fix invalid read access caused by premature free and
739 GCC4 warnings in libxml2 codepath.
741 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
744 * src/fccfg.c (FcConfigValues):
746 List iteration not needed in FcConfigValues, since it's building
747 up the list itself; we can just strip FcVoid elements during
750 2005-11-17 Patrick Lam <plam@mit.edu>
751 * src/fccfg.c (FcConfigValues):
753 Fix crash on invalid constants in config files (forgot to update
754 a pointer upon list iteration.)
756 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
759 * src/fcxml.c (FcTypecheckExpr):
761 Complain about invalid constants in config files.
763 2005-11-17 Andreas Schwab <schwab@suse.de>
766 * src/fccache.c (FcGlobalCacheSave):
768 Don't add current_arch_start more than once.
770 2005-11-16 Patrick Lam <plam@mit.edu>
771 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
772 * src/fcfs.c (FcFontSetUnserialize):
773 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
774 * src/fcpat.c (FcStrUnserialize):
776 Fix ordering of ALIGN with respect to saving block_ptr; add
777 another ALIGN to fcfs.c.
779 2005-11-16 Patrick Lam <plam@mit.edu>
780 * src/fccache.c (FcDirCacheProduce)
782 Fix case where alignment bytes bumped up metadata->count
783 causing unwarranted failures to write cache files.
784 (Reported by Stephan Kulow).
786 2005-11-16 Patrick Lam <plam@mit.edu>
787 * src/fccache.c (FcDirCacheProduce):
788 * src/fccharset.c (FcCharSetDistributeBytes):
789 * src/fcfs.c (FcFontSetDistributeBytes):
791 * src/fclang.c (FcLangSetDistributeBytes):
792 * src/fcname.c (FcObjectDistributeBytes):
793 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
796 Add *NeededBytesAlign(), which overestimates the padding which is
797 later added by the new ALIGN macro. Fix alignment problems on
798 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
799 version by Andreas Schwab).
801 2005-11-16 Stephan Kulow <coolo@kde.org>
806 Use sysconf to determine proper PAGESIZE value; this
807 appears to be POSIX-compliant. (reported by Andreas Schwab)
809 2005-11-04 Patrick Lam <plam@mit.edu>
815 Fix bug 2878 (excessive relocations at startup for charsets,
816 reported by Ross Burton): fc-lang/fc-lang now creates the
817 static form of the langset, not the dynamic form, so that
818 the charsets should now be in .rodata.
820 2005-11-04 Patrick Lam <plam@mit.edu>
821 * src/fcdir.c (FcDirScanConfig):
823 Add test for validity of directory caches that
824 somehow got lost (reported by make distcheck).
826 2005-11-04 Patrick Lam <plam@mit.edu>
830 * fontconfig/fontconfig.h:
832 Bump version to 2.3.92.
834 2005-11-02 Patrick Lam <plam@mit.edu>
835 * src/fcpat.c (FcPatternDuplicate):
837 Fix argument ordering problem in call to FcPatternTransferFullFname.
839 2005-11-02 Patrick Lam <plam@mit.edu>
840 * src/fcfreetype.c (FcFreetypeQuery):
841 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
842 FcPatternTransferFullFname):
844 Fix warnings and embarrassing double-free error.
846 2005-11-02 Zhe Su <zsu@novell.com>
851 Change the rule for artificial emboldening in fonts.conf.in. This
852 enables the support for artificial emboldening included in cairo.
854 2005-11-02 Patrick Lam <plam@mit.edu>
855 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
857 Don't zero out full names for FC_REF_CONSTANT fonts;
858 also, duplicate full names when transferring, and free
859 full names when freeing the associated font.
860 Reported by Jinghua Luo.
862 2005-11-02 Patrick Lam <plam@mit.edu>
863 * fc-cache/fc-cache.c (scanDirs):
864 * src/fcpat.c (FcValueListSerialize):
866 Revert the previous patch and commit the correct patch:
867 I forgot a canonicalization in FcValueListSerialize, so
868 that it would choke on already-serialized input files. Duh!
870 2005-11-02 Patrick Lam <plam@mit.edu>
871 * fc-cache/fc-cache.c (scanDirs):
873 Forcibly rescan a directory before writing a fresh local
874 cache file for that directory, fixing the losing-fonts
875 problem reported by Mike Fabian and also apparently the
876 font cache file corruption.
878 2005-11-02 Patrick Lam <plam@mit.edu>
879 * src/fccache.c (FcGlobalCacheLoad):
881 Fix thinko: actually, the whole global cache is stale
882 if the global cache is older than the (newest) config file.
884 2005-11-02 Patrick Lam <plam@mit.edu>
885 * src/fccache.c (FcGlobalCacheLoad):
886 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
889 Declare the global cache of a directory's contents to be stale if
890 the directory is newer than the (newest) configuration file.
892 2005-10-31 Patrick Lam <plam@mit.edu>
894 * src/fclist.c (FcListAppend):
895 * src/fcmatch.c (FcFontRenderPrepare):
896 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
897 FcPatternFreeze, FcPatternBaseFreeze):
899 Copy the full pathname whenever duplicating an FcPattern; otherwise,
900 applications continue breaking.
902 2005-10-31 Patrick Lam <plam@mit.edu>
903 * fc-cat/fc-cat.c (FcCacheFileRead, main):
904 * src/fcfreetype.c (FcFreeTypeQuery):
906 Fix small memory error (tried to free argv); use basename and
907 dirname correctly (they can modify their arguments).
909 2005-10-31 Patrick Lam <plam@mit.edu>
917 Reinstate basename patch, but keep a hash table linking FcPatterns
918 to their fully-qualified font names for clients' benefit. Clients
919 only pay for the font names once they request the FC_FILE property
920 from an FcPattern, but the font name is malloc'd at that point (i.e.
921 not mmapped: that's impossible, since it may vary between machines.)
922 Clients do have to pay for a copy of the path name per cache file.
924 Note that FcPatternGetString now does some rewriting if you ask
925 for an FC_FILE, appending the pathname as appropriate.
927 2005-10-31 Patrick Lam <plam@mit.edu>
928 * src/fcfreetype.c (FcFreeTypeQuery):
930 Revert basename patch, which breaks fontconfig clients on my system.
932 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
935 * fontconfig/fonts.conf.in:
936 * fontconfig/fontconfig.h:
940 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
941 to load embedded bitmaps or not.
943 2005-10-25 Patrick Lam <plam@mit.edu>
944 * src/fcfreetype.c (FcFreeTypeQuery):
946 Only add basename to patterns' FC_FILE element, not any part of
949 2005-10-22 Patrick Lam <plam@mit.edu>
952 Add some more consts, fixing more GCC4 warnings.
954 2005-10-22 Zhe Su <zsu@novell.com>
957 Support localized font family and style names.
958 This has been reported to break old apps like xfd, but modern
959 (gtk+/qt/mozilla) apps work fine.
961 2005-10-21 Patrick Lam <plam@mit.edu>
962 * src/fccache.c (FcGlobalCacheLoad):
964 Destroy the global cache file if it's terminally broken. (reported by
967 2005-10-21 Patrick Lam <plam@mit.edu>
968 * fc-list/fc-list.c (main):
969 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
970 * fontconfig/fontconfig.h:
972 Prevent fc-list from escaping strings when printing them (reported by
975 2005-10-20 Marcus Meissner <meissner@suse.de>
978 * fontconfig/fontconfig.h:
980 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
982 2005-10-14 Ross Burton <ross@burtonini.com>
985 * fc-glyphname/fc-glyphname.c:
988 Add consts to variables so as to move arrays into .rodata.
990 2005-10-14 Mike Fabian <mfabian@suse.de>
993 * src/fccache.c (FcDirCacheUnlink):
995 Check existence of directory cache file before attempting to unlink.
997 2005-10-13 Patrick Lam <plam@mit.edu>
998 * src/fccache.c (FcDirCacheUnlink):
1000 Fix flipped return value on unlink. (Reported by Mike Fabian)
1002 2005-10-12 Patrick Lam <plam@mit.edu>
1005 * src/fcdir.c (FcDirScanConfig):
1008 When fc-cache is run without --force, use directory cache files
1009 to speed up fc-cache run time. (Reported by Mike Fabian)
1011 2005-10-06 Patrick Lam <plam@mit.edu>
1013 * src/fcname.c (FcObjectToPtr):
1014 * src/fcpat.c (FcStrStaticName):
1016 Add padding to make valgrind and glibc not hate each other
1017 when calling strlen().
1019 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1020 reviewed by: plam & keithp
1024 Modify config file to use Greek fonts before Asian fonts with
1027 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1028 reviewed by: plam & keithp
1032 Use libtool -no-undefined flag on all platforms.
1034 2005-10-05 Patrick Lam <plam@mit.edu>
1035 * src/fccache.c (FcCacheHaveBank):
1037 Implement move-to-front array for banks (perf regression
1038 reported by Ronny V. Vindenes).
1040 2005-10-04 Patrick Lam <plam@mit.edu>
1041 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1042 FcDirCacheHasCurrentArch):
1043 * fc-cache/fc-cache.c (scanDirs):
1044 * fontconfig/fontconfig.h:
1046 Add new API which unlinks directory caches and checks dir caches
1047 for existence of appropriate sections. Fix fc-cache to unlink
1048 stale cache files and save directory caches that lack relevant
1051 2005-10-03 Patrick Lam <plam@mit.edu>
1052 * src/fccache.c (FcDirCacheValid):
1054 Ensure that a directory cache has the appropriate section
1055 before reporting that it is valid (reported by Matthias Clasen).
1057 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1065 Use libxml2 if requested (with --enable-libxml2) or if
1066 expat is not available.
1068 2005-09-29 Patrick Lam <plam@mit.edu>
1069 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1071 Fix multi-arch cache files: compute the position for the
1072 block to be added using info from OrigFile, not NewFile.
1074 2005-09-28 Patrick Lam <plam@mit.edu>
1075 * src/fccache.c (FcCacheMachineSignature):
1077 Cast results of sizeof() to unsigned int to get rid of
1078 warnings on x86_64 (thanks Matthias Clasen).
1080 2005-09-27 Patrick Lam <plam@mit.edu>
1081 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1084 Use FcAtomic to rewrite cache files.
1086 2005-09-27 Patrick Lam <plam@mit.edu>
1088 * src/fccache.c (FcDirCacheWrite):
1090 Don't unlink the fonts.cache-2 file even if there's no data
1091 to write; just write an empty cache file. (thanks Lubos Lunak)
1093 2005-09-27 Patrick Lam <plam@mit.edu>
1095 * src/fccache.c (FcDirCacheWrite):
1097 Allocate room for the subdirectory names in each
1098 directory cache. Thanks to James Cloos for finding
1099 and diagnosing this bug!
1101 2005-09-22 Patrick Lam <plam@mit.edu>
1103 * fc-cache/fc-cache.sgml:
1104 * src/fccache.c (FcDirCacheWrite):
1105 * src/fccache.h (struct FcCache):
1107 Update documentation -- fc-cache's man page now says that you
1108 need to run fc-cache once per cached architecture; add some
1109 documentation to the FcCache structure.
1111 Make fc-cache write out fonts.cache-2 files for directories with
1112 no fonts (i.e. only subdirectories).
1114 2005-09-22 Patrick Lam <plam@mit.edu>
1116 * fc-cache/fc-cache.sgml:
1117 * fc-case/fc-case.c:
1118 * fc-glyphname/fc-glyphname.c:
1124 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1128 * fc-lang/fc-lang.c:
1129 * fontconfig/fcprivate.h:
1130 * fontconfig/fontconfig.h:
1144 Implement new mmaped cache for font information.
1145 Bump so revision to 2.3.90.
1147 2005-07-25 Keith Packard <keithp@keithp.com>
1149 * doc/fontconfig-user.sgml:
1150 * fc-glyphname/fc-glyphname.c: (scan), (main):
1151 * fc-lang/fc-lang.c: (FcConfigHome):
1152 * fc-match/fc-match.c: (main):
1153 * src/fccfg.c: (FcConfigHome):
1154 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1155 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1156 (addtag), (FcFontCapabilities):
1157 * src/fcpat.c: (FcValueListEntCreate):
1158 * src/fcstr.c: (FcStrCaseWalkerInit):
1159 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1161 Various GCC 4 cleanups for signed vs unsigned char
1163 Match only [0-9]*.conf files in <include>{directory}</include>
1164 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1166 2005-07-15 Carl Worth <cworth@cworth.org>
1169 * src/fcinit.c: (FcFini):
1170 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1173 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1174 Pull the FcObjectStateName hash table out to file scope, and add
1175 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1178 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1181 2005-06-16 Patrick Lam <plam@MIT.EDU>
1185 * src/fccfg.c: (FcConfigCompareValue):
1186 Make FcOpNotContains use FcStrStr for strings so that
1187 it matches semantics for !FcOpContains.
1189 2005-05-20 Keith Packard <keithp@keithp.com>
1193 Move fontconfig source package to libs as per override
1195 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1197 reviewed by: Mike Fabian
1200 The ka.orth file requires several characters which are not
1201 used anymore in modern Georgian and which are missing in the free
1202 Georgian TrueType fonts downloadable at:
1204 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1206 2005-04-27 Keith Packard <keithp@keithp.com>
1210 Update date to real 2.3.2 release date.
1211 Fix change attributions
1213 2005-04-27 Keith Packard <keithp@keithp.com>
1216 Bump so revision for 2.3.2
1217 * fc-cache/fc-cache.c: (scanDirs):
1218 Fix a few minor leaks in error cases.
1220 2005-04-23 Keith Packard <keithp@keithp.com>
1225 * fontconfig/fontconfig.h:
1226 Update for version 2.3.2
1228 2005-04-21 Keith Packard <keithp@keithp.com>
1230 * debian/fontconfig.postinst:
1231 Don't force bitmap font enable in default
1232 configuration; allows users to override this in
1242 * debian/po/pt_BR.po:
1243 * debian/po/templates.pot:
1245 * debian/po/zh_CN.po:
1246 Updated translations
1248 * fc-cache/fc-cache.c: (main):
1249 Destroy font configuration on exit to help valgrind
1252 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1253 (FcFreeTypeCheckGlyph):
1254 Use own transcoding routines in preference to iconv
1255 which appears to have leaks in some translators.
1256 Call iconv_close after using iconv (oops).
1258 Prefer unicode encoding of Euro char as some
1259 fonts mis-encode Euro in other ones.
1261 Must fetch bitmap glyphs to get width values
1262 to check for monospace/dual-width fonts.
1264 2005-04-13 Ross Burton <ross@burtonini.com>
1267 Check that a pattern isn't already frozen in FcPatternFreeze.
1269 2005-03-31 Ross Burton <ross@burtonini.com>
1274 Run all FcPattern objects through FcObjectStaticName, so that
1275 compares can be done on pointers instead of strings (#2659)
1277 2005-03-17 Tor Lillqvist <tml@novell.com>
1279 * src/fontconfig.def.in: Add the .dll to the dll name.
1281 2005-03-10 Keith Packard <keithp@keithp.com>
1283 * debian/README.Debian:
1284 Update to reflect configuration changes
1286 * debian/fontconfig.postinst:
1287 Fix Autohint vs Autohinter mistake
1288 * debian/fontconfig.templates:
1289 Adopt changes from Josselin Mouette for configuration descriptions
1290 Update debian to version 2.3.1-2
1292 2005-03-08 Keith Packard <keithp@keithp.com>
1296 Update debian for 2.3.1
1298 2005-03-09 Tor Lillqvist <tml@novell.com>
1300 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1303 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1306 2005-03-08 Keith Packard <keithp@keithp.com>
1310 * fontconfig/fontconfig.h:
1313 2005-03-05 Keith Packard <keithp@keithp.com>
1315 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1316 Include space and remove numbers from valid script tags.
1317 This ensures that tags like 'lao ' work while rejecting
1318 those which have any digits.
1319 Eliminate a spurious debugging variable (len)
1321 2005-03-05 Keith Packard <keithp@keithp.com>
1323 * src/fcfreetype.c: (addtag), (GetScriptTags),
1324 (FcFontCapabilities):
1325 Rework GSUB/GPOS script parsing to survive broken fonts.
1326 Thanks for the broken font go to Manish Singh
1328 2005-03-05 Keith Packard <keithp@keithp.com>
1333 * debian/fontconfig.config:
1334 * debian/fontconfig.templates:
1336 Include 2.3 release information in changelog
1337 Add Josselin Mouette as an Uploader
1338 Set hinting_type to low priority configuration option
1341 * debian/fontconfig.postinst:
1342 yes_bitmaps.conf -> yes-bitmaps.conf
1348 2005-03-02 Keith Packard <keithp@keithp.com>
1351 * conf.d/Makefile.am:
1352 * conf.d/autohint.conf:
1353 * conf.d/no-sub-pixel.conf:
1354 * conf.d/sub-pixel.conf:
1355 * conf.d/unhinted.conf:
1356 * debian/autohint.conf:
1357 * debian/fontconfig.install:
1358 * debian/fontconfig.postinst:
1359 * debian/fontconfig.templates:
1360 * debian/no-sub-pixel.conf:
1361 * debian/unhinted.conf:
1362 Move debian-specific conf file examples upstream.
1364 Sub-pixel configuration examples must smash subpixel value
1365 as Xft always sets it from X.
1367 Change sub-pixel rendering debconf descriptions from
1368 Enable/Disable to Always/Never.
1370 2005-03-02 Keith Packard <keithp@keithp.com>
1373 * conf.d/.cvsignore:
1375 Ignore more build detritus
1378 Add debian package construction stuff.
1380 * config/config.guess:
1381 * config/config.sub:
1382 Update to newer versions of these tools
1385 Get library manuals to build again (we love automake).
1387 * debian/README.Debian:
1388 * debian/autohint.conf:
1393 * debian/fontconfig-udeb.install:
1394 * debian/fontconfig.config:
1395 * debian/fontconfig.defoma:
1396 * debian/fontconfig.dirs:
1397 * debian/fontconfig.install:
1398 * debian/fontconfig.postinst:
1399 * debian/fontconfig.postrm:
1400 * debian/fontconfig.templates:
1401 * debian/libfontconfig1-dev.install:
1402 * debian/libfontconfig1.install:
1403 * debian/local.conf.md5sum:
1404 * debian/no-sub-pixel.conf:
1405 * debian/po/POTFILES.in:
1414 * debian/po/pt_BR.po:
1415 * debian/po/templates.pot:
1417 * debian/po/zh_CN.po:
1419 * debian/unhinted.conf:
1420 Update debian build system to switch maintainers and
1421 deal with 2.3 functionality
1423 2005-03-01 Keith Packard <keithp@keithp.com>
1427 * fontconfig/fontconfig.h:
1430 2005-03-01 Keith Packard <keithp@keithp.com>
1433 Generate and install PDF versions of the manuals
1435 * doc/fcpattern.fncs:
1438 * doc/fcstring.fncs:
1439 Add missing exported functions, fix data types
1441 * doc/fontconfig-devel.sgml:
1442 Add missing pattern elements.
1444 * doc/fontconfig-user.sgml:
1445 Add missing pattern elements. Document conf.d usage,
1446 clarify available orthography list. Fix some config file
1447 attributes. Complete list of constants.
1449 * fontconfig/fontconfig.h:
1450 Mark FC_SOURCE deprecated.
1452 * src/fcfreetype.c: (FcFreeTypeQuery):
1453 Don't set FC_SOURCE any longer.
1455 2005-02-28 Keith Packard <keithp@keithp.com>
1458 * conf.d/Makefile.am:
1460 * conf.d/no-bitmaps.conf:
1461 * conf.d/sub-pixel.conf:
1462 * conf.d/yes-bitmaps.conf:
1464 Create prototype /etc/fonts/conf.d directory with a few
1465 sample configuration files.
1466 Deprecate use of local.conf for local customizations in favor of
1467 this directory based scheme which is more easily integrated into
1468 installation systems.
1471 Tag FC_EMBOLDEN as a boolean variable
1473 2005-02-10 Keith Packard <keithp@keithp.com>
1475 reviewed by: pborelli@katamail.com
1477 * src/fcdir.c: (FcFileScanConfig):
1478 Free patterns from fonts which are rejected by configuration
1481 2005-01-28 Keith Packard <keithp@keithp.com>
1485 * fontconfig/fontconfig.h:
1486 Update for version 2.2.99
1488 2005-01-28 Keith Packard <keithp@keithp.com>
1491 Add a few pointers (#2284, #2285)
1493 2005-01-28 Keith Packard <keithp@keithp.com>
1496 * src/fcname.c: (FcNameBool):
1497 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1498 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1499 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1500 Polite typechecking for test and edit expressions. Helps
1501 catch errors in the font configuration. (bug 229)
1503 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1505 reviewed by: Keith Packard <keithp@keithp.com>
1508 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1510 2005-01-13 Keith Packard <keithp@keithp.com>
1512 * doc/fontconfig-user.sgml:
1513 Add SEE ALSO section (bug 2085)
1515 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1517 reviewed by: Keith Packard <keithp@keithp.com>
1522 * fc-case/Makefile.am:
1523 * fc-glyphname/Makefile.am:
1524 * fc-lang/Makefile.am:
1525 * src/fontconfig.def.in:
1526 Cross compiling fixes (bug 280)
1528 2005-01-13 Keith Packard <keithp@keithp.com>
1531 Update blanks list (Closes bug 86)
1533 2005-01-04 Keith Packard <keithp@keithp.com>
1535 * src/fccache.c: (FcCacheFontSetAdd):
1536 Verify that every font pattern loaded from cache has
1537 both FC_FILE and FC_FAMILY entries.
1538 Attempt to fix bug #2219.
1540 2004-12-29 Keith Packard <keithp@keithp.com>
1544 * fontconfig/fontconfig.h:
1545 Update for version 2.2.98
1547 2004-12-29 Keith Packard <keithp@keithp.com>
1549 * fontconfig/fontconfig.h:
1550 Document ASCII limitations of Fc character conversion macros
1551 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1552 Fix off-by-one error in utf-8 case walking code.
1553 Add FcStrDowncase (useful for testing case conversion functions)
1555 2004-12-29 Keith Packard <keithp@keithp.com>
1558 * fc-case/.cvsignore:
1559 clean up CVS ignore lists
1560 * fc-lang/iso-3166.txt:
1561 Add territory database
1563 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1565 Reviewed by: Keith Packard
1568 Remove Han characters from Korean orthography
1570 2004-12-29 Keith Packard <keithp@keithp.com>
1573 Reorder utility programs to make sure fc-case is run before fc-lang
1574 as fc-lang uses fcstr.c which uses fccase.h
1578 2004-12-29 Keith Packard <keithp@keithp.com>
1581 Adopt some RedHat suggestions for standard font configuration.
1585 * fc-case/CaseFolding.txt:
1586 * fc-case/Makefile.am:
1587 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1588 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1589 (dump), (parseRaw), (caseFoldReadRaw), (main):
1590 * fc-case/fccase.tmpl.h:
1591 Add new helper program 'fc-case' to construct case folding
1592 tables from standard Unicode CaseFolding.txt file
1595 * src/fclist.c: (FcListValueHash):
1596 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1597 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1598 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1599 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1600 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1601 Re-implement case insensitive functions with Unicode
1602 aware versions (including full case folding mappings)
1604 2004-12-13 Keith Packard <keithp@keithp.com>
1606 reviewed by: Owen Taylor <otaylor@redhat.com>
1608 * src/fcmatch.c: (FcFontSetSort):
1609 I changed FcFontSetSort to respect the generic aliases better
1610 in the face of language matching.
1612 What I did was to ammend the strict sort order used by FcFontSort so
1613 that it 'satisfies' the language specified in the pattern by locating
1614 the best matching font supporting each pattern language and then
1615 ignores language in the remaining fonts for purposes of matching.
1617 So, when asking for 'sans:lang=en', you'll get an English font first,
1618 and then the remaining fonts sorted with respect to the 'sans' alias
1619 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1621 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1623 reviewed by: Keith Packard <keithp@keithp.com>
1625 * fontconfig/fontconfig.h:
1628 Configuration changes to request synthetic emboldening of
1629 fonts. The actual emboldening code will live in Xft.
1631 2004-12-09 John Thacker <thacker@math.cornell.edu>
1633 reviewed by: Keith Packard <keithp@keithp.com>
1637 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1638 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1639 и), and don't even appear in KOI8-R. (The hypothesis that they
1640 don't appear in KOI8-R due to their similarity with Latin I and i is
1641 eliminated by their presence in KOI8-U.) I have a couple of fonts
1642 with Russian support that don't have the letter.
1644 Therefore, 0406 and 0456 should be removed from or commented out of
1647 2004-12-06 michael meeks <mmeeks@novell.com>
1649 Reviewed by: Keith Packard <keithp@keithp.com>
1651 * src/fcinit.c: (FcMemReport):
1653 * src/fclist.c: (FcObjectSetAdd):
1654 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1655 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1656 * src/fcxml.c: (FcParsePatelt):
1657 memoize strings and share a single copy for all uses. Note that
1658 this could be improved further by using statically allocated blocks
1659 and gluing multiple strings together, but I'm basically lazy.
1660 In my environment with 800 font files, I get a savings of about 90KB.
1662 2004-12-06 Keith Packard <keithp@keithp.com>
1666 * config/Makedefs.in:
1669 * doc/fcatomic.fncs:
1670 * doc/fcblanks.fncs:
1671 * doc/fccharset.fncs:
1672 * doc/fcconfig.fncs:
1673 * doc/fcconstant.fncs:
1675 * doc/fcfontset.fncs:
1676 * doc/fcfreetype.fncs:
1678 * doc/fcmatrix.fncs:
1679 * doc/fcobjectset.fncs:
1680 * doc/fcobjecttype.fncs:
1681 * doc/fcpattern.fncs:
1682 * doc/fcstring.fncs:
1683 * doc/fcstrset.fncs:
1685 * doc/fontconfig-devel.sgml:
1686 * doc/fontconfig-user.sgml:
1688 * doc/version.sgml.in:
1689 * fc-cache/Makefile.am:
1690 * fc-cache/fc-cache.c:
1691 * fc-glyphname/Makefile.am:
1692 * fc-glyphname/fc-glyphname.c:
1693 * fc-glyphname/fcglyphname.tmpl.h:
1694 * fc-lang/Makefile.am:
1704 * fc-lang/az_ir.orth:
1738 * fc-lang/fc-lang.c:
1739 * fc-lang/fc-lang.man:
1740 * fc-lang/fclang.tmpl.h:
1785 * fc-lang/ku_ir.orth:
1818 * fc-lang/ps_af.orth:
1819 * fc-lang/ps_pk.orth:
1848 * fc-lang/ti_er.orth:
1849 * fc-lang/ti_et.orth:
1875 * fc-lang/zh_cn.orth:
1876 * fc-lang/zh_hk.orth:
1877 * fc-lang/zh_mo.orth:
1878 * fc-lang/zh_sg.orth:
1879 * fc-lang/zh_tw.orth:
1881 * fc-list/Makefile.am:
1882 * fc-list/fc-list.c:
1883 * fc-match/Makefile.am:
1884 * fc-match/fc-match.1:
1885 * fc-match/fc-match.c:
1886 * fontconfig/fcfreetype.h:
1887 * fontconfig/fcprivate.h:
1888 * fontconfig/fontconfig.h:
1909 Change files from ISO-Latin-1 to UTF-8
1911 2004-12-04 Keith Packard <keithp@keithp.com>
1914 Update links to new freedesktop.org locations
1916 Add uninstall-local to get rid of fonts.conf and local.conf if they
1917 match the distributed versions. Fixes 'make distcheck'
1919 2004-12-04 Keith Packard <keithp@keithp.com>
1923 * fontconfig/fontconfig.h:
1924 Updates for version 2.2.97
1926 2004-12-04 Owen Taylor <otaylor@redhat.com>
1928 reviewed by: Keith Packard <keithp@keithp.com>
1930 * fc-cache/fc-cache.c: (main):
1931 Sleep for two seconds before exiting to make sure timestamps
1932 for future changes have distinct mod times in the file system.
1935 Add Punjabi orthography. Bug #1671.
1937 2004-12-04 Keith Packard <keithp@keithp.com>
1940 Just remove the FC_FONTDATE -- it has locale issues and
1941 annoys redhat multi-arch installs. Now that all X fonts are
1942 included without prejudice, the chances of the date being at
1943 all interesting are rather limited. Bug #505.
1945 Add copyright and license
1947 2004-12-04 Keith Packard <keithp@keithp.com>
1950 Change default set of fonts to include all of
1951 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1952 * doc/fontconfig-user.sgml:
1953 Document new <include>directory-name</include> semantics
1955 add <include ignore_missing="yes">conf.d</include>
1957 Add selectfont to ignore bitmap fonts, add comment for
1958 selectfont which accepts bitmap fonts.
1961 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1962 Allow <include> configuration elements to reference directories.
1963 Parse and load all files of the form [0-9]* in sorted order.
1965 2004-12-04 Keith Packard <keithp@keithp.com>
1968 Report command line for $srcdir/configure accurately.
1971 2004-12-04 Keith Packard <keithp@keithp.com>
1973 * src/fcfreetype.c: (FcFreeTypeQuery):
1974 Check for non-empty face->family_name and face->style_name
1975 before using those for the font. Empty names match everything.
1978 2004-12-04 Keith Packard <keithp@keithp.com>
1981 * fontconfig/fontconfig.h:
1982 * src/fcfreetype.c: (FcFreeTypeQuery):
1984 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1985 available. This provides font file format information (BDF, Type 1,
1986 PCF, TrueType) for each font. Closes #109.
1988 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1990 reviewed by: Keith Packard <keithp@keithp.com>
1992 * doc/fontconfig-user.sgml:
1995 * fontconfig/fontconfig.h:
1996 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1997 (GetScriptTags), (FcFontCapabilities):
1999 Add detection for font capabilities (bug #105)
2001 2004-12-04 Keith Packard <keithp@keithp.com>
2004 Move existing fonts.conf to fonts.conf.bak
2007 Add detection of iconv
2009 * doc/fcpattern.fncs:
2010 * doc/fontconfig-devel.sgml:
2011 * doc/fontconfig-user.sgml:
2013 Document new selectfont elements
2016 Switch to UTF-8 in comment
2018 * fontconfig/fontconfig.h:
2020 Add fullname, and family/style/fullname language entries
2022 * src/fccache.c: (FcCacheFontSetAdd):
2023 * src/fcdir.c: (FcFileScanConfig):
2024 Respect selectfont/*/glob
2027 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2028 (FcConfigCompareValue), (FcConfigPatternsAdd),
2029 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2030 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2031 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2032 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2033 Add support for selectfont
2035 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2036 (FcStringInPatternElement), (FcFreeTypeQuery):
2037 Add multi-lingual family/style/fullname support
2039 * src/fclist.c: (FcListPatternMatchAny):
2040 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2042 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2043 (FcObjectStaticName):
2044 Add new FcPatternRemove/FcPatternAppend.
2045 FcObjectStaticName stores computed pattern element names which
2046 are required to be static.
2048 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2053 Remove spurious / after $(DESTDIR)
2055 2004-06-30 Keith Packard <keithp@keithp.com>
2059 * fontconfig/fontconfig.h:
2062 2004-06-30 Keith Packard <keithp@keithp.com>
2064 Provided by: Lubos Lunak <l.lunak@suse.cz>
2066 * src/fccfg.c: (FcConfigUptoDate):
2067 However FcConfigUptoDate() doesn't seem to work. See the attached
2068 patch. First there's an obvious misplaced parenthesis making it
2069 return always false, and second, even this call fails to detect font
2070 changes (e.g. adding a new font to
2071 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2072 well. The problem seems to be triggered by my fonts.conf specifying
2073 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2074 doesn't include subdirs, unlike config->fontDirs.
2076 2004-06-03 Keith Packard <keithp@keithp.com>
2078 * fontconfig/fontconfig.h:
2079 Remove comma at end of FcResult enum definition.
2081 2004-05-29 Keith Packard <keithp@keithp.com>
2084 Add steps to md5sum release
2086 2004-05-29 Keith Packard <keithp@keithp.com>
2090 * fontconfig/fontconfig.h:
2093 2004-05-29 Keith Packard <keithp@keithp.com>
2095 * fontconfig/fontconfig.h:
2096 * src/fcmatch.c: (FcFontSetMatch):
2097 Add FcResultOutOfMemory to provide an accurate error when
2098 FcFontSetMatch fails in this way
2101 Make #warning about lacking various FreeType features indicate
2102 which version those features appeared so users know how to
2103 fix the problem (Thanks to Anton Tropashko)
2105 2004-05-05 Keith Packard <keithp@keithp.com>
2107 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2108 Replace MIN/MAX/ABS macros which happen to have come
2109 from FreeType with fontconfig-specific ones (FC_*)
2111 2004-04-23 Keith Packard <keithp@keithp.com>
2114 Extend release preparation instructions to include
2115 notification and distribution steps
2117 2004-04-23 Keith Packard <keithp@keithp.com>
2121 * fontconfig/fontconfig.h:
2122 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2124 2004-04-23 Keith Packard <keithp@keithp.com>
2127 Ignore a few more autotool files
2129 2004-04-14 Keith Packard <keithp@keithp.com>
2132 Add instructions for doing a release
2134 * fontconfig.spec.in:
2135 clean up .spec file; perhaps this will be useful to somebody...
2139 * fontconfig/fontconfig.h:
2142 * fc-lang/fc-lang.c:
2143 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2145 * fc-glyphname/Makefile.am:
2146 * fc-lang/Makefile.am:
2147 * fc-list/Makefile.am:
2148 * fc-match/Makefile.am:
2150 Add WARN_CFLAGS to pass -W flags for GCC systems
2152 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2153 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2154 Change various char types around to match across
2156 Fixed bug in using available_sizes[i].height which
2157 is in pixels, not 64ths of a pixel.
2159 2004-03-06 Keith Packard <keithp@keithp.com>
2161 * src/fcfreetype.c: (FcFreeTypeQuery):
2162 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2163 matches looking for explicit values prefer exact matches
2165 2004-03-02 Keith Packard <keithp@keithp.com>
2167 Supplied by: mfabian@suse.de (Mike FABIAN)
2169 * src/fcfreetype.c: (FcFreeTypeQuery):
2170 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2171 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2173 2004-02-21 Manish Singh <yosh@gimp.org>
2175 * fc-glyphname/fc-glyphname.c: (main):
2176 Cast strlen to int for printf, so we're 64-bit clean.
2178 2004-02-11 Keith Packard <keithp@keithp.com>
2181 * src/fcfreetype.c: (FcGetPixelSize):
2182 Ok, so I messed up the test for y_ppem. Let's see if I
2183 got it right this time.
2185 2004-02-10 Keith Packard <keithp@keithp.com>
2188 * src/fcfreetype.c: (FcGetPixelSize):
2189 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2190 FT_Bitmap_Size record. Add a configure.in test for this
2191 and change the code accordingly (using height instead).
2193 2004-02-06 Keith Packard <keithp@keithp.com>
2196 Add Low Saxon orthography
2197 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2199 * src/fccfg.c: (FcConfigNewestFile):
2200 Oops. Left 'newest.set' unset, which would miscompute
2203 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2204 (FcFreeTypeCheckGlyph):
2205 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2206 font properties (which report the wrong value in current FreeType)
2208 Don't attempt to check for empty glyphs in non-scalable fonts; they
2211 2004-02-01 Tor Lillqvist <tml@iki.fi>
2213 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2214 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2215 cache if config->cache is NULL, which happens if FcConfigHome() is
2216 NULL. Guard against that by using the temp folder in that case.
2218 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2220 * fc-lang/az_ir.orth:
2221 * fc-lang/ku_ir.orth:
2222 * fc-lang/ps_af.orth:
2223 * fc-lang/ps_pk.orth:
2224 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2225 (Afghan and Pakistani).
2227 Updated Urdu orthography with real data.
2229 2003-12-11 Carl Worth <cworth@east.isi.edu>
2231 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2234 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2236 (all-local): Remove excessive whitespace.
2238 * autogen.sh: Add 'set -e' to abort when any program fails,
2239 (avoids printing of 'now type make' after configure aborts).
2241 2003-11-17 Eric Christopherson <rakko@charter.net>
2243 reviewed by: Keith Packard <keithp@keithp.com>
2246 * fontconfig/fcfreetype.h:
2248 Switch to FreeType 2.1.7 style includes. Bug #150.
2250 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2252 * fc-list/fc-list.sgml: Add some example usages.
2254 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2257 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2260 2003-10-27 Keith Packard <keith@keithp.com>
2263 * fontconfig/fontconfig.h:
2264 Update to version 2.2.92
2266 2003-10-27 Keith Packard <keithp@keithp.com>
2271 * fc-cache/Makefile.am:
2272 * fc-glyphname/Makefile.am:
2273 * fc-lang/Makefile.am:
2274 * fc-list/Makefile.am:
2275 * fc-match/Makefile.am:
2278 Yet more cleanups to finish getting 'make distcheck' working
2279 This has been tested to ensure that it even works from a _build
2282 2003-10-26 Keith Packard <keithp@keithp.com>
2286 * fc-cache/Makefile.am:
2287 * fc-glyphname/Makefile.am:
2288 * fc-lang/Makefile.am:
2289 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2290 * fc-list/Makefile.am:
2291 * fc-match/Makefile.am:
2292 Attempts to fix 'make distcheck' work. Things are
2293 progressing pretty well, but there are still failures
2294 long into the process dealing with docs (as always).
2296 The big changes here are mostly to make $(srcdir) != "."
2297 work correctly, fixing the docbook related sections and
2298 fc-lang were particularily tricky. Docbook refuses to load
2299 system entities from anywhere other than where the original .sgml
2300 file was located, so no luck looking in "." for the
2301 configure-generated version.sgml and confdir.sgml files.
2303 fc-lang needed help finding .orth files; added a -d option
2304 to set the directory as the least evil of many options.
2306 Now to go use a faster machine and try and wring out the last
2309 2003-10-26 Keith Packard <keithp@keithp.com>
2313 2003-10-26 Keith Packard <keithp@keithp.com>
2316 Include confdir.sgml.in in EXTRA_DIST
2318 2003-10-09 Josselin Mouette <joss@debian.org>
2320 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2321 * fc-list/fc-list.sgml fc-list/Makefile.am:
2322 Replace fc-cache and fc-list manpages with more detailed, SGML
2325 2003-09-23 Owen Taylor <otaylor@redhat.com>
2327 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2328 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2329 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2332 2003-09-23 Owen Taylor <otaylor@redhat.com>
2334 * fc-lang/ka.orth: Remove Georgian capitals, they
2335 aren't used for normal writing. (Bug #116)
2337 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2339 * doc/fontconfig-devel.sgml:
2340 * doc/fontconfig-user.sgml:
2341 * fontconfig/fontconfig.h:
2343 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2344 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2346 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2347 monospace and dual-width fonts, allow roughly a 3% variance in the
2350 2003-08-31 Manish Singh <yosh@gimp.org>
2352 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2355 2003-08-15 Carl Worth <cworth@isi.edu>
2357 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2358 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2360 * src/fcpat.c (FcValueListEntDestroy): New function to support
2361 FcFini memory cleanup. Some statistics are not kept in
2363 (FcValueListFreeze): Move hashTable outside this function so it
2364 can be accessed by FcValueListThawAll.
2365 (FcValueListThawAll): New function complements FcValueListFreeze.
2366 (FcPatternBaseFreeze): Move hashTable outside this function so it
2367 can be accessed by FcPatternBaseThawAll.
2368 (FcPatternBaseThawAll): New function complements
2369 FcPatternBaseFreeze.
2370 (FcPatternThawAll): New function complements FcPatternFreeze.
2372 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2374 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2375 allocated FcCharLeafEnt "blocks" so they can be freed later.
2376 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2377 can be accessed by FcCharSetThawAllLeaf.
2378 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2379 (FcCharSetFreezeBase): Move hashTable outside this function so it
2380 can be accessed by FcCharSetThawAll.
2381 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2383 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2384 (FcConfigDestroy): Fic leak of FcBlanks.
2386 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2387 (main): Add call to FcFini when finished.
2389 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2390 static. Add prototypes.
2392 * doc/fcinit.fncs: Add documentation for FcFini function.
2394 * doc/edit-sgml.c: Mark several local functions as static. Add
2397 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2399 2003-06-15 Tor Lillqvist <tml@iki.fi>
2401 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2402 before comparing (needed on Windows).
2404 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2406 2003-06-13 Tor Lillqvist <tml@iki.fi>
2408 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2411 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2412 WINDOWSFONTDIR token.
2414 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2415 end, not to confuse libtool, which expects the EXPORTS line to be
2416 the first. Add FcConfigEnableHome.
2418 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2419 built as a DLL on Win32.
2421 2003-06-09 Keith Packard <keithp@keithp.com>
2423 * Tag version 2.2.90
2425 2003-06-09 Keith Packard <keithp@keithp.com>
2427 * Optimization in FcLangSetIndex was broken, occasionally
2428 returning a pointer to the wrong location on miss
2430 * Add fc-match to test font matching from the command line.
2432 2003-05-31 Keith Packard <keithp@keithp.com>
2434 * (Bug 85) add support for culmus fonts
2435 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2436 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2438 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2440 * Fix "contains" op for strings and langsets.
2442 2003-05-17 Keith Packard <keithp@keithp.com>
2444 * Fix build error with BDF prop local. Free langset after query
2446 2003-05-14 Keith Packard <keithp@keithp.com>
2448 * Extract spacing from XLFD atom
2450 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2452 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2453 disappeared in 1.30.
2455 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2457 2003-05-12 Keith Packard <keithp@keithp.com>
2459 * Use FcIsWidth to share code
2461 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2462 misclassifying some Han fonts as monospaced.
2464 2003-05-07 Keith Packard <keithp@keithp.com>
2466 * Add filename-based accept/reject to ammend available fonts.
2468 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2469 older FreeType releases.
2471 2003-05-06 Keith Packard <keithp@keithp.com>
2473 * Remove 0b82 and Tamil numbers from tamil
2474 orthography (Jungshik Shin <jshin@mailaps.org>)
2476 2003-05-04 Keith Packard <keithp@keithp.com>
2478 + Map glyph names in fonts with adobe custom encoding to unicode
2480 2003-05-02 Keith Packard <keithp@keithp.com>
2482 * Add FC_WEIGHT_BOOK as weight 75
2484 2003-04-30 Keith Packard <keithp@keithp.com>
2486 * Typo in bitstream foundry name
2488 2003-04-24 Keith Packard <keithp@keithp.com>
2490 * Eliminate italic_angle check for PS fonts
2492 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2494 * Getting closer to fixing /etc/fonts hard-coding.
2496 2003-04-22 Keith Packard <keithp@keithp.com>
2498 * Update autogen.sh to work with newer automake versions
2499 * Handle pattern elements moving during multiple edits
2501 2003-04-23 James Henstridge <james@daa.com.au>
2503 * doc/fontconfig-devel.sgml: close the <para> element.
2505 * doc/fcpattern.fncs: close the <para> element.
2507 * doc/func.sgml: close the <refsynopsisdiv> element.
2509 2003-04-22 Keith Packard <keithp@keithp.com
2511 * Update autogen.sh to work with newer automake versions
2512 * Handle pattern elements moving during multiple edits
2514 2003-04-17 Colin Walters <walters@debian.org>
2516 + Remove some unused variables, and initialize some other ones so
2517 gcc doesn't warn us.
2519 2003-04-16 Keith Packard <keithp@keithp.com>
2521 + tag version 2.1.94
2523 2003-04-16 Keith Packard <keithp@keithp.com>
2525 + add BDF property fetching support for foundry
2526 (from Juliusz Chroboczek)
2527 + add BDF property fetching support for width
2529 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2531 + Implemented foundry generation for Type 1 and TrueType
2533 2003-04-11 Gerard Escalante <g2@magestudios.net>
2535 + Retrieve information from Type1 FontInfo dictionaries
2537 2003-04-07 Colin Walters <walters@verbum.org>
2539 + src/Makefile.am: Fix dummy makefile target names when
2540 MS_LIB_AVAILABLE isn't set.
2542 2003-03-22 Tor Lillqvist <tml@iki.fi>
2544 Changes for Windows:
2546 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2548 + We don't want to hardcode the fonts.conf file location in the
2549 DLL, so we look up the DLL location at run-time in a DllMain()
2550 function. The fonts.conf location is deduced from that.
2552 + The colon can't be used as path separator on Windows,
2553 semicolon is used instead. File path components can be separated
2554 with either slash or backslash. Absolute paths can also begin
2555 with a drive letter.
2557 + Add internal function FcStrLastSlash that strrchr's the last
2558 slash, or backslash on Windows.
2560 + There is no link() on Windows. For atomicity checks, mkdir a
2561 lock directory instead.
2563 + In addition to HOME, also look for USERPROFILE.
2565 + Recognize the special font directory token WINDOWSFONTDIR, to
2566 use the system's font directory.
2568 + Remove the fontconfig-def.cpp that was obsolete. Add
2569 fontconfig.def(.in), without internal functions.
2571 + Add a fontconfig-zip(.in) script, used to build a binary
2574 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2575 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2576 to main package and man3/* to devel package
2578 + Added missing defattr(-, root, root) to main RPM package
2580 + Added HTML and text development documentation to -devel subpackage
2582 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2583 + Added back the configure macro options --disable-docs, otherwise
2584 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2585 version number) unconditionally, causing RPM to fail the build due
2586 to _unpackaged_files_terminate_build. We pick up the pregenerated
2587 docs with %doc already.
2589 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2590 + Removed commented out rpm macro define at top of spec file,
2591 replacing it with a simple explanation, since rpm macros are
2592 expanded by rpm even in comments.
2594 + Changed /usr/bin to _bindir in BuildRequires lines
2596 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2598 + Reorganized file manifest lists
2600 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2602 + fontconfig.spec.in: Improvements from Red Hat spec file.
2604 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2606 + docs/*.sgml: SGML fixes.
2608 Sat Mar 1 17:28:53 PST 2003 keithp
2609 + Ok, so the ChangeLog is a bit out of date
2611 + Lots of bugs fixed; most are in bugzilla, the
2612 biggest problems were in cache management where
2613 Owen discovered the library would lose badly when
2614 combining fonts-cache and ~/.fonts-cache data
2616 + Converted from autoconf to automake. This after
2617 getting patches accepted into libtool to allow
2618 the '-version-number' argument which lets
2619 packages set version numbers explicitly rather
2620 than the roundabout libtool way
2622 + Converted documentation to SGML using the docbook
2623 DTD. Now .txt and .html documents are installed
2624 in /usr/share/doc/fontconfig and there's no
2625 man page. Perhaps a man version can be written
2628 Sat Aug 31 15:21:22 PDT 2002 keithp
2629 + Xrender and Xft had several bugs related to
2630 rendering manually placed or poly-face text
2632 + Added more complete memory tracing in fontconfig
2633 Checked with (patched) mozilla and found no leaks
2635 + Updated Latin orthographies by comparing those from
2636 evertype.com with those from eki.ee. Tried to make
2637 sensible choices, including chars that occured in both
2638 and leaving some optional chars out that occured only
2641 Mon Aug 26 16:33:04 PDT 2002 keithp
2642 + Owen discovered that FcLangSetHasLang wasn't actually
2643 checking the language set.
2645 Mon Aug 26 13:37:23 PDT 2002 keithp
2646 + Append a version number to cache filenames
2648 Thu Aug 22 11:36:18 PDT 2002 keithp
2650 + Add "contains" and "not_contains" operators and elements to
2653 + Changed semantics of eq operator for LangSets to check for
2654 FcLangEqual so that any match will do
2656 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2657 of FcValueEqual to check for identical values when inserting into
2658 the results. This broke when the above semantic change was made,
2659 now it uses FcValueEqual which is "more correct" in any case.
2661 Thu Aug 22 00:32:29 PDT 2002 keithp
2663 + Reimplement FC_LANG as new datatype. Lists of strings
2664 was consuming over a megabyte of memory for 401 fonts.
2666 + Freeze patterns loaded from cache files. This shares
2667 common value lists and common patterns which saves
2668 considerable memory.
2670 + Change the denotation of 'constant' charsets to use special
2671 ref value instead of separate boolean.
2673 + Clean up leak tracing stuff, found several unannoted alloc/free
2676 Tue Aug 20 16:17:37 PDT 2002 keithp
2678 + Fix memory leak when parsing matrices from XML
2680 Mon Aug 19 11:57:27 PDT 2002 keithp
2682 + Fix autoconf files to pass FONTCONFIG_PATH on
2683 compile line so that ${prefix} gets substituted
2686 + Use getc_unlocked/putc_unlocked on systems that
2687 provide them to avoid damage done to stdio by posix
2689 + Eliminate FC_PATTERN and FcTypePattern in favor of
2690 an extended api for FcConfigSubstitute which takes
2691 both the font and the pattern.
2693 + Add 'sans serif' alias for 'sans-serif' as some apps
2694 can't handle hyphens in family names
2696 + Eliminate pretense of support for libxml2
2698 + Comment origins of Han orthographies
2700 Tue Jul 30 18:37:09 PDT 2002 keithp
2702 + Add binding property to edit element so that strong
2703 binding values may be inserted by the config file.
2704 The default remains weak.
2706 Sun 28 Jul 04:16:55 PDT 2002 keithp
2708 + Tagged release candidate 1 in the CVS tree and
2709 placed fcpackage.rc1.tar.gz for distribution
2711 Thu Aug 1 08:55:08 PDT 2002 keithp
2713 + Fixed autoconf builds to always specify install
2714 target files (for BSD). Also fixed to
2715 define FONTCONFIG_PATH in config.h so that
2716 nonstandard installs will actually work.