1 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
4 * src/fccfg.c (FcConfigEvaluate):
6 Fix double-free which occurs because FcValueCanonicalize doesn't
7 create an extra copy of the returned value, it only canonicalizes
10 2006-01-02 Patrick Lam <plam@mit.edu>
11 * doc/fontconfig-user.sgml:
13 Fix version of .cache file (currently 1 -> currently 2). Reported
16 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
19 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
21 Shut up GCC warnings on amd.
23 2005-12-20 Patrick Lam <plam@mit.edu>
27 * fontconfig/fontconfig.h:
29 Bump version to 2.3.93.
31 2005-12-20 Patrick Lam <plam@mit.edu>
32 * src/fccharset.c (FcLangCharSetPopulate):
33 * src/fcint.h (FcCacheBankToIndex):
35 Avoid check on _fcBankId nullness and fix case where it used to
38 2005-12-20 Patrick Lam <plam@mit.edu>
39 * src/fcxml.c (FcConfigParseAndLoad):
41 Use open instead of fopen (requested by Phil Race for Sun).
43 2005-12-20 Patrick Lam <plam@mit.edu>
44 * src/fccache.c (FcDirCacheWrite);
45 * fc-cache/Makefile.am:
47 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
50 2005-12-20 Patrick Lam <plam@mit.edu>
51 * src/fcfreetype.c (FcFreeTypeQuery):
53 Restore code to skip over PCF fonts that have no encoded
55 (We guess that a font is PCF by presence of the PIXEL_SIZE
58 2005-12-12 Patrick Lam <plam@mit.edu>
59 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
61 Read and write the original location as a fallback for the
62 hashed cache file locations. This is mostly for users to be
63 able to have per-directory cache files.
65 2005-12-12 Patrick Lam <plam@mit.edu>
66 * fc-cache/fc-cache.c (scanDirs):
67 * fc-cache/Makefile.am:
68 * src/fccache.c (FcDirCacheHashName):
70 Improve error message when fc-cache can't write the cache. Add
71 missing slash. Reported by Behdad. Incorporate Behdad's patch to
72 create /var/cache/fontconfig when appropriate.
74 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
77 * src/fcxml.c (FcConfigGetAttribute):
79 Fix crash reported by Frederic Crozat when using libxml2.
81 2005-12-09 Patrick Lam <plam@mit.edu>
84 * fc-cache/Makefile.am:
87 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
88 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
89 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
90 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
91 FcDirCacheHasCurrentArch, FcDirCacheHashName,
92 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
94 Migrate cache files from fonts directories to
95 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
96 but requires that all caches get rebuilt.
98 Also, autogen.sh now needs the additional parameter
101 2005-12-07 Patrick Lam <plam@mit.edu>
102 * src/fcpat.c (FcPatternAddString):
104 Because we've changed FcPatternAddString to use FcStrStaticName
105 and not FcValueSave, explicitly handle the case of a null string.
107 2005-12-06 Patrick Lam <plam@mit.edu>
108 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
112 2005-12-05 Patrick Lam <plam@mit.edu>
113 * src/fcname.c (FcNameGetObjectType):
115 Don't assign types to user object names.
117 2005-12-05 Patrick Lam <plam@mit.edu>
118 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
120 Don't free strings that have been returned from FcStrStaticName.
122 2005-12-01 Patrick Lam <plam@mit.edu>
123 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
125 Add codepath for reading global cache files as well.
127 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
130 * conf.d/10-fonts.persian.conf:
131 * conf.d/Makefile.am:
133 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
135 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
138 * src/fcxml.c (FcConfigParseAndLoad):
140 Only add a config file to the set of config files once.
142 2005-11-29 Patrick Lam <plam@mit.edu>
143 * src/fcint.h (FcCacheBankToIndex);
145 Fix segfault by guarding array dereference.
147 2005-11-29 Dirk Mueller <dmueller@suse.de>
151 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
152 FcCacheBankToIndex, FcCacheBankToIndexMTF,
156 Refactor FcCacheBankToIndex into an inlineable part
157 (in fcint.h) which checks the front of the list and a
158 non-inlineable part which finds and moves the appropriate element
159 to the front of the list.
161 2005-11-29 Patrick Lam <plam@mit.edu>
162 * src/fccfg.c (FcConfigBuildFonts):
163 * src/fccache.c (FcCacheReadDirs):
165 Make the perf guys hate me a bit less: hoist the directory-name
166 FcConfigAcceptFont check for cached fonts up to directory cache
167 read time, rather than running it for each font.
169 2005-11-29 Patrick Lam <plam@mit.edu>
170 * src/fccfg.c (FcConfigBuildFonts):
172 * src/fcpat.c (FcPatternFindFullFname):
174 Don't make FcPatternFindFullFname available to fccfg, it's not
175 really safe. Instead go through FcPatternGetString (sorry,
176 perf guys.) Also, use globs for dirs as well.
178 2005-11-28 Patrick Lam <plam@mit.edu>
179 * src/fccfg.c (FcConfigBuildFonts):
183 2005-11-28 Patrick Lam <plam@mit.edu>
185 * src/fcpat.c (FcPatternFindFullFname):
186 * src/fccfg.c (FcConfigBuildFonts):
188 Fix problem dating back at least to 2.3.2 where globs weren't
189 being applied to patterns loaded from a cache.
191 2005-11-28 Patrick Lam <plam@mit.edu>
192 * doc/fontconfig-user.sgml:
194 Fix some obvious spelling mistakes.
196 2005-11-28 Dirk Mueller <dmueller@suse.com>
197 Stephan Kulow <coolo@suse.de>
200 * src/fcmatch.c (FcFontSetMatch):
202 Don't kill all fonts during match (oops!)
205 2005-11-25 Dirk Mueller <dmueller@suse.com>
206 Stephan Kulow <coolo@suse.de>
207 Michael Matz <matz@suse.de>
210 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
213 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
214 inline FcCompare into FcFontSetMatch and reorder the
215 loops, adding a boolean array which blocks patterns from future
216 consideration if they're known to not be best on some past
219 2005-11-26 Dirk Mueller <dmueller@suse.com>
222 * src/fcmatch.c (FcCompareValueList):
226 2005-11-25 Patrick Lam <plam@mit.edu>
227 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
229 Don't do random matching when bad objects are passed into
232 2005-11-25 Patrick Lam <plam@mit.edu>
234 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
235 FcPatternSerialize, FcPatternUnserialize,
236 FcValueListEnsureBank, FcValueListDistributeBytes,
237 FcValueListUnserialize):
239 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
240 _fcPatternElts, _fcValueLists for consistency.
242 2005-11-25 Dirk Mueller <dmueller@suse.com>
247 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
249 2005-11-25 Patrick Lam <plam@mit.edu>
251 * src/fccache.c (FcDirCacheConsume):
252 * src/fccharset.c (FcCharSetUnserialize):
253 * src/fcfs.c (FcFontSetUnserialize):
254 * src/fclang.c (FcLangSetUnserialize):
255 * src/fcname.c (FcObjectUnserialize):
256 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
257 FcPatternUnserialize):
259 Pass around FcCache *s to the Unserialize functions for extra
260 consistency (and less overhead, for what that's worth).
262 2005-11-24 Dirk Mueller <dmueller@suse.com>
266 * src/fcmatch.c (FcCompare*, FcFontSetSort):
267 * src/fcname.c (FcNameUnparseValue):
269 Inline the *PtrU functions to gain perf.
270 Remove unneeded params for the FcCompare* functions.
272 2005-11-24 Dirk Mueller <dmueller@suse.com>
275 * src/fcint.h, fontconfig/fontconfig.h:
277 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
279 * src/fcpat.c, src/fcint.h, src/fcname.c:
281 Check for type validity during FcPatternAddWithBinding, don't
282 verify type in FcFontMatch, don't call FcCanonicalize here
283 (which always does a deep copy).
285 2005-11-24 Dirk Mueller <dmueller@suse.com>
288 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
289 * src/fcpat.c (FcPatternAddWithBinding):
291 Make FcCompareString and FcCompareFamily less expensive.
292 Only add a value for FC_FAMILY if the proposed value is a string.
294 2005-11-24 Dirk Mueller <dmueller@suse.com>
297 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
298 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
299 * src/fcint.h (FcDebug):
301 Inline FcDebug invocations and only initialize once, in FcInit*.
302 Improve debug msg in FcPatternPrint.
304 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
307 * fontconfig/fontconfig.h:
310 Minor code warning cleanups.
312 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
315 * fc-match/fc-match.c (main):
317 Make getopt_long accept -s parameter to fc-match as well.
319 2005-11-21 Dirk Mueller <dmueller@suse.com>
322 * src/fcmatch.c (FcCompareValueList):
324 Manually perform inlining & partial redundancy elimination to
325 reduce calls to FcValueListPtrU.
327 2005-11-21 Dirk Mueller <dmueller@suse.com>
330 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
331 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
333 Only invoke strlen() when really necessary.
335 2005-11-19 Matthias Clasen <mclasen@redhat.com>
339 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
344 Get rid of the use of freetype internal headers in fcfreetype.c,
345 since those headers will go away with freetype 2.2. Replace with
346 public domain ftglue code from pango. Note that the patch removes
347 some extra error checking in FT_Get_BDF_Property() and comments
348 out the skipping of empty pcf fonts.
350 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
353 * fc-lang/fc-lang.c (main):
355 Further fix of patch from 2005-11-04: miscounted numbers count
356 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
357 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
359 Removed leafidx_count and numbers_count since they are the same
360 and replaced them with offset_count.
362 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
365 * fc-cat/fc-cat.c (main):
367 Don't crash when fc-cat invoked with no arguments.
369 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
372 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
374 Fix invalid read access caused by premature free and
375 GCC4 warnings in libxml2 codepath.
377 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
380 * src/fccfg.c (FcConfigValues):
382 List iteration not needed in FcConfigValues, since it's building
383 up the list itself; we can just strip FcVoid elements during
386 2005-11-17 Patrick Lam <plam@mit.edu>
387 * src/fccfg.c (FcConfigValues):
389 Fix crash on invalid constants in config files (forgot to update
390 a pointer upon list iteration.)
392 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
395 * src/fcxml.c (FcTypecheckExpr):
397 Complain about invalid constants in config files.
399 2005-11-17 Andreas Schwab <schwab@suse.de>
402 * src/fccache.c (FcGlobalCacheSave):
404 Don't add current_arch_start more than once.
406 2005-11-16 Patrick Lam <plam@mit.edu>
407 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
408 * src/fcfs.c (FcFontSetUnserialize):
409 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
410 * src/fcpat.c (FcStrUnserialize):
412 Fix ordering of ALIGN with respect to saving block_ptr; add
413 another ALIGN to fcfs.c.
415 2005-11-16 Patrick Lam <plam@mit.edu>
416 * src/fccache.c (FcDirCacheProduce)
418 Fix case where alignment bytes bumped up metadata->count
419 causing unwarranted failures to write cache files.
420 (Reported by Stephan Kulow).
422 2005-11-16 Patrick Lam <plam@mit.edu>
423 * src/fccache.c (FcDirCacheProduce):
424 * src/fccharset.c (FcCharSetDistributeBytes):
425 * src/fcfs.c (FcFontSetDistributeBytes):
427 * src/fclang.c (FcLangSetDistributeBytes):
428 * src/fcname.c (FcObjectDistributeBytes):
429 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
432 Add *NeededBytesAlign(), which overestimates the padding which is
433 later added by the new ALIGN macro. Fix alignment problems on
434 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
435 version by Andreas Schwab).
437 2005-11-16 Stephan Kulow <coolo@kde.org>
442 Use sysconf to determine proper PAGESIZE value; this
443 appears to be POSIX-compliant. (reported by Andreas Schwab)
445 2005-11-04 Patrick Lam <plam@mit.edu>
451 Fix bug 2878 (excessive relocations at startup for charsets,
452 reported by Ross Burton): fc-lang/fc-lang now creates the
453 static form of the langset, not the dynamic form, so that
454 the charsets should now be in .rodata.
456 2005-11-04 Patrick Lam <plam@mit.edu>
457 * src/fcdir.c (FcDirScanConfig):
459 Add test for validity of directory caches that
460 somehow got lost (reported by make distcheck).
462 2005-11-04 Patrick Lam <plam@mit.edu>
466 * fontconfig/fontconfig.h:
468 Bump version to 2.3.92.
470 2005-11-02 Patrick Lam <plam@mit.edu>
471 * src/fcpat.c (FcPatternDuplicate):
473 Fix argument ordering problem in call to FcPatternTransferFullFname.
475 2005-11-02 Patrick Lam <plam@mit.edu>
476 * src/fcfreetype.c (FcFreetypeQuery):
477 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
478 FcPatternTransferFullFname):
480 Fix warnings and embarrassing double-free error.
482 2005-11-02 Zhe Su <zsu@novell.com>
487 Change the rule for artificial emboldening in fonts.conf.in. This
488 enables the support for artificial emboldening included in cairo.
490 2005-11-02 Patrick Lam <plam@mit.edu>
491 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
493 Don't zero out full names for FC_REF_CONSTANT fonts;
494 also, duplicate full names when transferring, and free
495 full names when freeing the associated font.
496 Reported by Jinghua Luo.
498 2005-11-02 Patrick Lam <plam@mit.edu>
499 * fc-cache/fc-cache.c (scanDirs):
500 * src/fcpat.c (FcValueListSerialize):
502 Revert the previous patch and commit the correct patch:
503 I forgot a canonicalization in FcValueListSerialize, so
504 that it would choke on already-serialized input files. Duh!
506 2005-11-02 Patrick Lam <plam@mit.edu>
507 * fc-cache/fc-cache.c (scanDirs):
509 Forcibly rescan a directory before writing a fresh local
510 cache file for that directory, fixing the losing-fonts
511 problem reported by Mike Fabian and also apparently the
512 font cache file corruption.
514 2005-11-02 Patrick Lam <plam@mit.edu>
515 * src/fccache.c (FcGlobalCacheLoad):
517 Fix thinko: actually, the whole global cache is stale
518 if the global cache is older than the (newest) config file.
520 2005-11-02 Patrick Lam <plam@mit.edu>
521 * src/fccache.c (FcGlobalCacheLoad):
522 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
525 Declare the global cache of a directory's contents to be stale if
526 the directory is newer than the (newest) configuration file.
528 2005-10-31 Patrick Lam <plam@mit.edu>
530 * src/fclist.c (FcListAppend):
531 * src/fcmatch.c (FcFontRenderPrepare):
532 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
533 FcPatternFreeze, FcPatternBaseFreeze):
535 Copy the full pathname whenever duplicating an FcPattern; otherwise,
536 applications continue breaking.
538 2005-10-31 Patrick Lam <plam@mit.edu>
539 * fc-cat/fc-cat.c (FcCacheFileRead, main):
540 * src/fcfreetype.c (FcFreeTypeQuery):
542 Fix small memory error (tried to free argv); use basename and
543 dirname correctly (they can modify their arguments).
545 2005-10-31 Patrick Lam <plam@mit.edu>
553 Reinstate basename patch, but keep a hash table linking FcPatterns
554 to their fully-qualified font names for clients' benefit. Clients
555 only pay for the font names once they request the FC_FILE property
556 from an FcPattern, but the font name is malloc'd at that point (i.e.
557 not mmapped: that's impossible, since it may vary between machines.)
558 Clients do have to pay for a copy of the path name per cache file.
560 Note that FcPatternGetString now does some rewriting if you ask
561 for an FC_FILE, appending the pathname as appropriate.
563 2005-10-31 Patrick Lam <plam@mit.edu>
564 * src/fcfreetype.c (FcFreeTypeQuery):
566 Revert basename patch, which breaks fontconfig clients on my system.
568 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
571 * fontconfig/fonts.conf.in:
572 * fontconfig/fontconfig.h:
576 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
577 to load embedded bitmaps or not.
579 2005-10-25 Patrick Lam <plam@mit.edu>
580 * src/fcfreetype.c (FcFreeTypeQuery):
582 Only add basename to patterns' FC_FILE element, not any part of
585 2005-10-22 Patrick Lam <plam@mit.edu>
588 Add some more consts, fixing more GCC4 warnings.
590 2005-10-22 Zhe Su <zsu@novell.com>
593 Support localized font family and style names.
594 This has been reported to break old apps like xfd, but modern
595 (gtk+/qt/mozilla) apps work fine.
597 2005-10-21 Patrick Lam <plam@mit.edu>
598 * src/fccache.c (FcGlobalCacheLoad):
600 Destroy the global cache file if it's terminally broken. (reported by
603 2005-10-21 Patrick Lam <plam@mit.edu>
604 * fc-list/fc-list.c (main):
605 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
606 * fontconfig/fontconfig.h:
608 Prevent fc-list from escaping strings when printing them (reported by
611 2005-10-20 Marcus Meissner <meissner@suse.de>
614 * fontconfig/fontconfig.h:
616 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
618 2005-10-14 Ross Burton <ross@burtonini.com>
621 * fc-glyphname/fc-glyphname.c:
624 Add consts to variables so as to move arrays into .rodata.
626 2005-10-14 Mike Fabian <mfabian@suse.de>
629 * src/fccache.c (FcDirCacheUnlink):
631 Check existence of directory cache file before attempting to unlink.
633 2005-10-13 Patrick Lam <plam@mit.edu>
634 * src/fccache.c (FcDirCacheUnlink):
636 Fix flipped return value on unlink. (Reported by Mike Fabian)
638 2005-10-12 Patrick Lam <plam@mit.edu>
641 * src/fcdir.c (FcDirScanConfig):
644 When fc-cache is run without --force, use directory cache files
645 to speed up fc-cache run time. (Reported by Mike Fabian)
647 2005-10-06 Patrick Lam <plam@mit.edu>
649 * src/fcname.c (FcObjectToPtr):
650 * src/fcpat.c (FcStrStaticName):
652 Add padding to make valgrind and glibc not hate each other
653 when calling strlen().
655 2005-10-05 Simos Xenitellis <simos74@gmx.net>
656 reviewed by: plam & keithp
660 Modify config file to use Greek fonts before Asian fonts with
663 2005-10-05 Christian Biesinger <cbiesinger@web.de>
664 reviewed by: plam & keithp
668 Use libtool -no-undefined flag on all platforms.
670 2005-10-05 Patrick Lam <plam@mit.edu>
671 * src/fccache.c (FcCacheHaveBank):
673 Implement move-to-front array for banks (perf regression
674 reported by Ronny V. Vindenes).
676 2005-10-04 Patrick Lam <plam@mit.edu>
677 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
678 FcDirCacheHasCurrentArch):
679 * fc-cache/fc-cache.c (scanDirs):
680 * fontconfig/fontconfig.h:
682 Add new API which unlinks directory caches and checks dir caches
683 for existence of appropriate sections. Fix fc-cache to unlink
684 stale cache files and save directory caches that lack relevant
687 2005-10-03 Patrick Lam <plam@mit.edu>
688 * src/fccache.c (FcDirCacheValid):
690 Ensure that a directory cache has the appropriate section
691 before reporting that it is valid (reported by Matthias Clasen).
693 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
701 Use libxml2 if requested (with --enable-libxml2) or if
702 expat is not available.
704 2005-09-29 Patrick Lam <plam@mit.edu>
705 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
707 Fix multi-arch cache files: compute the position for the
708 block to be added using info from OrigFile, not NewFile.
710 2005-09-28 Patrick Lam <plam@mit.edu>
711 * src/fccache.c (FcCacheMachineSignature):
713 Cast results of sizeof() to unsigned int to get rid of
714 warnings on x86_64 (thanks Matthias Clasen).
716 2005-09-27 Patrick Lam <plam@mit.edu>
717 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
720 Use FcAtomic to rewrite cache files.
722 2005-09-27 Patrick Lam <plam@mit.edu>
724 * src/fccache.c (FcDirCacheWrite):
726 Don't unlink the fonts.cache-2 file even if there's no data
727 to write; just write an empty cache file. (thanks Lubos Lunak)
729 2005-09-27 Patrick Lam <plam@mit.edu>
731 * src/fccache.c (FcDirCacheWrite):
733 Allocate room for the subdirectory names in each
734 directory cache. Thanks to James Cloos for finding
735 and diagnosing this bug!
737 2005-09-22 Patrick Lam <plam@mit.edu>
739 * fc-cache/fc-cache.sgml:
740 * src/fccache.c (FcDirCacheWrite):
741 * src/fccache.h (struct FcCache):
743 Update documentation -- fc-cache's man page now says that you
744 need to run fc-cache once per cached architecture; add some
745 documentation to the FcCache structure.
747 Make fc-cache write out fonts.cache-2 files for directories with
748 no fonts (i.e. only subdirectories).
750 2005-09-22 Patrick Lam <plam@mit.edu>
752 * fc-cache/fc-cache.sgml:
754 * fc-glyphname/fc-glyphname.c:
760 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
765 * fontconfig/fcprivate.h:
766 * fontconfig/fontconfig.h:
780 Implement new mmaped cache for font information.
781 Bump so revision to 2.3.90.
783 2005-07-25 Keith Packard <keithp@keithp.com>
785 * doc/fontconfig-user.sgml:
786 * fc-glyphname/fc-glyphname.c: (scan), (main):
787 * fc-lang/fc-lang.c: (FcConfigHome):
788 * fc-match/fc-match.c: (main):
789 * src/fccfg.c: (FcConfigHome):
790 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
791 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
792 (addtag), (FcFontCapabilities):
793 * src/fcpat.c: (FcValueListEntCreate):
794 * src/fcstr.c: (FcStrCaseWalkerInit):
795 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
797 Various GCC 4 cleanups for signed vs unsigned char
799 Match only [0-9]*.conf files in <include>{directory}</include>
800 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
802 2005-07-15 Carl Worth <cworth@cworth.org>
805 * src/fcinit.c: (FcFini):
806 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
809 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
810 Pull the FcObjectStateName hash table out to file scope, and add
811 FcObjectStaticNameFini so that FcFini will cleanup this hash table
814 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
817 2005-06-16 Patrick Lam <plam@MIT.EDU>
821 * src/fccfg.c: (FcConfigCompareValue):
822 Make FcOpNotContains use FcStrStr for strings so that
823 it matches semantics for !FcOpContains.
825 2005-05-20 Keith Packard <keithp@keithp.com>
829 Move fontconfig source package to libs as per override
831 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
833 reviewed by: Mike Fabian
836 The ka.orth file requires several characters which are not
837 used anymore in modern Georgian and which are missing in the free
838 Georgian TrueType fonts downloadable at:
840 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
842 2005-04-27 Keith Packard <keithp@keithp.com>
846 Update date to real 2.3.2 release date.
847 Fix change attributions
849 2005-04-27 Keith Packard <keithp@keithp.com>
852 Bump so revision for 2.3.2
853 * fc-cache/fc-cache.c: (scanDirs):
854 Fix a few minor leaks in error cases.
856 2005-04-23 Keith Packard <keithp@keithp.com>
861 * fontconfig/fontconfig.h:
862 Update for version 2.3.2
864 2005-04-21 Keith Packard <keithp@keithp.com>
866 * debian/fontconfig.postinst:
867 Don't force bitmap font enable in default
868 configuration; allows users to override this in
878 * debian/po/pt_BR.po:
879 * debian/po/templates.pot:
881 * debian/po/zh_CN.po:
884 * fc-cache/fc-cache.c: (main):
885 Destroy font configuration on exit to help valgrind
888 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
889 (FcFreeTypeCheckGlyph):
890 Use own transcoding routines in preference to iconv
891 which appears to have leaks in some translators.
892 Call iconv_close after using iconv (oops).
894 Prefer unicode encoding of Euro char as some
895 fonts mis-encode Euro in other ones.
897 Must fetch bitmap glyphs to get width values
898 to check for monospace/dual-width fonts.
900 2005-04-13 Ross Burton <ross@burtonini.com>
903 Check that a pattern isn't already frozen in FcPatternFreeze.
905 2005-03-31 Ross Burton <ross@burtonini.com>
910 Run all FcPattern objects through FcObjectStaticName, so that
911 compares can be done on pointers instead of strings (#2659)
913 2005-03-17 Tor Lillqvist <tml@novell.com>
915 * src/fontconfig.def.in: Add the .dll to the dll name.
917 2005-03-10 Keith Packard <keithp@keithp.com>
919 * debian/README.Debian:
920 Update to reflect configuration changes
922 * debian/fontconfig.postinst:
923 Fix Autohint vs Autohinter mistake
924 * debian/fontconfig.templates:
925 Adopt changes from Josselin Mouette for configuration descriptions
926 Update debian to version 2.3.1-2
928 2005-03-08 Keith Packard <keithp@keithp.com>
932 Update debian for 2.3.1
934 2005-03-09 Tor Lillqvist <tml@novell.com>
936 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
939 * src/fccfg.c (FcConfigFileExists): Check also drive letter
942 2005-03-08 Keith Packard <keithp@keithp.com>
946 * fontconfig/fontconfig.h:
949 2005-03-05 Keith Packard <keithp@keithp.com>
951 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
952 Include space and remove numbers from valid script tags.
953 This ensures that tags like 'lao ' work while rejecting
954 those which have any digits.
955 Eliminate a spurious debugging variable (len)
957 2005-03-05 Keith Packard <keithp@keithp.com>
959 * src/fcfreetype.c: (addtag), (GetScriptTags),
960 (FcFontCapabilities):
961 Rework GSUB/GPOS script parsing to survive broken fonts.
962 Thanks for the broken font go to Manish Singh
964 2005-03-05 Keith Packard <keithp@keithp.com>
969 * debian/fontconfig.config:
970 * debian/fontconfig.templates:
972 Include 2.3 release information in changelog
973 Add Josselin Mouette as an Uploader
974 Set hinting_type to low priority configuration option
977 * debian/fontconfig.postinst:
978 yes_bitmaps.conf -> yes-bitmaps.conf
984 2005-03-02 Keith Packard <keithp@keithp.com>
987 * conf.d/Makefile.am:
988 * conf.d/autohint.conf:
989 * conf.d/no-sub-pixel.conf:
990 * conf.d/sub-pixel.conf:
991 * conf.d/unhinted.conf:
992 * debian/autohint.conf:
993 * debian/fontconfig.install:
994 * debian/fontconfig.postinst:
995 * debian/fontconfig.templates:
996 * debian/no-sub-pixel.conf:
997 * debian/unhinted.conf:
998 Move debian-specific conf file examples upstream.
1000 Sub-pixel configuration examples must smash subpixel value
1001 as Xft always sets it from X.
1003 Change sub-pixel rendering debconf descriptions from
1004 Enable/Disable to Always/Never.
1006 2005-03-02 Keith Packard <keithp@keithp.com>
1009 * conf.d/.cvsignore:
1011 Ignore more build detritus
1014 Add debian package construction stuff.
1016 * config/config.guess:
1017 * config/config.sub:
1018 Update to newer versions of these tools
1021 Get library manuals to build again (we love automake).
1023 * debian/README.Debian:
1024 * debian/autohint.conf:
1029 * debian/fontconfig-udeb.install:
1030 * debian/fontconfig.config:
1031 * debian/fontconfig.defoma:
1032 * debian/fontconfig.dirs:
1033 * debian/fontconfig.install:
1034 * debian/fontconfig.postinst:
1035 * debian/fontconfig.postrm:
1036 * debian/fontconfig.templates:
1037 * debian/libfontconfig1-dev.install:
1038 * debian/libfontconfig1.install:
1039 * debian/local.conf.md5sum:
1040 * debian/no-sub-pixel.conf:
1041 * debian/po/POTFILES.in:
1050 * debian/po/pt_BR.po:
1051 * debian/po/templates.pot:
1053 * debian/po/zh_CN.po:
1055 * debian/unhinted.conf:
1056 Update debian build system to switch maintainers and
1057 deal with 2.3 functionality
1059 2005-03-01 Keith Packard <keithp@keithp.com>
1063 * fontconfig/fontconfig.h:
1066 2005-03-01 Keith Packard <keithp@keithp.com>
1069 Generate and install PDF versions of the manuals
1071 * doc/fcpattern.fncs:
1074 * doc/fcstring.fncs:
1075 Add missing exported functions, fix data types
1077 * doc/fontconfig-devel.sgml:
1078 Add missing pattern elements.
1080 * doc/fontconfig-user.sgml:
1081 Add missing pattern elements. Document conf.d usage,
1082 clarify available orthography list. Fix some config file
1083 attributes. Complete list of constants.
1085 * fontconfig/fontconfig.h:
1086 Mark FC_SOURCE deprecated.
1088 * src/fcfreetype.c: (FcFreeTypeQuery):
1089 Don't set FC_SOURCE any longer.
1091 2005-02-28 Keith Packard <keithp@keithp.com>
1094 * conf.d/Makefile.am:
1096 * conf.d/no-bitmaps.conf:
1097 * conf.d/sub-pixel.conf:
1098 * conf.d/yes-bitmaps.conf:
1100 Create prototype /etc/fonts/conf.d directory with a few
1101 sample configuration files.
1102 Deprecate use of local.conf for local customizations in favor of
1103 this directory based scheme which is more easily integrated into
1104 installation systems.
1107 Tag FC_EMBOLDEN as a boolean variable
1109 2005-02-10 Keith Packard <keithp@keithp.com>
1111 reviewed by: pborelli@katamail.com
1113 * src/fcdir.c: (FcFileScanConfig):
1114 Free patterns from fonts which are rejected by configuration
1117 2005-01-28 Keith Packard <keithp@keithp.com>
1121 * fontconfig/fontconfig.h:
1122 Update for version 2.2.99
1124 2005-01-28 Keith Packard <keithp@keithp.com>
1127 Add a few pointers (#2284, #2285)
1129 2005-01-28 Keith Packard <keithp@keithp.com>
1132 * src/fcname.c: (FcNameBool):
1133 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1134 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1135 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1136 Polite typechecking for test and edit expressions. Helps
1137 catch errors in the font configuration. (bug 229)
1139 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1141 reviewed by: Keith Packard <keithp@keithp.com>
1144 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1146 2005-01-13 Keith Packard <keithp@keithp.com>
1148 * doc/fontconfig-user.sgml:
1149 Add SEE ALSO section (bug 2085)
1151 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1153 reviewed by: Keith Packard <keithp@keithp.com>
1158 * fc-case/Makefile.am:
1159 * fc-glyphname/Makefile.am:
1160 * fc-lang/Makefile.am:
1161 * src/fontconfig.def.in:
1162 Cross compiling fixes (bug 280)
1164 2005-01-13 Keith Packard <keithp@keithp.com>
1167 Update blanks list (Closes bug 86)
1169 2005-01-04 Keith Packard <keithp@keithp.com>
1171 * src/fccache.c: (FcCacheFontSetAdd):
1172 Verify that every font pattern loaded from cache has
1173 both FC_FILE and FC_FAMILY entries.
1174 Attempt to fix bug #2219.
1176 2004-12-29 Keith Packard <keithp@keithp.com>
1180 * fontconfig/fontconfig.h:
1181 Update for version 2.2.98
1183 2004-12-29 Keith Packard <keithp@keithp.com>
1185 * fontconfig/fontconfig.h:
1186 Document ASCII limitations of Fc character conversion macros
1187 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1188 Fix off-by-one error in utf-8 case walking code.
1189 Add FcStrDowncase (useful for testing case conversion functions)
1191 2004-12-29 Keith Packard <keithp@keithp.com>
1194 * fc-case/.cvsignore:
1195 clean up CVS ignore lists
1196 * fc-lang/iso-3166.txt:
1197 Add territory database
1199 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1201 Reviewed by: Keith Packard
1204 Remove Han characters from Korean orthography
1206 2004-12-29 Keith Packard <keithp@keithp.com>
1209 Reorder utility programs to make sure fc-case is run before fc-lang
1210 as fc-lang uses fcstr.c which uses fccase.h
1214 2004-12-29 Keith Packard <keithp@keithp.com>
1217 Adopt some RedHat suggestions for standard font configuration.
1221 * fc-case/CaseFolding.txt:
1222 * fc-case/Makefile.am:
1223 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1224 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1225 (dump), (parseRaw), (caseFoldReadRaw), (main):
1226 * fc-case/fccase.tmpl.h:
1227 Add new helper program 'fc-case' to construct case folding
1228 tables from standard Unicode CaseFolding.txt file
1231 * src/fclist.c: (FcListValueHash):
1232 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1233 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1234 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1235 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1236 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1237 Re-implement case insensitive functions with Unicode
1238 aware versions (including full case folding mappings)
1240 2004-12-13 Keith Packard <keithp@keithp.com>
1242 reviewed by: Owen Taylor <otaylor@redhat.com>
1244 * src/fcmatch.c: (FcFontSetSort):
1245 I changed FcFontSetSort to respect the generic aliases better
1246 in the face of language matching.
1248 What I did was to ammend the strict sort order used by FcFontSort so
1249 that it 'satisfies' the language specified in the pattern by locating
1250 the best matching font supporting each pattern language and then
1251 ignores language in the remaining fonts for purposes of matching.
1253 So, when asking for 'sans:lang=en', you'll get an English font first,
1254 and then the remaining fonts sorted with respect to the 'sans' alias
1255 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1257 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1259 reviewed by: Keith Packard <keithp@keithp.com>
1261 * fontconfig/fontconfig.h:
1264 Configuration changes to request synthetic emboldening of
1265 fonts. The actual emboldening code will live in Xft.
1267 2004-12-09 John Thacker <thacker@math.cornell.edu>
1269 reviewed by: Keith Packard <keithp@keithp.com>
1273 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1274 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1275 и), and don't even appear in KOI8-R. (The hypothesis that they
1276 don't appear in KOI8-R due to their similarity with Latin I and i is
1277 eliminated by their presence in KOI8-U.) I have a couple of fonts
1278 with Russian support that don't have the letter.
1280 Therefore, 0406 and 0456 should be removed from or commented out of
1283 2004-12-06 michael meeks <mmeeks@novell.com>
1285 Reviewed by: Keith Packard <keithp@keithp.com>
1287 * src/fcinit.c: (FcMemReport):
1289 * src/fclist.c: (FcObjectSetAdd):
1290 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1291 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1292 * src/fcxml.c: (FcParsePatelt):
1293 memoize strings and share a single copy for all uses. Note that
1294 this could be improved further by using statically allocated blocks
1295 and gluing multiple strings together, but I'm basically lazy.
1296 In my environment with 800 font files, I get a savings of about 90KB.
1298 2004-12-06 Keith Packard <keithp@keithp.com>
1302 * config/Makedefs.in:
1305 * doc/fcatomic.fncs:
1306 * doc/fcblanks.fncs:
1307 * doc/fccharset.fncs:
1308 * doc/fcconfig.fncs:
1309 * doc/fcconstant.fncs:
1311 * doc/fcfontset.fncs:
1312 * doc/fcfreetype.fncs:
1314 * doc/fcmatrix.fncs:
1315 * doc/fcobjectset.fncs:
1316 * doc/fcobjecttype.fncs:
1317 * doc/fcpattern.fncs:
1318 * doc/fcstring.fncs:
1319 * doc/fcstrset.fncs:
1321 * doc/fontconfig-devel.sgml:
1322 * doc/fontconfig-user.sgml:
1324 * doc/version.sgml.in:
1325 * fc-cache/Makefile.am:
1326 * fc-cache/fc-cache.c:
1327 * fc-glyphname/Makefile.am:
1328 * fc-glyphname/fc-glyphname.c:
1329 * fc-glyphname/fcglyphname.tmpl.h:
1330 * fc-lang/Makefile.am:
1340 * fc-lang/az_ir.orth:
1374 * fc-lang/fc-lang.c:
1375 * fc-lang/fc-lang.man:
1376 * fc-lang/fclang.tmpl.h:
1421 * fc-lang/ku_ir.orth:
1454 * fc-lang/ps_af.orth:
1455 * fc-lang/ps_pk.orth:
1484 * fc-lang/ti_er.orth:
1485 * fc-lang/ti_et.orth:
1511 * fc-lang/zh_cn.orth:
1512 * fc-lang/zh_hk.orth:
1513 * fc-lang/zh_mo.orth:
1514 * fc-lang/zh_sg.orth:
1515 * fc-lang/zh_tw.orth:
1517 * fc-list/Makefile.am:
1518 * fc-list/fc-list.c:
1519 * fc-match/Makefile.am:
1520 * fc-match/fc-match.1:
1521 * fc-match/fc-match.c:
1522 * fontconfig/fcfreetype.h:
1523 * fontconfig/fcprivate.h:
1524 * fontconfig/fontconfig.h:
1545 Change files from ISO-Latin-1 to UTF-8
1547 2004-12-04 Keith Packard <keithp@keithp.com>
1550 Update links to new freedesktop.org locations
1552 Add uninstall-local to get rid of fonts.conf and local.conf if they
1553 match the distributed versions. Fixes 'make distcheck'
1555 2004-12-04 Keith Packard <keithp@keithp.com>
1559 * fontconfig/fontconfig.h:
1560 Updates for version 2.2.97
1562 2004-12-04 Owen Taylor <otaylor@redhat.com>
1564 reviewed by: Keith Packard <keithp@keithp.com>
1566 * fc-cache/fc-cache.c: (main):
1567 Sleep for two seconds before exiting to make sure timestamps
1568 for future changes have distinct mod times in the file system.
1571 Add Punjabi orthography. Bug #1671.
1573 2004-12-04 Keith Packard <keithp@keithp.com>
1576 Just remove the FC_FONTDATE -- it has locale issues and
1577 annoys redhat multi-arch installs. Now that all X fonts are
1578 included without prejudice, the chances of the date being at
1579 all interesting are rather limited. Bug #505.
1581 Add copyright and license
1583 2004-12-04 Keith Packard <keithp@keithp.com>
1586 Change default set of fonts to include all of
1587 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1588 * doc/fontconfig-user.sgml:
1589 Document new <include>directory-name</include> semantics
1591 add <include ignore_missing="yes">conf.d</include>
1593 Add selectfont to ignore bitmap fonts, add comment for
1594 selectfont which accepts bitmap fonts.
1597 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1598 Allow <include> configuration elements to reference directories.
1599 Parse and load all files of the form [0-9]* in sorted order.
1601 2004-12-04 Keith Packard <keithp@keithp.com>
1604 Report command line for $srcdir/configure accurately.
1607 2004-12-04 Keith Packard <keithp@keithp.com>
1609 * src/fcfreetype.c: (FcFreeTypeQuery):
1610 Check for non-empty face->family_name and face->style_name
1611 before using those for the font. Empty names match everything.
1614 2004-12-04 Keith Packard <keithp@keithp.com>
1617 * fontconfig/fontconfig.h:
1618 * src/fcfreetype.c: (FcFreeTypeQuery):
1620 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1621 available. This provides font file format information (BDF, Type 1,
1622 PCF, TrueType) for each font. Closes #109.
1624 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1626 reviewed by: Keith Packard <keithp@keithp.com>
1628 * doc/fontconfig-user.sgml:
1631 * fontconfig/fontconfig.h:
1632 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1633 (GetScriptTags), (FcFontCapabilities):
1635 Add detection for font capabilities (bug #105)
1637 2004-12-04 Keith Packard <keithp@keithp.com>
1640 Move existing fonts.conf to fonts.conf.bak
1643 Add detection of iconv
1645 * doc/fcpattern.fncs:
1646 * doc/fontconfig-devel.sgml:
1647 * doc/fontconfig-user.sgml:
1649 Document new selectfont elements
1652 Switch to UTF-8 in comment
1654 * fontconfig/fontconfig.h:
1656 Add fullname, and family/style/fullname language entries
1658 * src/fccache.c: (FcCacheFontSetAdd):
1659 * src/fcdir.c: (FcFileScanConfig):
1660 Respect selectfont/*/glob
1663 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1664 (FcConfigCompareValue), (FcConfigPatternsAdd),
1665 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1666 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1667 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1668 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1669 Add support for selectfont
1671 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1672 (FcStringInPatternElement), (FcFreeTypeQuery):
1673 Add multi-lingual family/style/fullname support
1675 * src/fclist.c: (FcListPatternMatchAny):
1676 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1678 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1679 (FcObjectStaticName):
1680 Add new FcPatternRemove/FcPatternAppend.
1681 FcObjectStaticName stores computed pattern element names which
1682 are required to be static.
1684 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1689 Remove spurious / after $(DESTDIR)
1691 2004-06-30 Keith Packard <keithp@keithp.com>
1695 * fontconfig/fontconfig.h:
1698 2004-06-30 Keith Packard <keithp@keithp.com>
1700 Provided by: Lubos Lunak <l.lunak@suse.cz>
1702 * src/fccfg.c: (FcConfigUptoDate):
1703 However FcConfigUptoDate() doesn't seem to work. See the attached
1704 patch. First there's an obvious misplaced parenthesis making it
1705 return always false, and second, even this call fails to detect font
1706 changes (e.g. adding a new font to
1707 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1708 well. The problem seems to be triggered by my fonts.conf specifying
1709 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1710 doesn't include subdirs, unlike config->fontDirs.
1712 2004-06-03 Keith Packard <keithp@keithp.com>
1714 * fontconfig/fontconfig.h:
1715 Remove comma at end of FcResult enum definition.
1717 2004-05-29 Keith Packard <keithp@keithp.com>
1720 Add steps to md5sum release
1722 2004-05-29 Keith Packard <keithp@keithp.com>
1726 * fontconfig/fontconfig.h:
1729 2004-05-29 Keith Packard <keithp@keithp.com>
1731 * fontconfig/fontconfig.h:
1732 * src/fcmatch.c: (FcFontSetMatch):
1733 Add FcResultOutOfMemory to provide an accurate error when
1734 FcFontSetMatch fails in this way
1737 Make #warning about lacking various FreeType features indicate
1738 which version those features appeared so users know how to
1739 fix the problem (Thanks to Anton Tropashko)
1741 2004-05-05 Keith Packard <keithp@keithp.com>
1743 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1744 Replace MIN/MAX/ABS macros which happen to have come
1745 from FreeType with fontconfig-specific ones (FC_*)
1747 2004-04-23 Keith Packard <keithp@keithp.com>
1750 Extend release preparation instructions to include
1751 notification and distribution steps
1753 2004-04-23 Keith Packard <keithp@keithp.com>
1757 * fontconfig/fontconfig.h:
1758 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1760 2004-04-23 Keith Packard <keithp@keithp.com>
1763 Ignore a few more autotool files
1765 2004-04-14 Keith Packard <keithp@keithp.com>
1768 Add instructions for doing a release
1770 * fontconfig.spec.in:
1771 clean up .spec file; perhaps this will be useful to somebody...
1775 * fontconfig/fontconfig.h:
1778 * fc-lang/fc-lang.c:
1779 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1781 * fc-glyphname/Makefile.am:
1782 * fc-lang/Makefile.am:
1783 * fc-list/Makefile.am:
1784 * fc-match/Makefile.am:
1786 Add WARN_CFLAGS to pass -W flags for GCC systems
1788 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1789 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1790 Change various char types around to match across
1792 Fixed bug in using available_sizes[i].height which
1793 is in pixels, not 64ths of a pixel.
1795 2004-03-06 Keith Packard <keithp@keithp.com>
1797 * src/fcfreetype.c: (FcFreeTypeQuery):
1798 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1799 matches looking for explicit values prefer exact matches
1801 2004-03-02 Keith Packard <keithp@keithp.com>
1803 Supplied by: mfabian@suse.de (Mike FABIAN)
1805 * src/fcfreetype.c: (FcFreeTypeQuery):
1806 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1807 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1809 2004-02-21 Manish Singh <yosh@gimp.org>
1811 * fc-glyphname/fc-glyphname.c: (main):
1812 Cast strlen to int for printf, so we're 64-bit clean.
1814 2004-02-11 Keith Packard <keithp@keithp.com>
1817 * src/fcfreetype.c: (FcGetPixelSize):
1818 Ok, so I messed up the test for y_ppem. Let's see if I
1819 got it right this time.
1821 2004-02-10 Keith Packard <keithp@keithp.com>
1824 * src/fcfreetype.c: (FcGetPixelSize):
1825 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1826 FT_Bitmap_Size record. Add a configure.in test for this
1827 and change the code accordingly (using height instead).
1829 2004-02-06 Keith Packard <keithp@keithp.com>
1832 Add Low Saxon orthography
1833 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1835 * src/fccfg.c: (FcConfigNewestFile):
1836 Oops. Left 'newest.set' unset, which would miscompute
1839 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1840 (FcFreeTypeCheckGlyph):
1841 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1842 font properties (which report the wrong value in current FreeType)
1844 Don't attempt to check for empty glyphs in non-scalable fonts; they
1847 2004-02-01 Tor Lillqvist <tml@iki.fi>
1849 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1850 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1851 cache if config->cache is NULL, which happens if FcConfigHome() is
1852 NULL. Guard against that by using the temp folder in that case.
1854 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1856 * fc-lang/az_ir.orth:
1857 * fc-lang/ku_ir.orth:
1858 * fc-lang/ps_af.orth:
1859 * fc-lang/ps_pk.orth:
1860 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1861 (Afghan and Pakistani).
1863 Updated Urdu orthography with real data.
1865 2003-12-11 Carl Worth <cworth@east.isi.edu>
1867 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1870 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1872 (all-local): Remove excessive whitespace.
1874 * autogen.sh: Add 'set -e' to abort when any program fails,
1875 (avoids printing of 'now type make' after configure aborts).
1877 2003-11-17 Eric Christopherson <rakko@charter.net>
1879 reviewed by: Keith Packard <keithp@keithp.com>
1882 * fontconfig/fcfreetype.h:
1884 Switch to FreeType 2.1.7 style includes. Bug #150.
1886 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1888 * fc-list/fc-list.sgml: Add some example usages.
1890 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1893 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1896 2003-10-27 Keith Packard <keith@keithp.com>
1899 * fontconfig/fontconfig.h:
1900 Update to version 2.2.92
1902 2003-10-27 Keith Packard <keithp@keithp.com>
1907 * fc-cache/Makefile.am:
1908 * fc-glyphname/Makefile.am:
1909 * fc-lang/Makefile.am:
1910 * fc-list/Makefile.am:
1911 * fc-match/Makefile.am:
1914 Yet more cleanups to finish getting 'make distcheck' working
1915 This has been tested to ensure that it even works from a _build
1918 2003-10-26 Keith Packard <keithp@keithp.com>
1922 * fc-cache/Makefile.am:
1923 * fc-glyphname/Makefile.am:
1924 * fc-lang/Makefile.am:
1925 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1926 * fc-list/Makefile.am:
1927 * fc-match/Makefile.am:
1928 Attempts to fix 'make distcheck' work. Things are
1929 progressing pretty well, but there are still failures
1930 long into the process dealing with docs (as always).
1932 The big changes here are mostly to make $(srcdir) != "."
1933 work correctly, fixing the docbook related sections and
1934 fc-lang were particularily tricky. Docbook refuses to load
1935 system entities from anywhere other than where the original .sgml
1936 file was located, so no luck looking in "." for the
1937 configure-generated version.sgml and confdir.sgml files.
1939 fc-lang needed help finding .orth files; added a -d option
1940 to set the directory as the least evil of many options.
1942 Now to go use a faster machine and try and wring out the last
1945 2003-10-26 Keith Packard <keithp@keithp.com>
1949 2003-10-26 Keith Packard <keithp@keithp.com>
1952 Include confdir.sgml.in in EXTRA_DIST
1954 2003-10-09 Josselin Mouette <joss@debian.org>
1956 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1957 * fc-list/fc-list.sgml fc-list/Makefile.am:
1958 Replace fc-cache and fc-list manpages with more detailed, SGML
1961 2003-09-23 Owen Taylor <otaylor@redhat.com>
1963 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1964 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1965 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1968 2003-09-23 Owen Taylor <otaylor@redhat.com>
1970 * fc-lang/ka.orth: Remove Georgian capitals, they
1971 aren't used for normal writing. (Bug #116)
1973 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1975 * doc/fontconfig-devel.sgml:
1976 * doc/fontconfig-user.sgml:
1977 * fontconfig/fontconfig.h:
1979 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1980 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1982 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1983 monospace and dual-width fonts, allow roughly a 3% variance in the
1986 2003-08-31 Manish Singh <yosh@gimp.org>
1988 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1991 2003-08-15 Carl Worth <cworth@isi.edu>
1993 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1994 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1996 * src/fcpat.c (FcValueListEntDestroy): New function to support
1997 FcFini memory cleanup. Some statistics are not kept in
1999 (FcValueListFreeze): Move hashTable outside this function so it
2000 can be accessed by FcValueListThawAll.
2001 (FcValueListThawAll): New function complements FcValueListFreeze.
2002 (FcPatternBaseFreeze): Move hashTable outside this function so it
2003 can be accessed by FcPatternBaseThawAll.
2004 (FcPatternBaseThawAll): New function complements
2005 FcPatternBaseFreeze.
2006 (FcPatternThawAll): New function complements FcPatternFreeze.
2008 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2010 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2011 allocated FcCharLeafEnt "blocks" so they can be freed later.
2012 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2013 can be accessed by FcCharSetThawAllLeaf.
2014 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2015 (FcCharSetFreezeBase): Move hashTable outside this function so it
2016 can be accessed by FcCharSetThawAll.
2017 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2019 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2020 (FcConfigDestroy): Fic leak of FcBlanks.
2022 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2023 (main): Add call to FcFini when finished.
2025 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2026 static. Add prototypes.
2028 * doc/fcinit.fncs: Add documentation for FcFini function.
2030 * doc/edit-sgml.c: Mark several local functions as static. Add
2033 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2035 2003-06-15 Tor Lillqvist <tml@iki.fi>
2037 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2038 before comparing (needed on Windows).
2040 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2042 2003-06-13 Tor Lillqvist <tml@iki.fi>
2044 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2047 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2048 WINDOWSFONTDIR token.
2050 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2051 end, not to confuse libtool, which expects the EXPORTS line to be
2052 the first. Add FcConfigEnableHome.
2054 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2055 built as a DLL on Win32.
2057 2003-06-09 Keith Packard <keithp@keithp.com>
2059 * Tag version 2.2.90
2061 2003-06-09 Keith Packard <keithp@keithp.com>
2063 * Optimization in FcLangSetIndex was broken, occasionally
2064 returning a pointer to the wrong location on miss
2066 * Add fc-match to test font matching from the command line.
2068 2003-05-31 Keith Packard <keithp@keithp.com>
2070 * (Bug 85) add support for culmus fonts
2071 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2072 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2074 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2076 * Fix "contains" op for strings and langsets.
2078 2003-05-17 Keith Packard <keithp@keithp.com>
2080 * Fix build error with BDF prop local. Free langset after query
2082 2003-05-14 Keith Packard <keithp@keithp.com>
2084 * Extract spacing from XLFD atom
2086 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2088 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2089 disappeared in 1.30.
2091 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2093 2003-05-12 Keith Packard <keithp@keithp.com>
2095 * Use FcIsWidth to share code
2097 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2098 misclassifying some Han fonts as monospaced.
2100 2003-05-07 Keith Packard <keithp@keithp.com>
2102 * Add filename-based accept/reject to ammend available fonts.
2104 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2105 older FreeType releases.
2107 2003-05-06 Keith Packard <keithp@keithp.com>
2109 * Remove 0b82 and Tamil numbers from tamil
2110 orthography (Jungshik Shin <jshin@mailaps.org>)
2112 2003-05-04 Keith Packard <keithp@keithp.com>
2114 + Map glyph names in fonts with adobe custom encoding to unicode
2116 2003-05-02 Keith Packard <keithp@keithp.com>
2118 * Add FC_WEIGHT_BOOK as weight 75
2120 2003-04-30 Keith Packard <keithp@keithp.com>
2122 * Typo in bitstream foundry name
2124 2003-04-24 Keith Packard <keithp@keithp.com>
2126 * Eliminate italic_angle check for PS fonts
2128 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2130 * Getting closer to fixing /etc/fonts hard-coding.
2132 2003-04-22 Keith Packard <keithp@keithp.com>
2134 * Update autogen.sh to work with newer automake versions
2135 * Handle pattern elements moving during multiple edits
2137 2003-04-23 James Henstridge <james@daa.com.au>
2139 * doc/fontconfig-devel.sgml: close the <para> element.
2141 * doc/fcpattern.fncs: close the <para> element.
2143 * doc/func.sgml: close the <refsynopsisdiv> element.
2145 2003-04-22 Keith Packard <keithp@keithp.com
2147 * Update autogen.sh to work with newer automake versions
2148 * Handle pattern elements moving during multiple edits
2150 2003-04-17 Colin Walters <walters@debian.org>
2152 + Remove some unused variables, and initialize some other ones so
2153 gcc doesn't warn us.
2155 2003-04-16 Keith Packard <keithp@keithp.com>
2157 + tag version 2.1.94
2159 2003-04-16 Keith Packard <keithp@keithp.com>
2161 + add BDF property fetching support for foundry
2162 (from Juliusz Chroboczek)
2163 + add BDF property fetching support for width
2165 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2167 + Implemented foundry generation for Type 1 and TrueType
2169 2003-04-11 Gerard Escalante <g2@magestudios.net>
2171 + Retrieve information from Type1 FontInfo dictionaries
2173 2003-04-07 Colin Walters <walters@verbum.org>
2175 + src/Makefile.am: Fix dummy makefile target names when
2176 MS_LIB_AVAILABLE isn't set.
2178 2003-03-22 Tor Lillqvist <tml@iki.fi>
2180 Changes for Windows:
2182 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2184 + We don't want to hardcode the fonts.conf file location in the
2185 DLL, so we look up the DLL location at run-time in a DllMain()
2186 function. The fonts.conf location is deduced from that.
2188 + The colon can't be used as path separator on Windows,
2189 semicolon is used instead. File path components can be separated
2190 with either slash or backslash. Absolute paths can also begin
2191 with a drive letter.
2193 + Add internal function FcStrLastSlash that strrchr's the last
2194 slash, or backslash on Windows.
2196 + There is no link() on Windows. For atomicity checks, mkdir a
2197 lock directory instead.
2199 + In addition to HOME, also look for USERPROFILE.
2201 + Recognize the special font directory token WINDOWSFONTDIR, to
2202 use the system's font directory.
2204 + Remove the fontconfig-def.cpp that was obsolete. Add
2205 fontconfig.def(.in), without internal functions.
2207 + Add a fontconfig-zip(.in) script, used to build a binary
2210 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2211 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2212 to main package and man3/* to devel package
2214 + Added missing defattr(-, root, root) to main RPM package
2216 + Added HTML and text development documentation to -devel subpackage
2218 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2219 + Added back the configure macro options --disable-docs, otherwise
2220 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2221 version number) unconditionally, causing RPM to fail the build due
2222 to _unpackaged_files_terminate_build. We pick up the pregenerated
2223 docs with %doc already.
2225 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2226 + Removed commented out rpm macro define at top of spec file,
2227 replacing it with a simple explanation, since rpm macros are
2228 expanded by rpm even in comments.
2230 + Changed /usr/bin to _bindir in BuildRequires lines
2232 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2234 + Reorganized file manifest lists
2236 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2238 + fontconfig.spec.in: Improvements from Red Hat spec file.
2240 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2242 + docs/*.sgml: SGML fixes.
2244 Sat Mar 1 17:28:53 PST 2003 keithp
2245 + Ok, so the ChangeLog is a bit out of date
2247 + Lots of bugs fixed; most are in bugzilla, the
2248 biggest problems were in cache management where
2249 Owen discovered the library would lose badly when
2250 combining fonts-cache and ~/.fonts-cache data
2252 + Converted from autoconf to automake. This after
2253 getting patches accepted into libtool to allow
2254 the '-version-number' argument which lets
2255 packages set version numbers explicitly rather
2256 than the roundabout libtool way
2258 + Converted documentation to SGML using the docbook
2259 DTD. Now .txt and .html documents are installed
2260 in /usr/share/doc/fontconfig and there's no
2261 man page. Perhaps a man version can be written
2264 Sat Aug 31 15:21:22 PDT 2002 keithp
2265 + Xrender and Xft had several bugs related to
2266 rendering manually placed or poly-face text
2268 + Added more complete memory tracing in fontconfig
2269 Checked with (patched) mozilla and found no leaks
2271 + Updated Latin orthographies by comparing those from
2272 evertype.com with those from eki.ee. Tried to make
2273 sensible choices, including chars that occured in both
2274 and leaving some optional chars out that occured only
2277 Mon Aug 26 16:33:04 PDT 2002 keithp
2278 + Owen discovered that FcLangSetHasLang wasn't actually
2279 checking the language set.
2281 Mon Aug 26 13:37:23 PDT 2002 keithp
2282 + Append a version number to cache filenames
2284 Thu Aug 22 11:36:18 PDT 2002 keithp
2286 + Add "contains" and "not_contains" operators and elements to
2289 + Changed semantics of eq operator for LangSets to check for
2290 FcLangEqual so that any match will do
2292 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2293 of FcValueEqual to check for identical values when inserting into
2294 the results. This broke when the above semantic change was made,
2295 now it uses FcValueEqual which is "more correct" in any case.
2297 Thu Aug 22 00:32:29 PDT 2002 keithp
2299 + Reimplement FC_LANG as new datatype. Lists of strings
2300 was consuming over a megabyte of memory for 401 fonts.
2302 + Freeze patterns loaded from cache files. This shares
2303 common value lists and common patterns which saves
2304 considerable memory.
2306 + Change the denotation of 'constant' charsets to use special
2307 ref value instead of separate boolean.
2309 + Clean up leak tracing stuff, found several unannoted alloc/free
2312 Tue Aug 20 16:17:37 PDT 2002 keithp
2314 + Fix memory leak when parsing matrices from XML
2316 Mon Aug 19 11:57:27 PDT 2002 keithp
2318 + Fix autoconf files to pass FONTCONFIG_PATH on
2319 compile line so that ${prefix} gets substituted
2322 + Use getc_unlocked/putc_unlocked on systems that
2323 provide them to avoid damage done to stdio by posix
2325 + Eliminate FC_PATTERN and FcTypePattern in favor of
2326 an extended api for FcConfigSubstitute which takes
2327 both the font and the pattern.
2329 + Add 'sans serif' alias for 'sans-serif' as some apps
2330 can't handle hyphens in family names
2332 + Eliminate pretense of support for libxml2
2334 + Comment origins of Han orthographies
2336 Tue Jul 30 18:37:09 PDT 2002 keithp
2338 + Add binding property to edit element so that strong
2339 binding values may be inserted by the config file.
2340 The default remains weak.
2342 Sun 28 Jul 04:16:55 PDT 2002 keithp
2344 + Tagged release candidate 1 in the CVS tree and
2345 placed fcpackage.rc1.tar.gz for distribution
2347 Thu Aug 1 08:55:08 PDT 2002 keithp
2349 + Fixed autoconf builds to always specify install
2350 target files (for BSD). Also fixed to
2351 define FONTCONFIG_PATH in config.h so that
2352 nonstandard installs will actually work.