1 2005-12-20 Patrick Lam <plam@mit.edu>
5 * fontconfig/fontconfig.h:
7 Bump version to 2.3.93.
9 2005-12-20 Patrick Lam <plam@mit.edu>
10 * src/fccharset.c (FcLangCharSetPopulate):
11 * src/fcint.h (FcCacheBankToIndex):
13 Avoid check on _fcBankId nullness and fix case where it used to
16 2005-12-20 Patrick Lam <plam@mit.edu>
17 * src/fcxml.c (FcConfigParseAndLoad):
19 Use open instead of fopen (requested by Phil Race for Sun).
21 2005-12-20 Patrick Lam <plam@mit.edu>
22 * src/fccache.c (FcDirCacheWrite);
23 * fc-cache/Makefile.am:
25 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
28 2005-12-20 Patrick Lam <plam@mit.edu>
29 * src/fcfreetype.c (FcFreeTypeQuery):
31 Restore code to skip over PCF fonts that have no encoded
33 (We guess that a font is PCF by presence of the PIXEL_SIZE
36 2005-12-12 Patrick Lam <plam@mit.edu>
37 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
39 Read and write the original location as a fallback for the
40 hashed cache file locations. This is mostly for users to be
41 able to have per-directory cache files.
43 2005-12-12 Patrick Lam <plam@mit.edu>
44 * fc-cache/fc-cache.c (scanDirs):
45 * fc-cache/Makefile.am:
46 * src/fccache.c (FcDirCacheHashName):
48 Improve error message when fc-cache can't write the cache. Add
49 missing slash. Reported by Behdad. Incorporate Behdad's patch to
50 create /var/cache/fontconfig when appropriate.
52 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
55 * src/fcxml.c (FcConfigGetAttribute):
57 Fix crash reported by Frederic Crozat when using libxml2.
59 2005-12-09 Patrick Lam <plam@mit.edu>
62 * fc-cache/Makefile.am:
65 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
66 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
67 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
68 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
69 FcDirCacheHasCurrentArch, FcDirCacheHashName,
70 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
72 Migrate cache files from fonts directories to
73 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
74 but requires that all caches get rebuilt.
76 Also, autogen.sh now needs the additional parameter
79 2005-12-07 Patrick Lam <plam@mit.edu>
80 * src/fcpat.c (FcPatternAddString):
82 Because we've changed FcPatternAddString to use FcStrStaticName
83 and not FcValueSave, explicitly handle the case of a null string.
85 2005-12-06 Patrick Lam <plam@mit.edu>
86 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
90 2005-12-05 Patrick Lam <plam@mit.edu>
91 * src/fcname.c (FcNameGetObjectType):
93 Don't assign types to user object names.
95 2005-12-05 Patrick Lam <plam@mit.edu>
96 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
98 Don't free strings that have been returned from FcStrStaticName.
100 2005-12-01 Patrick Lam <plam@mit.edu>
101 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
103 Add codepath for reading global cache files as well.
105 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
108 * conf.d/10-fonts.persian.conf:
109 * conf.d/Makefile.am:
111 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
113 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
116 * src/fcxml.c (FcConfigParseAndLoad):
118 Only add a config file to the set of config files once.
120 2005-11-29 Patrick Lam <plam@mit.edu>
121 * src/fcint.h (FcCacheBankToIndex);
123 Fix segfault by guarding array dereference.
125 2005-11-29 Dirk Mueller <dmueller@suse.de>
129 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
130 FcCacheBankToIndex, FcCacheBankToIndexMTF,
134 Refactor FcCacheBankToIndex into an inlineable part
135 (in fcint.h) which checks the front of the list and a
136 non-inlineable part which finds and moves the appropriate element
137 to the front of the list.
139 2005-11-29 Patrick Lam <plam@mit.edu>
140 * src/fccfg.c (FcConfigBuildFonts):
141 * src/fccache.c (FcCacheReadDirs):
143 Make the perf guys hate me a bit less: hoist the directory-name
144 FcConfigAcceptFont check for cached fonts up to directory cache
145 read time, rather than running it for each font.
147 2005-11-29 Patrick Lam <plam@mit.edu>
148 * src/fccfg.c (FcConfigBuildFonts):
150 * src/fcpat.c (FcPatternFindFullFname):
152 Don't make FcPatternFindFullFname available to fccfg, it's not
153 really safe. Instead go through FcPatternGetString (sorry,
154 perf guys.) Also, use globs for dirs as well.
156 2005-11-28 Patrick Lam <plam@mit.edu>
157 * src/fccfg.c (FcConfigBuildFonts):
161 2005-11-28 Patrick Lam <plam@mit.edu>
163 * src/fcpat.c (FcPatternFindFullFname):
164 * src/fccfg.c (FcConfigBuildFonts):
166 Fix problem dating back at least to 2.3.2 where globs weren't
167 being applied to patterns loaded from a cache.
169 2005-11-28 Patrick Lam <plam@mit.edu>
170 * doc/fontconfig-user.sgml:
172 Fix some obvious spelling mistakes.
174 2005-11-28 Dirk Mueller <dmueller@suse.com>
175 Stephan Kulow <coolo@suse.de>
178 * src/fcmatch.c (FcFontSetMatch):
180 Don't kill all fonts during match (oops!)
183 2005-11-25 Dirk Mueller <dmueller@suse.com>
184 Stephan Kulow <coolo@suse.de>
185 Michael Matz <matz@suse.de>
188 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
191 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
192 inline FcCompare into FcFontSetMatch and reorder the
193 loops, adding a boolean array which blocks patterns from future
194 consideration if they're known to not be best on some past
197 2005-11-26 Dirk Mueller <dmueller@suse.com>
200 * src/fcmatch.c (FcCompareValueList):
204 2005-11-25 Patrick Lam <plam@mit.edu>
205 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
207 Don't do random matching when bad objects are passed into
210 2005-11-25 Patrick Lam <plam@mit.edu>
212 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
213 FcPatternSerialize, FcPatternUnserialize,
214 FcValueListEnsureBank, FcValueListDistributeBytes,
215 FcValueListUnserialize):
217 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
218 _fcPatternElts, _fcValueLists for consistency.
220 2005-11-25 Dirk Mueller <dmueller@suse.com>
225 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
227 2005-11-25 Patrick Lam <plam@mit.edu>
229 * src/fccache.c (FcDirCacheConsume):
230 * src/fccharset.c (FcCharSetUnserialize):
231 * src/fcfs.c (FcFontSetUnserialize):
232 * src/fclang.c (FcLangSetUnserialize):
233 * src/fcname.c (FcObjectUnserialize):
234 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
235 FcPatternUnserialize):
237 Pass around FcCache *s to the Unserialize functions for extra
238 consistency (and less overhead, for what that's worth).
240 2005-11-24 Dirk Mueller <dmueller@suse.com>
244 * src/fcmatch.c (FcCompare*, FcFontSetSort):
245 * src/fcname.c (FcNameUnparseValue):
247 Inline the *PtrU functions to gain perf.
248 Remove unneeded params for the FcCompare* functions.
250 2005-11-24 Dirk Mueller <dmueller@suse.com>
253 * src/fcint.h, fontconfig/fontconfig.h:
255 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
257 * src/fcpat.c, src/fcint.h, src/fcname.c:
259 Check for type validity during FcPatternAddWithBinding, don't
260 verify type in FcFontMatch, don't call FcCanonicalize here
261 (which always does a deep copy).
263 2005-11-24 Dirk Mueller <dmueller@suse.com>
266 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
267 * src/fcpat.c (FcPatternAddWithBinding):
269 Make FcCompareString and FcCompareFamily less expensive.
270 Only add a value for FC_FAMILY if the proposed value is a string.
272 2005-11-24 Dirk Mueller <dmueller@suse.com>
275 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
276 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
277 * src/fcint.h (FcDebug):
279 Inline FcDebug invocations and only initialize once, in FcInit*.
280 Improve debug msg in FcPatternPrint.
282 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
285 * fontconfig/fontconfig.h:
288 Minor code warning cleanups.
290 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
293 * fc-match/fc-match.c (main):
295 Make getopt_long accept -s parameter to fc-match as well.
297 2005-11-21 Dirk Mueller <dmueller@suse.com>
300 * src/fcmatch.c (FcCompareValueList):
302 Manually perform inlining & partial redundancy elimination to
303 reduce calls to FcValueListPtrU.
305 2005-11-21 Dirk Mueller <dmueller@suse.com>
308 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
309 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
311 Only invoke strlen() when really necessary.
313 2005-11-19 Matthias Clasen <mclasen@redhat.com>
317 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
322 Get rid of the use of freetype internal headers in fcfreetype.c,
323 since those headers will go away with freetype 2.2. Replace with
324 public domain ftglue code from pango. Note that the patch removes
325 some extra error checking in FT_Get_BDF_Property() and comments
326 out the skipping of empty pcf fonts.
328 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
331 * fc-lang/fc-lang.c (main):
333 Further fix of patch from 2005-11-04: miscounted numbers count
334 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
335 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
337 Removed leafidx_count and numbers_count since they are the same
338 and replaced them with offset_count.
340 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
343 * fc-cat/fc-cat.c (main):
345 Don't crash when fc-cat invoked with no arguments.
347 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
350 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
352 Fix invalid read access caused by premature free and
353 GCC4 warnings in libxml2 codepath.
355 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
358 * src/fccfg.c (FcConfigValues):
360 List iteration not needed in FcConfigValues, since it's building
361 up the list itself; we can just strip FcVoid elements during
364 2005-11-17 Patrick Lam <plam@mit.edu>
365 * src/fccfg.c (FcConfigValues):
367 Fix crash on invalid constants in config files (forgot to update
368 a pointer upon list iteration.)
370 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
373 * src/fcxml.c (FcTypecheckExpr):
375 Complain about invalid constants in config files.
377 2005-11-17 Andreas Schwab <schwab@suse.de>
380 * src/fccache.c (FcGlobalCacheSave):
382 Don't add current_arch_start more than once.
384 2005-11-16 Patrick Lam <plam@mit.edu>
385 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
386 * src/fcfs.c (FcFontSetUnserialize):
387 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
388 * src/fcpat.c (FcStrUnserialize):
390 Fix ordering of ALIGN with respect to saving block_ptr; add
391 another ALIGN to fcfs.c.
393 2005-11-16 Patrick Lam <plam@mit.edu>
394 * src/fccache.c (FcDirCacheProduce)
396 Fix case where alignment bytes bumped up metadata->count
397 causing unwarranted failures to write cache files.
398 (Reported by Stephan Kulow).
400 2005-11-16 Patrick Lam <plam@mit.edu>
401 * src/fccache.c (FcDirCacheProduce):
402 * src/fccharset.c (FcCharSetDistributeBytes):
403 * src/fcfs.c (FcFontSetDistributeBytes):
405 * src/fclang.c (FcLangSetDistributeBytes):
406 * src/fcname.c (FcObjectDistributeBytes):
407 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
410 Add *NeededBytesAlign(), which overestimates the padding which is
411 later added by the new ALIGN macro. Fix alignment problems on
412 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
413 version by Andreas Schwab).
415 2005-11-16 Stephan Kulow <coolo@kde.org>
420 Use sysconf to determine proper PAGESIZE value; this
421 appears to be POSIX-compliant. (reported by Andreas Schwab)
423 2005-11-04 Patrick Lam <plam@mit.edu>
429 Fix bug 2878 (excessive relocations at startup for charsets,
430 reported by Ross Burton): fc-lang/fc-lang now creates the
431 static form of the langset, not the dynamic form, so that
432 the charsets should now be in .rodata.
434 2005-11-04 Patrick Lam <plam@mit.edu>
435 * src/fcdir.c (FcDirScanConfig):
437 Add test for validity of directory caches that
438 somehow got lost (reported by make distcheck).
440 2005-11-04 Patrick Lam <plam@mit.edu>
444 * fontconfig/fontconfig.h:
446 Bump version to 2.3.92.
448 2005-11-02 Patrick Lam <plam@mit.edu>
449 * src/fcpat.c (FcPatternDuplicate):
451 Fix argument ordering problem in call to FcPatternTransferFullFname.
453 2005-11-02 Patrick Lam <plam@mit.edu>
454 * src/fcfreetype.c (FcFreetypeQuery):
455 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
456 FcPatternTransferFullFname):
458 Fix warnings and embarrassing double-free error.
460 2005-11-02 Zhe Su <zsu@novell.com>
465 Change the rule for artificial emboldening in fonts.conf.in. This
466 enables the support for artificial emboldening included in cairo.
468 2005-11-02 Patrick Lam <plam@mit.edu>
469 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
471 Don't zero out full names for FC_REF_CONSTANT fonts;
472 also, duplicate full names when transferring, and free
473 full names when freeing the associated font.
474 Reported by Jinghua Luo.
476 2005-11-02 Patrick Lam <plam@mit.edu>
477 * fc-cache/fc-cache.c (scanDirs):
478 * src/fcpat.c (FcValueListSerialize):
480 Revert the previous patch and commit the correct patch:
481 I forgot a canonicalization in FcValueListSerialize, so
482 that it would choke on already-serialized input files. Duh!
484 2005-11-02 Patrick Lam <plam@mit.edu>
485 * fc-cache/fc-cache.c (scanDirs):
487 Forcibly rescan a directory before writing a fresh local
488 cache file for that directory, fixing the losing-fonts
489 problem reported by Mike Fabian and also apparently the
490 font cache file corruption.
492 2005-11-02 Patrick Lam <plam@mit.edu>
493 * src/fccache.c (FcGlobalCacheLoad):
495 Fix thinko: actually, the whole global cache is stale
496 if the global cache is older than the (newest) config file.
498 2005-11-02 Patrick Lam <plam@mit.edu>
499 * src/fccache.c (FcGlobalCacheLoad):
500 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
503 Declare the global cache of a directory's contents to be stale if
504 the directory is newer than the (newest) configuration file.
506 2005-10-31 Patrick Lam <plam@mit.edu>
508 * src/fclist.c (FcListAppend):
509 * src/fcmatch.c (FcFontRenderPrepare):
510 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
511 FcPatternFreeze, FcPatternBaseFreeze):
513 Copy the full pathname whenever duplicating an FcPattern; otherwise,
514 applications continue breaking.
516 2005-10-31 Patrick Lam <plam@mit.edu>
517 * fc-cat/fc-cat.c (FcCacheFileRead, main):
518 * src/fcfreetype.c (FcFreeTypeQuery):
520 Fix small memory error (tried to free argv); use basename and
521 dirname correctly (they can modify their arguments).
523 2005-10-31 Patrick Lam <plam@mit.edu>
531 Reinstate basename patch, but keep a hash table linking FcPatterns
532 to their fully-qualified font names for clients' benefit. Clients
533 only pay for the font names once they request the FC_FILE property
534 from an FcPattern, but the font name is malloc'd at that point (i.e.
535 not mmapped: that's impossible, since it may vary between machines.)
536 Clients do have to pay for a copy of the path name per cache file.
538 Note that FcPatternGetString now does some rewriting if you ask
539 for an FC_FILE, appending the pathname as appropriate.
541 2005-10-31 Patrick Lam <plam@mit.edu>
542 * src/fcfreetype.c (FcFreeTypeQuery):
544 Revert basename patch, which breaks fontconfig clients on my system.
546 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
549 * fontconfig/fonts.conf.in:
550 * fontconfig/fontconfig.h:
554 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
555 to load embedded bitmaps or not.
557 2005-10-25 Patrick Lam <plam@mit.edu>
558 * src/fcfreetype.c (FcFreeTypeQuery):
560 Only add basename to patterns' FC_FILE element, not any part of
563 2005-10-22 Patrick Lam <plam@mit.edu>
566 Add some more consts, fixing more GCC4 warnings.
568 2005-10-22 Zhe Su <zsu@novell.com>
571 Support localized font family and style names.
572 This has been reported to break old apps like xfd, but modern
573 (gtk+/qt/mozilla) apps work fine.
575 2005-10-21 Patrick Lam <plam@mit.edu>
576 * src/fccache.c (FcGlobalCacheLoad):
578 Destroy the global cache file if it's terminally broken. (reported by
581 2005-10-21 Patrick Lam <plam@mit.edu>
582 * fc-list/fc-list.c (main):
583 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
584 * fontconfig/fontconfig.h:
586 Prevent fc-list from escaping strings when printing them (reported by
589 2005-10-20 Marcus Meissner <meissner@suse.de>
592 * fontconfig/fontconfig.h:
594 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
596 2005-10-14 Ross Burton <ross@burtonini.com>
599 * fc-glyphname/fc-glyphname.c:
602 Add consts to variables so as to move arrays into .rodata.
604 2005-10-14 Mike Fabian <mfabian@suse.de>
607 * src/fccache.c (FcDirCacheUnlink):
609 Check existence of directory cache file before attempting to unlink.
611 2005-10-13 Patrick Lam <plam@mit.edu>
612 * src/fccache.c (FcDirCacheUnlink):
614 Fix flipped return value on unlink. (Reported by Mike Fabian)
616 2005-10-12 Patrick Lam <plam@mit.edu>
619 * src/fcdir.c (FcDirScanConfig):
622 When fc-cache is run without --force, use directory cache files
623 to speed up fc-cache run time. (Reported by Mike Fabian)
625 2005-10-06 Patrick Lam <plam@mit.edu>
627 * src/fcname.c (FcObjectToPtr):
628 * src/fcpat.c (FcStrStaticName):
630 Add padding to make valgrind and glibc not hate each other
631 when calling strlen().
633 2005-10-05 Simos Xenitellis <simos74@gmx.net>
634 reviewed by: plam & keithp
638 Modify config file to use Greek fonts before Asian fonts with
641 2005-10-05 Christian Biesinger <cbiesinger@web.de>
642 reviewed by: plam & keithp
646 Use libtool -no-undefined flag on all platforms.
648 2005-10-05 Patrick Lam <plam@mit.edu>
649 * src/fccache.c (FcCacheHaveBank):
651 Implement move-to-front array for banks (perf regression
652 reported by Ronny V. Vindenes).
654 2005-10-04 Patrick Lam <plam@mit.edu>
655 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
656 FcDirCacheHasCurrentArch):
657 * fc-cache/fc-cache.c (scanDirs):
658 * fontconfig/fontconfig.h:
660 Add new API which unlinks directory caches and checks dir caches
661 for existence of appropriate sections. Fix fc-cache to unlink
662 stale cache files and save directory caches that lack relevant
665 2005-10-03 Patrick Lam <plam@mit.edu>
666 * src/fccache.c (FcDirCacheValid):
668 Ensure that a directory cache has the appropriate section
669 before reporting that it is valid (reported by Matthias Clasen).
671 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
679 Use libxml2 if requested (with --enable-libxml2) or if
680 expat is not available.
682 2005-09-29 Patrick Lam <plam@mit.edu>
683 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
685 Fix multi-arch cache files: compute the position for the
686 block to be added using info from OrigFile, not NewFile.
688 2005-09-28 Patrick Lam <plam@mit.edu>
689 * src/fccache.c (FcCacheMachineSignature):
691 Cast results of sizeof() to unsigned int to get rid of
692 warnings on x86_64 (thanks Matthias Clasen).
694 2005-09-27 Patrick Lam <plam@mit.edu>
695 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
698 Use FcAtomic to rewrite cache files.
700 2005-09-27 Patrick Lam <plam@mit.edu>
702 * src/fccache.c (FcDirCacheWrite):
704 Don't unlink the fonts.cache-2 file even if there's no data
705 to write; just write an empty cache file. (thanks Lubos Lunak)
707 2005-09-27 Patrick Lam <plam@mit.edu>
709 * src/fccache.c (FcDirCacheWrite):
711 Allocate room for the subdirectory names in each
712 directory cache. Thanks to James Cloos for finding
713 and diagnosing this bug!
715 2005-09-22 Patrick Lam <plam@mit.edu>
717 * fc-cache/fc-cache.sgml:
718 * src/fccache.c (FcDirCacheWrite):
719 * src/fccache.h (struct FcCache):
721 Update documentation -- fc-cache's man page now says that you
722 need to run fc-cache once per cached architecture; add some
723 documentation to the FcCache structure.
725 Make fc-cache write out fonts.cache-2 files for directories with
726 no fonts (i.e. only subdirectories).
728 2005-09-22 Patrick Lam <plam@mit.edu>
730 * fc-cache/fc-cache.sgml:
732 * fc-glyphname/fc-glyphname.c:
738 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
743 * fontconfig/fcprivate.h:
744 * fontconfig/fontconfig.h:
758 Implement new mmaped cache for font information.
759 Bump so revision to 2.3.90.
761 2005-07-25 Keith Packard <keithp@keithp.com>
763 * doc/fontconfig-user.sgml:
764 * fc-glyphname/fc-glyphname.c: (scan), (main):
765 * fc-lang/fc-lang.c: (FcConfigHome):
766 * fc-match/fc-match.c: (main):
767 * src/fccfg.c: (FcConfigHome):
768 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
769 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
770 (addtag), (FcFontCapabilities):
771 * src/fcpat.c: (FcValueListEntCreate):
772 * src/fcstr.c: (FcStrCaseWalkerInit):
773 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
775 Various GCC 4 cleanups for signed vs unsigned char
777 Match only [0-9]*.conf files in <include>{directory}</include>
778 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
780 2005-07-15 Carl Worth <cworth@cworth.org>
783 * src/fcinit.c: (FcFini):
784 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
787 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
788 Pull the FcObjectStateName hash table out to file scope, and add
789 FcObjectStaticNameFini so that FcFini will cleanup this hash table
792 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
795 2005-06-16 Patrick Lam <plam@MIT.EDU>
799 * src/fccfg.c: (FcConfigCompareValue):
800 Make FcOpNotContains use FcStrStr for strings so that
801 it matches semantics for !FcOpContains.
803 2005-05-20 Keith Packard <keithp@keithp.com>
807 Move fontconfig source package to libs as per override
809 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
811 reviewed by: Mike Fabian
814 The ka.orth file requires several characters which are not
815 used anymore in modern Georgian and which are missing in the free
816 Georgian TrueType fonts downloadable at:
818 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
820 2005-04-27 Keith Packard <keithp@keithp.com>
824 Update date to real 2.3.2 release date.
825 Fix change attributions
827 2005-04-27 Keith Packard <keithp@keithp.com>
830 Bump so revision for 2.3.2
831 * fc-cache/fc-cache.c: (scanDirs):
832 Fix a few minor leaks in error cases.
834 2005-04-23 Keith Packard <keithp@keithp.com>
839 * fontconfig/fontconfig.h:
840 Update for version 2.3.2
842 2005-04-21 Keith Packard <keithp@keithp.com>
844 * debian/fontconfig.postinst:
845 Don't force bitmap font enable in default
846 configuration; allows users to override this in
856 * debian/po/pt_BR.po:
857 * debian/po/templates.pot:
859 * debian/po/zh_CN.po:
862 * fc-cache/fc-cache.c: (main):
863 Destroy font configuration on exit to help valgrind
866 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
867 (FcFreeTypeCheckGlyph):
868 Use own transcoding routines in preference to iconv
869 which appears to have leaks in some translators.
870 Call iconv_close after using iconv (oops).
872 Prefer unicode encoding of Euro char as some
873 fonts mis-encode Euro in other ones.
875 Must fetch bitmap glyphs to get width values
876 to check for monospace/dual-width fonts.
878 2005-04-13 Ross Burton <ross@burtonini.com>
881 Check that a pattern isn't already frozen in FcPatternFreeze.
883 2005-03-31 Ross Burton <ross@burtonini.com>
888 Run all FcPattern objects through FcObjectStaticName, so that
889 compares can be done on pointers instead of strings (#2659)
891 2005-03-17 Tor Lillqvist <tml@novell.com>
893 * src/fontconfig.def.in: Add the .dll to the dll name.
895 2005-03-10 Keith Packard <keithp@keithp.com>
897 * debian/README.Debian:
898 Update to reflect configuration changes
900 * debian/fontconfig.postinst:
901 Fix Autohint vs Autohinter mistake
902 * debian/fontconfig.templates:
903 Adopt changes from Josselin Mouette for configuration descriptions
904 Update debian to version 2.3.1-2
906 2005-03-08 Keith Packard <keithp@keithp.com>
910 Update debian for 2.3.1
912 2005-03-09 Tor Lillqvist <tml@novell.com>
914 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
917 * src/fccfg.c (FcConfigFileExists): Check also drive letter
920 2005-03-08 Keith Packard <keithp@keithp.com>
924 * fontconfig/fontconfig.h:
927 2005-03-05 Keith Packard <keithp@keithp.com>
929 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
930 Include space and remove numbers from valid script tags.
931 This ensures that tags like 'lao ' work while rejecting
932 those which have any digits.
933 Eliminate a spurious debugging variable (len)
935 2005-03-05 Keith Packard <keithp@keithp.com>
937 * src/fcfreetype.c: (addtag), (GetScriptTags),
938 (FcFontCapabilities):
939 Rework GSUB/GPOS script parsing to survive broken fonts.
940 Thanks for the broken font go to Manish Singh
942 2005-03-05 Keith Packard <keithp@keithp.com>
947 * debian/fontconfig.config:
948 * debian/fontconfig.templates:
950 Include 2.3 release information in changelog
951 Add Josselin Mouette as an Uploader
952 Set hinting_type to low priority configuration option
955 * debian/fontconfig.postinst:
956 yes_bitmaps.conf -> yes-bitmaps.conf
962 2005-03-02 Keith Packard <keithp@keithp.com>
965 * conf.d/Makefile.am:
966 * conf.d/autohint.conf:
967 * conf.d/no-sub-pixel.conf:
968 * conf.d/sub-pixel.conf:
969 * conf.d/unhinted.conf:
970 * debian/autohint.conf:
971 * debian/fontconfig.install:
972 * debian/fontconfig.postinst:
973 * debian/fontconfig.templates:
974 * debian/no-sub-pixel.conf:
975 * debian/unhinted.conf:
976 Move debian-specific conf file examples upstream.
978 Sub-pixel configuration examples must smash subpixel value
979 as Xft always sets it from X.
981 Change sub-pixel rendering debconf descriptions from
982 Enable/Disable to Always/Never.
984 2005-03-02 Keith Packard <keithp@keithp.com>
989 Ignore more build detritus
992 Add debian package construction stuff.
994 * config/config.guess:
996 Update to newer versions of these tools
999 Get library manuals to build again (we love automake).
1001 * debian/README.Debian:
1002 * debian/autohint.conf:
1007 * debian/fontconfig-udeb.install:
1008 * debian/fontconfig.config:
1009 * debian/fontconfig.defoma:
1010 * debian/fontconfig.dirs:
1011 * debian/fontconfig.install:
1012 * debian/fontconfig.postinst:
1013 * debian/fontconfig.postrm:
1014 * debian/fontconfig.templates:
1015 * debian/libfontconfig1-dev.install:
1016 * debian/libfontconfig1.install:
1017 * debian/local.conf.md5sum:
1018 * debian/no-sub-pixel.conf:
1019 * debian/po/POTFILES.in:
1028 * debian/po/pt_BR.po:
1029 * debian/po/templates.pot:
1031 * debian/po/zh_CN.po:
1033 * debian/unhinted.conf:
1034 Update debian build system to switch maintainers and
1035 deal with 2.3 functionality
1037 2005-03-01 Keith Packard <keithp@keithp.com>
1041 * fontconfig/fontconfig.h:
1044 2005-03-01 Keith Packard <keithp@keithp.com>
1047 Generate and install PDF versions of the manuals
1049 * doc/fcpattern.fncs:
1052 * doc/fcstring.fncs:
1053 Add missing exported functions, fix data types
1055 * doc/fontconfig-devel.sgml:
1056 Add missing pattern elements.
1058 * doc/fontconfig-user.sgml:
1059 Add missing pattern elements. Document conf.d usage,
1060 clarify available orthography list. Fix some config file
1061 attributes. Complete list of constants.
1063 * fontconfig/fontconfig.h:
1064 Mark FC_SOURCE deprecated.
1066 * src/fcfreetype.c: (FcFreeTypeQuery):
1067 Don't set FC_SOURCE any longer.
1069 2005-02-28 Keith Packard <keithp@keithp.com>
1072 * conf.d/Makefile.am:
1074 * conf.d/no-bitmaps.conf:
1075 * conf.d/sub-pixel.conf:
1076 * conf.d/yes-bitmaps.conf:
1078 Create prototype /etc/fonts/conf.d directory with a few
1079 sample configuration files.
1080 Deprecate use of local.conf for local customizations in favor of
1081 this directory based scheme which is more easily integrated into
1082 installation systems.
1085 Tag FC_EMBOLDEN as a boolean variable
1087 2005-02-10 Keith Packard <keithp@keithp.com>
1089 reviewed by: pborelli@katamail.com
1091 * src/fcdir.c: (FcFileScanConfig):
1092 Free patterns from fonts which are rejected by configuration
1095 2005-01-28 Keith Packard <keithp@keithp.com>
1099 * fontconfig/fontconfig.h:
1100 Update for version 2.2.99
1102 2005-01-28 Keith Packard <keithp@keithp.com>
1105 Add a few pointers (#2284, #2285)
1107 2005-01-28 Keith Packard <keithp@keithp.com>
1110 * src/fcname.c: (FcNameBool):
1111 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1112 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1113 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1114 Polite typechecking for test and edit expressions. Helps
1115 catch errors in the font configuration. (bug 229)
1117 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1119 reviewed by: Keith Packard <keithp@keithp.com>
1122 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1124 2005-01-13 Keith Packard <keithp@keithp.com>
1126 * doc/fontconfig-user.sgml:
1127 Add SEE ALSO section (bug 2085)
1129 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1131 reviewed by: Keith Packard <keithp@keithp.com>
1136 * fc-case/Makefile.am:
1137 * fc-glyphname/Makefile.am:
1138 * fc-lang/Makefile.am:
1139 * src/fontconfig.def.in:
1140 Cross compiling fixes (bug 280)
1142 2005-01-13 Keith Packard <keithp@keithp.com>
1145 Update blanks list (Closes bug 86)
1147 2005-01-04 Keith Packard <keithp@keithp.com>
1149 * src/fccache.c: (FcCacheFontSetAdd):
1150 Verify that every font pattern loaded from cache has
1151 both FC_FILE and FC_FAMILY entries.
1152 Attempt to fix bug #2219.
1154 2004-12-29 Keith Packard <keithp@keithp.com>
1158 * fontconfig/fontconfig.h:
1159 Update for version 2.2.98
1161 2004-12-29 Keith Packard <keithp@keithp.com>
1163 * fontconfig/fontconfig.h:
1164 Document ASCII limitations of Fc character conversion macros
1165 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1166 Fix off-by-one error in utf-8 case walking code.
1167 Add FcStrDowncase (useful for testing case conversion functions)
1169 2004-12-29 Keith Packard <keithp@keithp.com>
1172 * fc-case/.cvsignore:
1173 clean up CVS ignore lists
1174 * fc-lang/iso-3166.txt:
1175 Add territory database
1177 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1179 Reviewed by: Keith Packard
1182 Remove Han characters from Korean orthography
1184 2004-12-29 Keith Packard <keithp@keithp.com>
1187 Reorder utility programs to make sure fc-case is run before fc-lang
1188 as fc-lang uses fcstr.c which uses fccase.h
1192 2004-12-29 Keith Packard <keithp@keithp.com>
1195 Adopt some RedHat suggestions for standard font configuration.
1199 * fc-case/CaseFolding.txt:
1200 * fc-case/Makefile.am:
1201 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1202 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1203 (dump), (parseRaw), (caseFoldReadRaw), (main):
1204 * fc-case/fccase.tmpl.h:
1205 Add new helper program 'fc-case' to construct case folding
1206 tables from standard Unicode CaseFolding.txt file
1209 * src/fclist.c: (FcListValueHash):
1210 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1211 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1212 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1213 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1214 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1215 Re-implement case insensitive functions with Unicode
1216 aware versions (including full case folding mappings)
1218 2004-12-13 Keith Packard <keithp@keithp.com>
1220 reviewed by: Owen Taylor <otaylor@redhat.com>
1222 * src/fcmatch.c: (FcFontSetSort):
1223 I changed FcFontSetSort to respect the generic aliases better
1224 in the face of language matching.
1226 What I did was to ammend the strict sort order used by FcFontSort so
1227 that it 'satisfies' the language specified in the pattern by locating
1228 the best matching font supporting each pattern language and then
1229 ignores language in the remaining fonts for purposes of matching.
1231 So, when asking for 'sans:lang=en', you'll get an English font first,
1232 and then the remaining fonts sorted with respect to the 'sans' alias
1233 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1235 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1237 reviewed by: Keith Packard <keithp@keithp.com>
1239 * fontconfig/fontconfig.h:
1242 Configuration changes to request synthetic emboldening of
1243 fonts. The actual emboldening code will live in Xft.
1245 2004-12-09 John Thacker <thacker@math.cornell.edu>
1247 reviewed by: Keith Packard <keithp@keithp.com>
1251 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1252 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1253 и), and don't even appear in KOI8-R. (The hypothesis that they
1254 don't appear in KOI8-R due to their similarity with Latin I and i is
1255 eliminated by their presence in KOI8-U.) I have a couple of fonts
1256 with Russian support that don't have the letter.
1258 Therefore, 0406 and 0456 should be removed from or commented out of
1261 2004-12-06 michael meeks <mmeeks@novell.com>
1263 Reviewed by: Keith Packard <keithp@keithp.com>
1265 * src/fcinit.c: (FcMemReport):
1267 * src/fclist.c: (FcObjectSetAdd):
1268 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1269 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1270 * src/fcxml.c: (FcParsePatelt):
1271 memoize strings and share a single copy for all uses. Note that
1272 this could be improved further by using statically allocated blocks
1273 and gluing multiple strings together, but I'm basically lazy.
1274 In my environment with 800 font files, I get a savings of about 90KB.
1276 2004-12-06 Keith Packard <keithp@keithp.com>
1280 * config/Makedefs.in:
1283 * doc/fcatomic.fncs:
1284 * doc/fcblanks.fncs:
1285 * doc/fccharset.fncs:
1286 * doc/fcconfig.fncs:
1287 * doc/fcconstant.fncs:
1289 * doc/fcfontset.fncs:
1290 * doc/fcfreetype.fncs:
1292 * doc/fcmatrix.fncs:
1293 * doc/fcobjectset.fncs:
1294 * doc/fcobjecttype.fncs:
1295 * doc/fcpattern.fncs:
1296 * doc/fcstring.fncs:
1297 * doc/fcstrset.fncs:
1299 * doc/fontconfig-devel.sgml:
1300 * doc/fontconfig-user.sgml:
1302 * doc/version.sgml.in:
1303 * fc-cache/Makefile.am:
1304 * fc-cache/fc-cache.c:
1305 * fc-glyphname/Makefile.am:
1306 * fc-glyphname/fc-glyphname.c:
1307 * fc-glyphname/fcglyphname.tmpl.h:
1308 * fc-lang/Makefile.am:
1318 * fc-lang/az_ir.orth:
1352 * fc-lang/fc-lang.c:
1353 * fc-lang/fc-lang.man:
1354 * fc-lang/fclang.tmpl.h:
1399 * fc-lang/ku_ir.orth:
1432 * fc-lang/ps_af.orth:
1433 * fc-lang/ps_pk.orth:
1462 * fc-lang/ti_er.orth:
1463 * fc-lang/ti_et.orth:
1489 * fc-lang/zh_cn.orth:
1490 * fc-lang/zh_hk.orth:
1491 * fc-lang/zh_mo.orth:
1492 * fc-lang/zh_sg.orth:
1493 * fc-lang/zh_tw.orth:
1495 * fc-list/Makefile.am:
1496 * fc-list/fc-list.c:
1497 * fc-match/Makefile.am:
1498 * fc-match/fc-match.1:
1499 * fc-match/fc-match.c:
1500 * fontconfig/fcfreetype.h:
1501 * fontconfig/fcprivate.h:
1502 * fontconfig/fontconfig.h:
1523 Change files from ISO-Latin-1 to UTF-8
1525 2004-12-04 Keith Packard <keithp@keithp.com>
1528 Update links to new freedesktop.org locations
1530 Add uninstall-local to get rid of fonts.conf and local.conf if they
1531 match the distributed versions. Fixes 'make distcheck'
1533 2004-12-04 Keith Packard <keithp@keithp.com>
1537 * fontconfig/fontconfig.h:
1538 Updates for version 2.2.97
1540 2004-12-04 Owen Taylor <otaylor@redhat.com>
1542 reviewed by: Keith Packard <keithp@keithp.com>
1544 * fc-cache/fc-cache.c: (main):
1545 Sleep for two seconds before exiting to make sure timestamps
1546 for future changes have distinct mod times in the file system.
1549 Add Punjabi orthography. Bug #1671.
1551 2004-12-04 Keith Packard <keithp@keithp.com>
1554 Just remove the FC_FONTDATE -- it has locale issues and
1555 annoys redhat multi-arch installs. Now that all X fonts are
1556 included without prejudice, the chances of the date being at
1557 all interesting are rather limited. Bug #505.
1559 Add copyright and license
1561 2004-12-04 Keith Packard <keithp@keithp.com>
1564 Change default set of fonts to include all of
1565 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1566 * doc/fontconfig-user.sgml:
1567 Document new <include>directory-name</include> semantics
1569 add <include ignore_missing="yes">conf.d</include>
1571 Add selectfont to ignore bitmap fonts, add comment for
1572 selectfont which accepts bitmap fonts.
1575 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1576 Allow <include> configuration elements to reference directories.
1577 Parse and load all files of the form [0-9]* in sorted order.
1579 2004-12-04 Keith Packard <keithp@keithp.com>
1582 Report command line for $srcdir/configure accurately.
1585 2004-12-04 Keith Packard <keithp@keithp.com>
1587 * src/fcfreetype.c: (FcFreeTypeQuery):
1588 Check for non-empty face->family_name and face->style_name
1589 before using those for the font. Empty names match everything.
1592 2004-12-04 Keith Packard <keithp@keithp.com>
1595 * fontconfig/fontconfig.h:
1596 * src/fcfreetype.c: (FcFreeTypeQuery):
1598 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1599 available. This provides font file format information (BDF, Type 1,
1600 PCF, TrueType) for each font. Closes #109.
1602 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1604 reviewed by: Keith Packard <keithp@keithp.com>
1606 * doc/fontconfig-user.sgml:
1609 * fontconfig/fontconfig.h:
1610 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1611 (GetScriptTags), (FcFontCapabilities):
1613 Add detection for font capabilities (bug #105)
1615 2004-12-04 Keith Packard <keithp@keithp.com>
1618 Move existing fonts.conf to fonts.conf.bak
1621 Add detection of iconv
1623 * doc/fcpattern.fncs:
1624 * doc/fontconfig-devel.sgml:
1625 * doc/fontconfig-user.sgml:
1627 Document new selectfont elements
1630 Switch to UTF-8 in comment
1632 * fontconfig/fontconfig.h:
1634 Add fullname, and family/style/fullname language entries
1636 * src/fccache.c: (FcCacheFontSetAdd):
1637 * src/fcdir.c: (FcFileScanConfig):
1638 Respect selectfont/*/glob
1641 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1642 (FcConfigCompareValue), (FcConfigPatternsAdd),
1643 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1644 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1645 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1646 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1647 Add support for selectfont
1649 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1650 (FcStringInPatternElement), (FcFreeTypeQuery):
1651 Add multi-lingual family/style/fullname support
1653 * src/fclist.c: (FcListPatternMatchAny):
1654 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1656 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1657 (FcObjectStaticName):
1658 Add new FcPatternRemove/FcPatternAppend.
1659 FcObjectStaticName stores computed pattern element names which
1660 are required to be static.
1662 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1667 Remove spurious / after $(DESTDIR)
1669 2004-06-30 Keith Packard <keithp@keithp.com>
1673 * fontconfig/fontconfig.h:
1676 2004-06-30 Keith Packard <keithp@keithp.com>
1678 Provided by: Lubos Lunak <l.lunak@suse.cz>
1680 * src/fccfg.c: (FcConfigUptoDate):
1681 However FcConfigUptoDate() doesn't seem to work. See the attached
1682 patch. First there's an obvious misplaced parenthesis making it
1683 return always false, and second, even this call fails to detect font
1684 changes (e.g. adding a new font to
1685 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1686 well. The problem seems to be triggered by my fonts.conf specifying
1687 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1688 doesn't include subdirs, unlike config->fontDirs.
1690 2004-06-03 Keith Packard <keithp@keithp.com>
1692 * fontconfig/fontconfig.h:
1693 Remove comma at end of FcResult enum definition.
1695 2004-05-29 Keith Packard <keithp@keithp.com>
1698 Add steps to md5sum release
1700 2004-05-29 Keith Packard <keithp@keithp.com>
1704 * fontconfig/fontconfig.h:
1707 2004-05-29 Keith Packard <keithp@keithp.com>
1709 * fontconfig/fontconfig.h:
1710 * src/fcmatch.c: (FcFontSetMatch):
1711 Add FcResultOutOfMemory to provide an accurate error when
1712 FcFontSetMatch fails in this way
1715 Make #warning about lacking various FreeType features indicate
1716 which version those features appeared so users know how to
1717 fix the problem (Thanks to Anton Tropashko)
1719 2004-05-05 Keith Packard <keithp@keithp.com>
1721 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1722 Replace MIN/MAX/ABS macros which happen to have come
1723 from FreeType with fontconfig-specific ones (FC_*)
1725 2004-04-23 Keith Packard <keithp@keithp.com>
1728 Extend release preparation instructions to include
1729 notification and distribution steps
1731 2004-04-23 Keith Packard <keithp@keithp.com>
1735 * fontconfig/fontconfig.h:
1736 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1738 2004-04-23 Keith Packard <keithp@keithp.com>
1741 Ignore a few more autotool files
1743 2004-04-14 Keith Packard <keithp@keithp.com>
1746 Add instructions for doing a release
1748 * fontconfig.spec.in:
1749 clean up .spec file; perhaps this will be useful to somebody...
1753 * fontconfig/fontconfig.h:
1756 * fc-lang/fc-lang.c:
1757 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1759 * fc-glyphname/Makefile.am:
1760 * fc-lang/Makefile.am:
1761 * fc-list/Makefile.am:
1762 * fc-match/Makefile.am:
1764 Add WARN_CFLAGS to pass -W flags for GCC systems
1766 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1767 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1768 Change various char types around to match across
1770 Fixed bug in using available_sizes[i].height which
1771 is in pixels, not 64ths of a pixel.
1773 2004-03-06 Keith Packard <keithp@keithp.com>
1775 * src/fcfreetype.c: (FcFreeTypeQuery):
1776 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1777 matches looking for explicit values prefer exact matches
1779 2004-03-02 Keith Packard <keithp@keithp.com>
1781 Supplied by: mfabian@suse.de (Mike FABIAN)
1783 * src/fcfreetype.c: (FcFreeTypeQuery):
1784 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1785 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1787 2004-02-21 Manish Singh <yosh@gimp.org>
1789 * fc-glyphname/fc-glyphname.c: (main):
1790 Cast strlen to int for printf, so we're 64-bit clean.
1792 2004-02-11 Keith Packard <keithp@keithp.com>
1795 * src/fcfreetype.c: (FcGetPixelSize):
1796 Ok, so I messed up the test for y_ppem. Let's see if I
1797 got it right this time.
1799 2004-02-10 Keith Packard <keithp@keithp.com>
1802 * src/fcfreetype.c: (FcGetPixelSize):
1803 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1804 FT_Bitmap_Size record. Add a configure.in test for this
1805 and change the code accordingly (using height instead).
1807 2004-02-06 Keith Packard <keithp@keithp.com>
1810 Add Low Saxon orthography
1811 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1813 * src/fccfg.c: (FcConfigNewestFile):
1814 Oops. Left 'newest.set' unset, which would miscompute
1817 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1818 (FcFreeTypeCheckGlyph):
1819 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1820 font properties (which report the wrong value in current FreeType)
1822 Don't attempt to check for empty glyphs in non-scalable fonts; they
1825 2004-02-01 Tor Lillqvist <tml@iki.fi>
1827 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1828 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1829 cache if config->cache is NULL, which happens if FcConfigHome() is
1830 NULL. Guard against that by using the temp folder in that case.
1832 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1834 * fc-lang/az_ir.orth:
1835 * fc-lang/ku_ir.orth:
1836 * fc-lang/ps_af.orth:
1837 * fc-lang/ps_pk.orth:
1838 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1839 (Afghan and Pakistani).
1841 Updated Urdu orthography with real data.
1843 2003-12-11 Carl Worth <cworth@east.isi.edu>
1845 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1848 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1850 (all-local): Remove excessive whitespace.
1852 * autogen.sh: Add 'set -e' to abort when any program fails,
1853 (avoids printing of 'now type make' after configure aborts).
1855 2003-11-17 Eric Christopherson <rakko@charter.net>
1857 reviewed by: Keith Packard <keithp@keithp.com>
1860 * fontconfig/fcfreetype.h:
1862 Switch to FreeType 2.1.7 style includes. Bug #150.
1864 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1866 * fc-list/fc-list.sgml: Add some example usages.
1868 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1871 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1874 2003-10-27 Keith Packard <keith@keithp.com>
1877 * fontconfig/fontconfig.h:
1878 Update to version 2.2.92
1880 2003-10-27 Keith Packard <keithp@keithp.com>
1885 * fc-cache/Makefile.am:
1886 * fc-glyphname/Makefile.am:
1887 * fc-lang/Makefile.am:
1888 * fc-list/Makefile.am:
1889 * fc-match/Makefile.am:
1892 Yet more cleanups to finish getting 'make distcheck' working
1893 This has been tested to ensure that it even works from a _build
1896 2003-10-26 Keith Packard <keithp@keithp.com>
1900 * fc-cache/Makefile.am:
1901 * fc-glyphname/Makefile.am:
1902 * fc-lang/Makefile.am:
1903 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1904 * fc-list/Makefile.am:
1905 * fc-match/Makefile.am:
1906 Attempts to fix 'make distcheck' work. Things are
1907 progressing pretty well, but there are still failures
1908 long into the process dealing with docs (as always).
1910 The big changes here are mostly to make $(srcdir) != "."
1911 work correctly, fixing the docbook related sections and
1912 fc-lang were particularily tricky. Docbook refuses to load
1913 system entities from anywhere other than where the original .sgml
1914 file was located, so no luck looking in "." for the
1915 configure-generated version.sgml and confdir.sgml files.
1917 fc-lang needed help finding .orth files; added a -d option
1918 to set the directory as the least evil of many options.
1920 Now to go use a faster machine and try and wring out the last
1923 2003-10-26 Keith Packard <keithp@keithp.com>
1927 2003-10-26 Keith Packard <keithp@keithp.com>
1930 Include confdir.sgml.in in EXTRA_DIST
1932 2003-10-09 Josselin Mouette <joss@debian.org>
1934 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1935 * fc-list/fc-list.sgml fc-list/Makefile.am:
1936 Replace fc-cache and fc-list manpages with more detailed, SGML
1939 2003-09-23 Owen Taylor <otaylor@redhat.com>
1941 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1942 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1943 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1946 2003-09-23 Owen Taylor <otaylor@redhat.com>
1948 * fc-lang/ka.orth: Remove Georgian capitals, they
1949 aren't used for normal writing. (Bug #116)
1951 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1953 * doc/fontconfig-devel.sgml:
1954 * doc/fontconfig-user.sgml:
1955 * fontconfig/fontconfig.h:
1957 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1958 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1960 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1961 monospace and dual-width fonts, allow roughly a 3% variance in the
1964 2003-08-31 Manish Singh <yosh@gimp.org>
1966 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1969 2003-08-15 Carl Worth <cworth@isi.edu>
1971 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1972 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1974 * src/fcpat.c (FcValueListEntDestroy): New function to support
1975 FcFini memory cleanup. Some statistics are not kept in
1977 (FcValueListFreeze): Move hashTable outside this function so it
1978 can be accessed by FcValueListThawAll.
1979 (FcValueListThawAll): New function complements FcValueListFreeze.
1980 (FcPatternBaseFreeze): Move hashTable outside this function so it
1981 can be accessed by FcPatternBaseThawAll.
1982 (FcPatternBaseThawAll): New function complements
1983 FcPatternBaseFreeze.
1984 (FcPatternThawAll): New function complements FcPatternFreeze.
1986 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1988 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1989 allocated FcCharLeafEnt "blocks" so they can be freed later.
1990 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1991 can be accessed by FcCharSetThawAllLeaf.
1992 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1993 (FcCharSetFreezeBase): Move hashTable outside this function so it
1994 can be accessed by FcCharSetThawAll.
1995 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1997 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1998 (FcConfigDestroy): Fic leak of FcBlanks.
2000 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2001 (main): Add call to FcFini when finished.
2003 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2004 static. Add prototypes.
2006 * doc/fcinit.fncs: Add documentation for FcFini function.
2008 * doc/edit-sgml.c: Mark several local functions as static. Add
2011 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2013 2003-06-15 Tor Lillqvist <tml@iki.fi>
2015 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2016 before comparing (needed on Windows).
2018 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2020 2003-06-13 Tor Lillqvist <tml@iki.fi>
2022 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2025 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2026 WINDOWSFONTDIR token.
2028 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2029 end, not to confuse libtool, which expects the EXPORTS line to be
2030 the first. Add FcConfigEnableHome.
2032 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2033 built as a DLL on Win32.
2035 2003-06-09 Keith Packard <keithp@keithp.com>
2037 * Tag version 2.2.90
2039 2003-06-09 Keith Packard <keithp@keithp.com>
2041 * Optimization in FcLangSetIndex was broken, occasionally
2042 returning a pointer to the wrong location on miss
2044 * Add fc-match to test font matching from the command line.
2046 2003-05-31 Keith Packard <keithp@keithp.com>
2048 * (Bug 85) add support for culmus fonts
2049 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2050 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2052 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2054 * Fix "contains" op for strings and langsets.
2056 2003-05-17 Keith Packard <keithp@keithp.com>
2058 * Fix build error with BDF prop local. Free langset after query
2060 2003-05-14 Keith Packard <keithp@keithp.com>
2062 * Extract spacing from XLFD atom
2064 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2066 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2067 disappeared in 1.30.
2069 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2071 2003-05-12 Keith Packard <keithp@keithp.com>
2073 * Use FcIsWidth to share code
2075 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2076 misclassifying some Han fonts as monospaced.
2078 2003-05-07 Keith Packard <keithp@keithp.com>
2080 * Add filename-based accept/reject to ammend available fonts.
2082 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2083 older FreeType releases.
2085 2003-05-06 Keith Packard <keithp@keithp.com>
2087 * Remove 0b82 and Tamil numbers from tamil
2088 orthography (Jungshik Shin <jshin@mailaps.org>)
2090 2003-05-04 Keith Packard <keithp@keithp.com>
2092 + Map glyph names in fonts with adobe custom encoding to unicode
2094 2003-05-02 Keith Packard <keithp@keithp.com>
2096 * Add FC_WEIGHT_BOOK as weight 75
2098 2003-04-30 Keith Packard <keithp@keithp.com>
2100 * Typo in bitstream foundry name
2102 2003-04-24 Keith Packard <keithp@keithp.com>
2104 * Eliminate italic_angle check for PS fonts
2106 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2108 * Getting closer to fixing /etc/fonts hard-coding.
2110 2003-04-22 Keith Packard <keithp@keithp.com>
2112 * Update autogen.sh to work with newer automake versions
2113 * Handle pattern elements moving during multiple edits
2115 2003-04-23 James Henstridge <james@daa.com.au>
2117 * doc/fontconfig-devel.sgml: close the <para> element.
2119 * doc/fcpattern.fncs: close the <para> element.
2121 * doc/func.sgml: close the <refsynopsisdiv> element.
2123 2003-04-22 Keith Packard <keithp@keithp.com
2125 * Update autogen.sh to work with newer automake versions
2126 * Handle pattern elements moving during multiple edits
2128 2003-04-17 Colin Walters <walters@debian.org>
2130 + Remove some unused variables, and initialize some other ones so
2131 gcc doesn't warn us.
2133 2003-04-16 Keith Packard <keithp@keithp.com>
2135 + tag version 2.1.94
2137 2003-04-16 Keith Packard <keithp@keithp.com>
2139 + add BDF property fetching support for foundry
2140 (from Juliusz Chroboczek)
2141 + add BDF property fetching support for width
2143 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2145 + Implemented foundry generation for Type 1 and TrueType
2147 2003-04-11 Gerard Escalante <g2@magestudios.net>
2149 + Retrieve information from Type1 FontInfo dictionaries
2151 2003-04-07 Colin Walters <walters@verbum.org>
2153 + src/Makefile.am: Fix dummy makefile target names when
2154 MS_LIB_AVAILABLE isn't set.
2156 2003-03-22 Tor Lillqvist <tml@iki.fi>
2158 Changes for Windows:
2160 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2162 + We don't want to hardcode the fonts.conf file location in the
2163 DLL, so we look up the DLL location at run-time in a DllMain()
2164 function. The fonts.conf location is deduced from that.
2166 + The colon can't be used as path separator on Windows,
2167 semicolon is used instead. File path components can be separated
2168 with either slash or backslash. Absolute paths can also begin
2169 with a drive letter.
2171 + Add internal function FcStrLastSlash that strrchr's the last
2172 slash, or backslash on Windows.
2174 + There is no link() on Windows. For atomicity checks, mkdir a
2175 lock directory instead.
2177 + In addition to HOME, also look for USERPROFILE.
2179 + Recognize the special font directory token WINDOWSFONTDIR, to
2180 use the system's font directory.
2182 + Remove the fontconfig-def.cpp that was obsolete. Add
2183 fontconfig.def(.in), without internal functions.
2185 + Add a fontconfig-zip(.in) script, used to build a binary
2188 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2189 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2190 to main package and man3/* to devel package
2192 + Added missing defattr(-, root, root) to main RPM package
2194 + Added HTML and text development documentation to -devel subpackage
2196 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2197 + Added back the configure macro options --disable-docs, otherwise
2198 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2199 version number) unconditionally, causing RPM to fail the build due
2200 to _unpackaged_files_terminate_build. We pick up the pregenerated
2201 docs with %doc already.
2203 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2204 + Removed commented out rpm macro define at top of spec file,
2205 replacing it with a simple explanation, since rpm macros are
2206 expanded by rpm even in comments.
2208 + Changed /usr/bin to _bindir in BuildRequires lines
2210 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2212 + Reorganized file manifest lists
2214 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2216 + fontconfig.spec.in: Improvements from Red Hat spec file.
2218 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2220 + docs/*.sgml: SGML fixes.
2222 Sat Mar 1 17:28:53 PST 2003 keithp
2223 + Ok, so the ChangeLog is a bit out of date
2225 + Lots of bugs fixed; most are in bugzilla, the
2226 biggest problems were in cache management where
2227 Owen discovered the library would lose badly when
2228 combining fonts-cache and ~/.fonts-cache data
2230 + Converted from autoconf to automake. This after
2231 getting patches accepted into libtool to allow
2232 the '-version-number' argument which lets
2233 packages set version numbers explicitly rather
2234 than the roundabout libtool way
2236 + Converted documentation to SGML using the docbook
2237 DTD. Now .txt and .html documents are installed
2238 in /usr/share/doc/fontconfig and there's no
2239 man page. Perhaps a man version can be written
2242 Sat Aug 31 15:21:22 PDT 2002 keithp
2243 + Xrender and Xft had several bugs related to
2244 rendering manually placed or poly-face text
2246 + Added more complete memory tracing in fontconfig
2247 Checked with (patched) mozilla and found no leaks
2249 + Updated Latin orthographies by comparing those from
2250 evertype.com with those from eki.ee. Tried to make
2251 sensible choices, including chars that occured in both
2252 and leaving some optional chars out that occured only
2255 Mon Aug 26 16:33:04 PDT 2002 keithp
2256 + Owen discovered that FcLangSetHasLang wasn't actually
2257 checking the language set.
2259 Mon Aug 26 13:37:23 PDT 2002 keithp
2260 + Append a version number to cache filenames
2262 Thu Aug 22 11:36:18 PDT 2002 keithp
2264 + Add "contains" and "not_contains" operators and elements to
2267 + Changed semantics of eq operator for LangSets to check for
2268 FcLangEqual so that any match will do
2270 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2271 of FcValueEqual to check for identical values when inserting into
2272 the results. This broke when the above semantic change was made,
2273 now it uses FcValueEqual which is "more correct" in any case.
2275 Thu Aug 22 00:32:29 PDT 2002 keithp
2277 + Reimplement FC_LANG as new datatype. Lists of strings
2278 was consuming over a megabyte of memory for 401 fonts.
2280 + Freeze patterns loaded from cache files. This shares
2281 common value lists and common patterns which saves
2282 considerable memory.
2284 + Change the denotation of 'constant' charsets to use special
2285 ref value instead of separate boolean.
2287 + Clean up leak tracing stuff, found several unannoted alloc/free
2290 Tue Aug 20 16:17:37 PDT 2002 keithp
2292 + Fix memory leak when parsing matrices from XML
2294 Mon Aug 19 11:57:27 PDT 2002 keithp
2296 + Fix autoconf files to pass FONTCONFIG_PATH on
2297 compile line so that ${prefix} gets substituted
2300 + Use getc_unlocked/putc_unlocked on systems that
2301 provide them to avoid damage done to stdio by posix
2303 + Eliminate FC_PATTERN and FcTypePattern in favor of
2304 an extended api for FcConfigSubstitute which takes
2305 both the font and the pattern.
2307 + Add 'sans serif' alias for 'sans-serif' as some apps
2308 can't handle hyphens in family names
2310 + Eliminate pretense of support for libxml2
2312 + Comment origins of Han orthographies
2314 Tue Jul 30 18:37:09 PDT 2002 keithp
2316 + Add binding property to edit element so that strong
2317 binding values may be inserted by the config file.
2318 The default remains weak.
2320 Sun 28 Jul 04:16:55 PDT 2002 keithp
2322 + Tagged release candidate 1 in the CVS tree and
2323 placed fcpackage.rc1.tar.gz for distribution
2325 Thu Aug 1 08:55:08 PDT 2002 keithp
2327 + Fixed autoconf builds to always specify install
2328 target files (for BSD). Also fixed to
2329 define FONTCONFIG_PATH in config.h so that
2330 nonstandard installs will actually work.