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/fcxml.c (FcConfigParseAndLoad):
12 Use open instead of fopen (requested by Phil Race for Sun).
14 2005-12-20 Patrick Lam <plam@mit.edu>
15 * src/fccache.c (FcDirCacheWrite);
16 * fc-cache/Makefile.am:
18 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
21 2005-12-20 Patrick Lam <plam@mit.edu>
22 * src/fcfreetype.c (FcFreeTypeQuery):
24 Restore code to skip over PCF fonts that have no encoded
26 (We guess that a font is PCF by presence of the PIXEL_SIZE
29 2005-12-12 Patrick Lam <plam@mit.edu>
30 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
32 Read and write the original location as a fallback for the
33 hashed cache file locations. This is mostly for users to be
34 able to have per-directory cache files.
36 2005-12-12 Patrick Lam <plam@mit.edu>
37 * fc-cache/fc-cache.c (scanDirs):
38 * fc-cache/Makefile.am:
39 * src/fccache.c (FcDirCacheHashName):
41 Improve error message when fc-cache can't write the cache. Add
42 missing slash. Reported by Behdad. Incorporate Behdad's patch to
43 create /var/cache/fontconfig when appropriate.
45 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
48 * src/fcxml.c (FcConfigGetAttribute):
50 Fix crash reported by Frederic Crozat when using libxml2.
52 2005-12-09 Patrick Lam <plam@mit.edu>
55 * fc-cache/Makefile.am:
58 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
59 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
60 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
61 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
62 FcDirCacheHasCurrentArch, FcDirCacheHashName,
63 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
65 Migrate cache files from fonts directories to
66 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
67 but requires that all caches get rebuilt.
69 Also, autogen.sh now needs the additional parameter
72 2005-12-07 Patrick Lam <plam@mit.edu>
73 * src/fcpat.c (FcPatternAddString):
75 Because we've changed FcPatternAddString to use FcStrStaticName
76 and not FcValueSave, explicitly handle the case of a null string.
78 2005-12-06 Patrick Lam <plam@mit.edu>
79 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
83 2005-12-05 Patrick Lam <plam@mit.edu>
84 * src/fcname.c (FcNameGetObjectType):
86 Don't assign types to user object names.
88 2005-12-05 Patrick Lam <plam@mit.edu>
89 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
91 Don't free strings that have been returned from FcStrStaticName.
93 2005-12-01 Patrick Lam <plam@mit.edu>
94 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
96 Add codepath for reading global cache files as well.
98 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
101 * conf.d/10-fonts.persian.conf:
102 * conf.d/Makefile.am:
104 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
106 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
109 * src/fcxml.c (FcConfigParseAndLoad):
111 Only add a config file to the set of config files once.
113 2005-11-29 Patrick Lam <plam@mit.edu>
114 * src/fcint.h (FcCacheBankToIndex);
116 Fix segfault by guarding array dereference.
118 2005-11-29 Dirk Mueller <dmueller@suse.de>
122 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
123 FcCacheBankToIndex, FcCacheBankToIndexMTF,
127 Refactor FcCacheBankToIndex into an inlineable part
128 (in fcint.h) which checks the front of the list and a
129 non-inlineable part which finds and moves the appropriate element
130 to the front of the list.
132 2005-11-29 Patrick Lam <plam@mit.edu>
133 * src/fccfg.c (FcConfigBuildFonts):
134 * src/fccache.c (FcCacheReadDirs):
136 Make the perf guys hate me a bit less: hoist the directory-name
137 FcConfigAcceptFont check for cached fonts up to directory cache
138 read time, rather than running it for each font.
140 2005-11-29 Patrick Lam <plam@mit.edu>
141 * src/fccfg.c (FcConfigBuildFonts):
143 * src/fcpat.c (FcPatternFindFullFname):
145 Don't make FcPatternFindFullFname available to fccfg, it's not
146 really safe. Instead go through FcPatternGetString (sorry,
147 perf guys.) Also, use globs for dirs as well.
149 2005-11-28 Patrick Lam <plam@mit.edu>
150 * src/fccfg.c (FcConfigBuildFonts):
154 2005-11-28 Patrick Lam <plam@mit.edu>
156 * src/fcpat.c (FcPatternFindFullFname):
157 * src/fccfg.c (FcConfigBuildFonts):
159 Fix problem dating back at least to 2.3.2 where globs weren't
160 being applied to patterns loaded from a cache.
162 2005-11-28 Patrick Lam <plam@mit.edu>
163 * doc/fontconfig-user.sgml:
165 Fix some obvious spelling mistakes.
167 2005-11-28 Dirk Mueller <dmueller@suse.com>
168 Stephan Kulow <coolo@suse.de>
171 * src/fcmatch.c (FcFontSetMatch):
173 Don't kill all fonts during match (oops!)
176 2005-11-25 Dirk Mueller <dmueller@suse.com>
177 Stephan Kulow <coolo@suse.de>
178 Michael Matz <matz@suse.de>
181 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
184 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
185 inline FcCompare into FcFontSetMatch and reorder the
186 loops, adding a boolean array which blocks patterns from future
187 consideration if they're known to not be best on some past
190 2005-11-26 Dirk Mueller <dmueller@suse.com>
193 * src/fcmatch.c (FcCompareValueList):
197 2005-11-25 Patrick Lam <plam@mit.edu>
198 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
200 Don't do random matching when bad objects are passed into
203 2005-11-25 Patrick Lam <plam@mit.edu>
205 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
206 FcPatternSerialize, FcPatternUnserialize,
207 FcValueListEnsureBank, FcValueListDistributeBytes,
208 FcValueListUnserialize):
210 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
211 _fcPatternElts, _fcValueLists for consistency.
213 2005-11-25 Dirk Mueller <dmueller@suse.com>
218 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
220 2005-11-25 Patrick Lam <plam@mit.edu>
222 * src/fccache.c (FcDirCacheConsume):
223 * src/fccharset.c (FcCharSetUnserialize):
224 * src/fcfs.c (FcFontSetUnserialize):
225 * src/fclang.c (FcLangSetUnserialize):
226 * src/fcname.c (FcObjectUnserialize):
227 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
228 FcPatternUnserialize):
230 Pass around FcCache *s to the Unserialize functions for extra
231 consistency (and less overhead, for what that's worth).
233 2005-11-24 Dirk Mueller <dmueller@suse.com>
237 * src/fcmatch.c (FcCompare*, FcFontSetSort):
238 * src/fcname.c (FcNameUnparseValue):
240 Inline the *PtrU functions to gain perf.
241 Remove unneeded params for the FcCompare* functions.
243 2005-11-24 Dirk Mueller <dmueller@suse.com>
246 * src/fcint.h, fontconfig/fontconfig.h:
248 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
250 * src/fcpat.c, src/fcint.h, src/fcname.c:
252 Check for type validity during FcPatternAddWithBinding, don't
253 verify type in FcFontMatch, don't call FcCanonicalize here
254 (which always does a deep copy).
256 2005-11-24 Dirk Mueller <dmueller@suse.com>
259 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
260 * src/fcpat.c (FcPatternAddWithBinding):
262 Make FcCompareString and FcCompareFamily less expensive.
263 Only add a value for FC_FAMILY if the proposed value is a string.
265 2005-11-24 Dirk Mueller <dmueller@suse.com>
268 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
269 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
270 * src/fcint.h (FcDebug):
272 Inline FcDebug invocations and only initialize once, in FcInit*.
273 Improve debug msg in FcPatternPrint.
275 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
278 * fontconfig/fontconfig.h:
281 Minor code warning cleanups.
283 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
286 * fc-match/fc-match.c (main):
288 Make getopt_long accept -s parameter to fc-match as well.
290 2005-11-21 Dirk Mueller <dmueller@suse.com>
293 * src/fcmatch.c (FcCompareValueList):
295 Manually perform inlining & partial redundancy elimination to
296 reduce calls to FcValueListPtrU.
298 2005-11-21 Dirk Mueller <dmueller@suse.com>
301 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
302 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
304 Only invoke strlen() when really necessary.
306 2005-11-19 Matthias Clasen <mclasen@redhat.com>
310 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
315 Get rid of the use of freetype internal headers in fcfreetype.c,
316 since those headers will go away with freetype 2.2. Replace with
317 public domain ftglue code from pango. Note that the patch removes
318 some extra error checking in FT_Get_BDF_Property() and comments
319 out the skipping of empty pcf fonts.
321 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
324 * fc-lang/fc-lang.c (main):
326 Further fix of patch from 2005-11-04: miscounted numbers count
327 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
328 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
330 Removed leafidx_count and numbers_count since they are the same
331 and replaced them with offset_count.
333 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
336 * fc-cat/fc-cat.c (main):
338 Don't crash when fc-cat invoked with no arguments.
340 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
343 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
345 Fix invalid read access caused by premature free and
346 GCC4 warnings in libxml2 codepath.
348 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
351 * src/fccfg.c (FcConfigValues):
353 List iteration not needed in FcConfigValues, since it's building
354 up the list itself; we can just strip FcVoid elements during
357 2005-11-17 Patrick Lam <plam@mit.edu>
358 * src/fccfg.c (FcConfigValues):
360 Fix crash on invalid constants in config files (forgot to update
361 a pointer upon list iteration.)
363 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
366 * src/fcxml.c (FcTypecheckExpr):
368 Complain about invalid constants in config files.
370 2005-11-17 Andreas Schwab <schwab@suse.de>
373 * src/fccache.c (FcGlobalCacheSave):
375 Don't add current_arch_start more than once.
377 2005-11-16 Patrick Lam <plam@mit.edu>
378 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
379 * src/fcfs.c (FcFontSetUnserialize):
380 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
381 * src/fcpat.c (FcStrUnserialize):
383 Fix ordering of ALIGN with respect to saving block_ptr; add
384 another ALIGN to fcfs.c.
386 2005-11-16 Patrick Lam <plam@mit.edu>
387 * src/fccache.c (FcDirCacheProduce)
389 Fix case where alignment bytes bumped up metadata->count
390 causing unwarranted failures to write cache files.
391 (Reported by Stephan Kulow).
393 2005-11-16 Patrick Lam <plam@mit.edu>
394 * src/fccache.c (FcDirCacheProduce):
395 * src/fccharset.c (FcCharSetDistributeBytes):
396 * src/fcfs.c (FcFontSetDistributeBytes):
398 * src/fclang.c (FcLangSetDistributeBytes):
399 * src/fcname.c (FcObjectDistributeBytes):
400 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
403 Add *NeededBytesAlign(), which overestimates the padding which is
404 later added by the new ALIGN macro. Fix alignment problems on
405 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
406 version by Andreas Schwab).
408 2005-11-16 Stephan Kulow <coolo@kde.org>
413 Use sysconf to determine proper PAGESIZE value; this
414 appears to be POSIX-compliant. (reported by Andreas Schwab)
416 2005-11-04 Patrick Lam <plam@mit.edu>
422 Fix bug 2878 (excessive relocations at startup for charsets,
423 reported by Ross Burton): fc-lang/fc-lang now creates the
424 static form of the langset, not the dynamic form, so that
425 the charsets should now be in .rodata.
427 2005-11-04 Patrick Lam <plam@mit.edu>
428 * src/fcdir.c (FcDirScanConfig):
430 Add test for validity of directory caches that
431 somehow got lost (reported by make distcheck).
433 2005-11-04 Patrick Lam <plam@mit.edu>
437 * fontconfig/fontconfig.h:
439 Bump version to 2.3.92.
441 2005-11-02 Patrick Lam <plam@mit.edu>
442 * src/fcpat.c (FcPatternDuplicate):
444 Fix argument ordering problem in call to FcPatternTransferFullFname.
446 2005-11-02 Patrick Lam <plam@mit.edu>
447 * src/fcfreetype.c (FcFreetypeQuery):
448 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
449 FcPatternTransferFullFname):
451 Fix warnings and embarrassing double-free error.
453 2005-11-02 Zhe Su <zsu@novell.com>
458 Change the rule for artificial emboldening in fonts.conf.in. This
459 enables the support for artificial emboldening included in cairo.
461 2005-11-02 Patrick Lam <plam@mit.edu>
462 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
464 Don't zero out full names for FC_REF_CONSTANT fonts;
465 also, duplicate full names when transferring, and free
466 full names when freeing the associated font.
467 Reported by Jinghua Luo.
469 2005-11-02 Patrick Lam <plam@mit.edu>
470 * fc-cache/fc-cache.c (scanDirs):
471 * src/fcpat.c (FcValueListSerialize):
473 Revert the previous patch and commit the correct patch:
474 I forgot a canonicalization in FcValueListSerialize, so
475 that it would choke on already-serialized input files. Duh!
477 2005-11-02 Patrick Lam <plam@mit.edu>
478 * fc-cache/fc-cache.c (scanDirs):
480 Forcibly rescan a directory before writing a fresh local
481 cache file for that directory, fixing the losing-fonts
482 problem reported by Mike Fabian and also apparently the
483 font cache file corruption.
485 2005-11-02 Patrick Lam <plam@mit.edu>
486 * src/fccache.c (FcGlobalCacheLoad):
488 Fix thinko: actually, the whole global cache is stale
489 if the global cache is older than the (newest) config file.
491 2005-11-02 Patrick Lam <plam@mit.edu>
492 * src/fccache.c (FcGlobalCacheLoad):
493 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
496 Declare the global cache of a directory's contents to be stale if
497 the directory is newer than the (newest) configuration file.
499 2005-10-31 Patrick Lam <plam@mit.edu>
501 * src/fclist.c (FcListAppend):
502 * src/fcmatch.c (FcFontRenderPrepare):
503 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
504 FcPatternFreeze, FcPatternBaseFreeze):
506 Copy the full pathname whenever duplicating an FcPattern; otherwise,
507 applications continue breaking.
509 2005-10-31 Patrick Lam <plam@mit.edu>
510 * fc-cat/fc-cat.c (FcCacheFileRead, main):
511 * src/fcfreetype.c (FcFreeTypeQuery):
513 Fix small memory error (tried to free argv); use basename and
514 dirname correctly (they can modify their arguments).
516 2005-10-31 Patrick Lam <plam@mit.edu>
524 Reinstate basename patch, but keep a hash table linking FcPatterns
525 to their fully-qualified font names for clients' benefit. Clients
526 only pay for the font names once they request the FC_FILE property
527 from an FcPattern, but the font name is malloc'd at that point (i.e.
528 not mmapped: that's impossible, since it may vary between machines.)
529 Clients do have to pay for a copy of the path name per cache file.
531 Note that FcPatternGetString now does some rewriting if you ask
532 for an FC_FILE, appending the pathname as appropriate.
534 2005-10-31 Patrick Lam <plam@mit.edu>
535 * src/fcfreetype.c (FcFreeTypeQuery):
537 Revert basename patch, which breaks fontconfig clients on my system.
539 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
542 * fontconfig/fonts.conf.in:
543 * fontconfig/fontconfig.h:
547 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
548 to load embedded bitmaps or not.
550 2005-10-25 Patrick Lam <plam@mit.edu>
551 * src/fcfreetype.c (FcFreeTypeQuery):
553 Only add basename to patterns' FC_FILE element, not any part of
556 2005-10-22 Patrick Lam <plam@mit.edu>
559 Add some more consts, fixing more GCC4 warnings.
561 2005-10-22 Zhe Su <zsu@novell.com>
564 Support localized font family and style names.
565 This has been reported to break old apps like xfd, but modern
566 (gtk+/qt/mozilla) apps work fine.
568 2005-10-21 Patrick Lam <plam@mit.edu>
569 * src/fccache.c (FcGlobalCacheLoad):
571 Destroy the global cache file if it's terminally broken. (reported by
574 2005-10-21 Patrick Lam <plam@mit.edu>
575 * fc-list/fc-list.c (main):
576 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
577 * fontconfig/fontconfig.h:
579 Prevent fc-list from escaping strings when printing them (reported by
582 2005-10-20 Marcus Meissner <meissner@suse.de>
585 * fontconfig/fontconfig.h:
587 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
589 2005-10-14 Ross Burton <ross@burtonini.com>
592 * fc-glyphname/fc-glyphname.c:
595 Add consts to variables so as to move arrays into .rodata.
597 2005-10-14 Mike Fabian <mfabian@suse.de>
600 * src/fccache.c (FcDirCacheUnlink):
602 Check existence of directory cache file before attempting to unlink.
604 2005-10-13 Patrick Lam <plam@mit.edu>
605 * src/fccache.c (FcDirCacheUnlink):
607 Fix flipped return value on unlink. (Reported by Mike Fabian)
609 2005-10-12 Patrick Lam <plam@mit.edu>
612 * src/fcdir.c (FcDirScanConfig):
615 When fc-cache is run without --force, use directory cache files
616 to speed up fc-cache run time. (Reported by Mike Fabian)
618 2005-10-06 Patrick Lam <plam@mit.edu>
620 * src/fcname.c (FcObjectToPtr):
621 * src/fcpat.c (FcStrStaticName):
623 Add padding to make valgrind and glibc not hate each other
624 when calling strlen().
626 2005-10-05 Simos Xenitellis <simos74@gmx.net>
627 reviewed by: plam & keithp
631 Modify config file to use Greek fonts before Asian fonts with
634 2005-10-05 Christian Biesinger <cbiesinger@web.de>
635 reviewed by: plam & keithp
639 Use libtool -no-undefined flag on all platforms.
641 2005-10-05 Patrick Lam <plam@mit.edu>
642 * src/fccache.c (FcCacheHaveBank):
644 Implement move-to-front array for banks (perf regression
645 reported by Ronny V. Vindenes).
647 2005-10-04 Patrick Lam <plam@mit.edu>
648 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
649 FcDirCacheHasCurrentArch):
650 * fc-cache/fc-cache.c (scanDirs):
651 * fontconfig/fontconfig.h:
653 Add new API which unlinks directory caches and checks dir caches
654 for existence of appropriate sections. Fix fc-cache to unlink
655 stale cache files and save directory caches that lack relevant
658 2005-10-03 Patrick Lam <plam@mit.edu>
659 * src/fccache.c (FcDirCacheValid):
661 Ensure that a directory cache has the appropriate section
662 before reporting that it is valid (reported by Matthias Clasen).
664 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
672 Use libxml2 if requested (with --enable-libxml2) or if
673 expat is not available.
675 2005-09-29 Patrick Lam <plam@mit.edu>
676 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
678 Fix multi-arch cache files: compute the position for the
679 block to be added using info from OrigFile, not NewFile.
681 2005-09-28 Patrick Lam <plam@mit.edu>
682 * src/fccache.c (FcCacheMachineSignature):
684 Cast results of sizeof() to unsigned int to get rid of
685 warnings on x86_64 (thanks Matthias Clasen).
687 2005-09-27 Patrick Lam <plam@mit.edu>
688 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
691 Use FcAtomic to rewrite cache files.
693 2005-09-27 Patrick Lam <plam@mit.edu>
695 * src/fccache.c (FcDirCacheWrite):
697 Don't unlink the fonts.cache-2 file even if there's no data
698 to write; just write an empty cache file. (thanks Lubos Lunak)
700 2005-09-27 Patrick Lam <plam@mit.edu>
702 * src/fccache.c (FcDirCacheWrite):
704 Allocate room for the subdirectory names in each
705 directory cache. Thanks to James Cloos for finding
706 and diagnosing this bug!
708 2005-09-22 Patrick Lam <plam@mit.edu>
710 * fc-cache/fc-cache.sgml:
711 * src/fccache.c (FcDirCacheWrite):
712 * src/fccache.h (struct FcCache):
714 Update documentation -- fc-cache's man page now says that you
715 need to run fc-cache once per cached architecture; add some
716 documentation to the FcCache structure.
718 Make fc-cache write out fonts.cache-2 files for directories with
719 no fonts (i.e. only subdirectories).
721 2005-09-22 Patrick Lam <plam@mit.edu>
723 * fc-cache/fc-cache.sgml:
725 * fc-glyphname/fc-glyphname.c:
731 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
736 * fontconfig/fcprivate.h:
737 * fontconfig/fontconfig.h:
751 Implement new mmaped cache for font information.
752 Bump so revision to 2.3.90.
754 2005-07-25 Keith Packard <keithp@keithp.com>
756 * doc/fontconfig-user.sgml:
757 * fc-glyphname/fc-glyphname.c: (scan), (main):
758 * fc-lang/fc-lang.c: (FcConfigHome):
759 * fc-match/fc-match.c: (main):
760 * src/fccfg.c: (FcConfigHome):
761 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
762 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
763 (addtag), (FcFontCapabilities):
764 * src/fcpat.c: (FcValueListEntCreate):
765 * src/fcstr.c: (FcStrCaseWalkerInit):
766 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
768 Various GCC 4 cleanups for signed vs unsigned char
770 Match only [0-9]*.conf files in <include>{directory}</include>
771 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
773 2005-07-15 Carl Worth <cworth@cworth.org>
776 * src/fcinit.c: (FcFini):
777 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
780 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
781 Pull the FcObjectStateName hash table out to file scope, and add
782 FcObjectStaticNameFini so that FcFini will cleanup this hash table
785 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
788 2005-06-16 Patrick Lam <plam@MIT.EDU>
792 * src/fccfg.c: (FcConfigCompareValue):
793 Make FcOpNotContains use FcStrStr for strings so that
794 it matches semantics for !FcOpContains.
796 2005-05-20 Keith Packard <keithp@keithp.com>
800 Move fontconfig source package to libs as per override
802 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
804 reviewed by: Mike Fabian
807 The ka.orth file requires several characters which are not
808 used anymore in modern Georgian and which are missing in the free
809 Georgian TrueType fonts downloadable at:
811 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
813 2005-04-27 Keith Packard <keithp@keithp.com>
817 Update date to real 2.3.2 release date.
818 Fix change attributions
820 2005-04-27 Keith Packard <keithp@keithp.com>
823 Bump so revision for 2.3.2
824 * fc-cache/fc-cache.c: (scanDirs):
825 Fix a few minor leaks in error cases.
827 2005-04-23 Keith Packard <keithp@keithp.com>
832 * fontconfig/fontconfig.h:
833 Update for version 2.3.2
835 2005-04-21 Keith Packard <keithp@keithp.com>
837 * debian/fontconfig.postinst:
838 Don't force bitmap font enable in default
839 configuration; allows users to override this in
849 * debian/po/pt_BR.po:
850 * debian/po/templates.pot:
852 * debian/po/zh_CN.po:
855 * fc-cache/fc-cache.c: (main):
856 Destroy font configuration on exit to help valgrind
859 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
860 (FcFreeTypeCheckGlyph):
861 Use own transcoding routines in preference to iconv
862 which appears to have leaks in some translators.
863 Call iconv_close after using iconv (oops).
865 Prefer unicode encoding of Euro char as some
866 fonts mis-encode Euro in other ones.
868 Must fetch bitmap glyphs to get width values
869 to check for monospace/dual-width fonts.
871 2005-04-13 Ross Burton <ross@burtonini.com>
874 Check that a pattern isn't already frozen in FcPatternFreeze.
876 2005-03-31 Ross Burton <ross@burtonini.com>
881 Run all FcPattern objects through FcObjectStaticName, so that
882 compares can be done on pointers instead of strings (#2659)
884 2005-03-17 Tor Lillqvist <tml@novell.com>
886 * src/fontconfig.def.in: Add the .dll to the dll name.
888 2005-03-10 Keith Packard <keithp@keithp.com>
890 * debian/README.Debian:
891 Update to reflect configuration changes
893 * debian/fontconfig.postinst:
894 Fix Autohint vs Autohinter mistake
895 * debian/fontconfig.templates:
896 Adopt changes from Josselin Mouette for configuration descriptions
897 Update debian to version 2.3.1-2
899 2005-03-08 Keith Packard <keithp@keithp.com>
903 Update debian for 2.3.1
905 2005-03-09 Tor Lillqvist <tml@novell.com>
907 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
910 * src/fccfg.c (FcConfigFileExists): Check also drive letter
913 2005-03-08 Keith Packard <keithp@keithp.com>
917 * fontconfig/fontconfig.h:
920 2005-03-05 Keith Packard <keithp@keithp.com>
922 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
923 Include space and remove numbers from valid script tags.
924 This ensures that tags like 'lao ' work while rejecting
925 those which have any digits.
926 Eliminate a spurious debugging variable (len)
928 2005-03-05 Keith Packard <keithp@keithp.com>
930 * src/fcfreetype.c: (addtag), (GetScriptTags),
931 (FcFontCapabilities):
932 Rework GSUB/GPOS script parsing to survive broken fonts.
933 Thanks for the broken font go to Manish Singh
935 2005-03-05 Keith Packard <keithp@keithp.com>
940 * debian/fontconfig.config:
941 * debian/fontconfig.templates:
943 Include 2.3 release information in changelog
944 Add Josselin Mouette as an Uploader
945 Set hinting_type to low priority configuration option
948 * debian/fontconfig.postinst:
949 yes_bitmaps.conf -> yes-bitmaps.conf
955 2005-03-02 Keith Packard <keithp@keithp.com>
958 * conf.d/Makefile.am:
959 * conf.d/autohint.conf:
960 * conf.d/no-sub-pixel.conf:
961 * conf.d/sub-pixel.conf:
962 * conf.d/unhinted.conf:
963 * debian/autohint.conf:
964 * debian/fontconfig.install:
965 * debian/fontconfig.postinst:
966 * debian/fontconfig.templates:
967 * debian/no-sub-pixel.conf:
968 * debian/unhinted.conf:
969 Move debian-specific conf file examples upstream.
971 Sub-pixel configuration examples must smash subpixel value
972 as Xft always sets it from X.
974 Change sub-pixel rendering debconf descriptions from
975 Enable/Disable to Always/Never.
977 2005-03-02 Keith Packard <keithp@keithp.com>
982 Ignore more build detritus
985 Add debian package construction stuff.
987 * config/config.guess:
989 Update to newer versions of these tools
992 Get library manuals to build again (we love automake).
994 * debian/README.Debian:
995 * debian/autohint.conf:
1000 * debian/fontconfig-udeb.install:
1001 * debian/fontconfig.config:
1002 * debian/fontconfig.defoma:
1003 * debian/fontconfig.dirs:
1004 * debian/fontconfig.install:
1005 * debian/fontconfig.postinst:
1006 * debian/fontconfig.postrm:
1007 * debian/fontconfig.templates:
1008 * debian/libfontconfig1-dev.install:
1009 * debian/libfontconfig1.install:
1010 * debian/local.conf.md5sum:
1011 * debian/no-sub-pixel.conf:
1012 * debian/po/POTFILES.in:
1021 * debian/po/pt_BR.po:
1022 * debian/po/templates.pot:
1024 * debian/po/zh_CN.po:
1026 * debian/unhinted.conf:
1027 Update debian build system to switch maintainers and
1028 deal with 2.3 functionality
1030 2005-03-01 Keith Packard <keithp@keithp.com>
1034 * fontconfig/fontconfig.h:
1037 2005-03-01 Keith Packard <keithp@keithp.com>
1040 Generate and install PDF versions of the manuals
1042 * doc/fcpattern.fncs:
1045 * doc/fcstring.fncs:
1046 Add missing exported functions, fix data types
1048 * doc/fontconfig-devel.sgml:
1049 Add missing pattern elements.
1051 * doc/fontconfig-user.sgml:
1052 Add missing pattern elements. Document conf.d usage,
1053 clarify available orthography list. Fix some config file
1054 attributes. Complete list of constants.
1056 * fontconfig/fontconfig.h:
1057 Mark FC_SOURCE deprecated.
1059 * src/fcfreetype.c: (FcFreeTypeQuery):
1060 Don't set FC_SOURCE any longer.
1062 2005-02-28 Keith Packard <keithp@keithp.com>
1065 * conf.d/Makefile.am:
1067 * conf.d/no-bitmaps.conf:
1068 * conf.d/sub-pixel.conf:
1069 * conf.d/yes-bitmaps.conf:
1071 Create prototype /etc/fonts/conf.d directory with a few
1072 sample configuration files.
1073 Deprecate use of local.conf for local customizations in favor of
1074 this directory based scheme which is more easily integrated into
1075 installation systems.
1078 Tag FC_EMBOLDEN as a boolean variable
1080 2005-02-10 Keith Packard <keithp@keithp.com>
1082 reviewed by: pborelli@katamail.com
1084 * src/fcdir.c: (FcFileScanConfig):
1085 Free patterns from fonts which are rejected by configuration
1088 2005-01-28 Keith Packard <keithp@keithp.com>
1092 * fontconfig/fontconfig.h:
1093 Update for version 2.2.99
1095 2005-01-28 Keith Packard <keithp@keithp.com>
1098 Add a few pointers (#2284, #2285)
1100 2005-01-28 Keith Packard <keithp@keithp.com>
1103 * src/fcname.c: (FcNameBool):
1104 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1105 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1106 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1107 Polite typechecking for test and edit expressions. Helps
1108 catch errors in the font configuration. (bug 229)
1110 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1112 reviewed by: Keith Packard <keithp@keithp.com>
1115 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1117 2005-01-13 Keith Packard <keithp@keithp.com>
1119 * doc/fontconfig-user.sgml:
1120 Add SEE ALSO section (bug 2085)
1122 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1124 reviewed by: Keith Packard <keithp@keithp.com>
1129 * fc-case/Makefile.am:
1130 * fc-glyphname/Makefile.am:
1131 * fc-lang/Makefile.am:
1132 * src/fontconfig.def.in:
1133 Cross compiling fixes (bug 280)
1135 2005-01-13 Keith Packard <keithp@keithp.com>
1138 Update blanks list (Closes bug 86)
1140 2005-01-04 Keith Packard <keithp@keithp.com>
1142 * src/fccache.c: (FcCacheFontSetAdd):
1143 Verify that every font pattern loaded from cache has
1144 both FC_FILE and FC_FAMILY entries.
1145 Attempt to fix bug #2219.
1147 2004-12-29 Keith Packard <keithp@keithp.com>
1151 * fontconfig/fontconfig.h:
1152 Update for version 2.2.98
1154 2004-12-29 Keith Packard <keithp@keithp.com>
1156 * fontconfig/fontconfig.h:
1157 Document ASCII limitations of Fc character conversion macros
1158 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1159 Fix off-by-one error in utf-8 case walking code.
1160 Add FcStrDowncase (useful for testing case conversion functions)
1162 2004-12-29 Keith Packard <keithp@keithp.com>
1165 * fc-case/.cvsignore:
1166 clean up CVS ignore lists
1167 * fc-lang/iso-3166.txt:
1168 Add territory database
1170 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1172 Reviewed by: Keith Packard
1175 Remove Han characters from Korean orthography
1177 2004-12-29 Keith Packard <keithp@keithp.com>
1180 Reorder utility programs to make sure fc-case is run before fc-lang
1181 as fc-lang uses fcstr.c which uses fccase.h
1185 2004-12-29 Keith Packard <keithp@keithp.com>
1188 Adopt some RedHat suggestions for standard font configuration.
1192 * fc-case/CaseFolding.txt:
1193 * fc-case/Makefile.am:
1194 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1195 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1196 (dump), (parseRaw), (caseFoldReadRaw), (main):
1197 * fc-case/fccase.tmpl.h:
1198 Add new helper program 'fc-case' to construct case folding
1199 tables from standard Unicode CaseFolding.txt file
1202 * src/fclist.c: (FcListValueHash):
1203 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1204 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1205 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1206 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1207 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1208 Re-implement case insensitive functions with Unicode
1209 aware versions (including full case folding mappings)
1211 2004-12-13 Keith Packard <keithp@keithp.com>
1213 reviewed by: Owen Taylor <otaylor@redhat.com>
1215 * src/fcmatch.c: (FcFontSetSort):
1216 I changed FcFontSetSort to respect the generic aliases better
1217 in the face of language matching.
1219 What I did was to ammend the strict sort order used by FcFontSort so
1220 that it 'satisfies' the language specified in the pattern by locating
1221 the best matching font supporting each pattern language and then
1222 ignores language in the remaining fonts for purposes of matching.
1224 So, when asking for 'sans:lang=en', you'll get an English font first,
1225 and then the remaining fonts sorted with respect to the 'sans' alias
1226 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1228 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1230 reviewed by: Keith Packard <keithp@keithp.com>
1232 * fontconfig/fontconfig.h:
1235 Configuration changes to request synthetic emboldening of
1236 fonts. The actual emboldening code will live in Xft.
1238 2004-12-09 John Thacker <thacker@math.cornell.edu>
1240 reviewed by: Keith Packard <keithp@keithp.com>
1244 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1245 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1246 и), and don't even appear in KOI8-R. (The hypothesis that they
1247 don't appear in KOI8-R due to their similarity with Latin I and i is
1248 eliminated by their presence in KOI8-U.) I have a couple of fonts
1249 with Russian support that don't have the letter.
1251 Therefore, 0406 and 0456 should be removed from or commented out of
1254 2004-12-06 michael meeks <mmeeks@novell.com>
1256 Reviewed by: Keith Packard <keithp@keithp.com>
1258 * src/fcinit.c: (FcMemReport):
1260 * src/fclist.c: (FcObjectSetAdd):
1261 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1262 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1263 * src/fcxml.c: (FcParsePatelt):
1264 memoize strings and share a single copy for all uses. Note that
1265 this could be improved further by using statically allocated blocks
1266 and gluing multiple strings together, but I'm basically lazy.
1267 In my environment with 800 font files, I get a savings of about 90KB.
1269 2004-12-06 Keith Packard <keithp@keithp.com>
1273 * config/Makedefs.in:
1276 * doc/fcatomic.fncs:
1277 * doc/fcblanks.fncs:
1278 * doc/fccharset.fncs:
1279 * doc/fcconfig.fncs:
1280 * doc/fcconstant.fncs:
1282 * doc/fcfontset.fncs:
1283 * doc/fcfreetype.fncs:
1285 * doc/fcmatrix.fncs:
1286 * doc/fcobjectset.fncs:
1287 * doc/fcobjecttype.fncs:
1288 * doc/fcpattern.fncs:
1289 * doc/fcstring.fncs:
1290 * doc/fcstrset.fncs:
1292 * doc/fontconfig-devel.sgml:
1293 * doc/fontconfig-user.sgml:
1295 * doc/version.sgml.in:
1296 * fc-cache/Makefile.am:
1297 * fc-cache/fc-cache.c:
1298 * fc-glyphname/Makefile.am:
1299 * fc-glyphname/fc-glyphname.c:
1300 * fc-glyphname/fcglyphname.tmpl.h:
1301 * fc-lang/Makefile.am:
1311 * fc-lang/az_ir.orth:
1345 * fc-lang/fc-lang.c:
1346 * fc-lang/fc-lang.man:
1347 * fc-lang/fclang.tmpl.h:
1392 * fc-lang/ku_ir.orth:
1425 * fc-lang/ps_af.orth:
1426 * fc-lang/ps_pk.orth:
1455 * fc-lang/ti_er.orth:
1456 * fc-lang/ti_et.orth:
1482 * fc-lang/zh_cn.orth:
1483 * fc-lang/zh_hk.orth:
1484 * fc-lang/zh_mo.orth:
1485 * fc-lang/zh_sg.orth:
1486 * fc-lang/zh_tw.orth:
1488 * fc-list/Makefile.am:
1489 * fc-list/fc-list.c:
1490 * fc-match/Makefile.am:
1491 * fc-match/fc-match.1:
1492 * fc-match/fc-match.c:
1493 * fontconfig/fcfreetype.h:
1494 * fontconfig/fcprivate.h:
1495 * fontconfig/fontconfig.h:
1516 Change files from ISO-Latin-1 to UTF-8
1518 2004-12-04 Keith Packard <keithp@keithp.com>
1521 Update links to new freedesktop.org locations
1523 Add uninstall-local to get rid of fonts.conf and local.conf if they
1524 match the distributed versions. Fixes 'make distcheck'
1526 2004-12-04 Keith Packard <keithp@keithp.com>
1530 * fontconfig/fontconfig.h:
1531 Updates for version 2.2.97
1533 2004-12-04 Owen Taylor <otaylor@redhat.com>
1535 reviewed by: Keith Packard <keithp@keithp.com>
1537 * fc-cache/fc-cache.c: (main):
1538 Sleep for two seconds before exiting to make sure timestamps
1539 for future changes have distinct mod times in the file system.
1542 Add Punjabi orthography. Bug #1671.
1544 2004-12-04 Keith Packard <keithp@keithp.com>
1547 Just remove the FC_FONTDATE -- it has locale issues and
1548 annoys redhat multi-arch installs. Now that all X fonts are
1549 included without prejudice, the chances of the date being at
1550 all interesting are rather limited. Bug #505.
1552 Add copyright and license
1554 2004-12-04 Keith Packard <keithp@keithp.com>
1557 Change default set of fonts to include all of
1558 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1559 * doc/fontconfig-user.sgml:
1560 Document new <include>directory-name</include> semantics
1562 add <include ignore_missing="yes">conf.d</include>
1564 Add selectfont to ignore bitmap fonts, add comment for
1565 selectfont which accepts bitmap fonts.
1568 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1569 Allow <include> configuration elements to reference directories.
1570 Parse and load all files of the form [0-9]* in sorted order.
1572 2004-12-04 Keith Packard <keithp@keithp.com>
1575 Report command line for $srcdir/configure accurately.
1578 2004-12-04 Keith Packard <keithp@keithp.com>
1580 * src/fcfreetype.c: (FcFreeTypeQuery):
1581 Check for non-empty face->family_name and face->style_name
1582 before using those for the font. Empty names match everything.
1585 2004-12-04 Keith Packard <keithp@keithp.com>
1588 * fontconfig/fontconfig.h:
1589 * src/fcfreetype.c: (FcFreeTypeQuery):
1591 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1592 available. This provides font file format information (BDF, Type 1,
1593 PCF, TrueType) for each font. Closes #109.
1595 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1597 reviewed by: Keith Packard <keithp@keithp.com>
1599 * doc/fontconfig-user.sgml:
1602 * fontconfig/fontconfig.h:
1603 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1604 (GetScriptTags), (FcFontCapabilities):
1606 Add detection for font capabilities (bug #105)
1608 2004-12-04 Keith Packard <keithp@keithp.com>
1611 Move existing fonts.conf to fonts.conf.bak
1614 Add detection of iconv
1616 * doc/fcpattern.fncs:
1617 * doc/fontconfig-devel.sgml:
1618 * doc/fontconfig-user.sgml:
1620 Document new selectfont elements
1623 Switch to UTF-8 in comment
1625 * fontconfig/fontconfig.h:
1627 Add fullname, and family/style/fullname language entries
1629 * src/fccache.c: (FcCacheFontSetAdd):
1630 * src/fcdir.c: (FcFileScanConfig):
1631 Respect selectfont/*/glob
1634 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1635 (FcConfigCompareValue), (FcConfigPatternsAdd),
1636 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1637 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1638 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1639 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1640 Add support for selectfont
1642 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1643 (FcStringInPatternElement), (FcFreeTypeQuery):
1644 Add multi-lingual family/style/fullname support
1646 * src/fclist.c: (FcListPatternMatchAny):
1647 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1649 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1650 (FcObjectStaticName):
1651 Add new FcPatternRemove/FcPatternAppend.
1652 FcObjectStaticName stores computed pattern element names which
1653 are required to be static.
1655 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1660 Remove spurious / after $(DESTDIR)
1662 2004-06-30 Keith Packard <keithp@keithp.com>
1666 * fontconfig/fontconfig.h:
1669 2004-06-30 Keith Packard <keithp@keithp.com>
1671 Provided by: Lubos Lunak <l.lunak@suse.cz>
1673 * src/fccfg.c: (FcConfigUptoDate):
1674 However FcConfigUptoDate() doesn't seem to work. See the attached
1675 patch. First there's an obvious misplaced parenthesis making it
1676 return always false, and second, even this call fails to detect font
1677 changes (e.g. adding a new font to
1678 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1679 well. The problem seems to be triggered by my fonts.conf specifying
1680 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1681 doesn't include subdirs, unlike config->fontDirs.
1683 2004-06-03 Keith Packard <keithp@keithp.com>
1685 * fontconfig/fontconfig.h:
1686 Remove comma at end of FcResult enum definition.
1688 2004-05-29 Keith Packard <keithp@keithp.com>
1691 Add steps to md5sum release
1693 2004-05-29 Keith Packard <keithp@keithp.com>
1697 * fontconfig/fontconfig.h:
1700 2004-05-29 Keith Packard <keithp@keithp.com>
1702 * fontconfig/fontconfig.h:
1703 * src/fcmatch.c: (FcFontSetMatch):
1704 Add FcResultOutOfMemory to provide an accurate error when
1705 FcFontSetMatch fails in this way
1708 Make #warning about lacking various FreeType features indicate
1709 which version those features appeared so users know how to
1710 fix the problem (Thanks to Anton Tropashko)
1712 2004-05-05 Keith Packard <keithp@keithp.com>
1714 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1715 Replace MIN/MAX/ABS macros which happen to have come
1716 from FreeType with fontconfig-specific ones (FC_*)
1718 2004-04-23 Keith Packard <keithp@keithp.com>
1721 Extend release preparation instructions to include
1722 notification and distribution steps
1724 2004-04-23 Keith Packard <keithp@keithp.com>
1728 * fontconfig/fontconfig.h:
1729 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1731 2004-04-23 Keith Packard <keithp@keithp.com>
1734 Ignore a few more autotool files
1736 2004-04-14 Keith Packard <keithp@keithp.com>
1739 Add instructions for doing a release
1741 * fontconfig.spec.in:
1742 clean up .spec file; perhaps this will be useful to somebody...
1746 * fontconfig/fontconfig.h:
1749 * fc-lang/fc-lang.c:
1750 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1752 * fc-glyphname/Makefile.am:
1753 * fc-lang/Makefile.am:
1754 * fc-list/Makefile.am:
1755 * fc-match/Makefile.am:
1757 Add WARN_CFLAGS to pass -W flags for GCC systems
1759 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1760 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1761 Change various char types around to match across
1763 Fixed bug in using available_sizes[i].height which
1764 is in pixels, not 64ths of a pixel.
1766 2004-03-06 Keith Packard <keithp@keithp.com>
1768 * src/fcfreetype.c: (FcFreeTypeQuery):
1769 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1770 matches looking for explicit values prefer exact matches
1772 2004-03-02 Keith Packard <keithp@keithp.com>
1774 Supplied by: mfabian@suse.de (Mike FABIAN)
1776 * src/fcfreetype.c: (FcFreeTypeQuery):
1777 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1778 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1780 2004-02-21 Manish Singh <yosh@gimp.org>
1782 * fc-glyphname/fc-glyphname.c: (main):
1783 Cast strlen to int for printf, so we're 64-bit clean.
1785 2004-02-11 Keith Packard <keithp@keithp.com>
1788 * src/fcfreetype.c: (FcGetPixelSize):
1789 Ok, so I messed up the test for y_ppem. Let's see if I
1790 got it right this time.
1792 2004-02-10 Keith Packard <keithp@keithp.com>
1795 * src/fcfreetype.c: (FcGetPixelSize):
1796 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1797 FT_Bitmap_Size record. Add a configure.in test for this
1798 and change the code accordingly (using height instead).
1800 2004-02-06 Keith Packard <keithp@keithp.com>
1803 Add Low Saxon orthography
1804 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1806 * src/fccfg.c: (FcConfigNewestFile):
1807 Oops. Left 'newest.set' unset, which would miscompute
1810 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1811 (FcFreeTypeCheckGlyph):
1812 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1813 font properties (which report the wrong value in current FreeType)
1815 Don't attempt to check for empty glyphs in non-scalable fonts; they
1818 2004-02-01 Tor Lillqvist <tml@iki.fi>
1820 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1821 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1822 cache if config->cache is NULL, which happens if FcConfigHome() is
1823 NULL. Guard against that by using the temp folder in that case.
1825 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1827 * fc-lang/az_ir.orth:
1828 * fc-lang/ku_ir.orth:
1829 * fc-lang/ps_af.orth:
1830 * fc-lang/ps_pk.orth:
1831 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1832 (Afghan and Pakistani).
1834 Updated Urdu orthography with real data.
1836 2003-12-11 Carl Worth <cworth@east.isi.edu>
1838 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1841 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1843 (all-local): Remove excessive whitespace.
1845 * autogen.sh: Add 'set -e' to abort when any program fails,
1846 (avoids printing of 'now type make' after configure aborts).
1848 2003-11-17 Eric Christopherson <rakko@charter.net>
1850 reviewed by: Keith Packard <keithp@keithp.com>
1853 * fontconfig/fcfreetype.h:
1855 Switch to FreeType 2.1.7 style includes. Bug #150.
1857 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1859 * fc-list/fc-list.sgml: Add some example usages.
1861 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1864 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1867 2003-10-27 Keith Packard <keith@keithp.com>
1870 * fontconfig/fontconfig.h:
1871 Update to version 2.2.92
1873 2003-10-27 Keith Packard <keithp@keithp.com>
1878 * fc-cache/Makefile.am:
1879 * fc-glyphname/Makefile.am:
1880 * fc-lang/Makefile.am:
1881 * fc-list/Makefile.am:
1882 * fc-match/Makefile.am:
1885 Yet more cleanups to finish getting 'make distcheck' working
1886 This has been tested to ensure that it even works from a _build
1889 2003-10-26 Keith Packard <keithp@keithp.com>
1893 * fc-cache/Makefile.am:
1894 * fc-glyphname/Makefile.am:
1895 * fc-lang/Makefile.am:
1896 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1897 * fc-list/Makefile.am:
1898 * fc-match/Makefile.am:
1899 Attempts to fix 'make distcheck' work. Things are
1900 progressing pretty well, but there are still failures
1901 long into the process dealing with docs (as always).
1903 The big changes here are mostly to make $(srcdir) != "."
1904 work correctly, fixing the docbook related sections and
1905 fc-lang were particularily tricky. Docbook refuses to load
1906 system entities from anywhere other than where the original .sgml
1907 file was located, so no luck looking in "." for the
1908 configure-generated version.sgml and confdir.sgml files.
1910 fc-lang needed help finding .orth files; added a -d option
1911 to set the directory as the least evil of many options.
1913 Now to go use a faster machine and try and wring out the last
1916 2003-10-26 Keith Packard <keithp@keithp.com>
1920 2003-10-26 Keith Packard <keithp@keithp.com>
1923 Include confdir.sgml.in in EXTRA_DIST
1925 2003-10-09 Josselin Mouette <joss@debian.org>
1927 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1928 * fc-list/fc-list.sgml fc-list/Makefile.am:
1929 Replace fc-cache and fc-list manpages with more detailed, SGML
1932 2003-09-23 Owen Taylor <otaylor@redhat.com>
1934 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1935 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1936 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1939 2003-09-23 Owen Taylor <otaylor@redhat.com>
1941 * fc-lang/ka.orth: Remove Georgian capitals, they
1942 aren't used for normal writing. (Bug #116)
1944 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1946 * doc/fontconfig-devel.sgml:
1947 * doc/fontconfig-user.sgml:
1948 * fontconfig/fontconfig.h:
1950 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1951 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1953 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1954 monospace and dual-width fonts, allow roughly a 3% variance in the
1957 2003-08-31 Manish Singh <yosh@gimp.org>
1959 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1962 2003-08-15 Carl Worth <cworth@isi.edu>
1964 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1965 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1967 * src/fcpat.c (FcValueListEntDestroy): New function to support
1968 FcFini memory cleanup. Some statistics are not kept in
1970 (FcValueListFreeze): Move hashTable outside this function so it
1971 can be accessed by FcValueListThawAll.
1972 (FcValueListThawAll): New function complements FcValueListFreeze.
1973 (FcPatternBaseFreeze): Move hashTable outside this function so it
1974 can be accessed by FcPatternBaseThawAll.
1975 (FcPatternBaseThawAll): New function complements
1976 FcPatternBaseFreeze.
1977 (FcPatternThawAll): New function complements FcPatternFreeze.
1979 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1981 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1982 allocated FcCharLeafEnt "blocks" so they can be freed later.
1983 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1984 can be accessed by FcCharSetThawAllLeaf.
1985 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1986 (FcCharSetFreezeBase): Move hashTable outside this function so it
1987 can be accessed by FcCharSetThawAll.
1988 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1990 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1991 (FcConfigDestroy): Fic leak of FcBlanks.
1993 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1994 (main): Add call to FcFini when finished.
1996 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1997 static. Add prototypes.
1999 * doc/fcinit.fncs: Add documentation for FcFini function.
2001 * doc/edit-sgml.c: Mark several local functions as static. Add
2004 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2006 2003-06-15 Tor Lillqvist <tml@iki.fi>
2008 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2009 before comparing (needed on Windows).
2011 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2013 2003-06-13 Tor Lillqvist <tml@iki.fi>
2015 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2018 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2019 WINDOWSFONTDIR token.
2021 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2022 end, not to confuse libtool, which expects the EXPORTS line to be
2023 the first. Add FcConfigEnableHome.
2025 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2026 built as a DLL on Win32.
2028 2003-06-09 Keith Packard <keithp@keithp.com>
2030 * Tag version 2.2.90
2032 2003-06-09 Keith Packard <keithp@keithp.com>
2034 * Optimization in FcLangSetIndex was broken, occasionally
2035 returning a pointer to the wrong location on miss
2037 * Add fc-match to test font matching from the command line.
2039 2003-05-31 Keith Packard <keithp@keithp.com>
2041 * (Bug 85) add support for culmus fonts
2042 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2043 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2045 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2047 * Fix "contains" op for strings and langsets.
2049 2003-05-17 Keith Packard <keithp@keithp.com>
2051 * Fix build error with BDF prop local. Free langset after query
2053 2003-05-14 Keith Packard <keithp@keithp.com>
2055 * Extract spacing from XLFD atom
2057 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2059 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2060 disappeared in 1.30.
2062 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2064 2003-05-12 Keith Packard <keithp@keithp.com>
2066 * Use FcIsWidth to share code
2068 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2069 misclassifying some Han fonts as monospaced.
2071 2003-05-07 Keith Packard <keithp@keithp.com>
2073 * Add filename-based accept/reject to ammend available fonts.
2075 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2076 older FreeType releases.
2078 2003-05-06 Keith Packard <keithp@keithp.com>
2080 * Remove 0b82 and Tamil numbers from tamil
2081 orthography (Jungshik Shin <jshin@mailaps.org>)
2083 2003-05-04 Keith Packard <keithp@keithp.com>
2085 + Map glyph names in fonts with adobe custom encoding to unicode
2087 2003-05-02 Keith Packard <keithp@keithp.com>
2089 * Add FC_WEIGHT_BOOK as weight 75
2091 2003-04-30 Keith Packard <keithp@keithp.com>
2093 * Typo in bitstream foundry name
2095 2003-04-24 Keith Packard <keithp@keithp.com>
2097 * Eliminate italic_angle check for PS fonts
2099 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2101 * Getting closer to fixing /etc/fonts hard-coding.
2103 2003-04-22 Keith Packard <keithp@keithp.com>
2105 * Update autogen.sh to work with newer automake versions
2106 * Handle pattern elements moving during multiple edits
2108 2003-04-23 James Henstridge <james@daa.com.au>
2110 * doc/fontconfig-devel.sgml: close the <para> element.
2112 * doc/fcpattern.fncs: close the <para> element.
2114 * doc/func.sgml: close the <refsynopsisdiv> element.
2116 2003-04-22 Keith Packard <keithp@keithp.com
2118 * Update autogen.sh to work with newer automake versions
2119 * Handle pattern elements moving during multiple edits
2121 2003-04-17 Colin Walters <walters@debian.org>
2123 + Remove some unused variables, and initialize some other ones so
2124 gcc doesn't warn us.
2126 2003-04-16 Keith Packard <keithp@keithp.com>
2128 + tag version 2.1.94
2130 2003-04-16 Keith Packard <keithp@keithp.com>
2132 + add BDF property fetching support for foundry
2133 (from Juliusz Chroboczek)
2134 + add BDF property fetching support for width
2136 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2138 + Implemented foundry generation for Type 1 and TrueType
2140 2003-04-11 Gerard Escalante <g2@magestudios.net>
2142 + Retrieve information from Type1 FontInfo dictionaries
2144 2003-04-07 Colin Walters <walters@verbum.org>
2146 + src/Makefile.am: Fix dummy makefile target names when
2147 MS_LIB_AVAILABLE isn't set.
2149 2003-03-22 Tor Lillqvist <tml@iki.fi>
2151 Changes for Windows:
2153 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2155 + We don't want to hardcode the fonts.conf file location in the
2156 DLL, so we look up the DLL location at run-time in a DllMain()
2157 function. The fonts.conf location is deduced from that.
2159 + The colon can't be used as path separator on Windows,
2160 semicolon is used instead. File path components can be separated
2161 with either slash or backslash. Absolute paths can also begin
2162 with a drive letter.
2164 + Add internal function FcStrLastSlash that strrchr's the last
2165 slash, or backslash on Windows.
2167 + There is no link() on Windows. For atomicity checks, mkdir a
2168 lock directory instead.
2170 + In addition to HOME, also look for USERPROFILE.
2172 + Recognize the special font directory token WINDOWSFONTDIR, to
2173 use the system's font directory.
2175 + Remove the fontconfig-def.cpp that was obsolete. Add
2176 fontconfig.def(.in), without internal functions.
2178 + Add a fontconfig-zip(.in) script, used to build a binary
2181 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2182 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2183 to main package and man3/* to devel package
2185 + Added missing defattr(-, root, root) to main RPM package
2187 + Added HTML and text development documentation to -devel subpackage
2189 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2190 + Added back the configure macro options --disable-docs, otherwise
2191 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2192 version number) unconditionally, causing RPM to fail the build due
2193 to _unpackaged_files_terminate_build. We pick up the pregenerated
2194 docs with %doc already.
2196 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2197 + Removed commented out rpm macro define at top of spec file,
2198 replacing it with a simple explanation, since rpm macros are
2199 expanded by rpm even in comments.
2201 + Changed /usr/bin to _bindir in BuildRequires lines
2203 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2205 + Reorganized file manifest lists
2207 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2209 + fontconfig.spec.in: Improvements from Red Hat spec file.
2211 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2213 + docs/*.sgml: SGML fixes.
2215 Sat Mar 1 17:28:53 PST 2003 keithp
2216 + Ok, so the ChangeLog is a bit out of date
2218 + Lots of bugs fixed; most are in bugzilla, the
2219 biggest problems were in cache management where
2220 Owen discovered the library would lose badly when
2221 combining fonts-cache and ~/.fonts-cache data
2223 + Converted from autoconf to automake. This after
2224 getting patches accepted into libtool to allow
2225 the '-version-number' argument which lets
2226 packages set version numbers explicitly rather
2227 than the roundabout libtool way
2229 + Converted documentation to SGML using the docbook
2230 DTD. Now .txt and .html documents are installed
2231 in /usr/share/doc/fontconfig and there's no
2232 man page. Perhaps a man version can be written
2235 Sat Aug 31 15:21:22 PDT 2002 keithp
2236 + Xrender and Xft had several bugs related to
2237 rendering manually placed or poly-face text
2239 + Added more complete memory tracing in fontconfig
2240 Checked with (patched) mozilla and found no leaks
2242 + Updated Latin orthographies by comparing those from
2243 evertype.com with those from eki.ee. Tried to make
2244 sensible choices, including chars that occured in both
2245 and leaving some optional chars out that occured only
2248 Mon Aug 26 16:33:04 PDT 2002 keithp
2249 + Owen discovered that FcLangSetHasLang wasn't actually
2250 checking the language set.
2252 Mon Aug 26 13:37:23 PDT 2002 keithp
2253 + Append a version number to cache filenames
2255 Thu Aug 22 11:36:18 PDT 2002 keithp
2257 + Add "contains" and "not_contains" operators and elements to
2260 + Changed semantics of eq operator for LangSets to check for
2261 FcLangEqual so that any match will do
2263 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2264 of FcValueEqual to check for identical values when inserting into
2265 the results. This broke when the above semantic change was made,
2266 now it uses FcValueEqual which is "more correct" in any case.
2268 Thu Aug 22 00:32:29 PDT 2002 keithp
2270 + Reimplement FC_LANG as new datatype. Lists of strings
2271 was consuming over a megabyte of memory for 401 fonts.
2273 + Freeze patterns loaded from cache files. This shares
2274 common value lists and common patterns which saves
2275 considerable memory.
2277 + Change the denotation of 'constant' charsets to use special
2278 ref value instead of separate boolean.
2280 + Clean up leak tracing stuff, found several unannoted alloc/free
2283 Tue Aug 20 16:17:37 PDT 2002 keithp
2285 + Fix memory leak when parsing matrices from XML
2287 Mon Aug 19 11:57:27 PDT 2002 keithp
2289 + Fix autoconf files to pass FONTCONFIG_PATH on
2290 compile line so that ${prefix} gets substituted
2293 + Use getc_unlocked/putc_unlocked on systems that
2294 provide them to avoid damage done to stdio by posix
2296 + Eliminate FC_PATTERN and FcTypePattern in favor of
2297 an extended api for FcConfigSubstitute which takes
2298 both the font and the pattern.
2300 + Add 'sans serif' alias for 'sans-serif' as some apps
2301 can't handle hyphens in family names
2303 + Eliminate pretense of support for libxml2
2305 + Comment origins of Han orthographies
2307 Tue Jul 30 18:37:09 PDT 2002 keithp
2309 + Add binding property to edit element so that strong
2310 binding values may be inserted by the config file.
2311 The default remains weak.
2313 Sun 28 Jul 04:16:55 PDT 2002 keithp
2315 + Tagged release candidate 1 in the CVS tree and
2316 placed fcpackage.rc1.tar.gz for distribution
2318 Thu Aug 1 08:55:08 PDT 2002 keithp
2320 + Fixed autoconf builds to always specify install
2321 target files (for BSD). Also fixed to
2322 define FONTCONFIG_PATH in config.h so that
2323 nonstandard installs will actually work.