1 2005-12-12 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
4 Read and write the original location as a fallback for the
5 hashed cache file locations. This is mostly for users to be
6 able to have per-directory cache files.
8 2005-12-12 Patrick Lam <plam@mit.edu>
9 * fc-cache/fc-cache.c (scanDirs):
10 * fc-cache/Makefile.am:
11 * src/fccache.c (FcDirCacheHashName):
13 Improve error message when fc-cache can't write the cache. Add
14 missing slash. Reported by Behdad. Incorporate Behdad's patch to
15 create /var/cache/fontconfig when appropriate.
17 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
20 * src/fcxml.c (FcConfigGetAttribute):
22 Fix crash reported by Frederic Crozat when using libxml2.
24 2005-12-09 Patrick Lam <plam@mit.edu>
27 * fc-cache/Makefile.am:
30 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
31 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
32 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
33 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
34 FcDirCacheHasCurrentArch, FcDirCacheHashName,
35 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
37 Migrate cache files from fonts directories to
38 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
39 but requires that all caches get rebuilt.
41 Also, autogen.sh now needs the additional parameter
44 2005-12-07 Patrick Lam <plam@mit.edu>
45 * src/fcpat.c (FcPatternAddString):
47 Because we've changed FcPatternAddString to use FcStrStaticName
48 and not FcValueSave, explicitly handle the case of a null string.
50 2005-12-06 Patrick Lam <plam@mit.edu>
51 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
55 2005-12-05 Patrick Lam <plam@mit.edu>
56 * src/fcname.c (FcNameGetObjectType):
58 Don't assign types to user object names.
60 2005-12-05 Patrick Lam <plam@mit.edu>
61 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
63 Don't free strings that have been returned from FcStrStaticName.
65 2005-12-01 Patrick Lam <plam@mit.edu>
66 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
68 Add codepath for reading global cache files as well.
70 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
73 * conf.d/10-fonts.persian.conf:
76 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
78 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
81 * src/fcxml.c (FcConfigParseAndLoad):
83 Only add a config file to the set of config files once.
85 2005-11-29 Patrick Lam <plam@mit.edu>
86 * src/fcint.h (FcCacheBankToIndex);
88 Fix segfault by guarding array dereference.
90 2005-11-29 Dirk Mueller <dmueller@suse.de>
94 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
95 FcCacheBankToIndex, FcCacheBankToIndexMTF,
99 Refactor FcCacheBankToIndex into an inlineable part
100 (in fcint.h) which checks the front of the list and a
101 non-inlineable part which finds and moves the appropriate element
102 to the front of the list.
104 2005-11-29 Patrick Lam <plam@mit.edu>
105 * src/fccfg.c (FcConfigBuildFonts):
106 * src/fccache.c (FcCacheReadDirs):
108 Make the perf guys hate me a bit less: hoist the directory-name
109 FcConfigAcceptFont check for cached fonts up to directory cache
110 read time, rather than running it for each font.
112 2005-11-29 Patrick Lam <plam@mit.edu>
113 * src/fccfg.c (FcConfigBuildFonts):
115 * src/fcpat.c (FcPatternFindFullFname):
117 Don't make FcPatternFindFullFname available to fccfg, it's not
118 really safe. Instead go through FcPatternGetString (sorry,
119 perf guys.) Also, use globs for dirs as well.
121 2005-11-28 Patrick Lam <plam@mit.edu>
122 * src/fccfg.c (FcConfigBuildFonts):
126 2005-11-28 Patrick Lam <plam@mit.edu>
128 * src/fcpat.c (FcPatternFindFullFname):
129 * src/fccfg.c (FcConfigBuildFonts):
131 Fix problem dating back at least to 2.3.2 where globs weren't
132 being applied to patterns loaded from a cache.
134 2005-11-28 Patrick Lam <plam@mit.edu>
135 * doc/fontconfig-user.sgml:
137 Fix some obvious spelling mistakes.
139 2005-11-28 Dirk Mueller <dmueller@suse.com>
140 Stephan Kulow <coolo@suse.de>
143 * src/fcmatch.c (FcFontSetMatch):
145 Don't kill all fonts during match (oops!)
148 2005-11-25 Dirk Mueller <dmueller@suse.com>
149 Stephan Kulow <coolo@suse.de>
150 Michael Matz <matz@suse.de>
153 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
156 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
157 inline FcCompare into FcFontSetMatch and reorder the
158 loops, adding a boolean array which blocks patterns from future
159 consideration if they're known to not be best on some past
162 2005-11-26 Dirk Mueller <dmueller@suse.com>
165 * src/fcmatch.c (FcCompareValueList):
169 2005-11-25 Patrick Lam <plam@mit.edu>
170 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
172 Don't do random matching when bad objects are passed into
175 2005-11-25 Patrick Lam <plam@mit.edu>
177 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
178 FcPatternSerialize, FcPatternUnserialize,
179 FcValueListEnsureBank, FcValueListDistributeBytes,
180 FcValueListUnserialize):
182 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
183 _fcPatternElts, _fcValueLists for consistency.
185 2005-11-25 Dirk Mueller <dmueller@suse.com>
190 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
192 2005-11-25 Patrick Lam <plam@mit.edu>
194 * src/fccache.c (FcDirCacheConsume):
195 * src/fccharset.c (FcCharSetUnserialize):
196 * src/fcfs.c (FcFontSetUnserialize):
197 * src/fclang.c (FcLangSetUnserialize):
198 * src/fcname.c (FcObjectUnserialize):
199 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
200 FcPatternUnserialize):
202 Pass around FcCache *s to the Unserialize functions for extra
203 consistency (and less overhead, for what that's worth).
205 2005-11-24 Dirk Mueller <dmueller@suse.com>
209 * src/fcmatch.c (FcCompare*, FcFontSetSort):
210 * src/fcname.c (FcNameUnparseValue):
212 Inline the *PtrU functions to gain perf.
213 Remove unneeded params for the FcCompare* functions.
215 2005-11-24 Dirk Mueller <dmueller@suse.com>
218 * src/fcint.h, fontconfig/fontconfig.h:
220 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
222 * src/fcpat.c, src/fcint.h, src/fcname.c:
224 Check for type validity during FcPatternAddWithBinding, don't
225 verify type in FcFontMatch, don't call FcCanonicalize here
226 (which always does a deep copy).
228 2005-11-24 Dirk Mueller <dmueller@suse.com>
231 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
232 * src/fcpat.c (FcPatternAddWithBinding):
234 Make FcCompareString and FcCompareFamily less expensive.
235 Only add a value for FC_FAMILY if the proposed value is a string.
237 2005-11-24 Dirk Mueller <dmueller@suse.com>
240 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
241 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
242 * src/fcint.h (FcDebug):
244 Inline FcDebug invocations and only initialize once, in FcInit*.
245 Improve debug msg in FcPatternPrint.
247 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
250 * fontconfig/fontconfig.h:
253 Minor code warning cleanups.
255 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
258 * fc-match/fc-match.c (main):
260 Make getopt_long accept -s parameter to fc-match as well.
262 2005-11-21 Dirk Mueller <dmueller@suse.com>
265 * src/fcmatch.c (FcCompareValueList):
267 Manually perform inlining & partial redundancy elimination to
268 reduce calls to FcValueListPtrU.
270 2005-11-21 Dirk Mueller <dmueller@suse.com>
273 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
274 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
276 Only invoke strlen() when really necessary.
278 2005-11-19 Matthias Clasen <mclasen@redhat.com>
282 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
287 Get rid of the use of freetype internal headers in fcfreetype.c,
288 since those headers will go away with freetype 2.2. Replace with
289 public domain ftglue code from pango. Note that the patch removes
290 some extra error checking in FT_Get_BDF_Property() and comments
291 out the skipping of empty pcf fonts.
293 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
296 * fc-lang/fc-lang.c (main):
298 Further fix of patch from 2005-11-04: miscounted numbers count
299 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
300 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
302 Removed leafidx_count and numbers_count since they are the same
303 and replaced them with offset_count.
305 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
308 * fc-cat/fc-cat.c (main):
310 Don't crash when fc-cat invoked with no arguments.
312 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
315 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
317 Fix invalid read access caused by premature free and
318 GCC4 warnings in libxml2 codepath.
320 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
323 * src/fccfg.c (FcConfigValues):
325 List iteration not needed in FcConfigValues, since it's building
326 up the list itself; we can just strip FcVoid elements during
329 2005-11-17 Patrick Lam <plam@mit.edu>
330 * src/fccfg.c (FcConfigValues):
332 Fix crash on invalid constants in config files (forgot to update
333 a pointer upon list iteration.)
335 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
338 * src/fcxml.c (FcTypecheckExpr):
340 Complain about invalid constants in config files.
342 2005-11-17 Andreas Schwab <schwab@suse.de>
345 * src/fccache.c (FcGlobalCacheSave):
347 Don't add current_arch_start more than once.
349 2005-11-16 Patrick Lam <plam@mit.edu>
350 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
351 * src/fcfs.c (FcFontSetUnserialize):
352 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
353 * src/fcpat.c (FcStrUnserialize):
355 Fix ordering of ALIGN with respect to saving block_ptr; add
356 another ALIGN to fcfs.c.
358 2005-11-16 Patrick Lam <plam@mit.edu>
359 * src/fccache.c (FcDirCacheProduce)
361 Fix case where alignment bytes bumped up metadata->count
362 causing unwarranted failures to write cache files.
363 (Reported by Stephan Kulow).
365 2005-11-16 Patrick Lam <plam@mit.edu>
366 * src/fccache.c (FcDirCacheProduce):
367 * src/fccharset.c (FcCharSetDistributeBytes):
368 * src/fcfs.c (FcFontSetDistributeBytes):
370 * src/fclang.c (FcLangSetDistributeBytes):
371 * src/fcname.c (FcObjectDistributeBytes):
372 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
375 Add *NeededBytesAlign(), which overestimates the padding which is
376 later added by the new ALIGN macro. Fix alignment problems on
377 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
378 version by Andreas Schwab).
380 2005-11-16 Stephan Kulow <coolo@kde.org>
385 Use sysconf to determine proper PAGESIZE value; this
386 appears to be POSIX-compliant. (reported by Andreas Schwab)
388 2005-11-04 Patrick Lam <plam@mit.edu>
394 Fix bug 2878 (excessive relocations at startup for charsets,
395 reported by Ross Burton): fc-lang/fc-lang now creates the
396 static form of the langset, not the dynamic form, so that
397 the charsets should now be in .rodata.
399 2005-11-04 Patrick Lam <plam@mit.edu>
400 * src/fcdir.c (FcDirScanConfig):
402 Add test for validity of directory caches that
403 somehow got lost (reported by make distcheck).
405 2005-11-04 Patrick Lam <plam@mit.edu>
409 * fontconfig/fontconfig.h:
411 Bump version to 2.3.92.
413 2005-11-02 Patrick Lam <plam@mit.edu>
414 * src/fcpat.c (FcPatternDuplicate):
416 Fix argument ordering problem in call to FcPatternTransferFullFname.
418 2005-11-02 Patrick Lam <plam@mit.edu>
419 * src/fcfreetype.c (FcFreetypeQuery):
420 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
421 FcPatternTransferFullFname):
423 Fix warnings and embarrassing double-free error.
425 2005-11-02 Zhe Su <zsu@novell.com>
430 Change the rule for artificial emboldening in fonts.conf.in. This
431 enables the support for artificial emboldening included in cairo.
433 2005-11-02 Patrick Lam <plam@mit.edu>
434 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
436 Don't zero out full names for FC_REF_CONSTANT fonts;
437 also, duplicate full names when transferring, and free
438 full names when freeing the associated font.
439 Reported by Jinghua Luo.
441 2005-11-02 Patrick Lam <plam@mit.edu>
442 * fc-cache/fc-cache.c (scanDirs):
443 * src/fcpat.c (FcValueListSerialize):
445 Revert the previous patch and commit the correct patch:
446 I forgot a canonicalization in FcValueListSerialize, so
447 that it would choke on already-serialized input files. Duh!
449 2005-11-02 Patrick Lam <plam@mit.edu>
450 * fc-cache/fc-cache.c (scanDirs):
452 Forcibly rescan a directory before writing a fresh local
453 cache file for that directory, fixing the losing-fonts
454 problem reported by Mike Fabian and also apparently the
455 font cache file corruption.
457 2005-11-02 Patrick Lam <plam@mit.edu>
458 * src/fccache.c (FcGlobalCacheLoad):
460 Fix thinko: actually, the whole global cache is stale
461 if the global cache is older than the (newest) config file.
463 2005-11-02 Patrick Lam <plam@mit.edu>
464 * src/fccache.c (FcGlobalCacheLoad):
465 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
468 Declare the global cache of a directory's contents to be stale if
469 the directory is newer than the (newest) configuration file.
471 2005-10-31 Patrick Lam <plam@mit.edu>
473 * src/fclist.c (FcListAppend):
474 * src/fcmatch.c (FcFontRenderPrepare):
475 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
476 FcPatternFreeze, FcPatternBaseFreeze):
478 Copy the full pathname whenever duplicating an FcPattern; otherwise,
479 applications continue breaking.
481 2005-10-31 Patrick Lam <plam@mit.edu>
482 * fc-cat/fc-cat.c (FcCacheFileRead, main):
483 * src/fcfreetype.c (FcFreeTypeQuery):
485 Fix small memory error (tried to free argv); use basename and
486 dirname correctly (they can modify their arguments).
488 2005-10-31 Patrick Lam <plam@mit.edu>
496 Reinstate basename patch, but keep a hash table linking FcPatterns
497 to their fully-qualified font names for clients' benefit. Clients
498 only pay for the font names once they request the FC_FILE property
499 from an FcPattern, but the font name is malloc'd at that point (i.e.
500 not mmapped: that's impossible, since it may vary between machines.)
501 Clients do have to pay for a copy of the path name per cache file.
503 Note that FcPatternGetString now does some rewriting if you ask
504 for an FC_FILE, appending the pathname as appropriate.
506 2005-10-31 Patrick Lam <plam@mit.edu>
507 * src/fcfreetype.c (FcFreeTypeQuery):
509 Revert basename patch, which breaks fontconfig clients on my system.
511 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
514 * fontconfig/fonts.conf.in:
515 * fontconfig/fontconfig.h:
519 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
520 to load embedded bitmaps or not.
522 2005-10-25 Patrick Lam <plam@mit.edu>
523 * src/fcfreetype.c (FcFreeTypeQuery):
525 Only add basename to patterns' FC_FILE element, not any part of
528 2005-10-22 Patrick Lam <plam@mit.edu>
531 Add some more consts, fixing more GCC4 warnings.
533 2005-10-22 Zhe Su <zsu@novell.com>
536 Support localized font family and style names.
537 This has been reported to break old apps like xfd, but modern
538 (gtk+/qt/mozilla) apps work fine.
540 2005-10-21 Patrick Lam <plam@mit.edu>
541 * src/fccache.c (FcGlobalCacheLoad):
543 Destroy the global cache file if it's terminally broken. (reported by
546 2005-10-21 Patrick Lam <plam@mit.edu>
547 * fc-list/fc-list.c (main):
548 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
549 * fontconfig/fontconfig.h:
551 Prevent fc-list from escaping strings when printing them (reported by
554 2005-10-20 Marcus Meissner <meissner@suse.de>
557 * fontconfig/fontconfig.h:
559 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
561 2005-10-14 Ross Burton <ross@burtonini.com>
564 * fc-glyphname/fc-glyphname.c:
567 Add consts to variables so as to move arrays into .rodata.
569 2005-10-14 Mike Fabian <mfabian@suse.de>
572 * src/fccache.c (FcDirCacheUnlink):
574 Check existence of directory cache file before attempting to unlink.
576 2005-10-13 Patrick Lam <plam@mit.edu>
577 * src/fccache.c (FcDirCacheUnlink):
579 Fix flipped return value on unlink. (Reported by Mike Fabian)
581 2005-10-12 Patrick Lam <plam@mit.edu>
584 * src/fcdir.c (FcDirScanConfig):
587 When fc-cache is run without --force, use directory cache files
588 to speed up fc-cache run time. (Reported by Mike Fabian)
590 2005-10-06 Patrick Lam <plam@mit.edu>
592 * src/fcname.c (FcObjectToPtr):
593 * src/fcpat.c (FcStrStaticName):
595 Add padding to make valgrind and glibc not hate each other
596 when calling strlen().
598 2005-10-05 Simos Xenitellis <simos74@gmx.net>
599 reviewed by: plam & keithp
603 Modify config file to use Greek fonts before Asian fonts with
606 2005-10-05 Christian Biesinger <cbiesinger@web.de>
607 reviewed by: plam & keithp
611 Use libtool -no-undefined flag on all platforms.
613 2005-10-05 Patrick Lam <plam@mit.edu>
614 * src/fccache.c (FcCacheHaveBank):
616 Implement move-to-front array for banks (perf regression
617 reported by Ronny V. Vindenes).
619 2005-10-04 Patrick Lam <plam@mit.edu>
620 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
621 FcDirCacheHasCurrentArch):
622 * fc-cache/fc-cache.c (scanDirs):
623 * fontconfig/fontconfig.h:
625 Add new API which unlinks directory caches and checks dir caches
626 for existence of appropriate sections. Fix fc-cache to unlink
627 stale cache files and save directory caches that lack relevant
630 2005-10-03 Patrick Lam <plam@mit.edu>
631 * src/fccache.c (FcDirCacheValid):
633 Ensure that a directory cache has the appropriate section
634 before reporting that it is valid (reported by Matthias Clasen).
636 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
644 Use libxml2 if requested (with --enable-libxml2) or if
645 expat is not available.
647 2005-09-29 Patrick Lam <plam@mit.edu>
648 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
650 Fix multi-arch cache files: compute the position for the
651 block to be added using info from OrigFile, not NewFile.
653 2005-09-28 Patrick Lam <plam@mit.edu>
654 * src/fccache.c (FcCacheMachineSignature):
656 Cast results of sizeof() to unsigned int to get rid of
657 warnings on x86_64 (thanks Matthias Clasen).
659 2005-09-27 Patrick Lam <plam@mit.edu>
660 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
663 Use FcAtomic to rewrite cache files.
665 2005-09-27 Patrick Lam <plam@mit.edu>
667 * src/fccache.c (FcDirCacheWrite):
669 Don't unlink the fonts.cache-2 file even if there's no data
670 to write; just write an empty cache file. (thanks Lubos Lunak)
672 2005-09-27 Patrick Lam <plam@mit.edu>
674 * src/fccache.c (FcDirCacheWrite):
676 Allocate room for the subdirectory names in each
677 directory cache. Thanks to James Cloos for finding
678 and diagnosing this bug!
680 2005-09-22 Patrick Lam <plam@mit.edu>
682 * fc-cache/fc-cache.sgml:
683 * src/fccache.c (FcDirCacheWrite):
684 * src/fccache.h (struct FcCache):
686 Update documentation -- fc-cache's man page now says that you
687 need to run fc-cache once per cached architecture; add some
688 documentation to the FcCache structure.
690 Make fc-cache write out fonts.cache-2 files for directories with
691 no fonts (i.e. only subdirectories).
693 2005-09-22 Patrick Lam <plam@mit.edu>
695 * fc-cache/fc-cache.sgml:
697 * fc-glyphname/fc-glyphname.c:
703 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
708 * fontconfig/fcprivate.h:
709 * fontconfig/fontconfig.h:
723 Implement new mmaped cache for font information.
724 Bump so revision to 2.3.90.
726 2005-07-25 Keith Packard <keithp@keithp.com>
728 * doc/fontconfig-user.sgml:
729 * fc-glyphname/fc-glyphname.c: (scan), (main):
730 * fc-lang/fc-lang.c: (FcConfigHome):
731 * fc-match/fc-match.c: (main):
732 * src/fccfg.c: (FcConfigHome):
733 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
734 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
735 (addtag), (FcFontCapabilities):
736 * src/fcpat.c: (FcValueListEntCreate):
737 * src/fcstr.c: (FcStrCaseWalkerInit):
738 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
740 Various GCC 4 cleanups for signed vs unsigned char
742 Match only [0-9]*.conf files in <include>{directory}</include>
743 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
745 2005-07-15 Carl Worth <cworth@cworth.org>
748 * src/fcinit.c: (FcFini):
749 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
752 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
753 Pull the FcObjectStateName hash table out to file scope, and add
754 FcObjectStaticNameFini so that FcFini will cleanup this hash table
757 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
760 2005-06-16 Patrick Lam <plam@MIT.EDU>
764 * src/fccfg.c: (FcConfigCompareValue):
765 Make FcOpNotContains use FcStrStr for strings so that
766 it matches semantics for !FcOpContains.
768 2005-05-20 Keith Packard <keithp@keithp.com>
772 Move fontconfig source package to libs as per override
774 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
776 reviewed by: Mike Fabian
779 The ka.orth file requires several characters which are not
780 used anymore in modern Georgian and which are missing in the free
781 Georgian TrueType fonts downloadable at:
783 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
785 2005-04-27 Keith Packard <keithp@keithp.com>
789 Update date to real 2.3.2 release date.
790 Fix change attributions
792 2005-04-27 Keith Packard <keithp@keithp.com>
795 Bump so revision for 2.3.2
796 * fc-cache/fc-cache.c: (scanDirs):
797 Fix a few minor leaks in error cases.
799 2005-04-23 Keith Packard <keithp@keithp.com>
804 * fontconfig/fontconfig.h:
805 Update for version 2.3.2
807 2005-04-21 Keith Packard <keithp@keithp.com>
809 * debian/fontconfig.postinst:
810 Don't force bitmap font enable in default
811 configuration; allows users to override this in
821 * debian/po/pt_BR.po:
822 * debian/po/templates.pot:
824 * debian/po/zh_CN.po:
827 * fc-cache/fc-cache.c: (main):
828 Destroy font configuration on exit to help valgrind
831 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
832 (FcFreeTypeCheckGlyph):
833 Use own transcoding routines in preference to iconv
834 which appears to have leaks in some translators.
835 Call iconv_close after using iconv (oops).
837 Prefer unicode encoding of Euro char as some
838 fonts mis-encode Euro in other ones.
840 Must fetch bitmap glyphs to get width values
841 to check for monospace/dual-width fonts.
843 2005-04-13 Ross Burton <ross@burtonini.com>
846 Check that a pattern isn't already frozen in FcPatternFreeze.
848 2005-03-31 Ross Burton <ross@burtonini.com>
853 Run all FcPattern objects through FcObjectStaticName, so that
854 compares can be done on pointers instead of strings (#2659)
856 2005-03-17 Tor Lillqvist <tml@novell.com>
858 * src/fontconfig.def.in: Add the .dll to the dll name.
860 2005-03-10 Keith Packard <keithp@keithp.com>
862 * debian/README.Debian:
863 Update to reflect configuration changes
865 * debian/fontconfig.postinst:
866 Fix Autohint vs Autohinter mistake
867 * debian/fontconfig.templates:
868 Adopt changes from Josselin Mouette for configuration descriptions
869 Update debian to version 2.3.1-2
871 2005-03-08 Keith Packard <keithp@keithp.com>
875 Update debian for 2.3.1
877 2005-03-09 Tor Lillqvist <tml@novell.com>
879 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
882 * src/fccfg.c (FcConfigFileExists): Check also drive letter
885 2005-03-08 Keith Packard <keithp@keithp.com>
889 * fontconfig/fontconfig.h:
892 2005-03-05 Keith Packard <keithp@keithp.com>
894 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
895 Include space and remove numbers from valid script tags.
896 This ensures that tags like 'lao ' work while rejecting
897 those which have any digits.
898 Eliminate a spurious debugging variable (len)
900 2005-03-05 Keith Packard <keithp@keithp.com>
902 * src/fcfreetype.c: (addtag), (GetScriptTags),
903 (FcFontCapabilities):
904 Rework GSUB/GPOS script parsing to survive broken fonts.
905 Thanks for the broken font go to Manish Singh
907 2005-03-05 Keith Packard <keithp@keithp.com>
912 * debian/fontconfig.config:
913 * debian/fontconfig.templates:
915 Include 2.3 release information in changelog
916 Add Josselin Mouette as an Uploader
917 Set hinting_type to low priority configuration option
920 * debian/fontconfig.postinst:
921 yes_bitmaps.conf -> yes-bitmaps.conf
927 2005-03-02 Keith Packard <keithp@keithp.com>
930 * conf.d/Makefile.am:
931 * conf.d/autohint.conf:
932 * conf.d/no-sub-pixel.conf:
933 * conf.d/sub-pixel.conf:
934 * conf.d/unhinted.conf:
935 * debian/autohint.conf:
936 * debian/fontconfig.install:
937 * debian/fontconfig.postinst:
938 * debian/fontconfig.templates:
939 * debian/no-sub-pixel.conf:
940 * debian/unhinted.conf:
941 Move debian-specific conf file examples upstream.
943 Sub-pixel configuration examples must smash subpixel value
944 as Xft always sets it from X.
946 Change sub-pixel rendering debconf descriptions from
947 Enable/Disable to Always/Never.
949 2005-03-02 Keith Packard <keithp@keithp.com>
954 Ignore more build detritus
957 Add debian package construction stuff.
959 * config/config.guess:
961 Update to newer versions of these tools
964 Get library manuals to build again (we love automake).
966 * debian/README.Debian:
967 * debian/autohint.conf:
972 * debian/fontconfig-udeb.install:
973 * debian/fontconfig.config:
974 * debian/fontconfig.defoma:
975 * debian/fontconfig.dirs:
976 * debian/fontconfig.install:
977 * debian/fontconfig.postinst:
978 * debian/fontconfig.postrm:
979 * debian/fontconfig.templates:
980 * debian/libfontconfig1-dev.install:
981 * debian/libfontconfig1.install:
982 * debian/local.conf.md5sum:
983 * debian/no-sub-pixel.conf:
984 * debian/po/POTFILES.in:
993 * debian/po/pt_BR.po:
994 * debian/po/templates.pot:
996 * debian/po/zh_CN.po:
998 * debian/unhinted.conf:
999 Update debian build system to switch maintainers and
1000 deal with 2.3 functionality
1002 2005-03-01 Keith Packard <keithp@keithp.com>
1006 * fontconfig/fontconfig.h:
1009 2005-03-01 Keith Packard <keithp@keithp.com>
1012 Generate and install PDF versions of the manuals
1014 * doc/fcpattern.fncs:
1017 * doc/fcstring.fncs:
1018 Add missing exported functions, fix data types
1020 * doc/fontconfig-devel.sgml:
1021 Add missing pattern elements.
1023 * doc/fontconfig-user.sgml:
1024 Add missing pattern elements. Document conf.d usage,
1025 clarify available orthography list. Fix some config file
1026 attributes. Complete list of constants.
1028 * fontconfig/fontconfig.h:
1029 Mark FC_SOURCE deprecated.
1031 * src/fcfreetype.c: (FcFreeTypeQuery):
1032 Don't set FC_SOURCE any longer.
1034 2005-02-28 Keith Packard <keithp@keithp.com>
1037 * conf.d/Makefile.am:
1039 * conf.d/no-bitmaps.conf:
1040 * conf.d/sub-pixel.conf:
1041 * conf.d/yes-bitmaps.conf:
1043 Create prototype /etc/fonts/conf.d directory with a few
1044 sample configuration files.
1045 Deprecate use of local.conf for local customizations in favor of
1046 this directory based scheme which is more easily integrated into
1047 installation systems.
1050 Tag FC_EMBOLDEN as a boolean variable
1052 2005-02-10 Keith Packard <keithp@keithp.com>
1054 reviewed by: pborelli@katamail.com
1056 * src/fcdir.c: (FcFileScanConfig):
1057 Free patterns from fonts which are rejected by configuration
1060 2005-01-28 Keith Packard <keithp@keithp.com>
1064 * fontconfig/fontconfig.h:
1065 Update for version 2.2.99
1067 2005-01-28 Keith Packard <keithp@keithp.com>
1070 Add a few pointers (#2284, #2285)
1072 2005-01-28 Keith Packard <keithp@keithp.com>
1075 * src/fcname.c: (FcNameBool):
1076 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1077 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1078 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1079 Polite typechecking for test and edit expressions. Helps
1080 catch errors in the font configuration. (bug 229)
1082 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1084 reviewed by: Keith Packard <keithp@keithp.com>
1087 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1089 2005-01-13 Keith Packard <keithp@keithp.com>
1091 * doc/fontconfig-user.sgml:
1092 Add SEE ALSO section (bug 2085)
1094 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1096 reviewed by: Keith Packard <keithp@keithp.com>
1101 * fc-case/Makefile.am:
1102 * fc-glyphname/Makefile.am:
1103 * fc-lang/Makefile.am:
1104 * src/fontconfig.def.in:
1105 Cross compiling fixes (bug 280)
1107 2005-01-13 Keith Packard <keithp@keithp.com>
1110 Update blanks list (Closes bug 86)
1112 2005-01-04 Keith Packard <keithp@keithp.com>
1114 * src/fccache.c: (FcCacheFontSetAdd):
1115 Verify that every font pattern loaded from cache has
1116 both FC_FILE and FC_FAMILY entries.
1117 Attempt to fix bug #2219.
1119 2004-12-29 Keith Packard <keithp@keithp.com>
1123 * fontconfig/fontconfig.h:
1124 Update for version 2.2.98
1126 2004-12-29 Keith Packard <keithp@keithp.com>
1128 * fontconfig/fontconfig.h:
1129 Document ASCII limitations of Fc character conversion macros
1130 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1131 Fix off-by-one error in utf-8 case walking code.
1132 Add FcStrDowncase (useful for testing case conversion functions)
1134 2004-12-29 Keith Packard <keithp@keithp.com>
1137 * fc-case/.cvsignore:
1138 clean up CVS ignore lists
1139 * fc-lang/iso-3166.txt:
1140 Add territory database
1142 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1144 Reviewed by: Keith Packard
1147 Remove Han characters from Korean orthography
1149 2004-12-29 Keith Packard <keithp@keithp.com>
1152 Reorder utility programs to make sure fc-case is run before fc-lang
1153 as fc-lang uses fcstr.c which uses fccase.h
1157 2004-12-29 Keith Packard <keithp@keithp.com>
1160 Adopt some RedHat suggestions for standard font configuration.
1164 * fc-case/CaseFolding.txt:
1165 * fc-case/Makefile.am:
1166 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1167 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1168 (dump), (parseRaw), (caseFoldReadRaw), (main):
1169 * fc-case/fccase.tmpl.h:
1170 Add new helper program 'fc-case' to construct case folding
1171 tables from standard Unicode CaseFolding.txt file
1174 * src/fclist.c: (FcListValueHash):
1175 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1176 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1177 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1178 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1179 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1180 Re-implement case insensitive functions with Unicode
1181 aware versions (including full case folding mappings)
1183 2004-12-13 Keith Packard <keithp@keithp.com>
1185 reviewed by: Owen Taylor <otaylor@redhat.com>
1187 * src/fcmatch.c: (FcFontSetSort):
1188 I changed FcFontSetSort to respect the generic aliases better
1189 in the face of language matching.
1191 What I did was to ammend the strict sort order used by FcFontSort so
1192 that it 'satisfies' the language specified in the pattern by locating
1193 the best matching font supporting each pattern language and then
1194 ignores language in the remaining fonts for purposes of matching.
1196 So, when asking for 'sans:lang=en', you'll get an English font first,
1197 and then the remaining fonts sorted with respect to the 'sans' alias
1198 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1200 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1202 reviewed by: Keith Packard <keithp@keithp.com>
1204 * fontconfig/fontconfig.h:
1207 Configuration changes to request synthetic emboldening of
1208 fonts. The actual emboldening code will live in Xft.
1210 2004-12-09 John Thacker <thacker@math.cornell.edu>
1212 reviewed by: Keith Packard <keithp@keithp.com>
1216 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1217 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1218 и), and don't even appear in KOI8-R. (The hypothesis that they
1219 don't appear in KOI8-R due to their similarity with Latin I and i is
1220 eliminated by their presence in KOI8-U.) I have a couple of fonts
1221 with Russian support that don't have the letter.
1223 Therefore, 0406 and 0456 should be removed from or commented out of
1226 2004-12-06 michael meeks <mmeeks@novell.com>
1228 Reviewed by: Keith Packard <keithp@keithp.com>
1230 * src/fcinit.c: (FcMemReport):
1232 * src/fclist.c: (FcObjectSetAdd):
1233 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1234 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1235 * src/fcxml.c: (FcParsePatelt):
1236 memoize strings and share a single copy for all uses. Note that
1237 this could be improved further by using statically allocated blocks
1238 and gluing multiple strings together, but I'm basically lazy.
1239 In my environment with 800 font files, I get a savings of about 90KB.
1241 2004-12-06 Keith Packard <keithp@keithp.com>
1245 * config/Makedefs.in:
1248 * doc/fcatomic.fncs:
1249 * doc/fcblanks.fncs:
1250 * doc/fccharset.fncs:
1251 * doc/fcconfig.fncs:
1252 * doc/fcconstant.fncs:
1254 * doc/fcfontset.fncs:
1255 * doc/fcfreetype.fncs:
1257 * doc/fcmatrix.fncs:
1258 * doc/fcobjectset.fncs:
1259 * doc/fcobjecttype.fncs:
1260 * doc/fcpattern.fncs:
1261 * doc/fcstring.fncs:
1262 * doc/fcstrset.fncs:
1264 * doc/fontconfig-devel.sgml:
1265 * doc/fontconfig-user.sgml:
1267 * doc/version.sgml.in:
1268 * fc-cache/Makefile.am:
1269 * fc-cache/fc-cache.c:
1270 * fc-glyphname/Makefile.am:
1271 * fc-glyphname/fc-glyphname.c:
1272 * fc-glyphname/fcglyphname.tmpl.h:
1273 * fc-lang/Makefile.am:
1283 * fc-lang/az_ir.orth:
1317 * fc-lang/fc-lang.c:
1318 * fc-lang/fc-lang.man:
1319 * fc-lang/fclang.tmpl.h:
1364 * fc-lang/ku_ir.orth:
1397 * fc-lang/ps_af.orth:
1398 * fc-lang/ps_pk.orth:
1427 * fc-lang/ti_er.orth:
1428 * fc-lang/ti_et.orth:
1454 * fc-lang/zh_cn.orth:
1455 * fc-lang/zh_hk.orth:
1456 * fc-lang/zh_mo.orth:
1457 * fc-lang/zh_sg.orth:
1458 * fc-lang/zh_tw.orth:
1460 * fc-list/Makefile.am:
1461 * fc-list/fc-list.c:
1462 * fc-match/Makefile.am:
1463 * fc-match/fc-match.1:
1464 * fc-match/fc-match.c:
1465 * fontconfig/fcfreetype.h:
1466 * fontconfig/fcprivate.h:
1467 * fontconfig/fontconfig.h:
1488 Change files from ISO-Latin-1 to UTF-8
1490 2004-12-04 Keith Packard <keithp@keithp.com>
1493 Update links to new freedesktop.org locations
1495 Add uninstall-local to get rid of fonts.conf and local.conf if they
1496 match the distributed versions. Fixes 'make distcheck'
1498 2004-12-04 Keith Packard <keithp@keithp.com>
1502 * fontconfig/fontconfig.h:
1503 Updates for version 2.2.97
1505 2004-12-04 Owen Taylor <otaylor@redhat.com>
1507 reviewed by: Keith Packard <keithp@keithp.com>
1509 * fc-cache/fc-cache.c: (main):
1510 Sleep for two seconds before exiting to make sure timestamps
1511 for future changes have distinct mod times in the file system.
1514 Add Punjabi orthography. Bug #1671.
1516 2004-12-04 Keith Packard <keithp@keithp.com>
1519 Just remove the FC_FONTDATE -- it has locale issues and
1520 annoys redhat multi-arch installs. Now that all X fonts are
1521 included without prejudice, the chances of the date being at
1522 all interesting are rather limited. Bug #505.
1524 Add copyright and license
1526 2004-12-04 Keith Packard <keithp@keithp.com>
1529 Change default set of fonts to include all of
1530 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1531 * doc/fontconfig-user.sgml:
1532 Document new <include>directory-name</include> semantics
1534 add <include ignore_missing="yes">conf.d</include>
1536 Add selectfont to ignore bitmap fonts, add comment for
1537 selectfont which accepts bitmap fonts.
1540 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1541 Allow <include> configuration elements to reference directories.
1542 Parse and load all files of the form [0-9]* in sorted order.
1544 2004-12-04 Keith Packard <keithp@keithp.com>
1547 Report command line for $srcdir/configure accurately.
1550 2004-12-04 Keith Packard <keithp@keithp.com>
1552 * src/fcfreetype.c: (FcFreeTypeQuery):
1553 Check for non-empty face->family_name and face->style_name
1554 before using those for the font. Empty names match everything.
1557 2004-12-04 Keith Packard <keithp@keithp.com>
1560 * fontconfig/fontconfig.h:
1561 * src/fcfreetype.c: (FcFreeTypeQuery):
1563 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1564 available. This provides font file format information (BDF, Type 1,
1565 PCF, TrueType) for each font. Closes #109.
1567 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1569 reviewed by: Keith Packard <keithp@keithp.com>
1571 * doc/fontconfig-user.sgml:
1574 * fontconfig/fontconfig.h:
1575 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1576 (GetScriptTags), (FcFontCapabilities):
1578 Add detection for font capabilities (bug #105)
1580 2004-12-04 Keith Packard <keithp@keithp.com>
1583 Move existing fonts.conf to fonts.conf.bak
1586 Add detection of iconv
1588 * doc/fcpattern.fncs:
1589 * doc/fontconfig-devel.sgml:
1590 * doc/fontconfig-user.sgml:
1592 Document new selectfont elements
1595 Switch to UTF-8 in comment
1597 * fontconfig/fontconfig.h:
1599 Add fullname, and family/style/fullname language entries
1601 * src/fccache.c: (FcCacheFontSetAdd):
1602 * src/fcdir.c: (FcFileScanConfig):
1603 Respect selectfont/*/glob
1606 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1607 (FcConfigCompareValue), (FcConfigPatternsAdd),
1608 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1609 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1610 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1611 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1612 Add support for selectfont
1614 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1615 (FcStringInPatternElement), (FcFreeTypeQuery):
1616 Add multi-lingual family/style/fullname support
1618 * src/fclist.c: (FcListPatternMatchAny):
1619 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1621 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1622 (FcObjectStaticName):
1623 Add new FcPatternRemove/FcPatternAppend.
1624 FcObjectStaticName stores computed pattern element names which
1625 are required to be static.
1627 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1632 Remove spurious / after $(DESTDIR)
1634 2004-06-30 Keith Packard <keithp@keithp.com>
1638 * fontconfig/fontconfig.h:
1641 2004-06-30 Keith Packard <keithp@keithp.com>
1643 Provided by: Lubos Lunak <l.lunak@suse.cz>
1645 * src/fccfg.c: (FcConfigUptoDate):
1646 However FcConfigUptoDate() doesn't seem to work. See the attached
1647 patch. First there's an obvious misplaced parenthesis making it
1648 return always false, and second, even this call fails to detect font
1649 changes (e.g. adding a new font to
1650 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1651 well. The problem seems to be triggered by my fonts.conf specifying
1652 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1653 doesn't include subdirs, unlike config->fontDirs.
1655 2004-06-03 Keith Packard <keithp@keithp.com>
1657 * fontconfig/fontconfig.h:
1658 Remove comma at end of FcResult enum definition.
1660 2004-05-29 Keith Packard <keithp@keithp.com>
1663 Add steps to md5sum release
1665 2004-05-29 Keith Packard <keithp@keithp.com>
1669 * fontconfig/fontconfig.h:
1672 2004-05-29 Keith Packard <keithp@keithp.com>
1674 * fontconfig/fontconfig.h:
1675 * src/fcmatch.c: (FcFontSetMatch):
1676 Add FcResultOutOfMemory to provide an accurate error when
1677 FcFontSetMatch fails in this way
1680 Make #warning about lacking various FreeType features indicate
1681 which version those features appeared so users know how to
1682 fix the problem (Thanks to Anton Tropashko)
1684 2004-05-05 Keith Packard <keithp@keithp.com>
1686 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1687 Replace MIN/MAX/ABS macros which happen to have come
1688 from FreeType with fontconfig-specific ones (FC_*)
1690 2004-04-23 Keith Packard <keithp@keithp.com>
1693 Extend release preparation instructions to include
1694 notification and distribution steps
1696 2004-04-23 Keith Packard <keithp@keithp.com>
1700 * fontconfig/fontconfig.h:
1701 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1703 2004-04-23 Keith Packard <keithp@keithp.com>
1706 Ignore a few more autotool files
1708 2004-04-14 Keith Packard <keithp@keithp.com>
1711 Add instructions for doing a release
1713 * fontconfig.spec.in:
1714 clean up .spec file; perhaps this will be useful to somebody...
1718 * fontconfig/fontconfig.h:
1721 * fc-lang/fc-lang.c:
1722 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1724 * fc-glyphname/Makefile.am:
1725 * fc-lang/Makefile.am:
1726 * fc-list/Makefile.am:
1727 * fc-match/Makefile.am:
1729 Add WARN_CFLAGS to pass -W flags for GCC systems
1731 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1732 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1733 Change various char types around to match across
1735 Fixed bug in using available_sizes[i].height which
1736 is in pixels, not 64ths of a pixel.
1738 2004-03-06 Keith Packard <keithp@keithp.com>
1740 * src/fcfreetype.c: (FcFreeTypeQuery):
1741 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1742 matches looking for explicit values prefer exact matches
1744 2004-03-02 Keith Packard <keithp@keithp.com>
1746 Supplied by: mfabian@suse.de (Mike FABIAN)
1748 * src/fcfreetype.c: (FcFreeTypeQuery):
1749 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1750 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1752 2004-02-21 Manish Singh <yosh@gimp.org>
1754 * fc-glyphname/fc-glyphname.c: (main):
1755 Cast strlen to int for printf, so we're 64-bit clean.
1757 2004-02-11 Keith Packard <keithp@keithp.com>
1760 * src/fcfreetype.c: (FcGetPixelSize):
1761 Ok, so I messed up the test for y_ppem. Let's see if I
1762 got it right this time.
1764 2004-02-10 Keith Packard <keithp@keithp.com>
1767 * src/fcfreetype.c: (FcGetPixelSize):
1768 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1769 FT_Bitmap_Size record. Add a configure.in test for this
1770 and change the code accordingly (using height instead).
1772 2004-02-06 Keith Packard <keithp@keithp.com>
1775 Add Low Saxon orthography
1776 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1778 * src/fccfg.c: (FcConfigNewestFile):
1779 Oops. Left 'newest.set' unset, which would miscompute
1782 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1783 (FcFreeTypeCheckGlyph):
1784 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1785 font properties (which report the wrong value in current FreeType)
1787 Don't attempt to check for empty glyphs in non-scalable fonts; they
1790 2004-02-01 Tor Lillqvist <tml@iki.fi>
1792 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1793 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1794 cache if config->cache is NULL, which happens if FcConfigHome() is
1795 NULL. Guard against that by using the temp folder in that case.
1797 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1799 * fc-lang/az_ir.orth:
1800 * fc-lang/ku_ir.orth:
1801 * fc-lang/ps_af.orth:
1802 * fc-lang/ps_pk.orth:
1803 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1804 (Afghan and Pakistani).
1806 Updated Urdu orthography with real data.
1808 2003-12-11 Carl Worth <cworth@east.isi.edu>
1810 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1813 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1815 (all-local): Remove excessive whitespace.
1817 * autogen.sh: Add 'set -e' to abort when any program fails,
1818 (avoids printing of 'now type make' after configure aborts).
1820 2003-11-17 Eric Christopherson <rakko@charter.net>
1822 reviewed by: Keith Packard <keithp@keithp.com>
1825 * fontconfig/fcfreetype.h:
1827 Switch to FreeType 2.1.7 style includes. Bug #150.
1829 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1831 * fc-list/fc-list.sgml: Add some example usages.
1833 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1836 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1839 2003-10-27 Keith Packard <keith@keithp.com>
1842 * fontconfig/fontconfig.h:
1843 Update to version 2.2.92
1845 2003-10-27 Keith Packard <keithp@keithp.com>
1850 * fc-cache/Makefile.am:
1851 * fc-glyphname/Makefile.am:
1852 * fc-lang/Makefile.am:
1853 * fc-list/Makefile.am:
1854 * fc-match/Makefile.am:
1857 Yet more cleanups to finish getting 'make distcheck' working
1858 This has been tested to ensure that it even works from a _build
1861 2003-10-26 Keith Packard <keithp@keithp.com>
1865 * fc-cache/Makefile.am:
1866 * fc-glyphname/Makefile.am:
1867 * fc-lang/Makefile.am:
1868 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1869 * fc-list/Makefile.am:
1870 * fc-match/Makefile.am:
1871 Attempts to fix 'make distcheck' work. Things are
1872 progressing pretty well, but there are still failures
1873 long into the process dealing with docs (as always).
1875 The big changes here are mostly to make $(srcdir) != "."
1876 work correctly, fixing the docbook related sections and
1877 fc-lang were particularily tricky. Docbook refuses to load
1878 system entities from anywhere other than where the original .sgml
1879 file was located, so no luck looking in "." for the
1880 configure-generated version.sgml and confdir.sgml files.
1882 fc-lang needed help finding .orth files; added a -d option
1883 to set the directory as the least evil of many options.
1885 Now to go use a faster machine and try and wring out the last
1888 2003-10-26 Keith Packard <keithp@keithp.com>
1892 2003-10-26 Keith Packard <keithp@keithp.com>
1895 Include confdir.sgml.in in EXTRA_DIST
1897 2003-10-09 Josselin Mouette <joss@debian.org>
1899 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1900 * fc-list/fc-list.sgml fc-list/Makefile.am:
1901 Replace fc-cache and fc-list manpages with more detailed, SGML
1904 2003-09-23 Owen Taylor <otaylor@redhat.com>
1906 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1907 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1908 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1911 2003-09-23 Owen Taylor <otaylor@redhat.com>
1913 * fc-lang/ka.orth: Remove Georgian capitals, they
1914 aren't used for normal writing. (Bug #116)
1916 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1918 * doc/fontconfig-devel.sgml:
1919 * doc/fontconfig-user.sgml:
1920 * fontconfig/fontconfig.h:
1922 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1923 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1925 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1926 monospace and dual-width fonts, allow roughly a 3% variance in the
1929 2003-08-31 Manish Singh <yosh@gimp.org>
1931 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1934 2003-08-15 Carl Worth <cworth@isi.edu>
1936 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1937 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1939 * src/fcpat.c (FcValueListEntDestroy): New function to support
1940 FcFini memory cleanup. Some statistics are not kept in
1942 (FcValueListFreeze): Move hashTable outside this function so it
1943 can be accessed by FcValueListThawAll.
1944 (FcValueListThawAll): New function complements FcValueListFreeze.
1945 (FcPatternBaseFreeze): Move hashTable outside this function so it
1946 can be accessed by FcPatternBaseThawAll.
1947 (FcPatternBaseThawAll): New function complements
1948 FcPatternBaseFreeze.
1949 (FcPatternThawAll): New function complements FcPatternFreeze.
1951 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1953 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1954 allocated FcCharLeafEnt "blocks" so they can be freed later.
1955 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1956 can be accessed by FcCharSetThawAllLeaf.
1957 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1958 (FcCharSetFreezeBase): Move hashTable outside this function so it
1959 can be accessed by FcCharSetThawAll.
1960 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1962 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1963 (FcConfigDestroy): Fic leak of FcBlanks.
1965 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1966 (main): Add call to FcFini when finished.
1968 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1969 static. Add prototypes.
1971 * doc/fcinit.fncs: Add documentation for FcFini function.
1973 * doc/edit-sgml.c: Mark several local functions as static. Add
1976 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1978 2003-06-15 Tor Lillqvist <tml@iki.fi>
1980 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1981 before comparing (needed on Windows).
1983 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1985 2003-06-13 Tor Lillqvist <tml@iki.fi>
1987 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1990 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1991 WINDOWSFONTDIR token.
1993 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1994 end, not to confuse libtool, which expects the EXPORTS line to be
1995 the first. Add FcConfigEnableHome.
1997 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1998 built as a DLL on Win32.
2000 2003-06-09 Keith Packard <keithp@keithp.com>
2002 * Tag version 2.2.90
2004 2003-06-09 Keith Packard <keithp@keithp.com>
2006 * Optimization in FcLangSetIndex was broken, occasionally
2007 returning a pointer to the wrong location on miss
2009 * Add fc-match to test font matching from the command line.
2011 2003-05-31 Keith Packard <keithp@keithp.com>
2013 * (Bug 85) add support for culmus fonts
2014 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2015 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2017 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2019 * Fix "contains" op for strings and langsets.
2021 2003-05-17 Keith Packard <keithp@keithp.com>
2023 * Fix build error with BDF prop local. Free langset after query
2025 2003-05-14 Keith Packard <keithp@keithp.com>
2027 * Extract spacing from XLFD atom
2029 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2031 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2032 disappeared in 1.30.
2034 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2036 2003-05-12 Keith Packard <keithp@keithp.com>
2038 * Use FcIsWidth to share code
2040 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2041 misclassifying some Han fonts as monospaced.
2043 2003-05-07 Keith Packard <keithp@keithp.com>
2045 * Add filename-based accept/reject to ammend available fonts.
2047 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2048 older FreeType releases.
2050 2003-05-06 Keith Packard <keithp@keithp.com>
2052 * Remove 0b82 and Tamil numbers from tamil
2053 orthography (Jungshik Shin <jshin@mailaps.org>)
2055 2003-05-04 Keith Packard <keithp@keithp.com>
2057 + Map glyph names in fonts with adobe custom encoding to unicode
2059 2003-05-02 Keith Packard <keithp@keithp.com>
2061 * Add FC_WEIGHT_BOOK as weight 75
2063 2003-04-30 Keith Packard <keithp@keithp.com>
2065 * Typo in bitstream foundry name
2067 2003-04-24 Keith Packard <keithp@keithp.com>
2069 * Eliminate italic_angle check for PS fonts
2071 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2073 * Getting closer to fixing /etc/fonts hard-coding.
2075 2003-04-22 Keith Packard <keithp@keithp.com>
2077 * Update autogen.sh to work with newer automake versions
2078 * Handle pattern elements moving during multiple edits
2080 2003-04-23 James Henstridge <james@daa.com.au>
2082 * doc/fontconfig-devel.sgml: close the <para> element.
2084 * doc/fcpattern.fncs: close the <para> element.
2086 * doc/func.sgml: close the <refsynopsisdiv> element.
2088 2003-04-22 Keith Packard <keithp@keithp.com
2090 * Update autogen.sh to work with newer automake versions
2091 * Handle pattern elements moving during multiple edits
2093 2003-04-17 Colin Walters <walters@debian.org>
2095 + Remove some unused variables, and initialize some other ones so
2096 gcc doesn't warn us.
2098 2003-04-16 Keith Packard <keithp@keithp.com>
2100 + tag version 2.1.94
2102 2003-04-16 Keith Packard <keithp@keithp.com>
2104 + add BDF property fetching support for foundry
2105 (from Juliusz Chroboczek)
2106 + add BDF property fetching support for width
2108 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2110 + Implemented foundry generation for Type 1 and TrueType
2112 2003-04-11 Gerard Escalante <g2@magestudios.net>
2114 + Retrieve information from Type1 FontInfo dictionaries
2116 2003-04-07 Colin Walters <walters@verbum.org>
2118 + src/Makefile.am: Fix dummy makefile target names when
2119 MS_LIB_AVAILABLE isn't set.
2121 2003-03-22 Tor Lillqvist <tml@iki.fi>
2123 Changes for Windows:
2125 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2127 + We don't want to hardcode the fonts.conf file location in the
2128 DLL, so we look up the DLL location at run-time in a DllMain()
2129 function. The fonts.conf location is deduced from that.
2131 + The colon can't be used as path separator on Windows,
2132 semicolon is used instead. File path components can be separated
2133 with either slash or backslash. Absolute paths can also begin
2134 with a drive letter.
2136 + Add internal function FcStrLastSlash that strrchr's the last
2137 slash, or backslash on Windows.
2139 + There is no link() on Windows. For atomicity checks, mkdir a
2140 lock directory instead.
2142 + In addition to HOME, also look for USERPROFILE.
2144 + Recognize the special font directory token WINDOWSFONTDIR, to
2145 use the system's font directory.
2147 + Remove the fontconfig-def.cpp that was obsolete. Add
2148 fontconfig.def(.in), without internal functions.
2150 + Add a fontconfig-zip(.in) script, used to build a binary
2153 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2154 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2155 to main package and man3/* to devel package
2157 + Added missing defattr(-, root, root) to main RPM package
2159 + Added HTML and text development documentation to -devel subpackage
2161 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2162 + Added back the configure macro options --disable-docs, otherwise
2163 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2164 version number) unconditionally, causing RPM to fail the build due
2165 to _unpackaged_files_terminate_build. We pick up the pregenerated
2166 docs with %doc already.
2168 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2169 + Removed commented out rpm macro define at top of spec file,
2170 replacing it with a simple explanation, since rpm macros are
2171 expanded by rpm even in comments.
2173 + Changed /usr/bin to _bindir in BuildRequires lines
2175 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2177 + Reorganized file manifest lists
2179 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2181 + fontconfig.spec.in: Improvements from Red Hat spec file.
2183 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2185 + docs/*.sgml: SGML fixes.
2187 Sat Mar 1 17:28:53 PST 2003 keithp
2188 + Ok, so the ChangeLog is a bit out of date
2190 + Lots of bugs fixed; most are in bugzilla, the
2191 biggest problems were in cache management where
2192 Owen discovered the library would lose badly when
2193 combining fonts-cache and ~/.fonts-cache data
2195 + Converted from autoconf to automake. This after
2196 getting patches accepted into libtool to allow
2197 the '-version-number' argument which lets
2198 packages set version numbers explicitly rather
2199 than the roundabout libtool way
2201 + Converted documentation to SGML using the docbook
2202 DTD. Now .txt and .html documents are installed
2203 in /usr/share/doc/fontconfig and there's no
2204 man page. Perhaps a man version can be written
2207 Sat Aug 31 15:21:22 PDT 2002 keithp
2208 + Xrender and Xft had several bugs related to
2209 rendering manually placed or poly-face text
2211 + Added more complete memory tracing in fontconfig
2212 Checked with (patched) mozilla and found no leaks
2214 + Updated Latin orthographies by comparing those from
2215 evertype.com with those from eki.ee. Tried to make
2216 sensible choices, including chars that occured in both
2217 and leaving some optional chars out that occured only
2220 Mon Aug 26 16:33:04 PDT 2002 keithp
2221 + Owen discovered that FcLangSetHasLang wasn't actually
2222 checking the language set.
2224 Mon Aug 26 13:37:23 PDT 2002 keithp
2225 + Append a version number to cache filenames
2227 Thu Aug 22 11:36:18 PDT 2002 keithp
2229 + Add "contains" and "not_contains" operators and elements to
2232 + Changed semantics of eq operator for LangSets to check for
2233 FcLangEqual so that any match will do
2235 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2236 of FcValueEqual to check for identical values when inserting into
2237 the results. This broke when the above semantic change was made,
2238 now it uses FcValueEqual which is "more correct" in any case.
2240 Thu Aug 22 00:32:29 PDT 2002 keithp
2242 + Reimplement FC_LANG as new datatype. Lists of strings
2243 was consuming over a megabyte of memory for 401 fonts.
2245 + Freeze patterns loaded from cache files. This shares
2246 common value lists and common patterns which saves
2247 considerable memory.
2249 + Change the denotation of 'constant' charsets to use special
2250 ref value instead of separate boolean.
2252 + Clean up leak tracing stuff, found several unannoted alloc/free
2255 Tue Aug 20 16:17:37 PDT 2002 keithp
2257 + Fix memory leak when parsing matrices from XML
2259 Mon Aug 19 11:57:27 PDT 2002 keithp
2261 + Fix autoconf files to pass FONTCONFIG_PATH on
2262 compile line so that ${prefix} gets substituted
2265 + Use getc_unlocked/putc_unlocked on systems that
2266 provide them to avoid damage done to stdio by posix
2268 + Eliminate FC_PATTERN and FcTypePattern in favor of
2269 an extended api for FcConfigSubstitute which takes
2270 both the font and the pattern.
2272 + Add 'sans serif' alias for 'sans-serif' as some apps
2273 can't handle hyphens in family names
2275 + Eliminate pretense of support for libxml2
2277 + Comment origins of Han orthographies
2279 Tue Jul 30 18:37:09 PDT 2002 keithp
2281 + Add binding property to edit element so that strong
2282 binding values may be inserted by the config file.
2283 The default remains weak.
2285 Sun 28 Jul 04:16:55 PDT 2002 keithp
2287 + Tagged release candidate 1 in the CVS tree and
2288 placed fcpackage.rc1.tar.gz for distribution
2290 Thu Aug 1 08:55:08 PDT 2002 keithp
2292 + Fixed autoconf builds to always specify install
2293 target files (for BSD). Also fixed to
2294 define FONTCONFIG_PATH in config.h so that
2295 nonstandard installs will actually work.