1 2005-11-29 Patrick Lam <plam@mit.edu>
2 * src/fccfg.c (FcConfigBuildFonts):
3 * src/fccache.c (FcCacheReadDirs):
5 Make the perf guys hate me a bit less: hoist the directory-name
6 FcConfigAcceptFont check for cached fonts up to directory cache
7 read time, rather than running it for each font.
9 2005-11-29 Patrick Lam <plam@mit.edu>
10 * src/fccfg.c (FcConfigBuildFonts):
12 * src/fcpat.c (FcPatternFindFullFname):
14 Don't make FcPatternFindFullFname available to fccfg, it's not
15 really safe. Instead go through FcPatternGetString (sorry,
16 perf guys.) Also, use globs for dirs as well.
18 2005-11-28 Patrick Lam <plam@mit.edu>
19 * src/fccfg.c (FcConfigBuildFonts):
23 2005-11-28 Patrick Lam <plam@mit.edu>
25 * src/fcpat.c (FcPatternFindFullFname):
26 * src/fccfg.c (FcConfigBuildFonts):
28 Fix problem dating back at least to 2.3.2 where globs weren't
29 being applied to patterns loaded from a cache.
31 2005-11-28 Patrick Lam <plam@mit.edu>
32 * doc/fontconfig-user.sgml:
34 Fix some obvious spelling mistakes.
36 2005-11-28 Dirk Mueller <dmueller@suse.com>
37 Stephan Kulow <coolo@suse.de>
40 * src/fcmatch.c (FcFontSetMatch):
42 Don't kill all fonts during match (oops!)
45 2005-11-25 Dirk Mueller <dmueller@suse.com>
46 Stephan Kulow <coolo@suse.de>
47 Michael Matz <matz@suse.de>
50 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
53 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
54 inline FcCompare into FcFontSetMatch and reorder the
55 loops, adding a boolean array which blocks patterns from future
56 consideration if they're known to not be best on some past
59 2005-11-26 Dirk Mueller <dmueller@suse.com>
62 * src/fcmatch.c (FcCompareValueList):
66 2005-11-25 Patrick Lam <plam@mit.edu>
67 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
69 Don't do random matching when bad objects are passed into
72 2005-11-25 Patrick Lam <plam@mit.edu>
74 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
75 FcPatternSerialize, FcPatternUnserialize,
76 FcValueListEnsureBank, FcValueListDistributeBytes,
77 FcValueListUnserialize):
79 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
80 _fcPatternElts, _fcValueLists for consistency.
82 2005-11-25 Dirk Mueller <dmueller@suse.com>
87 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
89 2005-11-25 Patrick Lam <plam@mit.edu>
91 * src/fccache.c (FcDirCacheConsume):
92 * src/fccharset.c (FcCharSetUnserialize):
93 * src/fcfs.c (FcFontSetUnserialize):
94 * src/fclang.c (FcLangSetUnserialize):
95 * src/fcname.c (FcObjectUnserialize):
96 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
97 FcPatternUnserialize):
99 Pass around FcCache *s to the Unserialize functions for extra
100 consistency (and less overhead, for what that's worth).
102 2005-11-24 Dirk Mueller <dmueller@suse.com>
106 * src/fcmatch.c (FcCompare*, FcFontSetSort):
107 * src/fcname.c (FcNameUnparseValue):
109 Inline the *PtrU functions to gain perf.
110 Remove unneeded params for the FcCompare* functions.
112 2005-11-24 Dirk Mueller <dmueller@suse.com>
115 * src/fcint.h, fontconfig/fontconfig.h:
117 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
119 * src/fcpat.c, src/fcint.h, src/fcname.c:
121 Check for type validity during FcPatternAddWithBinding, don't
122 verify type in FcFontMatch, don't call FcCanonicalize here
123 (which always does a deep copy).
125 2005-11-24 Dirk Mueller <dmueller@suse.com>
128 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
129 * src/fcpat.c (FcPatternAddWithBinding):
131 Make FcCompareString and FcCompareFamily less expensive.
132 Only add a value for FC_FAMILY if the proposed value is a string.
134 2005-11-24 Dirk Mueller <dmueller@suse.com>
137 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
138 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
139 * src/fcint.h (FcDebug):
141 Inline FcDebug invocations and only initialize once, in FcInit*.
142 Improve debug msg in FcPatternPrint.
144 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
147 * fontconfig/fontconfig.h:
150 Minor code warning cleanups.
152 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
155 * fc-match/fc-match.c (main):
157 Make getopt_long accept -s parameter to fc-match as well.
159 2005-11-21 Dirk Mueller <dmueller@suse.com>
162 * src/fcmatch.c (FcCompareValueList):
164 Manually perform inlining & partial redundancy elimination to
165 reduce calls to FcValueListPtrU.
167 2005-11-21 Dirk Mueller <dmueller@suse.com>
170 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
171 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
173 Only invoke strlen() when really necessary.
175 2005-11-19 Matthias Clasen <mclasen@redhat.com>
179 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
184 Get rid of the use of freetype internal headers in fcfreetype.c,
185 since those headers will go away with freetype 2.2. Replace with
186 public domain ftglue code from pango. Note that the patch removes
187 some extra error checking in FT_Get_BDF_Property() and comments
188 out the skipping of empty pcf fonts.
190 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
193 * fc-lang/fc-lang.c (main):
195 Further fix of patch from 2005-11-04: miscounted numbers count
196 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
197 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
199 Removed leafidx_count and numbers_count since they are the same
200 and replaced them with offset_count.
202 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
205 * fc-cat/fc-cat.c (main):
207 Don't crash when fc-cat invoked with no arguments.
209 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
212 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
214 Fix invalid read access caused by premature free and
215 GCC4 warnings in libxml2 codepath.
217 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
220 * src/fccfg.c (FcConfigValues):
222 List iteration not needed in FcConfigValues, since it's building
223 up the list itself; we can just strip FcVoid elements during
226 2005-11-17 Patrick Lam <plam@mit.edu>
227 * src/fccfg.c (FcConfigValues):
229 Fix crash on invalid constants in config files (forgot to update
230 a pointer upon list iteration.)
232 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
235 * src/fcxml.c (FcTypecheckExpr):
237 Complain about invalid constants in config files.
239 2005-11-17 Andreas Schwab <schwab@suse.de>
242 * src/fccache.c (FcGlobalCacheSave):
244 Don't add current_arch_start more than once.
246 2005-11-16 Patrick Lam <plam@mit.edu>
247 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
248 * src/fcfs.c (FcFontSetUnserialize):
249 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
250 * src/fcpat.c (FcStrUnserialize):
252 Fix ordering of ALIGN with respect to saving block_ptr; add
253 another ALIGN to fcfs.c.
255 2005-11-16 Patrick Lam <plam@mit.edu>
256 * src/fccache.c (FcDirCacheProduce)
258 Fix case where alignment bytes bumped up metadata->count
259 causing unwarranted failures to write cache files.
260 (Reported by Stephan Kulow).
262 2005-11-16 Patrick Lam <plam@mit.edu>
263 * src/fccache.c (FcDirCacheProduce):
264 * src/fccharset.c (FcCharSetDistributeBytes):
265 * src/fcfs.c (FcFontSetDistributeBytes):
267 * src/fclang.c (FcLangSetDistributeBytes):
268 * src/fcname.c (FcObjectDistributeBytes):
269 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
272 Add *NeededBytesAlign(), which overestimates the padding which is
273 later added by the new ALIGN macro. Fix alignment problems on
274 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
275 version by Andreas Schwab).
277 2005-11-16 Stephan Kulow <coolo@kde.org>
282 Use sysconf to determine proper PAGESIZE value; this
283 appears to be POSIX-compliant. (reported by Andreas Schwab)
285 2005-11-04 Patrick Lam <plam@mit.edu>
291 Fix bug 2878 (excessive relocations at startup for charsets,
292 reported by Ross Burton): fc-lang/fc-lang now creates the
293 static form of the langset, not the dynamic form, so that
294 the charsets should now be in .rodata.
296 2005-11-04 Patrick Lam <plam@mit.edu>
297 * src/fcdir.c (FcDirScanConfig):
299 Add test for validity of directory caches that
300 somehow got lost (reported by make distcheck).
302 2005-11-04 Patrick Lam <plam@mit.edu>
306 * fontconfig/fontconfig.h:
308 Bump version to 2.3.92.
310 2005-11-02 Patrick Lam <plam@mit.edu>
311 * src/fcpat.c (FcPatternDuplicate):
313 Fix argument ordering problem in call to FcPatternTransferFullFname.
315 2005-11-02 Patrick Lam <plam@mit.edu>
316 * src/fcfreetype.c (FcFreetypeQuery):
317 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
318 FcPatternTransferFullFname):
320 Fix warnings and embarrassing double-free error.
322 2005-11-02 Zhe Su <zsu@novell.com>
327 Change the rule for artificial emboldening in fonts.conf.in. This
328 enables the support for artificial emboldening included in cairo.
330 2005-11-02 Patrick Lam <plam@mit.edu>
331 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
333 Don't zero out full names for FC_REF_CONSTANT fonts;
334 also, duplicate full names when transferring, and free
335 full names when freeing the associated font.
336 Reported by Jinghua Luo.
338 2005-11-02 Patrick Lam <plam@mit.edu>
339 * fc-cache/fc-cache.c (scanDirs):
340 * src/fcpat.c (FcValueListSerialize):
342 Revert the previous patch and commit the correct patch:
343 I forgot a canonicalization in FcValueListSerialize, so
344 that it would choke on already-serialized input files. Duh!
346 2005-11-02 Patrick Lam <plam@mit.edu>
347 * fc-cache/fc-cache.c (scanDirs):
349 Forcibly rescan a directory before writing a fresh local
350 cache file for that directory, fixing the losing-fonts
351 problem reported by Mike Fabian and also apparently the
352 font cache file corruption.
354 2005-11-02 Patrick Lam <plam@mit.edu>
355 * src/fccache.c (FcGlobalCacheLoad):
357 Fix thinko: actually, the whole global cache is stale
358 if the global cache is older than the (newest) config file.
360 2005-11-02 Patrick Lam <plam@mit.edu>
361 * src/fccache.c (FcGlobalCacheLoad):
362 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
365 Declare the global cache of a directory's contents to be stale if
366 the directory is newer than the (newest) configuration file.
368 2005-10-31 Patrick Lam <plam@mit.edu>
370 * src/fclist.c (FcListAppend):
371 * src/fcmatch.c (FcFontRenderPrepare):
372 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
373 FcPatternFreeze, FcPatternBaseFreeze):
375 Copy the full pathname whenever duplicating an FcPattern; otherwise,
376 applications continue breaking.
378 2005-10-31 Patrick Lam <plam@mit.edu>
379 * fc-cat/fc-cat.c (FcCacheFileRead, main):
380 * src/fcfreetype.c (FcFreeTypeQuery):
382 Fix small memory error (tried to free argv); use basename and
383 dirname correctly (they can modify their arguments).
385 2005-10-31 Patrick Lam <plam@mit.edu>
393 Reinstate basename patch, but keep a hash table linking FcPatterns
394 to their fully-qualified font names for clients' benefit. Clients
395 only pay for the font names once they request the FC_FILE property
396 from an FcPattern, but the font name is malloc'd at that point (i.e.
397 not mmapped: that's impossible, since it may vary between machines.)
398 Clients do have to pay for a copy of the path name per cache file.
400 Note that FcPatternGetString now does some rewriting if you ask
401 for an FC_FILE, appending the pathname as appropriate.
403 2005-10-31 Patrick Lam <plam@mit.edu>
404 * src/fcfreetype.c (FcFreeTypeQuery):
406 Revert basename patch, which breaks fontconfig clients on my system.
408 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
411 * fontconfig/fonts.conf.in:
412 * fontconfig/fontconfig.h:
416 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
417 to load embedded bitmaps or not.
419 2005-10-25 Patrick Lam <plam@mit.edu>
420 * src/fcfreetype.c (FcFreeTypeQuery):
422 Only add basename to patterns' FC_FILE element, not any part of
425 2005-10-22 Patrick Lam <plam@mit.edu>
428 Add some more consts, fixing more GCC4 warnings.
430 2005-10-22 Zhe Su <zsu@novell.com>
433 Support localized font family and style names.
434 This has been reported to break old apps like xfd, but modern
435 (gtk+/qt/mozilla) apps work fine.
437 2005-10-21 Patrick Lam <plam@mit.edu>
438 * src/fccache.c (FcGlobalCacheLoad):
440 Destroy the global cache file if it's terminally broken. (reported by
443 2005-10-21 Patrick Lam <plam@mit.edu>
444 * fc-list/fc-list.c (main):
445 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
446 * fontconfig/fontconfig.h:
448 Prevent fc-list from escaping strings when printing them (reported by
451 2005-10-20 Marcus Meissner <meissner@suse.de>
454 * fontconfig/fontconfig.h:
456 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
458 2005-10-14 Ross Burton <ross@burtonini.com>
461 * fc-glyphname/fc-glyphname.c:
464 Add consts to variables so as to move arrays into .rodata.
466 2005-10-14 Mike Fabian <mfabian@suse.de>
469 * src/fccache.c (FcDirCacheUnlink):
471 Check existence of directory cache file before attempting to unlink.
473 2005-10-13 Patrick Lam <plam@mit.edu>
474 * src/fccache.c (FcDirCacheUnlink):
476 Fix flipped return value on unlink. (Reported by Mike Fabian)
478 2005-10-12 Patrick Lam <plam@mit.edu>
481 * src/fcdir.c (FcDirScanConfig):
484 When fc-cache is run without --force, use directory cache files
485 to speed up fc-cache run time. (Reported by Mike Fabian)
487 2005-10-06 Patrick Lam <plam@mit.edu>
489 * src/fcname.c (FcObjectToPtr):
490 * src/fcpat.c (FcStrStaticName):
492 Add padding to make valgrind and glibc not hate each other
493 when calling strlen().
495 2005-10-05 Simos Xenitellis <simos74@gmx.net>
496 reviewed by: plam & keithp
500 Modify config file to use Greek fonts before Asian fonts with
503 2005-10-05 Christian Biesinger <cbiesinger@web.de>
504 reviewed by: plam & keithp
508 Use libtool -no-undefined flag on all platforms.
510 2005-10-05 Patrick Lam <plam@mit.edu>
511 * src/fccache.c (FcCacheHaveBank):
513 Implement move-to-front array for banks (perf regression
514 reported by Ronny V. Vindenes).
516 2005-10-04 Patrick Lam <plam@mit.edu>
517 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
518 FcDirCacheHasCurrentArch):
519 * fc-cache/fc-cache.c (scanDirs):
520 * fontconfig/fontconfig.h:
522 Add new API which unlinks directory caches and checks dir caches
523 for existence of appropriate sections. Fix fc-cache to unlink
524 stale cache files and save directory caches that lack relevant
527 2005-10-03 Patrick Lam <plam@mit.edu>
528 * src/fccache.c (FcDirCacheValid):
530 Ensure that a directory cache has the appropriate section
531 before reporting that it is valid (reported by Matthias Clasen).
533 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
541 Use libxml2 if requested (with --enable-libxml2) or if
542 expat is not available.
544 2005-09-29 Patrick Lam <plam@mit.edu>
545 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
547 Fix multi-arch cache files: compute the position for the
548 block to be added using info from OrigFile, not NewFile.
550 2005-09-28 Patrick Lam <plam@mit.edu>
551 * src/fccache.c (FcCacheMachineSignature):
553 Cast results of sizeof() to unsigned int to get rid of
554 warnings on x86_64 (thanks Matthias Clasen).
556 2005-09-27 Patrick Lam <plam@mit.edu>
557 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
560 Use FcAtomic to rewrite cache files.
562 2005-09-27 Patrick Lam <plam@mit.edu>
564 * src/fccache.c (FcDirCacheWrite):
566 Don't unlink the fonts.cache-2 file even if there's no data
567 to write; just write an empty cache file. (thanks Lubos Lunak)
569 2005-09-27 Patrick Lam <plam@mit.edu>
571 * src/fccache.c (FcDirCacheWrite):
573 Allocate room for the subdirectory names in each
574 directory cache. Thanks to James Cloos for finding
575 and diagnosing this bug!
577 2005-09-22 Patrick Lam <plam@mit.edu>
579 * fc-cache/fc-cache.sgml:
580 * src/fccache.c (FcDirCacheWrite):
581 * src/fccache.h (struct FcCache):
583 Update documentation -- fc-cache's man page now says that you
584 need to run fc-cache once per cached architecture; add some
585 documentation to the FcCache structure.
587 Make fc-cache write out fonts.cache-2 files for directories with
588 no fonts (i.e. only subdirectories).
590 2005-09-22 Patrick Lam <plam@mit.edu>
592 * fc-cache/fc-cache.sgml:
594 * fc-glyphname/fc-glyphname.c:
600 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
605 * fontconfig/fcprivate.h:
606 * fontconfig/fontconfig.h:
620 Implement new mmaped cache for font information.
621 Bump so revision to 2.3.90.
623 2005-07-25 Keith Packard <keithp@keithp.com>
625 * doc/fontconfig-user.sgml:
626 * fc-glyphname/fc-glyphname.c: (scan), (main):
627 * fc-lang/fc-lang.c: (FcConfigHome):
628 * fc-match/fc-match.c: (main):
629 * src/fccfg.c: (FcConfigHome):
630 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
631 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
632 (addtag), (FcFontCapabilities):
633 * src/fcpat.c: (FcValueListEntCreate):
634 * src/fcstr.c: (FcStrCaseWalkerInit):
635 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
637 Various GCC 4 cleanups for signed vs unsigned char
639 Match only [0-9]*.conf files in <include>{directory}</include>
640 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
642 2005-07-15 Carl Worth <cworth@cworth.org>
645 * src/fcinit.c: (FcFini):
646 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
649 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
650 Pull the FcObjectStateName hash table out to file scope, and add
651 FcObjectStaticNameFini so that FcFini will cleanup this hash table
654 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
657 2005-06-16 Patrick Lam <plam@MIT.EDU>
661 * src/fccfg.c: (FcConfigCompareValue):
662 Make FcOpNotContains use FcStrStr for strings so that
663 it matches semantics for !FcOpContains.
665 2005-05-20 Keith Packard <keithp@keithp.com>
669 Move fontconfig source package to libs as per override
671 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
673 reviewed by: Mike Fabian
676 The ka.orth file requires several characters which are not
677 used anymore in modern Georgian and which are missing in the free
678 Georgian TrueType fonts downloadable at:
680 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
682 2005-04-27 Keith Packard <keithp@keithp.com>
686 Update date to real 2.3.2 release date.
687 Fix change attributions
689 2005-04-27 Keith Packard <keithp@keithp.com>
692 Bump so revision for 2.3.2
693 * fc-cache/fc-cache.c: (scanDirs):
694 Fix a few minor leaks in error cases.
696 2005-04-23 Keith Packard <keithp@keithp.com>
701 * fontconfig/fontconfig.h:
702 Update for version 2.3.2
704 2005-04-21 Keith Packard <keithp@keithp.com>
706 * debian/fontconfig.postinst:
707 Don't force bitmap font enable in default
708 configuration; allows users to override this in
718 * debian/po/pt_BR.po:
719 * debian/po/templates.pot:
721 * debian/po/zh_CN.po:
724 * fc-cache/fc-cache.c: (main):
725 Destroy font configuration on exit to help valgrind
728 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
729 (FcFreeTypeCheckGlyph):
730 Use own transcoding routines in preference to iconv
731 which appears to have leaks in some translators.
732 Call iconv_close after using iconv (oops).
734 Prefer unicode encoding of Euro char as some
735 fonts mis-encode Euro in other ones.
737 Must fetch bitmap glyphs to get width values
738 to check for monospace/dual-width fonts.
740 2005-04-13 Ross Burton <ross@burtonini.com>
743 Check that a pattern isn't already frozen in FcPatternFreeze.
745 2005-03-31 Ross Burton <ross@burtonini.com>
750 Run all FcPattern objects through FcObjectStaticName, so that
751 compares can be done on pointers instead of strings (#2659)
753 2005-03-17 Tor Lillqvist <tml@novell.com>
755 * src/fontconfig.def.in: Add the .dll to the dll name.
757 2005-03-10 Keith Packard <keithp@keithp.com>
759 * debian/README.Debian:
760 Update to reflect configuration changes
762 * debian/fontconfig.postinst:
763 Fix Autohint vs Autohinter mistake
764 * debian/fontconfig.templates:
765 Adopt changes from Josselin Mouette for configuration descriptions
766 Update debian to version 2.3.1-2
768 2005-03-08 Keith Packard <keithp@keithp.com>
772 Update debian for 2.3.1
774 2005-03-09 Tor Lillqvist <tml@novell.com>
776 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
779 * src/fccfg.c (FcConfigFileExists): Check also drive letter
782 2005-03-08 Keith Packard <keithp@keithp.com>
786 * fontconfig/fontconfig.h:
789 2005-03-05 Keith Packard <keithp@keithp.com>
791 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
792 Include space and remove numbers from valid script tags.
793 This ensures that tags like 'lao ' work while rejecting
794 those which have any digits.
795 Eliminate a spurious debugging variable (len)
797 2005-03-05 Keith Packard <keithp@keithp.com>
799 * src/fcfreetype.c: (addtag), (GetScriptTags),
800 (FcFontCapabilities):
801 Rework GSUB/GPOS script parsing to survive broken fonts.
802 Thanks for the broken font go to Manish Singh
804 2005-03-05 Keith Packard <keithp@keithp.com>
809 * debian/fontconfig.config:
810 * debian/fontconfig.templates:
812 Include 2.3 release information in changelog
813 Add Josselin Mouette as an Uploader
814 Set hinting_type to low priority configuration option
817 * debian/fontconfig.postinst:
818 yes_bitmaps.conf -> yes-bitmaps.conf
824 2005-03-02 Keith Packard <keithp@keithp.com>
827 * conf.d/Makefile.am:
828 * conf.d/autohint.conf:
829 * conf.d/no-sub-pixel.conf:
830 * conf.d/sub-pixel.conf:
831 * conf.d/unhinted.conf:
832 * debian/autohint.conf:
833 * debian/fontconfig.install:
834 * debian/fontconfig.postinst:
835 * debian/fontconfig.templates:
836 * debian/no-sub-pixel.conf:
837 * debian/unhinted.conf:
838 Move debian-specific conf file examples upstream.
840 Sub-pixel configuration examples must smash subpixel value
841 as Xft always sets it from X.
843 Change sub-pixel rendering debconf descriptions from
844 Enable/Disable to Always/Never.
846 2005-03-02 Keith Packard <keithp@keithp.com>
851 Ignore more build detritus
854 Add debian package construction stuff.
856 * config/config.guess:
858 Update to newer versions of these tools
861 Get library manuals to build again (we love automake).
863 * debian/README.Debian:
864 * debian/autohint.conf:
869 * debian/fontconfig-udeb.install:
870 * debian/fontconfig.config:
871 * debian/fontconfig.defoma:
872 * debian/fontconfig.dirs:
873 * debian/fontconfig.install:
874 * debian/fontconfig.postinst:
875 * debian/fontconfig.postrm:
876 * debian/fontconfig.templates:
877 * debian/libfontconfig1-dev.install:
878 * debian/libfontconfig1.install:
879 * debian/local.conf.md5sum:
880 * debian/no-sub-pixel.conf:
881 * debian/po/POTFILES.in:
890 * debian/po/pt_BR.po:
891 * debian/po/templates.pot:
893 * debian/po/zh_CN.po:
895 * debian/unhinted.conf:
896 Update debian build system to switch maintainers and
897 deal with 2.3 functionality
899 2005-03-01 Keith Packard <keithp@keithp.com>
903 * fontconfig/fontconfig.h:
906 2005-03-01 Keith Packard <keithp@keithp.com>
909 Generate and install PDF versions of the manuals
911 * doc/fcpattern.fncs:
915 Add missing exported functions, fix data types
917 * doc/fontconfig-devel.sgml:
918 Add missing pattern elements.
920 * doc/fontconfig-user.sgml:
921 Add missing pattern elements. Document conf.d usage,
922 clarify available orthography list. Fix some config file
923 attributes. Complete list of constants.
925 * fontconfig/fontconfig.h:
926 Mark FC_SOURCE deprecated.
928 * src/fcfreetype.c: (FcFreeTypeQuery):
929 Don't set FC_SOURCE any longer.
931 2005-02-28 Keith Packard <keithp@keithp.com>
934 * conf.d/Makefile.am:
936 * conf.d/no-bitmaps.conf:
937 * conf.d/sub-pixel.conf:
938 * conf.d/yes-bitmaps.conf:
940 Create prototype /etc/fonts/conf.d directory with a few
941 sample configuration files.
942 Deprecate use of local.conf for local customizations in favor of
943 this directory based scheme which is more easily integrated into
944 installation systems.
947 Tag FC_EMBOLDEN as a boolean variable
949 2005-02-10 Keith Packard <keithp@keithp.com>
951 reviewed by: pborelli@katamail.com
953 * src/fcdir.c: (FcFileScanConfig):
954 Free patterns from fonts which are rejected by configuration
957 2005-01-28 Keith Packard <keithp@keithp.com>
961 * fontconfig/fontconfig.h:
962 Update for version 2.2.99
964 2005-01-28 Keith Packard <keithp@keithp.com>
967 Add a few pointers (#2284, #2285)
969 2005-01-28 Keith Packard <keithp@keithp.com>
972 * src/fcname.c: (FcNameBool):
973 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
974 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
975 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
976 Polite typechecking for test and edit expressions. Helps
977 catch errors in the font configuration. (bug 229)
979 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
981 reviewed by: Keith Packard <keithp@keithp.com>
984 Have --with-expat set EXPAT_CFLAGS (bug 2278)
986 2005-01-13 Keith Packard <keithp@keithp.com>
988 * doc/fontconfig-user.sgml:
989 Add SEE ALSO section (bug 2085)
991 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
993 reviewed by: Keith Packard <keithp@keithp.com>
998 * fc-case/Makefile.am:
999 * fc-glyphname/Makefile.am:
1000 * fc-lang/Makefile.am:
1001 * src/fontconfig.def.in:
1002 Cross compiling fixes (bug 280)
1004 2005-01-13 Keith Packard <keithp@keithp.com>
1007 Update blanks list (Closes bug 86)
1009 2005-01-04 Keith Packard <keithp@keithp.com>
1011 * src/fccache.c: (FcCacheFontSetAdd):
1012 Verify that every font pattern loaded from cache has
1013 both FC_FILE and FC_FAMILY entries.
1014 Attempt to fix bug #2219.
1016 2004-12-29 Keith Packard <keithp@keithp.com>
1020 * fontconfig/fontconfig.h:
1021 Update for version 2.2.98
1023 2004-12-29 Keith Packard <keithp@keithp.com>
1025 * fontconfig/fontconfig.h:
1026 Document ASCII limitations of Fc character conversion macros
1027 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1028 Fix off-by-one error in utf-8 case walking code.
1029 Add FcStrDowncase (useful for testing case conversion functions)
1031 2004-12-29 Keith Packard <keithp@keithp.com>
1034 * fc-case/.cvsignore:
1035 clean up CVS ignore lists
1036 * fc-lang/iso-3166.txt:
1037 Add territory database
1039 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1041 Reviewed by: Keith Packard
1044 Remove Han characters from Korean orthography
1046 2004-12-29 Keith Packard <keithp@keithp.com>
1049 Reorder utility programs to make sure fc-case is run before fc-lang
1050 as fc-lang uses fcstr.c which uses fccase.h
1054 2004-12-29 Keith Packard <keithp@keithp.com>
1057 Adopt some RedHat suggestions for standard font configuration.
1061 * fc-case/CaseFolding.txt:
1062 * fc-case/Makefile.am:
1063 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1064 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1065 (dump), (parseRaw), (caseFoldReadRaw), (main):
1066 * fc-case/fccase.tmpl.h:
1067 Add new helper program 'fc-case' to construct case folding
1068 tables from standard Unicode CaseFolding.txt file
1071 * src/fclist.c: (FcListValueHash):
1072 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1073 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1074 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1075 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1076 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1077 Re-implement case insensitive functions with Unicode
1078 aware versions (including full case folding mappings)
1080 2004-12-13 Keith Packard <keithp@keithp.com>
1082 reviewed by: Owen Taylor <otaylor@redhat.com>
1084 * src/fcmatch.c: (FcFontSetSort):
1085 I changed FcFontSetSort to respect the generic aliases better
1086 in the face of language matching.
1088 What I did was to ammend the strict sort order used by FcFontSort so
1089 that it 'satisfies' the language specified in the pattern by locating
1090 the best matching font supporting each pattern language and then
1091 ignores language in the remaining fonts for purposes of matching.
1093 So, when asking for 'sans:lang=en', you'll get an English font first,
1094 and then the remaining fonts sorted with respect to the 'sans' alias
1095 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1097 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1099 reviewed by: Keith Packard <keithp@keithp.com>
1101 * fontconfig/fontconfig.h:
1104 Configuration changes to request synthetic emboldening of
1105 fonts. The actual emboldening code will live in Xft.
1107 2004-12-09 John Thacker <thacker@math.cornell.edu>
1109 reviewed by: Keith Packard <keithp@keithp.com>
1113 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1114 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1115 и), and don't even appear in KOI8-R. (The hypothesis that they
1116 don't appear in KOI8-R due to their similarity with Latin I and i is
1117 eliminated by their presence in KOI8-U.) I have a couple of fonts
1118 with Russian support that don't have the letter.
1120 Therefore, 0406 and 0456 should be removed from or commented out of
1123 2004-12-06 michael meeks <mmeeks@novell.com>
1125 Reviewed by: Keith Packard <keithp@keithp.com>
1127 * src/fcinit.c: (FcMemReport):
1129 * src/fclist.c: (FcObjectSetAdd):
1130 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1131 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1132 * src/fcxml.c: (FcParsePatelt):
1133 memoize strings and share a single copy for all uses. Note that
1134 this could be improved further by using statically allocated blocks
1135 and gluing multiple strings together, but I'm basically lazy.
1136 In my environment with 800 font files, I get a savings of about 90KB.
1138 2004-12-06 Keith Packard <keithp@keithp.com>
1142 * config/Makedefs.in:
1145 * doc/fcatomic.fncs:
1146 * doc/fcblanks.fncs:
1147 * doc/fccharset.fncs:
1148 * doc/fcconfig.fncs:
1149 * doc/fcconstant.fncs:
1151 * doc/fcfontset.fncs:
1152 * doc/fcfreetype.fncs:
1154 * doc/fcmatrix.fncs:
1155 * doc/fcobjectset.fncs:
1156 * doc/fcobjecttype.fncs:
1157 * doc/fcpattern.fncs:
1158 * doc/fcstring.fncs:
1159 * doc/fcstrset.fncs:
1161 * doc/fontconfig-devel.sgml:
1162 * doc/fontconfig-user.sgml:
1164 * doc/version.sgml.in:
1165 * fc-cache/Makefile.am:
1166 * fc-cache/fc-cache.c:
1167 * fc-glyphname/Makefile.am:
1168 * fc-glyphname/fc-glyphname.c:
1169 * fc-glyphname/fcglyphname.tmpl.h:
1170 * fc-lang/Makefile.am:
1180 * fc-lang/az_ir.orth:
1214 * fc-lang/fc-lang.c:
1215 * fc-lang/fc-lang.man:
1216 * fc-lang/fclang.tmpl.h:
1261 * fc-lang/ku_ir.orth:
1294 * fc-lang/ps_af.orth:
1295 * fc-lang/ps_pk.orth:
1324 * fc-lang/ti_er.orth:
1325 * fc-lang/ti_et.orth:
1351 * fc-lang/zh_cn.orth:
1352 * fc-lang/zh_hk.orth:
1353 * fc-lang/zh_mo.orth:
1354 * fc-lang/zh_sg.orth:
1355 * fc-lang/zh_tw.orth:
1357 * fc-list/Makefile.am:
1358 * fc-list/fc-list.c:
1359 * fc-match/Makefile.am:
1360 * fc-match/fc-match.1:
1361 * fc-match/fc-match.c:
1362 * fontconfig/fcfreetype.h:
1363 * fontconfig/fcprivate.h:
1364 * fontconfig/fontconfig.h:
1385 Change files from ISO-Latin-1 to UTF-8
1387 2004-12-04 Keith Packard <keithp@keithp.com>
1390 Update links to new freedesktop.org locations
1392 Add uninstall-local to get rid of fonts.conf and local.conf if they
1393 match the distributed versions. Fixes 'make distcheck'
1395 2004-12-04 Keith Packard <keithp@keithp.com>
1399 * fontconfig/fontconfig.h:
1400 Updates for version 2.2.97
1402 2004-12-04 Owen Taylor <otaylor@redhat.com>
1404 reviewed by: Keith Packard <keithp@keithp.com>
1406 * fc-cache/fc-cache.c: (main):
1407 Sleep for two seconds before exiting to make sure timestamps
1408 for future changes have distinct mod times in the file system.
1411 Add Punjabi orthography. Bug #1671.
1413 2004-12-04 Keith Packard <keithp@keithp.com>
1416 Just remove the FC_FONTDATE -- it has locale issues and
1417 annoys redhat multi-arch installs. Now that all X fonts are
1418 included without prejudice, the chances of the date being at
1419 all interesting are rather limited. Bug #505.
1421 Add copyright and license
1423 2004-12-04 Keith Packard <keithp@keithp.com>
1426 Change default set of fonts to include all of
1427 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1428 * doc/fontconfig-user.sgml:
1429 Document new <include>directory-name</include> semantics
1431 add <include ignore_missing="yes">conf.d</include>
1433 Add selectfont to ignore bitmap fonts, add comment for
1434 selectfont which accepts bitmap fonts.
1437 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1438 Allow <include> configuration elements to reference directories.
1439 Parse and load all files of the form [0-9]* in sorted order.
1441 2004-12-04 Keith Packard <keithp@keithp.com>
1444 Report command line for $srcdir/configure accurately.
1447 2004-12-04 Keith Packard <keithp@keithp.com>
1449 * src/fcfreetype.c: (FcFreeTypeQuery):
1450 Check for non-empty face->family_name and face->style_name
1451 before using those for the font. Empty names match everything.
1454 2004-12-04 Keith Packard <keithp@keithp.com>
1457 * fontconfig/fontconfig.h:
1458 * src/fcfreetype.c: (FcFreeTypeQuery):
1460 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1461 available. This provides font file format information (BDF, Type 1,
1462 PCF, TrueType) for each font. Closes #109.
1464 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1466 reviewed by: Keith Packard <keithp@keithp.com>
1468 * doc/fontconfig-user.sgml:
1471 * fontconfig/fontconfig.h:
1472 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1473 (GetScriptTags), (FcFontCapabilities):
1475 Add detection for font capabilities (bug #105)
1477 2004-12-04 Keith Packard <keithp@keithp.com>
1480 Move existing fonts.conf to fonts.conf.bak
1483 Add detection of iconv
1485 * doc/fcpattern.fncs:
1486 * doc/fontconfig-devel.sgml:
1487 * doc/fontconfig-user.sgml:
1489 Document new selectfont elements
1492 Switch to UTF-8 in comment
1494 * fontconfig/fontconfig.h:
1496 Add fullname, and family/style/fullname language entries
1498 * src/fccache.c: (FcCacheFontSetAdd):
1499 * src/fcdir.c: (FcFileScanConfig):
1500 Respect selectfont/*/glob
1503 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1504 (FcConfigCompareValue), (FcConfigPatternsAdd),
1505 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1506 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1507 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1508 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1509 Add support for selectfont
1511 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1512 (FcStringInPatternElement), (FcFreeTypeQuery):
1513 Add multi-lingual family/style/fullname support
1515 * src/fclist.c: (FcListPatternMatchAny):
1516 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1518 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1519 (FcObjectStaticName):
1520 Add new FcPatternRemove/FcPatternAppend.
1521 FcObjectStaticName stores computed pattern element names which
1522 are required to be static.
1524 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1529 Remove spurious / after $(DESTDIR)
1531 2004-06-30 Keith Packard <keithp@keithp.com>
1535 * fontconfig/fontconfig.h:
1538 2004-06-30 Keith Packard <keithp@keithp.com>
1540 Provided by: Lubos Lunak <l.lunak@suse.cz>
1542 * src/fccfg.c: (FcConfigUptoDate):
1543 However FcConfigUptoDate() doesn't seem to work. See the attached
1544 patch. First there's an obvious misplaced parenthesis making it
1545 return always false, and second, even this call fails to detect font
1546 changes (e.g. adding a new font to
1547 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1548 well. The problem seems to be triggered by my fonts.conf specifying
1549 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1550 doesn't include subdirs, unlike config->fontDirs.
1552 2004-06-03 Keith Packard <keithp@keithp.com>
1554 * fontconfig/fontconfig.h:
1555 Remove comma at end of FcResult enum definition.
1557 2004-05-29 Keith Packard <keithp@keithp.com>
1560 Add steps to md5sum release
1562 2004-05-29 Keith Packard <keithp@keithp.com>
1566 * fontconfig/fontconfig.h:
1569 2004-05-29 Keith Packard <keithp@keithp.com>
1571 * fontconfig/fontconfig.h:
1572 * src/fcmatch.c: (FcFontSetMatch):
1573 Add FcResultOutOfMemory to provide an accurate error when
1574 FcFontSetMatch fails in this way
1577 Make #warning about lacking various FreeType features indicate
1578 which version those features appeared so users know how to
1579 fix the problem (Thanks to Anton Tropashko)
1581 2004-05-05 Keith Packard <keithp@keithp.com>
1583 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1584 Replace MIN/MAX/ABS macros which happen to have come
1585 from FreeType with fontconfig-specific ones (FC_*)
1587 2004-04-23 Keith Packard <keithp@keithp.com>
1590 Extend release preparation instructions to include
1591 notification and distribution steps
1593 2004-04-23 Keith Packard <keithp@keithp.com>
1597 * fontconfig/fontconfig.h:
1598 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1600 2004-04-23 Keith Packard <keithp@keithp.com>
1603 Ignore a few more autotool files
1605 2004-04-14 Keith Packard <keithp@keithp.com>
1608 Add instructions for doing a release
1610 * fontconfig.spec.in:
1611 clean up .spec file; perhaps this will be useful to somebody...
1615 * fontconfig/fontconfig.h:
1618 * fc-lang/fc-lang.c:
1619 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1621 * fc-glyphname/Makefile.am:
1622 * fc-lang/Makefile.am:
1623 * fc-list/Makefile.am:
1624 * fc-match/Makefile.am:
1626 Add WARN_CFLAGS to pass -W flags for GCC systems
1628 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1629 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1630 Change various char types around to match across
1632 Fixed bug in using available_sizes[i].height which
1633 is in pixels, not 64ths of a pixel.
1635 2004-03-06 Keith Packard <keithp@keithp.com>
1637 * src/fcfreetype.c: (FcFreeTypeQuery):
1638 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1639 matches looking for explicit values prefer exact matches
1641 2004-03-02 Keith Packard <keithp@keithp.com>
1643 Supplied by: mfabian@suse.de (Mike FABIAN)
1645 * src/fcfreetype.c: (FcFreeTypeQuery):
1646 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1647 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1649 2004-02-21 Manish Singh <yosh@gimp.org>
1651 * fc-glyphname/fc-glyphname.c: (main):
1652 Cast strlen to int for printf, so we're 64-bit clean.
1654 2004-02-11 Keith Packard <keithp@keithp.com>
1657 * src/fcfreetype.c: (FcGetPixelSize):
1658 Ok, so I messed up the test for y_ppem. Let's see if I
1659 got it right this time.
1661 2004-02-10 Keith Packard <keithp@keithp.com>
1664 * src/fcfreetype.c: (FcGetPixelSize):
1665 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1666 FT_Bitmap_Size record. Add a configure.in test for this
1667 and change the code accordingly (using height instead).
1669 2004-02-06 Keith Packard <keithp@keithp.com>
1672 Add Low Saxon orthography
1673 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1675 * src/fccfg.c: (FcConfigNewestFile):
1676 Oops. Left 'newest.set' unset, which would miscompute
1679 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1680 (FcFreeTypeCheckGlyph):
1681 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1682 font properties (which report the wrong value in current FreeType)
1684 Don't attempt to check for empty glyphs in non-scalable fonts; they
1687 2004-02-01 Tor Lillqvist <tml@iki.fi>
1689 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1690 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1691 cache if config->cache is NULL, which happens if FcConfigHome() is
1692 NULL. Guard against that by using the temp folder in that case.
1694 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1696 * fc-lang/az_ir.orth:
1697 * fc-lang/ku_ir.orth:
1698 * fc-lang/ps_af.orth:
1699 * fc-lang/ps_pk.orth:
1700 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1701 (Afghan and Pakistani).
1703 Updated Urdu orthography with real data.
1705 2003-12-11 Carl Worth <cworth@east.isi.edu>
1707 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1710 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1712 (all-local): Remove excessive whitespace.
1714 * autogen.sh: Add 'set -e' to abort when any program fails,
1715 (avoids printing of 'now type make' after configure aborts).
1717 2003-11-17 Eric Christopherson <rakko@charter.net>
1719 reviewed by: Keith Packard <keithp@keithp.com>
1722 * fontconfig/fcfreetype.h:
1724 Switch to FreeType 2.1.7 style includes. Bug #150.
1726 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1728 * fc-list/fc-list.sgml: Add some example usages.
1730 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1733 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1736 2003-10-27 Keith Packard <keith@keithp.com>
1739 * fontconfig/fontconfig.h:
1740 Update to version 2.2.92
1742 2003-10-27 Keith Packard <keithp@keithp.com>
1747 * fc-cache/Makefile.am:
1748 * fc-glyphname/Makefile.am:
1749 * fc-lang/Makefile.am:
1750 * fc-list/Makefile.am:
1751 * fc-match/Makefile.am:
1754 Yet more cleanups to finish getting 'make distcheck' working
1755 This has been tested to ensure that it even works from a _build
1758 2003-10-26 Keith Packard <keithp@keithp.com>
1762 * fc-cache/Makefile.am:
1763 * fc-glyphname/Makefile.am:
1764 * fc-lang/Makefile.am:
1765 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1766 * fc-list/Makefile.am:
1767 * fc-match/Makefile.am:
1768 Attempts to fix 'make distcheck' work. Things are
1769 progressing pretty well, but there are still failures
1770 long into the process dealing with docs (as always).
1772 The big changes here are mostly to make $(srcdir) != "."
1773 work correctly, fixing the docbook related sections and
1774 fc-lang were particularily tricky. Docbook refuses to load
1775 system entities from anywhere other than where the original .sgml
1776 file was located, so no luck looking in "." for the
1777 configure-generated version.sgml and confdir.sgml files.
1779 fc-lang needed help finding .orth files; added a -d option
1780 to set the directory as the least evil of many options.
1782 Now to go use a faster machine and try and wring out the last
1785 2003-10-26 Keith Packard <keithp@keithp.com>
1789 2003-10-26 Keith Packard <keithp@keithp.com>
1792 Include confdir.sgml.in in EXTRA_DIST
1794 2003-10-09 Josselin Mouette <joss@debian.org>
1796 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1797 * fc-list/fc-list.sgml fc-list/Makefile.am:
1798 Replace fc-cache and fc-list manpages with more detailed, SGML
1801 2003-09-23 Owen Taylor <otaylor@redhat.com>
1803 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1804 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1805 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1808 2003-09-23 Owen Taylor <otaylor@redhat.com>
1810 * fc-lang/ka.orth: Remove Georgian capitals, they
1811 aren't used for normal writing. (Bug #116)
1813 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1815 * doc/fontconfig-devel.sgml:
1816 * doc/fontconfig-user.sgml:
1817 * fontconfig/fontconfig.h:
1819 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1820 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1822 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1823 monospace and dual-width fonts, allow roughly a 3% variance in the
1826 2003-08-31 Manish Singh <yosh@gimp.org>
1828 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1831 2003-08-15 Carl Worth <cworth@isi.edu>
1833 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1834 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1836 * src/fcpat.c (FcValueListEntDestroy): New function to support
1837 FcFini memory cleanup. Some statistics are not kept in
1839 (FcValueListFreeze): Move hashTable outside this function so it
1840 can be accessed by FcValueListThawAll.
1841 (FcValueListThawAll): New function complements FcValueListFreeze.
1842 (FcPatternBaseFreeze): Move hashTable outside this function so it
1843 can be accessed by FcPatternBaseThawAll.
1844 (FcPatternBaseThawAll): New function complements
1845 FcPatternBaseFreeze.
1846 (FcPatternThawAll): New function complements FcPatternFreeze.
1848 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1850 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1851 allocated FcCharLeafEnt "blocks" so they can be freed later.
1852 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1853 can be accessed by FcCharSetThawAllLeaf.
1854 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1855 (FcCharSetFreezeBase): Move hashTable outside this function so it
1856 can be accessed by FcCharSetThawAll.
1857 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1859 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1860 (FcConfigDestroy): Fic leak of FcBlanks.
1862 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1863 (main): Add call to FcFini when finished.
1865 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1866 static. Add prototypes.
1868 * doc/fcinit.fncs: Add documentation for FcFini function.
1870 * doc/edit-sgml.c: Mark several local functions as static. Add
1873 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1875 2003-06-15 Tor Lillqvist <tml@iki.fi>
1877 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1878 before comparing (needed on Windows).
1880 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1882 2003-06-13 Tor Lillqvist <tml@iki.fi>
1884 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1887 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1888 WINDOWSFONTDIR token.
1890 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1891 end, not to confuse libtool, which expects the EXPORTS line to be
1892 the first. Add FcConfigEnableHome.
1894 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1895 built as a DLL on Win32.
1897 2003-06-09 Keith Packard <keithp@keithp.com>
1899 * Tag version 2.2.90
1901 2003-06-09 Keith Packard <keithp@keithp.com>
1903 * Optimization in FcLangSetIndex was broken, occasionally
1904 returning a pointer to the wrong location on miss
1906 * Add fc-match to test font matching from the command line.
1908 2003-05-31 Keith Packard <keithp@keithp.com>
1910 * (Bug 85) add support for culmus fonts
1911 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1912 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1914 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1916 * Fix "contains" op for strings and langsets.
1918 2003-05-17 Keith Packard <keithp@keithp.com>
1920 * Fix build error with BDF prop local. Free langset after query
1922 2003-05-14 Keith Packard <keithp@keithp.com>
1924 * Extract spacing from XLFD atom
1926 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1928 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1929 disappeared in 1.30.
1931 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1933 2003-05-12 Keith Packard <keithp@keithp.com>
1935 * Use FcIsWidth to share code
1937 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1938 misclassifying some Han fonts as monospaced.
1940 2003-05-07 Keith Packard <keithp@keithp.com>
1942 * Add filename-based accept/reject to ammend available fonts.
1944 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1945 older FreeType releases.
1947 2003-05-06 Keith Packard <keithp@keithp.com>
1949 * Remove 0b82 and Tamil numbers from tamil
1950 orthography (Jungshik Shin <jshin@mailaps.org>)
1952 2003-05-04 Keith Packard <keithp@keithp.com>
1954 + Map glyph names in fonts with adobe custom encoding to unicode
1956 2003-05-02 Keith Packard <keithp@keithp.com>
1958 * Add FC_WEIGHT_BOOK as weight 75
1960 2003-04-30 Keith Packard <keithp@keithp.com>
1962 * Typo in bitstream foundry name
1964 2003-04-24 Keith Packard <keithp@keithp.com>
1966 * Eliminate italic_angle check for PS fonts
1968 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1970 * Getting closer to fixing /etc/fonts hard-coding.
1972 2003-04-22 Keith Packard <keithp@keithp.com>
1974 * Update autogen.sh to work with newer automake versions
1975 * Handle pattern elements moving during multiple edits
1977 2003-04-23 James Henstridge <james@daa.com.au>
1979 * doc/fontconfig-devel.sgml: close the <para> element.
1981 * doc/fcpattern.fncs: close the <para> element.
1983 * doc/func.sgml: close the <refsynopsisdiv> element.
1985 2003-04-22 Keith Packard <keithp@keithp.com
1987 * Update autogen.sh to work with newer automake versions
1988 * Handle pattern elements moving during multiple edits
1990 2003-04-17 Colin Walters <walters@debian.org>
1992 + Remove some unused variables, and initialize some other ones so
1993 gcc doesn't warn us.
1995 2003-04-16 Keith Packard <keithp@keithp.com>
1997 + tag version 2.1.94
1999 2003-04-16 Keith Packard <keithp@keithp.com>
2001 + add BDF property fetching support for foundry
2002 (from Juliusz Chroboczek)
2003 + add BDF property fetching support for width
2005 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2007 + Implemented foundry generation for Type 1 and TrueType
2009 2003-04-11 Gerard Escalante <g2@magestudios.net>
2011 + Retrieve information from Type1 FontInfo dictionaries
2013 2003-04-07 Colin Walters <walters@verbum.org>
2015 + src/Makefile.am: Fix dummy makefile target names when
2016 MS_LIB_AVAILABLE isn't set.
2018 2003-03-22 Tor Lillqvist <tml@iki.fi>
2020 Changes for Windows:
2022 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2024 + We don't want to hardcode the fonts.conf file location in the
2025 DLL, so we look up the DLL location at run-time in a DllMain()
2026 function. The fonts.conf location is deduced from that.
2028 + The colon can't be used as path separator on Windows,
2029 semicolon is used instead. File path components can be separated
2030 with either slash or backslash. Absolute paths can also begin
2031 with a drive letter.
2033 + Add internal function FcStrLastSlash that strrchr's the last
2034 slash, or backslash on Windows.
2036 + There is no link() on Windows. For atomicity checks, mkdir a
2037 lock directory instead.
2039 + In addition to HOME, also look for USERPROFILE.
2041 + Recognize the special font directory token WINDOWSFONTDIR, to
2042 use the system's font directory.
2044 + Remove the fontconfig-def.cpp that was obsolete. Add
2045 fontconfig.def(.in), without internal functions.
2047 + Add a fontconfig-zip(.in) script, used to build a binary
2050 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2051 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2052 to main package and man3/* to devel package
2054 + Added missing defattr(-, root, root) to main RPM package
2056 + Added HTML and text development documentation to -devel subpackage
2058 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2059 + Added back the configure macro options --disable-docs, otherwise
2060 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2061 version number) unconditionally, causing RPM to fail the build due
2062 to _unpackaged_files_terminate_build. We pick up the pregenerated
2063 docs with %doc already.
2065 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2066 + Removed commented out rpm macro define at top of spec file,
2067 replacing it with a simple explanation, since rpm macros are
2068 expanded by rpm even in comments.
2070 + Changed /usr/bin to _bindir in BuildRequires lines
2072 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2074 + Reorganized file manifest lists
2076 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2078 + fontconfig.spec.in: Improvements from Red Hat spec file.
2080 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2082 + docs/*.sgml: SGML fixes.
2084 Sat Mar 1 17:28:53 PST 2003 keithp
2085 + Ok, so the ChangeLog is a bit out of date
2087 + Lots of bugs fixed; most are in bugzilla, the
2088 biggest problems were in cache management where
2089 Owen discovered the library would lose badly when
2090 combining fonts-cache and ~/.fonts-cache data
2092 + Converted from autoconf to automake. This after
2093 getting patches accepted into libtool to allow
2094 the '-version-number' argument which lets
2095 packages set version numbers explicitly rather
2096 than the roundabout libtool way
2098 + Converted documentation to SGML using the docbook
2099 DTD. Now .txt and .html documents are installed
2100 in /usr/share/doc/fontconfig and there's no
2101 man page. Perhaps a man version can be written
2104 Sat Aug 31 15:21:22 PDT 2002 keithp
2105 + Xrender and Xft had several bugs related to
2106 rendering manually placed or poly-face text
2108 + Added more complete memory tracing in fontconfig
2109 Checked with (patched) mozilla and found no leaks
2111 + Updated Latin orthographies by comparing those from
2112 evertype.com with those from eki.ee. Tried to make
2113 sensible choices, including chars that occured in both
2114 and leaving some optional chars out that occured only
2117 Mon Aug 26 16:33:04 PDT 2002 keithp
2118 + Owen discovered that FcLangSetHasLang wasn't actually
2119 checking the language set.
2121 Mon Aug 26 13:37:23 PDT 2002 keithp
2122 + Append a version number to cache filenames
2124 Thu Aug 22 11:36:18 PDT 2002 keithp
2126 + Add "contains" and "not_contains" operators and elements to
2129 + Changed semantics of eq operator for LangSets to check for
2130 FcLangEqual so that any match will do
2132 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2133 of FcValueEqual to check for identical values when inserting into
2134 the results. This broke when the above semantic change was made,
2135 now it uses FcValueEqual which is "more correct" in any case.
2137 Thu Aug 22 00:32:29 PDT 2002 keithp
2139 + Reimplement FC_LANG as new datatype. Lists of strings
2140 was consuming over a megabyte of memory for 401 fonts.
2142 + Freeze patterns loaded from cache files. This shares
2143 common value lists and common patterns which saves
2144 considerable memory.
2146 + Change the denotation of 'constant' charsets to use special
2147 ref value instead of separate boolean.
2149 + Clean up leak tracing stuff, found several unannoted alloc/free
2152 Tue Aug 20 16:17:37 PDT 2002 keithp
2154 + Fix memory leak when parsing matrices from XML
2156 Mon Aug 19 11:57:27 PDT 2002 keithp
2158 + Fix autoconf files to pass FONTCONFIG_PATH on
2159 compile line so that ${prefix} gets substituted
2162 + Use getc_unlocked/putc_unlocked on systems that
2163 provide them to avoid damage done to stdio by posix
2165 + Eliminate FC_PATTERN and FcTypePattern in favor of
2166 an extended api for FcConfigSubstitute which takes
2167 both the font and the pattern.
2169 + Add 'sans serif' alias for 'sans-serif' as some apps
2170 can't handle hyphens in family names
2172 + Eliminate pretense of support for libxml2
2174 + Comment origins of Han orthographies
2176 Tue Jul 30 18:37:09 PDT 2002 keithp
2178 + Add binding property to edit element so that strong
2179 binding values may be inserted by the config file.
2180 The default remains weak.
2182 Sun 28 Jul 04:16:55 PDT 2002 keithp
2184 + Tagged release candidate 1 in the CVS tree and
2185 placed fcpackage.rc1.tar.gz for distribution
2187 Thu Aug 1 08:55:08 PDT 2002 keithp
2189 + Fixed autoconf builds to always specify install
2190 target files (for BSD). Also fixed to
2191 define FONTCONFIG_PATH in config.h so that
2192 nonstandard installs will actually work.