1 2005-12-05 Patrick Lam <plam@mit.edu>
2 * src/fcname.c (FcNameGetObjectType):
4 Don't assign types to user object names.
6 2005-12-05 Patrick Lam <plam@mit.edu>
7 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
9 Don't free strings that have been returned from FcStrStaticName.
11 2005-12-01 Patrick Lam <plam@mit.edu>
12 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
14 Add codepath for reading global cache files as well.
16 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
19 * conf.d/10-fonts.persian.conf:
22 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
24 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
27 * src/fcxml.c (FcConfigParseAndLoad):
29 Only add a config file to the set of config files once.
31 2005-11-29 Patrick Lam <plam@mit.edu>
32 * src/fcint.h (FcCacheBankToIndex);
34 Fix segfault by guarding array dereference.
36 2005-11-29 Dirk Mueller <dmueller@suse.de>
40 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
41 FcCacheBankToIndex, FcCacheBankToIndexMTF,
45 Refactor FcCacheBankToIndex into an inlineable part
46 (in fcint.h) which checks the front of the list and a
47 non-inlineable part which finds and moves the appropriate element
48 to the front of the list.
50 2005-11-29 Patrick Lam <plam@mit.edu>
51 * src/fccfg.c (FcConfigBuildFonts):
52 * src/fccache.c (FcCacheReadDirs):
54 Make the perf guys hate me a bit less: hoist the directory-name
55 FcConfigAcceptFont check for cached fonts up to directory cache
56 read time, rather than running it for each font.
58 2005-11-29 Patrick Lam <plam@mit.edu>
59 * src/fccfg.c (FcConfigBuildFonts):
61 * src/fcpat.c (FcPatternFindFullFname):
63 Don't make FcPatternFindFullFname available to fccfg, it's not
64 really safe. Instead go through FcPatternGetString (sorry,
65 perf guys.) Also, use globs for dirs as well.
67 2005-11-28 Patrick Lam <plam@mit.edu>
68 * src/fccfg.c (FcConfigBuildFonts):
72 2005-11-28 Patrick Lam <plam@mit.edu>
74 * src/fcpat.c (FcPatternFindFullFname):
75 * src/fccfg.c (FcConfigBuildFonts):
77 Fix problem dating back at least to 2.3.2 where globs weren't
78 being applied to patterns loaded from a cache.
80 2005-11-28 Patrick Lam <plam@mit.edu>
81 * doc/fontconfig-user.sgml:
83 Fix some obvious spelling mistakes.
85 2005-11-28 Dirk Mueller <dmueller@suse.com>
86 Stephan Kulow <coolo@suse.de>
89 * src/fcmatch.c (FcFontSetMatch):
91 Don't kill all fonts during match (oops!)
94 2005-11-25 Dirk Mueller <dmueller@suse.com>
95 Stephan Kulow <coolo@suse.de>
96 Michael Matz <matz@suse.de>
99 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
102 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
103 inline FcCompare into FcFontSetMatch and reorder the
104 loops, adding a boolean array which blocks patterns from future
105 consideration if they're known to not be best on some past
108 2005-11-26 Dirk Mueller <dmueller@suse.com>
111 * src/fcmatch.c (FcCompareValueList):
115 2005-11-25 Patrick Lam <plam@mit.edu>
116 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
118 Don't do random matching when bad objects are passed into
121 2005-11-25 Patrick Lam <plam@mit.edu>
123 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
124 FcPatternSerialize, FcPatternUnserialize,
125 FcValueListEnsureBank, FcValueListDistributeBytes,
126 FcValueListUnserialize):
128 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
129 _fcPatternElts, _fcValueLists for consistency.
131 2005-11-25 Dirk Mueller <dmueller@suse.com>
136 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
138 2005-11-25 Patrick Lam <plam@mit.edu>
140 * src/fccache.c (FcDirCacheConsume):
141 * src/fccharset.c (FcCharSetUnserialize):
142 * src/fcfs.c (FcFontSetUnserialize):
143 * src/fclang.c (FcLangSetUnserialize):
144 * src/fcname.c (FcObjectUnserialize):
145 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
146 FcPatternUnserialize):
148 Pass around FcCache *s to the Unserialize functions for extra
149 consistency (and less overhead, for what that's worth).
151 2005-11-24 Dirk Mueller <dmueller@suse.com>
155 * src/fcmatch.c (FcCompare*, FcFontSetSort):
156 * src/fcname.c (FcNameUnparseValue):
158 Inline the *PtrU functions to gain perf.
159 Remove unneeded params for the FcCompare* functions.
161 2005-11-24 Dirk Mueller <dmueller@suse.com>
164 * src/fcint.h, fontconfig/fontconfig.h:
166 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
168 * src/fcpat.c, src/fcint.h, src/fcname.c:
170 Check for type validity during FcPatternAddWithBinding, don't
171 verify type in FcFontMatch, don't call FcCanonicalize here
172 (which always does a deep copy).
174 2005-11-24 Dirk Mueller <dmueller@suse.com>
177 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
178 * src/fcpat.c (FcPatternAddWithBinding):
180 Make FcCompareString and FcCompareFamily less expensive.
181 Only add a value for FC_FAMILY if the proposed value is a string.
183 2005-11-24 Dirk Mueller <dmueller@suse.com>
186 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
187 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
188 * src/fcint.h (FcDebug):
190 Inline FcDebug invocations and only initialize once, in FcInit*.
191 Improve debug msg in FcPatternPrint.
193 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
196 * fontconfig/fontconfig.h:
199 Minor code warning cleanups.
201 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
204 * fc-match/fc-match.c (main):
206 Make getopt_long accept -s parameter to fc-match as well.
208 2005-11-21 Dirk Mueller <dmueller@suse.com>
211 * src/fcmatch.c (FcCompareValueList):
213 Manually perform inlining & partial redundancy elimination to
214 reduce calls to FcValueListPtrU.
216 2005-11-21 Dirk Mueller <dmueller@suse.com>
219 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
220 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
222 Only invoke strlen() when really necessary.
224 2005-11-19 Matthias Clasen <mclasen@redhat.com>
228 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
233 Get rid of the use of freetype internal headers in fcfreetype.c,
234 since those headers will go away with freetype 2.2. Replace with
235 public domain ftglue code from pango. Note that the patch removes
236 some extra error checking in FT_Get_BDF_Property() and comments
237 out the skipping of empty pcf fonts.
239 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
242 * fc-lang/fc-lang.c (main):
244 Further fix of patch from 2005-11-04: miscounted numbers count
245 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
246 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
248 Removed leafidx_count and numbers_count since they are the same
249 and replaced them with offset_count.
251 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
254 * fc-cat/fc-cat.c (main):
256 Don't crash when fc-cat invoked with no arguments.
258 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
261 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
263 Fix invalid read access caused by premature free and
264 GCC4 warnings in libxml2 codepath.
266 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
269 * src/fccfg.c (FcConfigValues):
271 List iteration not needed in FcConfigValues, since it's building
272 up the list itself; we can just strip FcVoid elements during
275 2005-11-17 Patrick Lam <plam@mit.edu>
276 * src/fccfg.c (FcConfigValues):
278 Fix crash on invalid constants in config files (forgot to update
279 a pointer upon list iteration.)
281 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
284 * src/fcxml.c (FcTypecheckExpr):
286 Complain about invalid constants in config files.
288 2005-11-17 Andreas Schwab <schwab@suse.de>
291 * src/fccache.c (FcGlobalCacheSave):
293 Don't add current_arch_start more than once.
295 2005-11-16 Patrick Lam <plam@mit.edu>
296 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
297 * src/fcfs.c (FcFontSetUnserialize):
298 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
299 * src/fcpat.c (FcStrUnserialize):
301 Fix ordering of ALIGN with respect to saving block_ptr; add
302 another ALIGN to fcfs.c.
304 2005-11-16 Patrick Lam <plam@mit.edu>
305 * src/fccache.c (FcDirCacheProduce)
307 Fix case where alignment bytes bumped up metadata->count
308 causing unwarranted failures to write cache files.
309 (Reported by Stephan Kulow).
311 2005-11-16 Patrick Lam <plam@mit.edu>
312 * src/fccache.c (FcDirCacheProduce):
313 * src/fccharset.c (FcCharSetDistributeBytes):
314 * src/fcfs.c (FcFontSetDistributeBytes):
316 * src/fclang.c (FcLangSetDistributeBytes):
317 * src/fcname.c (FcObjectDistributeBytes):
318 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
321 Add *NeededBytesAlign(), which overestimates the padding which is
322 later added by the new ALIGN macro. Fix alignment problems on
323 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
324 version by Andreas Schwab).
326 2005-11-16 Stephan Kulow <coolo@kde.org>
331 Use sysconf to determine proper PAGESIZE value; this
332 appears to be POSIX-compliant. (reported by Andreas Schwab)
334 2005-11-04 Patrick Lam <plam@mit.edu>
340 Fix bug 2878 (excessive relocations at startup for charsets,
341 reported by Ross Burton): fc-lang/fc-lang now creates the
342 static form of the langset, not the dynamic form, so that
343 the charsets should now be in .rodata.
345 2005-11-04 Patrick Lam <plam@mit.edu>
346 * src/fcdir.c (FcDirScanConfig):
348 Add test for validity of directory caches that
349 somehow got lost (reported by make distcheck).
351 2005-11-04 Patrick Lam <plam@mit.edu>
355 * fontconfig/fontconfig.h:
357 Bump version to 2.3.92.
359 2005-11-02 Patrick Lam <plam@mit.edu>
360 * src/fcpat.c (FcPatternDuplicate):
362 Fix argument ordering problem in call to FcPatternTransferFullFname.
364 2005-11-02 Patrick Lam <plam@mit.edu>
365 * src/fcfreetype.c (FcFreetypeQuery):
366 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
367 FcPatternTransferFullFname):
369 Fix warnings and embarrassing double-free error.
371 2005-11-02 Zhe Su <zsu@novell.com>
376 Change the rule for artificial emboldening in fonts.conf.in. This
377 enables the support for artificial emboldening included in cairo.
379 2005-11-02 Patrick Lam <plam@mit.edu>
380 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
382 Don't zero out full names for FC_REF_CONSTANT fonts;
383 also, duplicate full names when transferring, and free
384 full names when freeing the associated font.
385 Reported by Jinghua Luo.
387 2005-11-02 Patrick Lam <plam@mit.edu>
388 * fc-cache/fc-cache.c (scanDirs):
389 * src/fcpat.c (FcValueListSerialize):
391 Revert the previous patch and commit the correct patch:
392 I forgot a canonicalization in FcValueListSerialize, so
393 that it would choke on already-serialized input files. Duh!
395 2005-11-02 Patrick Lam <plam@mit.edu>
396 * fc-cache/fc-cache.c (scanDirs):
398 Forcibly rescan a directory before writing a fresh local
399 cache file for that directory, fixing the losing-fonts
400 problem reported by Mike Fabian and also apparently the
401 font cache file corruption.
403 2005-11-02 Patrick Lam <plam@mit.edu>
404 * src/fccache.c (FcGlobalCacheLoad):
406 Fix thinko: actually, the whole global cache is stale
407 if the global cache is older than the (newest) config file.
409 2005-11-02 Patrick Lam <plam@mit.edu>
410 * src/fccache.c (FcGlobalCacheLoad):
411 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
414 Declare the global cache of a directory's contents to be stale if
415 the directory is newer than the (newest) configuration file.
417 2005-10-31 Patrick Lam <plam@mit.edu>
419 * src/fclist.c (FcListAppend):
420 * src/fcmatch.c (FcFontRenderPrepare):
421 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
422 FcPatternFreeze, FcPatternBaseFreeze):
424 Copy the full pathname whenever duplicating an FcPattern; otherwise,
425 applications continue breaking.
427 2005-10-31 Patrick Lam <plam@mit.edu>
428 * fc-cat/fc-cat.c (FcCacheFileRead, main):
429 * src/fcfreetype.c (FcFreeTypeQuery):
431 Fix small memory error (tried to free argv); use basename and
432 dirname correctly (they can modify their arguments).
434 2005-10-31 Patrick Lam <plam@mit.edu>
442 Reinstate basename patch, but keep a hash table linking FcPatterns
443 to their fully-qualified font names for clients' benefit. Clients
444 only pay for the font names once they request the FC_FILE property
445 from an FcPattern, but the font name is malloc'd at that point (i.e.
446 not mmapped: that's impossible, since it may vary between machines.)
447 Clients do have to pay for a copy of the path name per cache file.
449 Note that FcPatternGetString now does some rewriting if you ask
450 for an FC_FILE, appending the pathname as appropriate.
452 2005-10-31 Patrick Lam <plam@mit.edu>
453 * src/fcfreetype.c (FcFreeTypeQuery):
455 Revert basename patch, which breaks fontconfig clients on my system.
457 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
460 * fontconfig/fonts.conf.in:
461 * fontconfig/fontconfig.h:
465 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
466 to load embedded bitmaps or not.
468 2005-10-25 Patrick Lam <plam@mit.edu>
469 * src/fcfreetype.c (FcFreeTypeQuery):
471 Only add basename to patterns' FC_FILE element, not any part of
474 2005-10-22 Patrick Lam <plam@mit.edu>
477 Add some more consts, fixing more GCC4 warnings.
479 2005-10-22 Zhe Su <zsu@novell.com>
482 Support localized font family and style names.
483 This has been reported to break old apps like xfd, but modern
484 (gtk+/qt/mozilla) apps work fine.
486 2005-10-21 Patrick Lam <plam@mit.edu>
487 * src/fccache.c (FcGlobalCacheLoad):
489 Destroy the global cache file if it's terminally broken. (reported by
492 2005-10-21 Patrick Lam <plam@mit.edu>
493 * fc-list/fc-list.c (main):
494 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
495 * fontconfig/fontconfig.h:
497 Prevent fc-list from escaping strings when printing them (reported by
500 2005-10-20 Marcus Meissner <meissner@suse.de>
503 * fontconfig/fontconfig.h:
505 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
507 2005-10-14 Ross Burton <ross@burtonini.com>
510 * fc-glyphname/fc-glyphname.c:
513 Add consts to variables so as to move arrays into .rodata.
515 2005-10-14 Mike Fabian <mfabian@suse.de>
518 * src/fccache.c (FcDirCacheUnlink):
520 Check existence of directory cache file before attempting to unlink.
522 2005-10-13 Patrick Lam <plam@mit.edu>
523 * src/fccache.c (FcDirCacheUnlink):
525 Fix flipped return value on unlink. (Reported by Mike Fabian)
527 2005-10-12 Patrick Lam <plam@mit.edu>
530 * src/fcdir.c (FcDirScanConfig):
533 When fc-cache is run without --force, use directory cache files
534 to speed up fc-cache run time. (Reported by Mike Fabian)
536 2005-10-06 Patrick Lam <plam@mit.edu>
538 * src/fcname.c (FcObjectToPtr):
539 * src/fcpat.c (FcStrStaticName):
541 Add padding to make valgrind and glibc not hate each other
542 when calling strlen().
544 2005-10-05 Simos Xenitellis <simos74@gmx.net>
545 reviewed by: plam & keithp
549 Modify config file to use Greek fonts before Asian fonts with
552 2005-10-05 Christian Biesinger <cbiesinger@web.de>
553 reviewed by: plam & keithp
557 Use libtool -no-undefined flag on all platforms.
559 2005-10-05 Patrick Lam <plam@mit.edu>
560 * src/fccache.c (FcCacheHaveBank):
562 Implement move-to-front array for banks (perf regression
563 reported by Ronny V. Vindenes).
565 2005-10-04 Patrick Lam <plam@mit.edu>
566 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
567 FcDirCacheHasCurrentArch):
568 * fc-cache/fc-cache.c (scanDirs):
569 * fontconfig/fontconfig.h:
571 Add new API which unlinks directory caches and checks dir caches
572 for existence of appropriate sections. Fix fc-cache to unlink
573 stale cache files and save directory caches that lack relevant
576 2005-10-03 Patrick Lam <plam@mit.edu>
577 * src/fccache.c (FcDirCacheValid):
579 Ensure that a directory cache has the appropriate section
580 before reporting that it is valid (reported by Matthias Clasen).
582 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
590 Use libxml2 if requested (with --enable-libxml2) or if
591 expat is not available.
593 2005-09-29 Patrick Lam <plam@mit.edu>
594 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
596 Fix multi-arch cache files: compute the position for the
597 block to be added using info from OrigFile, not NewFile.
599 2005-09-28 Patrick Lam <plam@mit.edu>
600 * src/fccache.c (FcCacheMachineSignature):
602 Cast results of sizeof() to unsigned int to get rid of
603 warnings on x86_64 (thanks Matthias Clasen).
605 2005-09-27 Patrick Lam <plam@mit.edu>
606 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
609 Use FcAtomic to rewrite cache files.
611 2005-09-27 Patrick Lam <plam@mit.edu>
613 * src/fccache.c (FcDirCacheWrite):
615 Don't unlink the fonts.cache-2 file even if there's no data
616 to write; just write an empty cache file. (thanks Lubos Lunak)
618 2005-09-27 Patrick Lam <plam@mit.edu>
620 * src/fccache.c (FcDirCacheWrite):
622 Allocate room for the subdirectory names in each
623 directory cache. Thanks to James Cloos for finding
624 and diagnosing this bug!
626 2005-09-22 Patrick Lam <plam@mit.edu>
628 * fc-cache/fc-cache.sgml:
629 * src/fccache.c (FcDirCacheWrite):
630 * src/fccache.h (struct FcCache):
632 Update documentation -- fc-cache's man page now says that you
633 need to run fc-cache once per cached architecture; add some
634 documentation to the FcCache structure.
636 Make fc-cache write out fonts.cache-2 files for directories with
637 no fonts (i.e. only subdirectories).
639 2005-09-22 Patrick Lam <plam@mit.edu>
641 * fc-cache/fc-cache.sgml:
643 * fc-glyphname/fc-glyphname.c:
649 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
654 * fontconfig/fcprivate.h:
655 * fontconfig/fontconfig.h:
669 Implement new mmaped cache for font information.
670 Bump so revision to 2.3.90.
672 2005-07-25 Keith Packard <keithp@keithp.com>
674 * doc/fontconfig-user.sgml:
675 * fc-glyphname/fc-glyphname.c: (scan), (main):
676 * fc-lang/fc-lang.c: (FcConfigHome):
677 * fc-match/fc-match.c: (main):
678 * src/fccfg.c: (FcConfigHome):
679 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
680 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
681 (addtag), (FcFontCapabilities):
682 * src/fcpat.c: (FcValueListEntCreate):
683 * src/fcstr.c: (FcStrCaseWalkerInit):
684 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
686 Various GCC 4 cleanups for signed vs unsigned char
688 Match only [0-9]*.conf files in <include>{directory}</include>
689 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
691 2005-07-15 Carl Worth <cworth@cworth.org>
694 * src/fcinit.c: (FcFini):
695 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
698 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
699 Pull the FcObjectStateName hash table out to file scope, and add
700 FcObjectStaticNameFini so that FcFini will cleanup this hash table
703 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
706 2005-06-16 Patrick Lam <plam@MIT.EDU>
710 * src/fccfg.c: (FcConfigCompareValue):
711 Make FcOpNotContains use FcStrStr for strings so that
712 it matches semantics for !FcOpContains.
714 2005-05-20 Keith Packard <keithp@keithp.com>
718 Move fontconfig source package to libs as per override
720 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
722 reviewed by: Mike Fabian
725 The ka.orth file requires several characters which are not
726 used anymore in modern Georgian and which are missing in the free
727 Georgian TrueType fonts downloadable at:
729 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
731 2005-04-27 Keith Packard <keithp@keithp.com>
735 Update date to real 2.3.2 release date.
736 Fix change attributions
738 2005-04-27 Keith Packard <keithp@keithp.com>
741 Bump so revision for 2.3.2
742 * fc-cache/fc-cache.c: (scanDirs):
743 Fix a few minor leaks in error cases.
745 2005-04-23 Keith Packard <keithp@keithp.com>
750 * fontconfig/fontconfig.h:
751 Update for version 2.3.2
753 2005-04-21 Keith Packard <keithp@keithp.com>
755 * debian/fontconfig.postinst:
756 Don't force bitmap font enable in default
757 configuration; allows users to override this in
767 * debian/po/pt_BR.po:
768 * debian/po/templates.pot:
770 * debian/po/zh_CN.po:
773 * fc-cache/fc-cache.c: (main):
774 Destroy font configuration on exit to help valgrind
777 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
778 (FcFreeTypeCheckGlyph):
779 Use own transcoding routines in preference to iconv
780 which appears to have leaks in some translators.
781 Call iconv_close after using iconv (oops).
783 Prefer unicode encoding of Euro char as some
784 fonts mis-encode Euro in other ones.
786 Must fetch bitmap glyphs to get width values
787 to check for monospace/dual-width fonts.
789 2005-04-13 Ross Burton <ross@burtonini.com>
792 Check that a pattern isn't already frozen in FcPatternFreeze.
794 2005-03-31 Ross Burton <ross@burtonini.com>
799 Run all FcPattern objects through FcObjectStaticName, so that
800 compares can be done on pointers instead of strings (#2659)
802 2005-03-17 Tor Lillqvist <tml@novell.com>
804 * src/fontconfig.def.in: Add the .dll to the dll name.
806 2005-03-10 Keith Packard <keithp@keithp.com>
808 * debian/README.Debian:
809 Update to reflect configuration changes
811 * debian/fontconfig.postinst:
812 Fix Autohint vs Autohinter mistake
813 * debian/fontconfig.templates:
814 Adopt changes from Josselin Mouette for configuration descriptions
815 Update debian to version 2.3.1-2
817 2005-03-08 Keith Packard <keithp@keithp.com>
821 Update debian for 2.3.1
823 2005-03-09 Tor Lillqvist <tml@novell.com>
825 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
828 * src/fccfg.c (FcConfigFileExists): Check also drive letter
831 2005-03-08 Keith Packard <keithp@keithp.com>
835 * fontconfig/fontconfig.h:
838 2005-03-05 Keith Packard <keithp@keithp.com>
840 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
841 Include space and remove numbers from valid script tags.
842 This ensures that tags like 'lao ' work while rejecting
843 those which have any digits.
844 Eliminate a spurious debugging variable (len)
846 2005-03-05 Keith Packard <keithp@keithp.com>
848 * src/fcfreetype.c: (addtag), (GetScriptTags),
849 (FcFontCapabilities):
850 Rework GSUB/GPOS script parsing to survive broken fonts.
851 Thanks for the broken font go to Manish Singh
853 2005-03-05 Keith Packard <keithp@keithp.com>
858 * debian/fontconfig.config:
859 * debian/fontconfig.templates:
861 Include 2.3 release information in changelog
862 Add Josselin Mouette as an Uploader
863 Set hinting_type to low priority configuration option
866 * debian/fontconfig.postinst:
867 yes_bitmaps.conf -> yes-bitmaps.conf
873 2005-03-02 Keith Packard <keithp@keithp.com>
876 * conf.d/Makefile.am:
877 * conf.d/autohint.conf:
878 * conf.d/no-sub-pixel.conf:
879 * conf.d/sub-pixel.conf:
880 * conf.d/unhinted.conf:
881 * debian/autohint.conf:
882 * debian/fontconfig.install:
883 * debian/fontconfig.postinst:
884 * debian/fontconfig.templates:
885 * debian/no-sub-pixel.conf:
886 * debian/unhinted.conf:
887 Move debian-specific conf file examples upstream.
889 Sub-pixel configuration examples must smash subpixel value
890 as Xft always sets it from X.
892 Change sub-pixel rendering debconf descriptions from
893 Enable/Disable to Always/Never.
895 2005-03-02 Keith Packard <keithp@keithp.com>
900 Ignore more build detritus
903 Add debian package construction stuff.
905 * config/config.guess:
907 Update to newer versions of these tools
910 Get library manuals to build again (we love automake).
912 * debian/README.Debian:
913 * debian/autohint.conf:
918 * debian/fontconfig-udeb.install:
919 * debian/fontconfig.config:
920 * debian/fontconfig.defoma:
921 * debian/fontconfig.dirs:
922 * debian/fontconfig.install:
923 * debian/fontconfig.postinst:
924 * debian/fontconfig.postrm:
925 * debian/fontconfig.templates:
926 * debian/libfontconfig1-dev.install:
927 * debian/libfontconfig1.install:
928 * debian/local.conf.md5sum:
929 * debian/no-sub-pixel.conf:
930 * debian/po/POTFILES.in:
939 * debian/po/pt_BR.po:
940 * debian/po/templates.pot:
942 * debian/po/zh_CN.po:
944 * debian/unhinted.conf:
945 Update debian build system to switch maintainers and
946 deal with 2.3 functionality
948 2005-03-01 Keith Packard <keithp@keithp.com>
952 * fontconfig/fontconfig.h:
955 2005-03-01 Keith Packard <keithp@keithp.com>
958 Generate and install PDF versions of the manuals
960 * doc/fcpattern.fncs:
964 Add missing exported functions, fix data types
966 * doc/fontconfig-devel.sgml:
967 Add missing pattern elements.
969 * doc/fontconfig-user.sgml:
970 Add missing pattern elements. Document conf.d usage,
971 clarify available orthography list. Fix some config file
972 attributes. Complete list of constants.
974 * fontconfig/fontconfig.h:
975 Mark FC_SOURCE deprecated.
977 * src/fcfreetype.c: (FcFreeTypeQuery):
978 Don't set FC_SOURCE any longer.
980 2005-02-28 Keith Packard <keithp@keithp.com>
983 * conf.d/Makefile.am:
985 * conf.d/no-bitmaps.conf:
986 * conf.d/sub-pixel.conf:
987 * conf.d/yes-bitmaps.conf:
989 Create prototype /etc/fonts/conf.d directory with a few
990 sample configuration files.
991 Deprecate use of local.conf for local customizations in favor of
992 this directory based scheme which is more easily integrated into
993 installation systems.
996 Tag FC_EMBOLDEN as a boolean variable
998 2005-02-10 Keith Packard <keithp@keithp.com>
1000 reviewed by: pborelli@katamail.com
1002 * src/fcdir.c: (FcFileScanConfig):
1003 Free patterns from fonts which are rejected by configuration
1006 2005-01-28 Keith Packard <keithp@keithp.com>
1010 * fontconfig/fontconfig.h:
1011 Update for version 2.2.99
1013 2005-01-28 Keith Packard <keithp@keithp.com>
1016 Add a few pointers (#2284, #2285)
1018 2005-01-28 Keith Packard <keithp@keithp.com>
1021 * src/fcname.c: (FcNameBool):
1022 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1023 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1024 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1025 Polite typechecking for test and edit expressions. Helps
1026 catch errors in the font configuration. (bug 229)
1028 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1030 reviewed by: Keith Packard <keithp@keithp.com>
1033 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1035 2005-01-13 Keith Packard <keithp@keithp.com>
1037 * doc/fontconfig-user.sgml:
1038 Add SEE ALSO section (bug 2085)
1040 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1042 reviewed by: Keith Packard <keithp@keithp.com>
1047 * fc-case/Makefile.am:
1048 * fc-glyphname/Makefile.am:
1049 * fc-lang/Makefile.am:
1050 * src/fontconfig.def.in:
1051 Cross compiling fixes (bug 280)
1053 2005-01-13 Keith Packard <keithp@keithp.com>
1056 Update blanks list (Closes bug 86)
1058 2005-01-04 Keith Packard <keithp@keithp.com>
1060 * src/fccache.c: (FcCacheFontSetAdd):
1061 Verify that every font pattern loaded from cache has
1062 both FC_FILE and FC_FAMILY entries.
1063 Attempt to fix bug #2219.
1065 2004-12-29 Keith Packard <keithp@keithp.com>
1069 * fontconfig/fontconfig.h:
1070 Update for version 2.2.98
1072 2004-12-29 Keith Packard <keithp@keithp.com>
1074 * fontconfig/fontconfig.h:
1075 Document ASCII limitations of Fc character conversion macros
1076 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1077 Fix off-by-one error in utf-8 case walking code.
1078 Add FcStrDowncase (useful for testing case conversion functions)
1080 2004-12-29 Keith Packard <keithp@keithp.com>
1083 * fc-case/.cvsignore:
1084 clean up CVS ignore lists
1085 * fc-lang/iso-3166.txt:
1086 Add territory database
1088 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1090 Reviewed by: Keith Packard
1093 Remove Han characters from Korean orthography
1095 2004-12-29 Keith Packard <keithp@keithp.com>
1098 Reorder utility programs to make sure fc-case is run before fc-lang
1099 as fc-lang uses fcstr.c which uses fccase.h
1103 2004-12-29 Keith Packard <keithp@keithp.com>
1106 Adopt some RedHat suggestions for standard font configuration.
1110 * fc-case/CaseFolding.txt:
1111 * fc-case/Makefile.am:
1112 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1113 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1114 (dump), (parseRaw), (caseFoldReadRaw), (main):
1115 * fc-case/fccase.tmpl.h:
1116 Add new helper program 'fc-case' to construct case folding
1117 tables from standard Unicode CaseFolding.txt file
1120 * src/fclist.c: (FcListValueHash):
1121 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1122 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1123 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1124 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1125 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1126 Re-implement case insensitive functions with Unicode
1127 aware versions (including full case folding mappings)
1129 2004-12-13 Keith Packard <keithp@keithp.com>
1131 reviewed by: Owen Taylor <otaylor@redhat.com>
1133 * src/fcmatch.c: (FcFontSetSort):
1134 I changed FcFontSetSort to respect the generic aliases better
1135 in the face of language matching.
1137 What I did was to ammend the strict sort order used by FcFontSort so
1138 that it 'satisfies' the language specified in the pattern by locating
1139 the best matching font supporting each pattern language and then
1140 ignores language in the remaining fonts for purposes of matching.
1142 So, when asking for 'sans:lang=en', you'll get an English font first,
1143 and then the remaining fonts sorted with respect to the 'sans' alias
1144 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1146 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1148 reviewed by: Keith Packard <keithp@keithp.com>
1150 * fontconfig/fontconfig.h:
1153 Configuration changes to request synthetic emboldening of
1154 fonts. The actual emboldening code will live in Xft.
1156 2004-12-09 John Thacker <thacker@math.cornell.edu>
1158 reviewed by: Keith Packard <keithp@keithp.com>
1162 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1163 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1164 и), and don't even appear in KOI8-R. (The hypothesis that they
1165 don't appear in KOI8-R due to their similarity with Latin I and i is
1166 eliminated by their presence in KOI8-U.) I have a couple of fonts
1167 with Russian support that don't have the letter.
1169 Therefore, 0406 and 0456 should be removed from or commented out of
1172 2004-12-06 michael meeks <mmeeks@novell.com>
1174 Reviewed by: Keith Packard <keithp@keithp.com>
1176 * src/fcinit.c: (FcMemReport):
1178 * src/fclist.c: (FcObjectSetAdd):
1179 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1180 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1181 * src/fcxml.c: (FcParsePatelt):
1182 memoize strings and share a single copy for all uses. Note that
1183 this could be improved further by using statically allocated blocks
1184 and gluing multiple strings together, but I'm basically lazy.
1185 In my environment with 800 font files, I get a savings of about 90KB.
1187 2004-12-06 Keith Packard <keithp@keithp.com>
1191 * config/Makedefs.in:
1194 * doc/fcatomic.fncs:
1195 * doc/fcblanks.fncs:
1196 * doc/fccharset.fncs:
1197 * doc/fcconfig.fncs:
1198 * doc/fcconstant.fncs:
1200 * doc/fcfontset.fncs:
1201 * doc/fcfreetype.fncs:
1203 * doc/fcmatrix.fncs:
1204 * doc/fcobjectset.fncs:
1205 * doc/fcobjecttype.fncs:
1206 * doc/fcpattern.fncs:
1207 * doc/fcstring.fncs:
1208 * doc/fcstrset.fncs:
1210 * doc/fontconfig-devel.sgml:
1211 * doc/fontconfig-user.sgml:
1213 * doc/version.sgml.in:
1214 * fc-cache/Makefile.am:
1215 * fc-cache/fc-cache.c:
1216 * fc-glyphname/Makefile.am:
1217 * fc-glyphname/fc-glyphname.c:
1218 * fc-glyphname/fcglyphname.tmpl.h:
1219 * fc-lang/Makefile.am:
1229 * fc-lang/az_ir.orth:
1263 * fc-lang/fc-lang.c:
1264 * fc-lang/fc-lang.man:
1265 * fc-lang/fclang.tmpl.h:
1310 * fc-lang/ku_ir.orth:
1343 * fc-lang/ps_af.orth:
1344 * fc-lang/ps_pk.orth:
1373 * fc-lang/ti_er.orth:
1374 * fc-lang/ti_et.orth:
1400 * fc-lang/zh_cn.orth:
1401 * fc-lang/zh_hk.orth:
1402 * fc-lang/zh_mo.orth:
1403 * fc-lang/zh_sg.orth:
1404 * fc-lang/zh_tw.orth:
1406 * fc-list/Makefile.am:
1407 * fc-list/fc-list.c:
1408 * fc-match/Makefile.am:
1409 * fc-match/fc-match.1:
1410 * fc-match/fc-match.c:
1411 * fontconfig/fcfreetype.h:
1412 * fontconfig/fcprivate.h:
1413 * fontconfig/fontconfig.h:
1434 Change files from ISO-Latin-1 to UTF-8
1436 2004-12-04 Keith Packard <keithp@keithp.com>
1439 Update links to new freedesktop.org locations
1441 Add uninstall-local to get rid of fonts.conf and local.conf if they
1442 match the distributed versions. Fixes 'make distcheck'
1444 2004-12-04 Keith Packard <keithp@keithp.com>
1448 * fontconfig/fontconfig.h:
1449 Updates for version 2.2.97
1451 2004-12-04 Owen Taylor <otaylor@redhat.com>
1453 reviewed by: Keith Packard <keithp@keithp.com>
1455 * fc-cache/fc-cache.c: (main):
1456 Sleep for two seconds before exiting to make sure timestamps
1457 for future changes have distinct mod times in the file system.
1460 Add Punjabi orthography. Bug #1671.
1462 2004-12-04 Keith Packard <keithp@keithp.com>
1465 Just remove the FC_FONTDATE -- it has locale issues and
1466 annoys redhat multi-arch installs. Now that all X fonts are
1467 included without prejudice, the chances of the date being at
1468 all interesting are rather limited. Bug #505.
1470 Add copyright and license
1472 2004-12-04 Keith Packard <keithp@keithp.com>
1475 Change default set of fonts to include all of
1476 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1477 * doc/fontconfig-user.sgml:
1478 Document new <include>directory-name</include> semantics
1480 add <include ignore_missing="yes">conf.d</include>
1482 Add selectfont to ignore bitmap fonts, add comment for
1483 selectfont which accepts bitmap fonts.
1486 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1487 Allow <include> configuration elements to reference directories.
1488 Parse and load all files of the form [0-9]* in sorted order.
1490 2004-12-04 Keith Packard <keithp@keithp.com>
1493 Report command line for $srcdir/configure accurately.
1496 2004-12-04 Keith Packard <keithp@keithp.com>
1498 * src/fcfreetype.c: (FcFreeTypeQuery):
1499 Check for non-empty face->family_name and face->style_name
1500 before using those for the font. Empty names match everything.
1503 2004-12-04 Keith Packard <keithp@keithp.com>
1506 * fontconfig/fontconfig.h:
1507 * src/fcfreetype.c: (FcFreeTypeQuery):
1509 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1510 available. This provides font file format information (BDF, Type 1,
1511 PCF, TrueType) for each font. Closes #109.
1513 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1515 reviewed by: Keith Packard <keithp@keithp.com>
1517 * doc/fontconfig-user.sgml:
1520 * fontconfig/fontconfig.h:
1521 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1522 (GetScriptTags), (FcFontCapabilities):
1524 Add detection for font capabilities (bug #105)
1526 2004-12-04 Keith Packard <keithp@keithp.com>
1529 Move existing fonts.conf to fonts.conf.bak
1532 Add detection of iconv
1534 * doc/fcpattern.fncs:
1535 * doc/fontconfig-devel.sgml:
1536 * doc/fontconfig-user.sgml:
1538 Document new selectfont elements
1541 Switch to UTF-8 in comment
1543 * fontconfig/fontconfig.h:
1545 Add fullname, and family/style/fullname language entries
1547 * src/fccache.c: (FcCacheFontSetAdd):
1548 * src/fcdir.c: (FcFileScanConfig):
1549 Respect selectfont/*/glob
1552 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1553 (FcConfigCompareValue), (FcConfigPatternsAdd),
1554 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1555 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1556 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1557 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1558 Add support for selectfont
1560 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1561 (FcStringInPatternElement), (FcFreeTypeQuery):
1562 Add multi-lingual family/style/fullname support
1564 * src/fclist.c: (FcListPatternMatchAny):
1565 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1567 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1568 (FcObjectStaticName):
1569 Add new FcPatternRemove/FcPatternAppend.
1570 FcObjectStaticName stores computed pattern element names which
1571 are required to be static.
1573 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1578 Remove spurious / after $(DESTDIR)
1580 2004-06-30 Keith Packard <keithp@keithp.com>
1584 * fontconfig/fontconfig.h:
1587 2004-06-30 Keith Packard <keithp@keithp.com>
1589 Provided by: Lubos Lunak <l.lunak@suse.cz>
1591 * src/fccfg.c: (FcConfigUptoDate):
1592 However FcConfigUptoDate() doesn't seem to work. See the attached
1593 patch. First there's an obvious misplaced parenthesis making it
1594 return always false, and second, even this call fails to detect font
1595 changes (e.g. adding a new font to
1596 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1597 well. The problem seems to be triggered by my fonts.conf specifying
1598 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1599 doesn't include subdirs, unlike config->fontDirs.
1601 2004-06-03 Keith Packard <keithp@keithp.com>
1603 * fontconfig/fontconfig.h:
1604 Remove comma at end of FcResult enum definition.
1606 2004-05-29 Keith Packard <keithp@keithp.com>
1609 Add steps to md5sum release
1611 2004-05-29 Keith Packard <keithp@keithp.com>
1615 * fontconfig/fontconfig.h:
1618 2004-05-29 Keith Packard <keithp@keithp.com>
1620 * fontconfig/fontconfig.h:
1621 * src/fcmatch.c: (FcFontSetMatch):
1622 Add FcResultOutOfMemory to provide an accurate error when
1623 FcFontSetMatch fails in this way
1626 Make #warning about lacking various FreeType features indicate
1627 which version those features appeared so users know how to
1628 fix the problem (Thanks to Anton Tropashko)
1630 2004-05-05 Keith Packard <keithp@keithp.com>
1632 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1633 Replace MIN/MAX/ABS macros which happen to have come
1634 from FreeType with fontconfig-specific ones (FC_*)
1636 2004-04-23 Keith Packard <keithp@keithp.com>
1639 Extend release preparation instructions to include
1640 notification and distribution steps
1642 2004-04-23 Keith Packard <keithp@keithp.com>
1646 * fontconfig/fontconfig.h:
1647 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1649 2004-04-23 Keith Packard <keithp@keithp.com>
1652 Ignore a few more autotool files
1654 2004-04-14 Keith Packard <keithp@keithp.com>
1657 Add instructions for doing a release
1659 * fontconfig.spec.in:
1660 clean up .spec file; perhaps this will be useful to somebody...
1664 * fontconfig/fontconfig.h:
1667 * fc-lang/fc-lang.c:
1668 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1670 * fc-glyphname/Makefile.am:
1671 * fc-lang/Makefile.am:
1672 * fc-list/Makefile.am:
1673 * fc-match/Makefile.am:
1675 Add WARN_CFLAGS to pass -W flags for GCC systems
1677 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1678 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1679 Change various char types around to match across
1681 Fixed bug in using available_sizes[i].height which
1682 is in pixels, not 64ths of a pixel.
1684 2004-03-06 Keith Packard <keithp@keithp.com>
1686 * src/fcfreetype.c: (FcFreeTypeQuery):
1687 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1688 matches looking for explicit values prefer exact matches
1690 2004-03-02 Keith Packard <keithp@keithp.com>
1692 Supplied by: mfabian@suse.de (Mike FABIAN)
1694 * src/fcfreetype.c: (FcFreeTypeQuery):
1695 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1696 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1698 2004-02-21 Manish Singh <yosh@gimp.org>
1700 * fc-glyphname/fc-glyphname.c: (main):
1701 Cast strlen to int for printf, so we're 64-bit clean.
1703 2004-02-11 Keith Packard <keithp@keithp.com>
1706 * src/fcfreetype.c: (FcGetPixelSize):
1707 Ok, so I messed up the test for y_ppem. Let's see if I
1708 got it right this time.
1710 2004-02-10 Keith Packard <keithp@keithp.com>
1713 * src/fcfreetype.c: (FcGetPixelSize):
1714 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1715 FT_Bitmap_Size record. Add a configure.in test for this
1716 and change the code accordingly (using height instead).
1718 2004-02-06 Keith Packard <keithp@keithp.com>
1721 Add Low Saxon orthography
1722 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1724 * src/fccfg.c: (FcConfigNewestFile):
1725 Oops. Left 'newest.set' unset, which would miscompute
1728 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1729 (FcFreeTypeCheckGlyph):
1730 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1731 font properties (which report the wrong value in current FreeType)
1733 Don't attempt to check for empty glyphs in non-scalable fonts; they
1736 2004-02-01 Tor Lillqvist <tml@iki.fi>
1738 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1739 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1740 cache if config->cache is NULL, which happens if FcConfigHome() is
1741 NULL. Guard against that by using the temp folder in that case.
1743 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1745 * fc-lang/az_ir.orth:
1746 * fc-lang/ku_ir.orth:
1747 * fc-lang/ps_af.orth:
1748 * fc-lang/ps_pk.orth:
1749 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1750 (Afghan and Pakistani).
1752 Updated Urdu orthography with real data.
1754 2003-12-11 Carl Worth <cworth@east.isi.edu>
1756 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1759 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1761 (all-local): Remove excessive whitespace.
1763 * autogen.sh: Add 'set -e' to abort when any program fails,
1764 (avoids printing of 'now type make' after configure aborts).
1766 2003-11-17 Eric Christopherson <rakko@charter.net>
1768 reviewed by: Keith Packard <keithp@keithp.com>
1771 * fontconfig/fcfreetype.h:
1773 Switch to FreeType 2.1.7 style includes. Bug #150.
1775 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1777 * fc-list/fc-list.sgml: Add some example usages.
1779 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1782 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1785 2003-10-27 Keith Packard <keith@keithp.com>
1788 * fontconfig/fontconfig.h:
1789 Update to version 2.2.92
1791 2003-10-27 Keith Packard <keithp@keithp.com>
1796 * fc-cache/Makefile.am:
1797 * fc-glyphname/Makefile.am:
1798 * fc-lang/Makefile.am:
1799 * fc-list/Makefile.am:
1800 * fc-match/Makefile.am:
1803 Yet more cleanups to finish getting 'make distcheck' working
1804 This has been tested to ensure that it even works from a _build
1807 2003-10-26 Keith Packard <keithp@keithp.com>
1811 * fc-cache/Makefile.am:
1812 * fc-glyphname/Makefile.am:
1813 * fc-lang/Makefile.am:
1814 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1815 * fc-list/Makefile.am:
1816 * fc-match/Makefile.am:
1817 Attempts to fix 'make distcheck' work. Things are
1818 progressing pretty well, but there are still failures
1819 long into the process dealing with docs (as always).
1821 The big changes here are mostly to make $(srcdir) != "."
1822 work correctly, fixing the docbook related sections and
1823 fc-lang were particularily tricky. Docbook refuses to load
1824 system entities from anywhere other than where the original .sgml
1825 file was located, so no luck looking in "." for the
1826 configure-generated version.sgml and confdir.sgml files.
1828 fc-lang needed help finding .orth files; added a -d option
1829 to set the directory as the least evil of many options.
1831 Now to go use a faster machine and try and wring out the last
1834 2003-10-26 Keith Packard <keithp@keithp.com>
1838 2003-10-26 Keith Packard <keithp@keithp.com>
1841 Include confdir.sgml.in in EXTRA_DIST
1843 2003-10-09 Josselin Mouette <joss@debian.org>
1845 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1846 * fc-list/fc-list.sgml fc-list/Makefile.am:
1847 Replace fc-cache and fc-list manpages with more detailed, SGML
1850 2003-09-23 Owen Taylor <otaylor@redhat.com>
1852 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1853 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1854 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1857 2003-09-23 Owen Taylor <otaylor@redhat.com>
1859 * fc-lang/ka.orth: Remove Georgian capitals, they
1860 aren't used for normal writing. (Bug #116)
1862 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1864 * doc/fontconfig-devel.sgml:
1865 * doc/fontconfig-user.sgml:
1866 * fontconfig/fontconfig.h:
1868 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1869 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1871 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1872 monospace and dual-width fonts, allow roughly a 3% variance in the
1875 2003-08-31 Manish Singh <yosh@gimp.org>
1877 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1880 2003-08-15 Carl Worth <cworth@isi.edu>
1882 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1883 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1885 * src/fcpat.c (FcValueListEntDestroy): New function to support
1886 FcFini memory cleanup. Some statistics are not kept in
1888 (FcValueListFreeze): Move hashTable outside this function so it
1889 can be accessed by FcValueListThawAll.
1890 (FcValueListThawAll): New function complements FcValueListFreeze.
1891 (FcPatternBaseFreeze): Move hashTable outside this function so it
1892 can be accessed by FcPatternBaseThawAll.
1893 (FcPatternBaseThawAll): New function complements
1894 FcPatternBaseFreeze.
1895 (FcPatternThawAll): New function complements FcPatternFreeze.
1897 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1899 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1900 allocated FcCharLeafEnt "blocks" so they can be freed later.
1901 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1902 can be accessed by FcCharSetThawAllLeaf.
1903 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1904 (FcCharSetFreezeBase): Move hashTable outside this function so it
1905 can be accessed by FcCharSetThawAll.
1906 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1908 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1909 (FcConfigDestroy): Fic leak of FcBlanks.
1911 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1912 (main): Add call to FcFini when finished.
1914 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1915 static. Add prototypes.
1917 * doc/fcinit.fncs: Add documentation for FcFini function.
1919 * doc/edit-sgml.c: Mark several local functions as static. Add
1922 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1924 2003-06-15 Tor Lillqvist <tml@iki.fi>
1926 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1927 before comparing (needed on Windows).
1929 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1931 2003-06-13 Tor Lillqvist <tml@iki.fi>
1933 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1936 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1937 WINDOWSFONTDIR token.
1939 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1940 end, not to confuse libtool, which expects the EXPORTS line to be
1941 the first. Add FcConfigEnableHome.
1943 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1944 built as a DLL on Win32.
1946 2003-06-09 Keith Packard <keithp@keithp.com>
1948 * Tag version 2.2.90
1950 2003-06-09 Keith Packard <keithp@keithp.com>
1952 * Optimization in FcLangSetIndex was broken, occasionally
1953 returning a pointer to the wrong location on miss
1955 * Add fc-match to test font matching from the command line.
1957 2003-05-31 Keith Packard <keithp@keithp.com>
1959 * (Bug 85) add support for culmus fonts
1960 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1961 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1963 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1965 * Fix "contains" op for strings and langsets.
1967 2003-05-17 Keith Packard <keithp@keithp.com>
1969 * Fix build error with BDF prop local. Free langset after query
1971 2003-05-14 Keith Packard <keithp@keithp.com>
1973 * Extract spacing from XLFD atom
1975 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1977 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1978 disappeared in 1.30.
1980 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1982 2003-05-12 Keith Packard <keithp@keithp.com>
1984 * Use FcIsWidth to share code
1986 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1987 misclassifying some Han fonts as monospaced.
1989 2003-05-07 Keith Packard <keithp@keithp.com>
1991 * Add filename-based accept/reject to ammend available fonts.
1993 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1994 older FreeType releases.
1996 2003-05-06 Keith Packard <keithp@keithp.com>
1998 * Remove 0b82 and Tamil numbers from tamil
1999 orthography (Jungshik Shin <jshin@mailaps.org>)
2001 2003-05-04 Keith Packard <keithp@keithp.com>
2003 + Map glyph names in fonts with adobe custom encoding to unicode
2005 2003-05-02 Keith Packard <keithp@keithp.com>
2007 * Add FC_WEIGHT_BOOK as weight 75
2009 2003-04-30 Keith Packard <keithp@keithp.com>
2011 * Typo in bitstream foundry name
2013 2003-04-24 Keith Packard <keithp@keithp.com>
2015 * Eliminate italic_angle check for PS fonts
2017 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2019 * Getting closer to fixing /etc/fonts hard-coding.
2021 2003-04-22 Keith Packard <keithp@keithp.com>
2023 * Update autogen.sh to work with newer automake versions
2024 * Handle pattern elements moving during multiple edits
2026 2003-04-23 James Henstridge <james@daa.com.au>
2028 * doc/fontconfig-devel.sgml: close the <para> element.
2030 * doc/fcpattern.fncs: close the <para> element.
2032 * doc/func.sgml: close the <refsynopsisdiv> element.
2034 2003-04-22 Keith Packard <keithp@keithp.com
2036 * Update autogen.sh to work with newer automake versions
2037 * Handle pattern elements moving during multiple edits
2039 2003-04-17 Colin Walters <walters@debian.org>
2041 + Remove some unused variables, and initialize some other ones so
2042 gcc doesn't warn us.
2044 2003-04-16 Keith Packard <keithp@keithp.com>
2046 + tag version 2.1.94
2048 2003-04-16 Keith Packard <keithp@keithp.com>
2050 + add BDF property fetching support for foundry
2051 (from Juliusz Chroboczek)
2052 + add BDF property fetching support for width
2054 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2056 + Implemented foundry generation for Type 1 and TrueType
2058 2003-04-11 Gerard Escalante <g2@magestudios.net>
2060 + Retrieve information from Type1 FontInfo dictionaries
2062 2003-04-07 Colin Walters <walters@verbum.org>
2064 + src/Makefile.am: Fix dummy makefile target names when
2065 MS_LIB_AVAILABLE isn't set.
2067 2003-03-22 Tor Lillqvist <tml@iki.fi>
2069 Changes for Windows:
2071 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2073 + We don't want to hardcode the fonts.conf file location in the
2074 DLL, so we look up the DLL location at run-time in a DllMain()
2075 function. The fonts.conf location is deduced from that.
2077 + The colon can't be used as path separator on Windows,
2078 semicolon is used instead. File path components can be separated
2079 with either slash or backslash. Absolute paths can also begin
2080 with a drive letter.
2082 + Add internal function FcStrLastSlash that strrchr's the last
2083 slash, or backslash on Windows.
2085 + There is no link() on Windows. For atomicity checks, mkdir a
2086 lock directory instead.
2088 + In addition to HOME, also look for USERPROFILE.
2090 + Recognize the special font directory token WINDOWSFONTDIR, to
2091 use the system's font directory.
2093 + Remove the fontconfig-def.cpp that was obsolete. Add
2094 fontconfig.def(.in), without internal functions.
2096 + Add a fontconfig-zip(.in) script, used to build a binary
2099 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2100 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2101 to main package and man3/* to devel package
2103 + Added missing defattr(-, root, root) to main RPM package
2105 + Added HTML and text development documentation to -devel subpackage
2107 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2108 + Added back the configure macro options --disable-docs, otherwise
2109 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2110 version number) unconditionally, causing RPM to fail the build due
2111 to _unpackaged_files_terminate_build. We pick up the pregenerated
2112 docs with %doc already.
2114 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2115 + Removed commented out rpm macro define at top of spec file,
2116 replacing it with a simple explanation, since rpm macros are
2117 expanded by rpm even in comments.
2119 + Changed /usr/bin to _bindir in BuildRequires lines
2121 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2123 + Reorganized file manifest lists
2125 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2127 + fontconfig.spec.in: Improvements from Red Hat spec file.
2129 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2131 + docs/*.sgml: SGML fixes.
2133 Sat Mar 1 17:28:53 PST 2003 keithp
2134 + Ok, so the ChangeLog is a bit out of date
2136 + Lots of bugs fixed; most are in bugzilla, the
2137 biggest problems were in cache management where
2138 Owen discovered the library would lose badly when
2139 combining fonts-cache and ~/.fonts-cache data
2141 + Converted from autoconf to automake. This after
2142 getting patches accepted into libtool to allow
2143 the '-version-number' argument which lets
2144 packages set version numbers explicitly rather
2145 than the roundabout libtool way
2147 + Converted documentation to SGML using the docbook
2148 DTD. Now .txt and .html documents are installed
2149 in /usr/share/doc/fontconfig and there's no
2150 man page. Perhaps a man version can be written
2153 Sat Aug 31 15:21:22 PDT 2002 keithp
2154 + Xrender and Xft had several bugs related to
2155 rendering manually placed or poly-face text
2157 + Added more complete memory tracing in fontconfig
2158 Checked with (patched) mozilla and found no leaks
2160 + Updated Latin orthographies by comparing those from
2161 evertype.com with those from eki.ee. Tried to make
2162 sensible choices, including chars that occured in both
2163 and leaving some optional chars out that occured only
2166 Mon Aug 26 16:33:04 PDT 2002 keithp
2167 + Owen discovered that FcLangSetHasLang wasn't actually
2168 checking the language set.
2170 Mon Aug 26 13:37:23 PDT 2002 keithp
2171 + Append a version number to cache filenames
2173 Thu Aug 22 11:36:18 PDT 2002 keithp
2175 + Add "contains" and "not_contains" operators and elements to
2178 + Changed semantics of eq operator for LangSets to check for
2179 FcLangEqual so that any match will do
2181 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2182 of FcValueEqual to check for identical values when inserting into
2183 the results. This broke when the above semantic change was made,
2184 now it uses FcValueEqual which is "more correct" in any case.
2186 Thu Aug 22 00:32:29 PDT 2002 keithp
2188 + Reimplement FC_LANG as new datatype. Lists of strings
2189 was consuming over a megabyte of memory for 401 fonts.
2191 + Freeze patterns loaded from cache files. This shares
2192 common value lists and common patterns which saves
2193 considerable memory.
2195 + Change the denotation of 'constant' charsets to use special
2196 ref value instead of separate boolean.
2198 + Clean up leak tracing stuff, found several unannoted alloc/free
2201 Tue Aug 20 16:17:37 PDT 2002 keithp
2203 + Fix memory leak when parsing matrices from XML
2205 Mon Aug 19 11:57:27 PDT 2002 keithp
2207 + Fix autoconf files to pass FONTCONFIG_PATH on
2208 compile line so that ${prefix} gets substituted
2211 + Use getc_unlocked/putc_unlocked on systems that
2212 provide them to avoid damage done to stdio by posix
2214 + Eliminate FC_PATTERN and FcTypePattern in favor of
2215 an extended api for FcConfigSubstitute which takes
2216 both the font and the pattern.
2218 + Add 'sans serif' alias for 'sans-serif' as some apps
2219 can't handle hyphens in family names
2221 + Eliminate pretense of support for libxml2
2223 + Comment origins of Han orthographies
2225 Tue Jul 30 18:37:09 PDT 2002 keithp
2227 + Add binding property to edit element so that strong
2228 binding values may be inserted by the config file.
2229 The default remains weak.
2231 Sun 28 Jul 04:16:55 PDT 2002 keithp
2233 + Tagged release candidate 1 in the CVS tree and
2234 placed fcpackage.rc1.tar.gz for distribution
2236 Thu Aug 1 08:55:08 PDT 2002 keithp
2238 + Fixed autoconf builds to always specify install
2239 target files (for BSD). Also fixed to
2240 define FONTCONFIG_PATH in config.h so that
2241 nonstandard installs will actually work.