]> git.wh0rd.org - fontconfig.git/blob - ChangeLog
Inline the *PtrU functions to gain perf. Remove unneeded params for the
[fontconfig.git] / ChangeLog
1 2005-11-24 Dirk Mueller <dmueller@suse.com>
2 reviewed by: plam
3
4 * src/fcint.h:
5 * src/fcmatch.c (FcCompare*, FcFontSetSort):
6 * src/fcname.c (FcNameUnparseValue):
7
8 Inline the *PtrU functions to gain perf.
9 Remove unneeded params for the FcCompare* functions.
10
11 2005-11-24 Dirk Mueller <dmueller@suse.com>
12 reviewed by: plam
13
14 * src/fcint.h, fontconfig/fontconfig.h:
15
16 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
17
18 * src/fcpat.c, src/fcint.h, src/fcname.c:
19
20 Check for type validity during FcPatternAddWithBinding, don't
21 verify type in FcFontMatch, don't call FcCanonicalize here
22 (which always does a deep copy).
23
24 2005-11-24 Dirk Mueller <dmueller@suse.com>
25 reviewed by: plam
26
27 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
28 * src/fcpat.c (FcPatternAddWithBinding):
29
30 Make FcCompareString and FcCompareFamily less expensive.
31 Only add a value for FC_FAMILY if the proposed value is a string.
32
33 2005-11-24 Dirk Mueller <dmueller@suse.com>
34 reviewed by: plam
35
36 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
37 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
38 * src/fcint.h (FcDebug):
39
40 Inline FcDebug invocations and only initialize once, in FcInit*.
41 Improve debug msg in FcPatternPrint.
42
43 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
44 reviewed by: plam
45
46 * fontconfig/fontconfig.h:
47 * fc-cat/fc-cat.c:
48
49 Minor code warning cleanups.
50
51 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
52 reviewed by: plam
53
54 * fc-match/fc-match.c (main):
55
56 Make getopt_long accept -s parameter to fc-match as well.
57
58 2005-11-21 Dirk Mueller <dmueller@suse.com>
59 reviewed by: plam
60
61 * src/fcmatch.c (FcCompareValueList):
62
63 Manually perform inlining & partial redundancy elimination to
64 reduce calls to FcValueListPtrU.
65
66 2005-11-21 Dirk Mueller <dmueller@suse.com>
67 reviewed by: plam
68
69 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
70 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
71
72 Only invoke strlen() when really necessary.
73
74 2005-11-19 Matthias Clasen <mclasen@redhat.com>
75 reviewed by: plam
76
77 * src/Makefile.am:
78 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
79 FcFontCapabilities):
80 * src/ftglue.c:
81 * src/ftglue.h:
82
83 Get rid of the use of freetype internal headers in fcfreetype.c,
84 since those headers will go away with freetype 2.2. Replace with
85 public domain ftglue code from pango. Note that the patch removes
86 some extra error checking in FT_Get_BDF_Property() and comments
87 out the skipping of empty pcf fonts.
88
89 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
90 reviewed by: plam
91
92 * fc-lang/fc-lang.c (main):
93
94 Further fix of patch from 2005-11-04: miscounted numbers count
95 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
96 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
97
98 Removed leafidx_count and numbers_count since they are the same
99 and replaced them with offset_count.
100
101 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
102 reviewed by: plam
103
104 * fc-cat/fc-cat.c (main):
105
106 Don't crash when fc-cat invoked with no arguments.
107
108 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
109 reviewed by: plam
110
111 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
112
113 Fix invalid read access caused by premature free and
114 GCC4 warnings in libxml2 codepath.
115
116 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
117 reviewed by: plam
118
119 * src/fccfg.c (FcConfigValues):
120
121 List iteration not needed in FcConfigValues, since it's building
122 up the list itself; we can just strip FcVoid elements during
123 construction.
124
125 2005-11-17 Patrick Lam <plam@mit.edu>
126 * src/fccfg.c (FcConfigValues):
127
128 Fix crash on invalid constants in config files (forgot to update
129 a pointer upon list iteration.)
130
131 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
132 reviewed by: plam
133
134 * src/fcxml.c (FcTypecheckExpr):
135
136 Complain about invalid constants in config files.
137
138 2005-11-17 Andreas Schwab <schwab@suse.de>
139 reviewed by: plam
140
141 * src/fccache.c (FcGlobalCacheSave):
142
143 Don't add current_arch_start more than once.
144
145 2005-11-16 Patrick Lam <plam@mit.edu>
146 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
147 * src/fcfs.c (FcFontSetUnserialize):
148 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
149 * src/fcpat.c (FcStrUnserialize):
150
151 Fix ordering of ALIGN with respect to saving block_ptr; add
152 another ALIGN to fcfs.c.
153
154 2005-11-16 Patrick Lam <plam@mit.edu>
155 * src/fccache.c (FcDirCacheProduce)
156
157 Fix case where alignment bytes bumped up metadata->count
158 causing unwarranted failures to write cache files.
159 (Reported by Stephan Kulow).
160
161 2005-11-16 Patrick Lam <plam@mit.edu>
162 * src/fccache.c (FcDirCacheProduce):
163 * src/fccharset.c (FcCharSetDistributeBytes):
164 * src/fcfs.c (FcFontSetDistributeBytes):
165 * src/fcint.h:
166 * src/fclang.c (FcLangSetDistributeBytes):
167 * src/fcname.c (FcObjectDistributeBytes):
168 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
169 FcStrNeededBytes):
170
171 Add *NeededBytesAlign(), which overestimates the padding which is
172 later added by the new ALIGN macro. Fix alignment problems on
173 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
174 version by Andreas Schwab).
175
176 2005-11-16 Stephan Kulow <coolo@kde.org>
177 reviewed by: plam
178
179 * src/fccache.c:
180
181 Use sysconf to determine proper PAGESIZE value; this
182 appears to be POSIX-compliant. (reported by Andreas Schwab)
183
184 2005-11-04 Patrick Lam <plam@mit.edu>
185 * fc-lang/fc-lang.c:
186 * src/fccharset.c:
187 * src/fcint.h:
188 * src/fclang.c:
189
190 Fix bug 2878 (excessive relocations at startup for charsets,
191 reported by Ross Burton): fc-lang/fc-lang now creates the
192 static form of the langset, not the dynamic form, so that
193 the charsets should now be in .rodata.
194
195 2005-11-04 Patrick Lam <plam@mit.edu>
196 * src/fcdir.c (FcDirScanConfig):
197
198 Add test for validity of directory caches that
199 somehow got lost (reported by make distcheck).
200
201 2005-11-04 Patrick Lam <plam@mit.edu>
202 * ChangeLog:
203 * README:
204 * configure.in:
205 * fontconfig/fontconfig.h:
206
207 Bump version to 2.3.92.
208
209 2005-11-02 Patrick Lam <plam@mit.edu>
210 * src/fcpat.c (FcPatternDuplicate):
211
212 Fix argument ordering problem in call to FcPatternTransferFullFname.
213
214 2005-11-02 Patrick Lam <plam@mit.edu>
215 * src/fcfreetype.c (FcFreetypeQuery):
216 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
217 FcPatternTransferFullFname):
218
219 Fix warnings and embarrassing double-free error.
220
221 2005-11-02 Zhe Su <zsu@novell.com>
222 reviewed by: plam
223
224 * fonts.conf.in:
225
226 Change the rule for artificial emboldening in fonts.conf.in. This
227 enables the support for artificial emboldening included in cairo.
228
229 2005-11-02 Patrick Lam <plam@mit.edu>
230 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
231
232 Don't zero out full names for FC_REF_CONSTANT fonts;
233 also, duplicate full names when transferring, and free
234 full names when freeing the associated font.
235 Reported by Jinghua Luo.
236
237 2005-11-02 Patrick Lam <plam@mit.edu>
238 * fc-cache/fc-cache.c (scanDirs):
239 * src/fcpat.c (FcValueListSerialize):
240
241 Revert the previous patch and commit the correct patch:
242 I forgot a canonicalization in FcValueListSerialize, so
243 that it would choke on already-serialized input files. Duh!
244
245 2005-11-02 Patrick Lam <plam@mit.edu>
246 * fc-cache/fc-cache.c (scanDirs):
247
248 Forcibly rescan a directory before writing a fresh local
249 cache file for that directory, fixing the losing-fonts
250 problem reported by Mike Fabian and also apparently the
251 font cache file corruption.
252
253 2005-11-02 Patrick Lam <plam@mit.edu>
254 * src/fccache.c (FcGlobalCacheLoad):
255
256 Fix thinko: actually, the whole global cache is stale
257 if the global cache is older than the (newest) config file.
258
259 2005-11-02 Patrick Lam <plam@mit.edu>
260 * src/fccache.c (FcGlobalCacheLoad):
261 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
262 * src/fcint.h:
263
264 Declare the global cache of a directory's contents to be stale if
265 the directory is newer than the (newest) configuration file.
266
267 2005-10-31 Patrick Lam <plam@mit.edu>
268 * src/fcint.h:
269 * src/fclist.c (FcListAppend):
270 * src/fcmatch.c (FcFontRenderPrepare):
271 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
272 FcPatternFreeze, FcPatternBaseFreeze):
273
274 Copy the full pathname whenever duplicating an FcPattern; otherwise,
275 applications continue breaking.
276
277 2005-10-31 Patrick Lam <plam@mit.edu>
278 * fc-cat/fc-cat.c (FcCacheFileRead, main):
279 * src/fcfreetype.c (FcFreeTypeQuery):
280
281 Fix small memory error (tried to free argv); use basename and
282 dirname correctly (they can modify their arguments).
283
284 2005-10-31 Patrick Lam <plam@mit.edu>
285 * fc-cat/fc-cat.c:
286 * src/fccache.c:
287 * src/fcfreetype.c:
288 * src/fcint.h:
289 * src/fclist.c:
290 * src/fcpat.c:
291
292 Reinstate basename patch, but keep a hash table linking FcPatterns
293 to their fully-qualified font names for clients' benefit. Clients
294 only pay for the font names once they request the FC_FILE property
295 from an FcPattern, but the font name is malloc'd at that point (i.e.
296 not mmapped: that's impossible, since it may vary between machines.)
297 Clients do have to pay for a copy of the path name per cache file.
298
299 Note that FcPatternGetString now does some rewriting if you ask
300 for an FC_FILE, appending the pathname as appropriate.
301
302 2005-10-31 Patrick Lam <plam@mit.edu>
303 * src/fcfreetype.c (FcFreeTypeQuery):
304
305 Revert basename patch, which breaks fontconfig clients on my system.
306
307 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
308 reviewed by: plam
309
310 * fontconfig/fonts.conf.in:
311 * fontconfig/fontconfig.h:
312 * src/fcdefault.c:
313 * src/fcname.c:
314
315 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
316 to load embedded bitmaps or not.
317
318 2005-10-25 Patrick Lam <plam@mit.edu>
319 * src/fcfreetype.c (FcFreeTypeQuery):
320
321 Only add basename to patterns' FC_FILE element, not any part of
322 the dirname.
323
324 2005-10-22 Patrick Lam <plam@mit.edu>
325 * src/fcfreetype.c:
326
327 Add some more consts, fixing more GCC4 warnings.
328
329 2005-10-22 Zhe Su <zsu@novell.com>
330 reviewed by: plam
331
332 Support localized font family and style names.
333 This has been reported to break old apps like xfd, but modern
334 (gtk+/qt/mozilla) apps work fine.
335
336 2005-10-21 Patrick Lam <plam@mit.edu>
337 * src/fccache.c (FcGlobalCacheLoad):
338
339 Destroy the global cache file if it's terminally broken. (reported by
340 Mike Fabian)
341
342 2005-10-21 Patrick Lam <plam@mit.edu>
343 * fc-list/fc-list.c (main):
344 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
345 * fontconfig/fontconfig.h:
346
347 Prevent fc-list from escaping strings when printing them (reported by
348 Matthias Clasen).
349
350 2005-10-20 Marcus Meissner <meissner@suse.de>
351 reviewed by: plam
352
353 * fontconfig/fontconfig.h:
354
355 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
356
357 2005-10-14 Ross Burton <ross@burtonini.com>
358 reviewed by: plam
359
360 * fc-glyphname/fc-glyphname.c:
361 * src/fclang.c:
362
363 Add consts to variables so as to move arrays into .rodata.
364
365 2005-10-14 Mike Fabian <mfabian@suse.de>
366 reviewed by: plam
367
368 * src/fccache.c (FcDirCacheUnlink):
369
370 Check existence of directory cache file before attempting to unlink.
371
372 2005-10-13 Patrick Lam <plam@mit.edu>
373 * src/fccache.c (FcDirCacheUnlink):
374
375 Fix flipped return value on unlink. (Reported by Mike Fabian)
376
377 2005-10-12 Patrick Lam <plam@mit.edu>
378
379 * src/fccache.c:
380 * src/fcdir.c (FcDirScanConfig):
381 * src/fcint.h:
382
383 When fc-cache is run without --force, use directory cache files
384 to speed up fc-cache run time. (Reported by Mike Fabian)
385
386 2005-10-06 Patrick Lam <plam@mit.edu>
387
388 * src/fcname.c (FcObjectToPtr):
389 * src/fcpat.c (FcStrStaticName):
390
391 Add padding to make valgrind and glibc not hate each other
392 when calling strlen().
393
394 2005-10-05 Simos Xenitellis <simos74@gmx.net>
395 reviewed by: plam & keithp
396
397 * fonts.conf.in:
398
399 Modify config file to use Greek fonts before Asian fonts with
400 Greek glyphs.
401
402 2005-10-05 Christian Biesinger <cbiesinger@web.de>
403 reviewed by: plam & keithp
404
405 * src/Makefile.am:
406
407 Use libtool -no-undefined flag on all platforms.
408
409 2005-10-05 Patrick Lam <plam@mit.edu>
410 * src/fccache.c (FcCacheHaveBank):
411
412 Implement move-to-front array for banks (perf regression
413 reported by Ronny V. Vindenes).
414
415 2005-10-04 Patrick Lam <plam@mit.edu>
416 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
417 FcDirCacheHasCurrentArch):
418 * fc-cache/fc-cache.c (scanDirs):
419 * fontconfig/fontconfig.h:
420
421 Add new API which unlinks directory caches and checks dir caches
422 for existence of appropriate sections. Fix fc-cache to unlink
423 stale cache files and save directory caches that lack relevant
424 sections.
425
426 2005-10-03 Patrick Lam <plam@mit.edu>
427 * src/fccache.c (FcDirCacheValid):
428
429 Ensure that a directory cache has the appropriate section
430 before reporting that it is valid (reported by Matthias Clasen).
431
432 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
433
434 reviewed by: plam
435
436 * configure.in:
437 * src/Makefile.am:
438 * src/fcxml.c:
439
440 Use libxml2 if requested (with --enable-libxml2) or if
441 expat is not available.
442
443 2005-09-29 Patrick Lam <plam@mit.edu>
444 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
445
446 Fix multi-arch cache files: compute the position for the
447 block to be added using info from OrigFile, not NewFile.
448
449 2005-09-28 Patrick Lam <plam@mit.edu>
450 * src/fccache.c (FcCacheMachineSignature):
451
452 Cast results of sizeof() to unsigned int to get rid of
453 warnings on x86_64 (thanks Matthias Clasen).
454
455 2005-09-27 Patrick Lam <plam@mit.edu>
456 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
457 FcDirCacheWrite):
458
459 Use FcAtomic to rewrite cache files.
460
461 2005-09-27 Patrick Lam <plam@mit.edu>
462
463 * src/fccache.c (FcDirCacheWrite):
464
465 Don't unlink the fonts.cache-2 file even if there's no data
466 to write; just write an empty cache file. (thanks Lubos Lunak)
467
468 2005-09-27 Patrick Lam <plam@mit.edu>
469
470 * src/fccache.c (FcDirCacheWrite):
471
472 Allocate room for the subdirectory names in each
473 directory cache. Thanks to James Cloos for finding
474 and diagnosing this bug!
475
476 2005-09-22 Patrick Lam <plam@mit.edu>
477
478 * fc-cache/fc-cache.sgml:
479 * src/fccache.c (FcDirCacheWrite):
480 * src/fccache.h (struct FcCache):
481
482 Update documentation -- fc-cache's man page now says that you
483 need to run fc-cache once per cached architecture; add some
484 documentation to the FcCache structure.
485
486 Make fc-cache write out fonts.cache-2 files for directories with
487 no fonts (i.e. only subdirectories).
488
489 2005-09-22 Patrick Lam <plam@mit.edu>
490 * doc/edit-sgml.c:
491 * fc-cache/fc-cache.sgml:
492 * fc-case/fc-case.c:
493 * fc-glyphname/fc-glyphname.c:
494 * src/fcdefault.c:
495 * src/fcfreetype.c:
496 * src/fcinit.c:
497 * src/fcxml.c:
498
499 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
500
501 * Makefile.am:
502 * configure.in:
503 * fc-lang/fc-lang.c:
504 * fontconfig/fcprivate.h:
505 * fontconfig/fontconfig.h:
506 * src/fccache.c:
507 * src/fccfg.c:
508 * src/fccharset.c:
509 * src/fcdbg.c:
510 * src/fcdir.c:
511 * src/fcfs.c:
512 * src/fcint.h:
513 * src/fclang.c:
514 * src/fclist.c:
515 * src/fcmatch.c:
516 * src/fcname.c:
517 * src/fcpat.c:
518
519 Implement new mmaped cache for font information.
520 Bump so revision to 2.3.90.
521
522 2005-07-25 Keith Packard <keithp@keithp.com>
523
524 * doc/fontconfig-user.sgml:
525 * fc-glyphname/fc-glyphname.c: (scan), (main):
526 * fc-lang/fc-lang.c: (FcConfigHome):
527 * fc-match/fc-match.c: (main):
528 * src/fccfg.c: (FcConfigHome):
529 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
530 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
531 (addtag), (FcFontCapabilities):
532 * src/fcpat.c: (FcValueListEntCreate):
533 * src/fcstr.c: (FcStrCaseWalkerInit):
534 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
535
536 Various GCC 4 cleanups for signed vs unsigned char
537
538 Match only [0-9]*.conf files in <include>{directory}</include>
539 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
540
541 2005-07-15 Carl Worth <cworth@cworth.org>
542
543 * src/fcint.h:
544 * src/fcinit.c: (FcFini):
545 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
546 FcPatternFini.
547
548 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
549 Pull the FcObjectStateName hash table out to file scope, and add
550 FcObjectStaticNameFini so that FcFini will cleanup this hash table
551 as well.
552
553 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
554 fclose.
555
556 2005-06-16 Patrick Lam <plam@MIT.EDU>
557
558 reviewed by: keithp
559
560 * src/fccfg.c: (FcConfigCompareValue):
561 Make FcOpNotContains use FcStrStr for strings so that
562 it matches semantics for !FcOpContains.
563
564 2005-05-20 Keith Packard <keithp@keithp.com>
565
566 * debian/changelog:
567 * debian/control:
568 Move fontconfig source package to libs as per override
569
570 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
571
572 reviewed by: Mike Fabian
573
574 * fc-lang/ka.orth:
575 The ka.orth file requires several characters which are not
576 used anymore in modern Georgian and which are missing in the free
577 Georgian TrueType fonts downloadable at:
578
579 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
580
581 2005-04-27 Keith Packard <keithp@keithp.com>
582
583 * README:
584 * debian/changelog:
585 Update date to real 2.3.2 release date.
586 Fix change attributions
587
588 2005-04-27 Keith Packard <keithp@keithp.com>
589
590 * configure.in:
591 Bump so revision for 2.3.2
592 * fc-cache/fc-cache.c: (scanDirs):
593 Fix a few minor leaks in error cases.
594
595 2005-04-23 Keith Packard <keithp@keithp.com>
596
597 * README:
598 * configure.in:
599 * debian/changelog:
600 * fontconfig/fontconfig.h:
601 Update for version 2.3.2
602
603 2005-04-21 Keith Packard <keithp@keithp.com>
604
605 * debian/fontconfig.postinst:
606 Don't force bitmap font enable in default
607 configuration; allows users to override this in
608 ~/.fonts.conf
609 * debian/po/cs.po:
610 * debian/po/da.po:
611 * debian/po/de.po:
612 * debian/po/es.po:
613 * debian/po/fr.po:
614 * debian/po/ja.po:
615 * debian/po/nl.po:
616 * debian/po/pt.po:
617 * debian/po/pt_BR.po:
618 * debian/po/templates.pot:
619 * debian/po/tr.po:
620 * debian/po/zh_CN.po:
621 Updated translations
622
623 * fc-cache/fc-cache.c: (main):
624 Destroy font configuration on exit to help valgrind
625
626 * fonts.conf.in:
627 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
628 (FcFreeTypeCheckGlyph):
629 Use own transcoding routines in preference to iconv
630 which appears to have leaks in some translators.
631 Call iconv_close after using iconv (oops).
632
633 Prefer unicode encoding of Euro char as some
634 fonts mis-encode Euro in other ones.
635
636 Must fetch bitmap glyphs to get width values
637 to check for monospace/dual-width fonts.
638
639 2005-04-13 Ross Burton <ross@burtonini.com>
640
641 * src/fcpat.c:
642 Check that a pattern isn't already frozen in FcPatternFreeze.
643
644 2005-03-31 Ross Burton <ross@burtonini.com>
645
646 * src/fclist.c:
647 * src/fcmatch.c:
648 * src/fcpat.c:
649 Run all FcPattern objects through FcObjectStaticName, so that
650 compares can be done on pointers instead of strings (#2659)
651
652 2005-03-17 Tor Lillqvist <tml@novell.com>
653
654 * src/fontconfig.def.in: Add the .dll to the dll name.
655
656 2005-03-10 Keith Packard <keithp@keithp.com>
657
658 * debian/README.Debian:
659 Update to reflect configuration changes
660 * debian/changelog:
661 * debian/fontconfig.postinst:
662 Fix Autohint vs Autohinter mistake
663 * debian/fontconfig.templates:
664 Adopt changes from Josselin Mouette for configuration descriptions
665 Update debian to version 2.3.1-2
666
667 2005-03-08 Keith Packard <keithp@keithp.com>
668
669 * debian/changelog:
670 * debian/rules:
671 Update debian for 2.3.1
672
673 2005-03-09 Tor Lillqvist <tml@novell.com>
674
675 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
676 put it, not "lib".
677
678 * src/fccfg.c (FcConfigFileExists): Check also drive letter
679 prefix on Win32.
680
681 2005-03-08 Keith Packard <keithp@keithp.com>
682
683 * README:
684 * configure.in:
685 * fontconfig/fontconfig.h:
686 Update for 2.3.1
687
688 2005-03-05 Keith Packard <keithp@keithp.com>
689
690 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
691 Include space and remove numbers from valid script tags.
692 This ensures that tags like 'lao ' work while rejecting
693 those which have any digits.
694 Eliminate a spurious debugging variable (len)
695
696 2005-03-05 Keith Packard <keithp@keithp.com>
697
698 * src/fcfreetype.c: (addtag), (GetScriptTags),
699 (FcFontCapabilities):
700 Rework GSUB/GPOS script parsing to survive broken fonts.
701 Thanks for the broken font go to Manish Singh
702
703 2005-03-05 Keith Packard <keithp@keithp.com>
704
705 Josselin Mouette:
706 * debian/changelog:
707 * debian/control:
708 * debian/fontconfig.config:
709 * debian/fontconfig.templates:
710 * debian/rules:
711 Include 2.3 release information in changelog
712 Add Josselin Mouette as an Uploader
713 Set hinting_type to low priority configuration option
714
715 Manish Singh:
716 * debian/fontconfig.postinst:
717 yes_bitmaps.conf -> yes-bitmaps.conf
718
719 Funda Wang:
720 * src/fcfreetype.c:
721 Johap -> Johab
722
723 2005-03-02 Keith Packard <keithp@keithp.com>
724
725 * Makefile.am:
726 * conf.d/Makefile.am:
727 * conf.d/autohint.conf:
728 * conf.d/no-sub-pixel.conf:
729 * conf.d/sub-pixel.conf:
730 * conf.d/unhinted.conf:
731 * debian/autohint.conf:
732 * debian/fontconfig.install:
733 * debian/fontconfig.postinst:
734 * debian/fontconfig.templates:
735 * debian/no-sub-pixel.conf:
736 * debian/unhinted.conf:
737 Move debian-specific conf file examples upstream.
738
739 Sub-pixel configuration examples must smash subpixel value
740 as Xft always sets it from X.
741
742 Change sub-pixel rendering debconf descriptions from
743 Enable/Disable to Always/Never.
744
745 2005-03-02 Keith Packard <keithp@keithp.com>
746
747 * .cvsignore:
748 * conf.d/.cvsignore:
749 * doc/.cvsignore:
750 Ignore more build detritus
751
752 * Makefile.am:
753 Add debian package construction stuff.
754
755 * config/config.guess:
756 * config/config.sub:
757 Update to newer versions of these tools
758
759 * doc/Makefile.am:
760 Get library manuals to build again (we love automake).
761
762 * debian/README.Debian:
763 * debian/autohint.conf:
764 * debian/changelog:
765 * debian/compat:
766 * debian/control:
767 * debian/copyright:
768 * debian/fontconfig-udeb.install:
769 * debian/fontconfig.config:
770 * debian/fontconfig.defoma:
771 * debian/fontconfig.dirs:
772 * debian/fontconfig.install:
773 * debian/fontconfig.postinst:
774 * debian/fontconfig.postrm:
775 * debian/fontconfig.templates:
776 * debian/libfontconfig1-dev.install:
777 * debian/libfontconfig1.install:
778 * debian/local.conf.md5sum:
779 * debian/no-sub-pixel.conf:
780 * debian/po/POTFILES.in:
781 * debian/po/cs.po:
782 * debian/po/da.po:
783 * debian/po/de.po:
784 * debian/po/es.po:
785 * debian/po/fr.po:
786 * debian/po/ja.po:
787 * debian/po/nl.po:
788 * debian/po/pt.po:
789 * debian/po/pt_BR.po:
790 * debian/po/templates.pot:
791 * debian/po/tr.po:
792 * debian/po/zh_CN.po:
793 * debian/rules:
794 * debian/unhinted.conf:
795 Update debian build system to switch maintainers and
796 deal with 2.3 functionality
797
798 2005-03-01 Keith Packard <keithp@keithp.com>
799
800 * README:
801 * configure.in:
802 * fontconfig/fontconfig.h:
803 Update for 2.3.0
804
805 2005-03-01 Keith Packard <keithp@keithp.com>
806
807 * doc/Makefile.am:
808 Generate and install PDF versions of the manuals
809
810 * doc/fcpattern.fncs:
811 Fix formatting
812
813 * doc/fcstring.fncs:
814 Add missing exported functions, fix data types
815
816 * doc/fontconfig-devel.sgml:
817 Add missing pattern elements.
818
819 * doc/fontconfig-user.sgml:
820 Add missing pattern elements. Document conf.d usage,
821 clarify available orthography list. Fix some config file
822 attributes. Complete list of constants.
823
824 * fontconfig/fontconfig.h:
825 Mark FC_SOURCE deprecated.
826
827 * src/fcfreetype.c: (FcFreeTypeQuery):
828 Don't set FC_SOURCE any longer.
829
830 2005-02-28 Keith Packard <keithp@keithp.com>
831
832 * Makefile.am:
833 * conf.d/Makefile.am:
834 * conf.d/README:
835 * conf.d/no-bitmaps.conf:
836 * conf.d/sub-pixel.conf:
837 * conf.d/yes-bitmaps.conf:
838 * configure.in:
839 Create prototype /etc/fonts/conf.d directory with a few
840 sample configuration files.
841 Deprecate use of local.conf for local customizations in favor of
842 this directory based scheme which is more easily integrated into
843 installation systems.
844
845 * src/fcname.c:
846 Tag FC_EMBOLDEN as a boolean variable
847
848 2005-02-10 Keith Packard <keithp@keithp.com>
849
850 reviewed by: pborelli@katamail.com
851
852 * src/fcdir.c: (FcFileScanConfig):
853 Free patterns from fonts which are rejected by configuration
854 (bug #2518)
855
856 2005-01-28 Keith Packard <keithp@keithp.com>
857
858 * README:
859 * configure.in:
860 * fontconfig/fontconfig.h:
861 Update for version 2.2.99
862
863 2005-01-28 Keith Packard <keithp@keithp.com>
864
865 * README:
866 Add a few pointers (#2284, #2285)
867
868 2005-01-28 Keith Packard <keithp@keithp.com>
869
870 * src/fcint.h:
871 * src/fcname.c: (FcNameBool):
872 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
873 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
874 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
875 Polite typechecking for test and edit expressions. Helps
876 catch errors in the font configuration. (bug 229)
877
878 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
879
880 reviewed by: Keith Packard <keithp@keithp.com>
881
882 * configure.in:
883 Have --with-expat set EXPAT_CFLAGS (bug 2278)
884
885 2005-01-13 Keith Packard <keithp@keithp.com>
886
887 * doc/fontconfig-user.sgml:
888 Add SEE ALSO section (bug 2085)
889
890 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
891
892 reviewed by: Keith Packard <keithp@keithp.com>
893
894 * Makefile.am:
895 * configure.in:
896 * doc/Makefile.am:
897 * fc-case/Makefile.am:
898 * fc-glyphname/Makefile.am:
899 * fc-lang/Makefile.am:
900 * src/fontconfig.def.in:
901 Cross compiling fixes (bug 280)
902
903 2005-01-13 Keith Packard <keithp@keithp.com>
904
905 * fonts.conf.in:
906 Update blanks list (Closes bug 86)
907
908 2005-01-04 Keith Packard <keithp@keithp.com>
909
910 * src/fccache.c: (FcCacheFontSetAdd):
911 Verify that every font pattern loaded from cache has
912 both FC_FILE and FC_FAMILY entries.
913 Attempt to fix bug #2219.
914
915 2004-12-29 Keith Packard <keithp@keithp.com>
916
917 * README:
918 * configure.in:
919 * fontconfig/fontconfig.h:
920 Update for version 2.2.98
921
922 2004-12-29 Keith Packard <keithp@keithp.com>
923
924 * fontconfig/fontconfig.h:
925 Document ASCII limitations of Fc character conversion macros
926 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
927 Fix off-by-one error in utf-8 case walking code.
928 Add FcStrDowncase (useful for testing case conversion functions)
929
930 2004-12-29 Keith Packard <keithp@keithp.com>
931
932 * .cvsignore:
933 * fc-case/.cvsignore:
934 clean up CVS ignore lists
935 * fc-lang/iso-3166.txt:
936 Add territory database
937
938 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
939
940 Reviewed by: Keith Packard
941
942 * fc-lang/ko.orth:
943 Remove Han characters from Korean orthography
944
945 2004-12-29 Keith Packard <keithp@keithp.com>
946
947 * Makefile.am:
948 Reorder utility programs to make sure fc-case is run before fc-lang
949 as fc-lang uses fcstr.c which uses fccase.h
950 * fonts.conf.in:
951 Fix broken XML
952
953 2004-12-29 Keith Packard <keithp@keithp.com>
954
955 * fonts.conf.in:
956 Adopt some RedHat suggestions for standard font configuration.
957
958 * Makefile.am:
959 * configure.in:
960 * fc-case/CaseFolding.txt:
961 * fc-case/Makefile.am:
962 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
963 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
964 (dump), (parseRaw), (caseFoldReadRaw), (main):
965 * fc-case/fccase.tmpl.h:
966 Add new helper program 'fc-case' to construct case folding
967 tables from standard Unicode CaseFolding.txt file
968
969 * src/fcint.h:
970 * src/fclist.c: (FcListValueHash):
971 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
972 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
973 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
974 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
975 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
976 Re-implement case insensitive functions with Unicode
977 aware versions (including full case folding mappings)
978
979 2004-12-13 Keith Packard <keithp@keithp.com>
980
981 reviewed by: Owen Taylor <otaylor@redhat.com>
982
983 * src/fcmatch.c: (FcFontSetSort):
984 I changed FcFontSetSort to respect the generic aliases better
985 in the face of language matching.
986
987 What I did was to ammend the strict sort order used by FcFontSort so
988 that it 'satisfies' the language specified in the pattern by locating
989 the best matching font supporting each pattern language and then
990 ignores language in the remaining fonts for purposes of matching.
991
992 So, when asking for 'sans:lang=en', you'll get an English font first,
993 and then the remaining fonts sorted with respect to the 'sans' alias
994 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
995
996 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
997
998 reviewed by: Keith Packard <keithp@keithp.com>
999
1000 * fontconfig/fontconfig.h:
1001 * fonts.conf.in:
1002
1003 Configuration changes to request synthetic emboldening of
1004 fonts. The actual emboldening code will live in Xft.
1005
1006 2004-12-09 John Thacker <thacker@math.cornell.edu>
1007
1008 reviewed by: Keith Packard <keithp@keithp.com>
1009
1010 * fc-lang/ru.orth:
1011
1012 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1013 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1014 и), and don't even appear in KOI8-R. (The hypothesis that they
1015 don't appear in KOI8-R due to their similarity with Latin I and i is
1016 eliminated by their presence in KOI8-U.) I have a couple of fonts
1017 with Russian support that don't have the letter.
1018
1019 Therefore, 0406 and 0456 should be removed from or commented out of
1020 ru.orth
1021
1022 2004-12-06 michael meeks <mmeeks@novell.com>
1023
1024 Reviewed by: Keith Packard <keithp@keithp.com>
1025
1026 * src/fcinit.c: (FcMemReport):
1027 * src/fcint.h:
1028 * src/fclist.c: (FcObjectSetAdd):
1029 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1030 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1031 * src/fcxml.c: (FcParsePatelt):
1032 memoize strings and share a single copy for all uses. Note that
1033 this could be improved further by using statically allocated blocks
1034 and gluing multiple strings together, but I'm basically lazy.
1035 In my environment with 800 font files, I get a savings of about 90KB.
1036
1037 2004-12-06 Keith Packard <keithp@keithp.com>
1038
1039 * COPYING:
1040 * Makefile.am:
1041 * config/Makedefs.in:
1042 * configure.in:
1043 * doc/edit-sgml.c:
1044 * doc/fcatomic.fncs:
1045 * doc/fcblanks.fncs:
1046 * doc/fccharset.fncs:
1047 * doc/fcconfig.fncs:
1048 * doc/fcconstant.fncs:
1049 * doc/fcfile.fncs:
1050 * doc/fcfontset.fncs:
1051 * doc/fcfreetype.fncs:
1052 * doc/fcinit.fncs:
1053 * doc/fcmatrix.fncs:
1054 * doc/fcobjectset.fncs:
1055 * doc/fcobjecttype.fncs:
1056 * doc/fcpattern.fncs:
1057 * doc/fcstring.fncs:
1058 * doc/fcstrset.fncs:
1059 * doc/fcvalue.fncs:
1060 * doc/fontconfig-devel.sgml:
1061 * doc/fontconfig-user.sgml:
1062 * doc/func.sgml:
1063 * doc/version.sgml.in:
1064 * fc-cache/Makefile.am:
1065 * fc-cache/fc-cache.c:
1066 * fc-glyphname/Makefile.am:
1067 * fc-glyphname/fc-glyphname.c:
1068 * fc-glyphname/fcglyphname.tmpl.h:
1069 * fc-lang/Makefile.am:
1070 * fc-lang/aa.orth:
1071 * fc-lang/ab.orth:
1072 * fc-lang/af.orth:
1073 * fc-lang/am.orth:
1074 * fc-lang/ar.orth:
1075 * fc-lang/ast.orth:
1076 * fc-lang/ava.orth:
1077 * fc-lang/ay.orth:
1078 * fc-lang/az.orth:
1079 * fc-lang/az_ir.orth:
1080 * fc-lang/ba.orth:
1081 * fc-lang/bam.orth:
1082 * fc-lang/be.orth:
1083 * fc-lang/bg.orth:
1084 * fc-lang/bh.orth:
1085 * fc-lang/bho.orth:
1086 * fc-lang/bi.orth:
1087 * fc-lang/bin.orth:
1088 * fc-lang/bn.orth:
1089 * fc-lang/bo.orth:
1090 * fc-lang/br.orth:
1091 * fc-lang/bs.orth:
1092 * fc-lang/bua.orth:
1093 * fc-lang/ca.orth:
1094 * fc-lang/ce.orth:
1095 * fc-lang/ch.orth:
1096 * fc-lang/chm.orth:
1097 * fc-lang/chr.orth:
1098 * fc-lang/co.orth:
1099 * fc-lang/cs.orth:
1100 * fc-lang/cu.orth:
1101 * fc-lang/cv.orth:
1102 * fc-lang/cy.orth:
1103 * fc-lang/da.orth:
1104 * fc-lang/de.orth:
1105 * fc-lang/dz.orth:
1106 * fc-lang/el.orth:
1107 * fc-lang/en.orth:
1108 * fc-lang/eo.orth:
1109 * fc-lang/es.orth:
1110 * fc-lang/et.orth:
1111 * fc-lang/eu.orth:
1112 * fc-lang/fa.orth:
1113 * fc-lang/fc-lang.c:
1114 * fc-lang/fc-lang.man:
1115 * fc-lang/fclang.tmpl.h:
1116 * fc-lang/fi.orth:
1117 * fc-lang/fj.orth:
1118 * fc-lang/fo.orth:
1119 * fc-lang/fr.orth:
1120 * fc-lang/ful.orth:
1121 * fc-lang/fur.orth:
1122 * fc-lang/fy.orth:
1123 * fc-lang/ga.orth:
1124 * fc-lang/gd.orth:
1125 * fc-lang/gez.orth:
1126 * fc-lang/gl.orth:
1127 * fc-lang/gn.orth:
1128 * fc-lang/gu.orth:
1129 * fc-lang/gv.orth:
1130 * fc-lang/ha.orth:
1131 * fc-lang/haw.orth:
1132 * fc-lang/he.orth:
1133 * fc-lang/hi.orth:
1134 * fc-lang/ho.orth:
1135 * fc-lang/hr.orth:
1136 * fc-lang/hu.orth:
1137 * fc-lang/hy.orth:
1138 * fc-lang/ia.orth:
1139 * fc-lang/ibo.orth:
1140 * fc-lang/id.orth:
1141 * fc-lang/ie.orth:
1142 * fc-lang/ik.orth:
1143 * fc-lang/io.orth:
1144 * fc-lang/is.orth:
1145 * fc-lang/iso639-2:
1146 * fc-lang/it.orth:
1147 * fc-lang/iu.orth:
1148 * fc-lang/ja.orth:
1149 * fc-lang/ka.orth:
1150 * fc-lang/kaa.orth:
1151 * fc-lang/ki.orth:
1152 * fc-lang/kk.orth:
1153 * fc-lang/kl.orth:
1154 * fc-lang/km.orth:
1155 * fc-lang/kn.orth:
1156 * fc-lang/ko.orth:
1157 * fc-lang/kok.orth:
1158 * fc-lang/ks.orth:
1159 * fc-lang/ku.orth:
1160 * fc-lang/ku_ir.orth:
1161 * fc-lang/kum.orth:
1162 * fc-lang/kv.orth:
1163 * fc-lang/kw.orth:
1164 * fc-lang/ky.orth:
1165 * fc-lang/la.orth:
1166 * fc-lang/lb.orth:
1167 * fc-lang/lez.orth:
1168 * fc-lang/lo.orth:
1169 * fc-lang/lt.orth:
1170 * fc-lang/lv.orth:
1171 * fc-lang/mg.orth:
1172 * fc-lang/mh.orth:
1173 * fc-lang/mi.orth:
1174 * fc-lang/mk.orth:
1175 * fc-lang/ml.orth:
1176 * fc-lang/mn.orth:
1177 * fc-lang/mo.orth:
1178 * fc-lang/mr.orth:
1179 * fc-lang/mt.orth:
1180 * fc-lang/my.orth:
1181 * fc-lang/nb.orth:
1182 * fc-lang/nds.orth:
1183 * fc-lang/ne.orth:
1184 * fc-lang/nl.orth:
1185 * fc-lang/nn.orth:
1186 * fc-lang/no.orth:
1187 * fc-lang/ny.orth:
1188 * fc-lang/oc.orth:
1189 * fc-lang/om.orth:
1190 * fc-lang/or.orth:
1191 * fc-lang/os.orth:
1192 * fc-lang/pl.orth:
1193 * fc-lang/ps_af.orth:
1194 * fc-lang/ps_pk.orth:
1195 * fc-lang/pt.orth:
1196 * fc-lang/rm.orth:
1197 * fc-lang/ro.orth:
1198 * fc-lang/ru.orth:
1199 * fc-lang/sa.orth:
1200 * fc-lang/sah.orth:
1201 * fc-lang/sco.orth:
1202 * fc-lang/se.orth:
1203 * fc-lang/sel.orth:
1204 * fc-lang/sh.orth:
1205 * fc-lang/si.orth:
1206 * fc-lang/sk.orth:
1207 * fc-lang/sl.orth:
1208 * fc-lang/sm.orth:
1209 * fc-lang/sma.orth:
1210 * fc-lang/smj.orth:
1211 * fc-lang/smn.orth:
1212 * fc-lang/sms.orth:
1213 * fc-lang/so.orth:
1214 * fc-lang/sq.orth:
1215 * fc-lang/sr.orth:
1216 * fc-lang/sv.orth:
1217 * fc-lang/sw.orth:
1218 * fc-lang/syr.orth:
1219 * fc-lang/ta.orth:
1220 * fc-lang/te.orth:
1221 * fc-lang/tg.orth:
1222 * fc-lang/th.orth:
1223 * fc-lang/ti_er.orth:
1224 * fc-lang/ti_et.orth:
1225 * fc-lang/tig.orth:
1226 * fc-lang/tk.orth:
1227 * fc-lang/tl.orth:
1228 * fc-lang/tn.orth:
1229 * fc-lang/to.orth:
1230 * fc-lang/tr.orth:
1231 * fc-lang/ts.orth:
1232 * fc-lang/tt.orth:
1233 * fc-lang/tw.orth:
1234 * fc-lang/tyv.orth:
1235 * fc-lang/ug.orth:
1236 * fc-lang/uk.orth:
1237 * fc-lang/ur.orth:
1238 * fc-lang/uz.orth:
1239 * fc-lang/ven.orth:
1240 * fc-lang/vi.orth:
1241 * fc-lang/vo.orth:
1242 * fc-lang/vot.orth:
1243 * fc-lang/wa.orth:
1244 * fc-lang/wen.orth:
1245 * fc-lang/wo.orth:
1246 * fc-lang/xh.orth:
1247 * fc-lang/yap.orth:
1248 * fc-lang/yi.orth:
1249 * fc-lang/yo.orth:
1250 * fc-lang/zh_cn.orth:
1251 * fc-lang/zh_hk.orth:
1252 * fc-lang/zh_mo.orth:
1253 * fc-lang/zh_sg.orth:
1254 * fc-lang/zh_tw.orth:
1255 * fc-lang/zu.orth:
1256 * fc-list/Makefile.am:
1257 * fc-list/fc-list.c:
1258 * fc-match/Makefile.am:
1259 * fc-match/fc-match.1:
1260 * fc-match/fc-match.c:
1261 * fontconfig/fcfreetype.h:
1262 * fontconfig/fcprivate.h:
1263 * fontconfig/fontconfig.h:
1264 * src/fcatomic.c:
1265 * src/fcblanks.c:
1266 * src/fccache.c:
1267 * src/fccfg.c:
1268 * src/fccharset.c:
1269 * src/fcdbg.c:
1270 * src/fcdefault.c:
1271 * src/fcdir.c:
1272 * src/fcfreetype.c:
1273 * src/fcfs.c:
1274 * src/fcinit.c:
1275 * src/fcint.h:
1276 * src/fclang.c:
1277 * src/fclist.c:
1278 * src/fcmatch.c:
1279 * src/fcmatrix.c:
1280 * src/fcname.c:
1281 * src/fcpat.c:
1282 * src/fcstr.c:
1283 * src/fcxml.c:
1284 Change files from ISO-Latin-1 to UTF-8
1285
1286 2004-12-04 Keith Packard <keithp@keithp.com>
1287
1288 * INSTALL:
1289 Update links to new freedesktop.org locations
1290 * Makefile.am:
1291 Add uninstall-local to get rid of fonts.conf and local.conf if they
1292 match the distributed versions. Fixes 'make distcheck'
1293
1294 2004-12-04 Keith Packard <keithp@keithp.com>
1295
1296 * README:
1297 * configure.in:
1298 * fontconfig/fontconfig.h:
1299 Updates for version 2.2.97
1300
1301 2004-12-04 Owen Taylor <otaylor@redhat.com>
1302
1303 reviewed by: Keith Packard <keithp@keithp.com>
1304
1305 * fc-cache/fc-cache.c: (main):
1306 Sleep for two seconds before exiting to make sure timestamps
1307 for future changes have distinct mod times in the file system.
1308 Bug #1982.
1309 * fc-lang/pa.orth:
1310 Add Punjabi orthography. Bug #1671.
1311
1312 2004-12-04 Keith Packard <keithp@keithp.com>
1313
1314 * fonts.conf.in:
1315 Just remove the FC_FONTDATE -- it has locale issues and
1316 annoys redhat multi-arch installs. Now that all X fonts are
1317 included without prejudice, the chances of the date being at
1318 all interesting are rather limited. Bug #505.
1319 * src/Makefile.am:
1320 Add copyright and license
1321
1322 2004-12-04 Keith Packard <keithp@keithp.com>
1323
1324 * configure.in:
1325 Change default set of fonts to include all of
1326 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1327 * doc/fontconfig-user.sgml:
1328 Document new <include>directory-name</include> semantics
1329 * fonts.conf.in:
1330 add <include ignore_missing="yes">conf.d</include>
1331 * local.conf:
1332 Add selectfont to ignore bitmap fonts, add comment for
1333 selectfont which accepts bitmap fonts.
1334 * src/fcdir.c:
1335 * src/fcint.h:
1336 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1337 Allow <include> configuration elements to reference directories.
1338 Parse and load all files of the form [0-9]* in sorted order.
1339
1340 2004-12-04 Keith Packard <keithp@keithp.com>
1341
1342 * autogen.sh:
1343 Report command line for $srcdir/configure accurately.
1344 Bug #212.
1345
1346 2004-12-04 Keith Packard <keithp@keithp.com>
1347
1348 * src/fcfreetype.c: (FcFreeTypeQuery):
1349 Check for non-empty face->family_name and face->style_name
1350 before using those for the font. Empty names match everything.
1351 Bug #210.
1352
1353 2004-12-04 Keith Packard <keithp@keithp.com>
1354
1355 * configure.in:
1356 * fontconfig/fontconfig.h:
1357 * src/fcfreetype.c: (FcFreeTypeQuery):
1358 * src/fcname.c:
1359 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1360 available. This provides font file format information (BDF, Type 1,
1361 PCF, TrueType) for each font. Closes #109.
1362
1363 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1364
1365 reviewed by: Keith Packard <keithp@keithp.com>
1366
1367 * doc/fontconfig-user.sgml:
1368 Fix typo.
1369
1370 * fontconfig/fontconfig.h:
1371 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1372 (GetScriptTags), (FcFontCapabilities):
1373 * src/fcname.c:
1374 Add detection for font capabilities (bug #105)
1375
1376 2004-12-04 Keith Packard <keithp@keithp.com>
1377
1378 * Makefile.am:
1379 Move existing fonts.conf to fonts.conf.bak
1380
1381 * configure.in:
1382 Add detection of iconv
1383
1384 * doc/fcpattern.fncs:
1385 * doc/fontconfig-devel.sgml:
1386 * doc/fontconfig-user.sgml:
1387 * fonts.dtd:
1388 Document new selectfont elements
1389
1390 * fc-lang/nb.orth:
1391 Switch to UTF-8 in comment
1392
1393 * fontconfig/fontconfig.h:
1394 * src/fcname.c:
1395 Add fullname, and family/style/fullname language entries
1396
1397 * src/fccache.c: (FcCacheFontSetAdd):
1398 * src/fcdir.c: (FcFileScanConfig):
1399 Respect selectfont/*/glob
1400
1401 * src/fcint.h:
1402 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1403 (FcConfigCompareValue), (FcConfigPatternsAdd),
1404 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1405 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1406 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1407 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1408 Add support for selectfont
1409
1410 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1411 (FcStringInPatternElement), (FcFreeTypeQuery):
1412 Add multi-lingual family/style/fullname support
1413
1414 * src/fclist.c: (FcListPatternMatchAny):
1415 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1416
1417 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1418 (FcObjectStaticName):
1419 Add new FcPatternRemove/FcPatternAppend.
1420 FcObjectStaticName stores computed pattern element names which
1421 are required to be static.
1422
1423 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1424
1425 reviewed by: keithp
1426
1427 * Makefile.am:
1428 Remove spurious / after $(DESTDIR)
1429
1430 2004-06-30 Keith Packard <keithp@keithp.com>
1431
1432 * README:
1433 * configure.in:
1434 * fontconfig/fontconfig.h:
1435 Update for 2.2.96
1436
1437 2004-06-30 Keith Packard <keithp@keithp.com>
1438
1439 Provided by: Lubos Lunak <l.lunak@suse.cz>
1440
1441 * src/fccfg.c: (FcConfigUptoDate):
1442 However FcConfigUptoDate() doesn't seem to work. See the attached
1443 patch. First there's an obvious misplaced parenthesis making it
1444 return always false, and second, even this call fails to detect font
1445 changes (e.g. adding a new font to
1446 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1447 well. The problem seems to be triggered by my fonts.conf specifying
1448 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1449 doesn't include subdirs, unlike config->fontDirs.
1450
1451 2004-06-03 Keith Packard <keithp@keithp.com>
1452
1453 * fontconfig/fontconfig.h:
1454 Remove comma at end of FcResult enum definition.
1455
1456 2004-05-29 Keith Packard <keithp@keithp.com>
1457
1458 * INSTALL:
1459 Add steps to md5sum release
1460
1461 2004-05-29 Keith Packard <keithp@keithp.com>
1462
1463 * README:
1464 * configure.in:
1465 * fontconfig/fontconfig.h:
1466 Update for 2.2.95
1467
1468 2004-05-29 Keith Packard <keithp@keithp.com>
1469
1470 * fontconfig/fontconfig.h:
1471 * src/fcmatch.c: (FcFontSetMatch):
1472 Add FcResultOutOfMemory to provide an accurate error when
1473 FcFontSetMatch fails in this way
1474
1475 * src/fcfreetype.c:
1476 Make #warning about lacking various FreeType features indicate
1477 which version those features appeared so users know how to
1478 fix the problem (Thanks to Anton Tropashko)
1479
1480 2004-05-05 Keith Packard <keithp@keithp.com>
1481
1482 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1483 Replace MIN/MAX/ABS macros which happen to have come
1484 from FreeType with fontconfig-specific ones (FC_*)
1485
1486 2004-04-23 Keith Packard <keithp@keithp.com>
1487
1488 * INSTALL:
1489 Extend release preparation instructions to include
1490 notification and distribution steps
1491
1492 2004-04-23 Keith Packard <keithp@keithp.com>
1493
1494 * README:
1495 * configure.in:
1496 * fontconfig/fontconfig.h:
1497 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1498
1499 2004-04-23 Keith Packard <keithp@keithp.com>
1500
1501 * .cvsignore:
1502 Ignore a few more autotool files
1503
1504 2004-04-14 Keith Packard <keithp@keithp.com>
1505
1506 * INSTALL:
1507 Add instructions for doing a release
1508
1509 * fontconfig.spec.in:
1510 clean up .spec file; perhaps this will be useful to somebody...
1511
1512 * README:
1513 * configure.in:
1514 * fontconfig/fontconfig.h:
1515 Update to 2.2.93
1516
1517 * fc-lang/fc-lang.c:
1518 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1519
1520 * fc-glyphname/Makefile.am:
1521 * fc-lang/Makefile.am:
1522 * fc-list/Makefile.am:
1523 * fc-match/Makefile.am:
1524 * src/Makefile.am:
1525 Add WARN_CFLAGS to pass -W flags for GCC systems
1526
1527 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1528 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1529 Change various char types around to match across
1530 function calls.
1531 Fixed bug in using available_sizes[i].height which
1532 is in pixels, not 64ths of a pixel.
1533
1534 2004-03-06 Keith Packard <keithp@keithp.com>
1535
1536 * src/fcfreetype.c: (FcFreeTypeQuery):
1537 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1538 matches looking for explicit values prefer exact matches
1539
1540 2004-03-02 Keith Packard <keithp@keithp.com>
1541
1542 Supplied by: mfabian@suse.de (Mike FABIAN)
1543
1544 * src/fcfreetype.c: (FcFreeTypeQuery):
1545 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1546 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1547
1548 2004-02-21 Manish Singh <yosh@gimp.org>
1549
1550 * fc-glyphname/fc-glyphname.c: (main):
1551 Cast strlen to int for printf, so we're 64-bit clean.
1552
1553 2004-02-11 Keith Packard <keithp@keithp.com>
1554
1555 * configure.in:
1556 * src/fcfreetype.c: (FcGetPixelSize):
1557 Ok, so I messed up the test for y_ppem. Let's see if I
1558 got it right this time.
1559
1560 2004-02-10 Keith Packard <keithp@keithp.com>
1561
1562 * configure.in:
1563 * src/fcfreetype.c: (FcGetPixelSize):
1564 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1565 FT_Bitmap_Size record. Add a configure.in test for this
1566 and change the code accordingly (using height instead).
1567
1568 2004-02-06 Keith Packard <keithp@keithp.com>
1569
1570 * fc-lang/nds.orth:
1571 Add Low Saxon orthography
1572 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1573
1574 * src/fccfg.c: (FcConfigNewestFile):
1575 Oops. Left 'newest.set' unset, which would miscompute
1576 the newest file
1577
1578 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1579 (FcFreeTypeCheckGlyph):
1580 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1581 font properties (which report the wrong value in current FreeType)
1582
1583 Don't attempt to check for empty glyphs in non-scalable fonts; they
1584 have no outlines...
1585
1586 2004-02-01 Tor Lillqvist <tml@iki.fi>
1587
1588 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1589 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1590 cache if config->cache is NULL, which happens if FcConfigHome() is
1591 NULL. Guard against that by using the temp folder in that case.
1592
1593 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1594
1595 * fc-lang/az_ir.orth:
1596 * fc-lang/ku_ir.orth:
1597 * fc-lang/ps_af.orth:
1598 * fc-lang/ps_pk.orth:
1599 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1600 (Afghan and Pakistani).
1601 * fc-lang/ur.orth:
1602 Updated Urdu orthography with real data.
1603
1604 2003-12-11 Carl Worth <cworth@east.isi.edu>
1605
1606 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1607 USEDOCBOOK' block.
1608
1609 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1610 USEDOCBOOK' block.
1611 (all-local): Remove excessive whitespace.
1612
1613 * autogen.sh: Add 'set -e' to abort when any program fails,
1614 (avoids printing of 'now type make' after configure aborts).
1615
1616 2003-11-17 Eric Christopherson <rakko@charter.net>
1617
1618 reviewed by: Keith Packard <keithp@keithp.com>
1619
1620 * doc/Makefile.am:
1621 * fontconfig/fcfreetype.h:
1622 * src/fcfreetype.c:
1623 Switch to FreeType 2.1.7 style includes. Bug #150.
1624
1625 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1626
1627 * fc-list/fc-list.sgml: Add some example usages.
1628
1629 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1630
1631 * src/fcxml.c:
1632 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1633 separators.
1634
1635 2003-10-27 Keith Packard <keith@keithp.com>
1636
1637 * configure.in:
1638 * fontconfig/fontconfig.h:
1639 Update to version 2.2.92
1640
1641 2003-10-27 Keith Packard <keithp@keithp.com>
1642
1643 * Makefile.am:
1644 * configure.in:
1645 * doc/Makefile.am:
1646 * fc-cache/Makefile.am:
1647 * fc-glyphname/Makefile.am:
1648 * fc-lang/Makefile.am:
1649 * fc-list/Makefile.am:
1650 * fc-match/Makefile.am:
1651 * test/Makefile.am:
1652 * test/run-test.sh:
1653 Yet more cleanups to finish getting 'make distcheck' working
1654 This has been tested to ensure that it even works from a _build
1655 directory.
1656
1657 2003-10-26 Keith Packard <keithp@keithp.com>
1658
1659 * configure.in:
1660 * doc/Makefile.am:
1661 * fc-cache/Makefile.am:
1662 * fc-glyphname/Makefile.am:
1663 * fc-lang/Makefile.am:
1664 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1665 * fc-list/Makefile.am:
1666 * fc-match/Makefile.am:
1667 Attempts to fix 'make distcheck' work. Things are
1668 progressing pretty well, but there are still failures
1669 long into the process dealing with docs (as always).
1670
1671 The big changes here are mostly to make $(srcdir) != "."
1672 work correctly, fixing the docbook related sections and
1673 fc-lang were particularily tricky. Docbook refuses to load
1674 system entities from anywhere other than where the original .sgml
1675 file was located, so no luck looking in "." for the
1676 configure-generated version.sgml and confdir.sgml files.
1677
1678 fc-lang needed help finding .orth files; added a -d option
1679 to set the directory as the least evil of many options.
1680
1681 Now to go use a faster machine and try and wring out the last
1682 issues.
1683
1684 2003-10-26 Keith Packard <keithp@keithp.com>
1685
1686 Tag version 2.2.91
1687
1688 2003-10-26 Keith Packard <keithp@keithp.com>
1689
1690 * doc/Makefile.am:
1691 Include confdir.sgml.in in EXTRA_DIST
1692
1693 2003-10-09 Josselin Mouette <joss@debian.org>
1694
1695 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1696 * fc-list/fc-list.sgml fc-list/Makefile.am:
1697 Replace fc-cache and fc-list manpages with more detailed, SGML
1698 versions.
1699
1700 2003-09-23 Owen Taylor <otaylor@redhat.com>
1701
1702 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1703 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1704 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1705 (Bug #117)
1706
1707 2003-09-23 Owen Taylor <otaylor@redhat.com>
1708
1709 * fc-lang/ka.orth: Remove Georgian capitals, they
1710 aren't used for normal writing. (Bug #116)
1711
1712 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1713
1714 * doc/fontconfig-devel.sgml:
1715 * doc/fontconfig-user.sgml:
1716 * fontconfig/fontconfig.h:
1717 * src/fcname.c:
1718 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1719 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1720
1721 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1722 monospace and dual-width fonts, allow roughly a 3% variance in the
1723 advances.
1724
1725 2003-08-31 Manish Singh <yosh@gimp.org>
1726
1727 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1728 use default config.
1729
1730 2003-08-15 Carl Worth <cworth@isi.edu>
1731
1732 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1733 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1734
1735 * src/fcpat.c (FcValueListEntDestroy): New function to support
1736 FcFini memory cleanup. Some statistics are not kept in
1737 synch. here.
1738 (FcValueListFreeze): Move hashTable outside this function so it
1739 can be accessed by FcValueListThawAll.
1740 (FcValueListThawAll): New function complements FcValueListFreeze.
1741 (FcPatternBaseFreeze): Move hashTable outside this function so it
1742 can be accessed by FcPatternBaseThawAll.
1743 (FcPatternBaseThawAll): New function complements
1744 FcPatternBaseFreeze.
1745 (FcPatternThawAll): New function complements FcPatternFreeze.
1746
1747 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1748
1749 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1750 allocated FcCharLeafEnt "blocks" so they can be freed later.
1751 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1752 can be accessed by FcCharSetThawAllLeaf.
1753 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1754 (FcCharSetFreezeBase): Move hashTable outside this function so it
1755 can be accessed by FcCharSetThawAll.
1756 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1757
1758 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1759 (FcConfigDestroy): Fic leak of FcBlanks.
1760
1761 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1762 (main): Add call to FcFini when finished.
1763
1764 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1765 static. Add prototypes.
1766
1767 * doc/fcinit.fncs: Add documentation for FcFini function.
1768
1769 * doc/edit-sgml.c: Mark several local functions as static. Add
1770 prototypes.
1771
1772 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1773
1774 2003-06-15 Tor Lillqvist <tml@iki.fi>
1775
1776 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1777 before comparing (needed on Windows).
1778
1779 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1780
1781 2003-06-13 Tor Lillqvist <tml@iki.fi>
1782
1783 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1784 man pages.
1785
1786 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1787 WINDOWSFONTDIR token.
1788
1789 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1790 end, not to confuse libtool, which expects the EXPORTS line to be
1791 the first. Add FcConfigEnableHome.
1792
1793 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1794 built as a DLL on Win32.
1795
1796 2003-06-09 Keith Packard <keithp@keithp.com>
1797
1798 * Tag version 2.2.90
1799
1800 2003-06-09 Keith Packard <keithp@keithp.com>
1801
1802 * Optimization in FcLangSetIndex was broken, occasionally
1803 returning a pointer to the wrong location on miss
1804
1805 * Add fc-match to test font matching from the command line.
1806
1807 2003-05-31 Keith Packard <keithp@keithp.com>
1808
1809 * (Bug 85) add support for culmus fonts
1810 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1811 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1812
1813 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1814
1815 * Fix "contains" op for strings and langsets.
1816
1817 2003-05-17 Keith Packard <keithp@keithp.com>
1818
1819 * Fix build error with BDF prop local. Free langset after query
1820
1821 2003-05-14 Keith Packard <keithp@keithp.com>
1822
1823 * Extract spacing from XLFD atom
1824
1825 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1826
1827 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1828 disappeared in 1.30.
1829
1830 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1831
1832 2003-05-12 Keith Packard <keithp@keithp.com>
1833
1834 * Use FcIsWidth to share code
1835
1836 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1837 misclassifying some Han fonts as monospaced.
1838
1839 2003-05-07 Keith Packard <keithp@keithp.com>
1840
1841 * Add filename-based accept/reject to ammend available fonts.
1842
1843 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1844 older FreeType releases.
1845
1846 2003-05-06 Keith Packard <keithp@keithp.com>
1847
1848 * Remove 0b82 and Tamil numbers from tamil
1849 orthography (Jungshik Shin <jshin@mailaps.org>)
1850
1851 2003-05-04 Keith Packard <keithp@keithp.com>
1852
1853 + Map glyph names in fonts with adobe custom encoding to unicode
1854
1855 2003-05-02 Keith Packard <keithp@keithp.com>
1856
1857 * Add FC_WEIGHT_BOOK as weight 75
1858
1859 2003-04-30 Keith Packard <keithp@keithp.com>
1860
1861 * Typo in bitstream foundry name
1862
1863 2003-04-24 Keith Packard <keithp@keithp.com>
1864
1865 * Eliminate italic_angle check for PS fonts
1866
1867 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1868
1869 * Getting closer to fixing /etc/fonts hard-coding.
1870
1871 2003-04-22 Keith Packard <keithp@keithp.com>
1872
1873 * Update autogen.sh to work with newer automake versions
1874 * Handle pattern elements moving during multiple edits
1875
1876 2003-04-23 James Henstridge <james@daa.com.au>
1877
1878 * doc/fontconfig-devel.sgml: close the <para> element.
1879
1880 * doc/fcpattern.fncs: close the <para> element.
1881
1882 * doc/func.sgml: close the <refsynopsisdiv> element.
1883
1884 2003-04-22 Keith Packard <keithp@keithp.com
1885
1886 * Update autogen.sh to work with newer automake versions
1887 * Handle pattern elements moving during multiple edits
1888
1889 2003-04-17 Colin Walters <walters@debian.org>
1890
1891 + Remove some unused variables, and initialize some other ones so
1892 gcc doesn't warn us.
1893
1894 2003-04-16 Keith Packard <keithp@keithp.com>
1895
1896 + tag version 2.1.94
1897
1898 2003-04-16 Keith Packard <keithp@keithp.com>
1899
1900 + add BDF property fetching support for foundry
1901 (from Juliusz Chroboczek)
1902 + add BDF property fetching support for width
1903
1904 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1905
1906 + Implemented foundry generation for Type 1 and TrueType
1907
1908 2003-04-11 Gerard Escalante <g2@magestudios.net>
1909
1910 + Retrieve information from Type1 FontInfo dictionaries
1911
1912 2003-04-07 Colin Walters <walters@verbum.org>
1913
1914 + src/Makefile.am: Fix dummy makefile target names when
1915 MS_LIB_AVAILABLE isn't set.
1916
1917 2003-03-22 Tor Lillqvist <tml@iki.fi>
1918
1919 Changes for Windows:
1920
1921 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1922
1923 + We don't want to hardcode the fonts.conf file location in the
1924 DLL, so we look up the DLL location at run-time in a DllMain()
1925 function. The fonts.conf location is deduced from that.
1926
1927 + The colon can't be used as path separator on Windows,
1928 semicolon is used instead. File path components can be separated
1929 with either slash or backslash. Absolute paths can also begin
1930 with a drive letter.
1931
1932 + Add internal function FcStrLastSlash that strrchr's the last
1933 slash, or backslash on Windows.
1934
1935 + There is no link() on Windows. For atomicity checks, mkdir a
1936 lock directory instead.
1937
1938 + In addition to HOME, also look for USERPROFILE.
1939
1940 + Recognize the special font directory token WINDOWSFONTDIR, to
1941 use the system's font directory.
1942
1943 + Remove the fontconfig-def.cpp that was obsolete. Add
1944 fontconfig.def(.in), without internal functions.
1945
1946 + Add a fontconfig-zip(.in) script, used to build a binary
1947 distribution.
1948
1949 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1950 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1951 to main package and man3/* to devel package
1952
1953 + Added missing defattr(-, root, root) to main RPM package
1954
1955 + Added HTML and text development documentation to -devel subpackage
1956
1957 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1958 + Added back the configure macro options --disable-docs, otherwise
1959 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1960 version number) unconditionally, causing RPM to fail the build due
1961 to _unpackaged_files_terminate_build. We pick up the pregenerated
1962 docs with %doc already.
1963
1964 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1965 + Removed commented out rpm macro define at top of spec file,
1966 replacing it with a simple explanation, since rpm macros are
1967 expanded by rpm even in comments.
1968
1969 + Changed /usr/bin to _bindir in BuildRequires lines
1970
1971 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1972
1973 + Reorganized file manifest lists
1974
1975 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1976
1977 + fontconfig.spec.in: Improvements from Red Hat spec file.
1978
1979 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1980
1981 + docs/*.sgml: SGML fixes.
1982
1983 Sat Mar 1 17:28:53 PST 2003 keithp
1984 + Ok, so the ChangeLog is a bit out of date
1985
1986 + Lots of bugs fixed; most are in bugzilla, the
1987 biggest problems were in cache management where
1988 Owen discovered the library would lose badly when
1989 combining fonts-cache and ~/.fonts-cache data
1990
1991 + Converted from autoconf to automake. This after
1992 getting patches accepted into libtool to allow
1993 the '-version-number' argument which lets
1994 packages set version numbers explicitly rather
1995 than the roundabout libtool way
1996
1997 + Converted documentation to SGML using the docbook
1998 DTD. Now .txt and .html documents are installed
1999 in /usr/share/doc/fontconfig and there's no
2000 man page. Perhaps a man version can be written
2001 at some point.
2002
2003 Sat Aug 31 15:21:22 PDT 2002 keithp
2004 + Xrender and Xft had several bugs related to
2005 rendering manually placed or poly-face text
2006
2007 + Added more complete memory tracing in fontconfig
2008 Checked with (patched) mozilla and found no leaks
2009
2010 + Updated Latin orthographies by comparing those from
2011 evertype.com with those from eki.ee. Tried to make
2012 sensible choices, including chars that occured in both
2013 and leaving some optional chars out that occured only
2014 in one.
2015
2016 Mon Aug 26 16:33:04 PDT 2002 keithp
2017 + Owen discovered that FcLangSetHasLang wasn't actually
2018 checking the language set.
2019
2020 Mon Aug 26 13:37:23 PDT 2002 keithp
2021 + Append a version number to cache filenames
2022
2023 Thu Aug 22 11:36:18 PDT 2002 keithp
2024
2025 + Add "contains" and "not_contains" operators and elements to
2026 font configuration
2027
2028 + Changed semantics of eq operator for LangSets to check for
2029 FcLangEqual so that any match will do
2030
2031 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2032 of FcValueEqual to check for identical values when inserting into
2033 the results. This broke when the above semantic change was made,
2034 now it uses FcValueEqual which is "more correct" in any case.
2035
2036 Thu Aug 22 00:32:29 PDT 2002 keithp
2037
2038 + Reimplement FC_LANG as new datatype. Lists of strings
2039 was consuming over a megabyte of memory for 401 fonts.
2040
2041 + Freeze patterns loaded from cache files. This shares
2042 common value lists and common patterns which saves
2043 considerable memory.
2044
2045 + Change the denotation of 'constant' charsets to use special
2046 ref value instead of separate boolean.
2047
2048 + Clean up leak tracing stuff, found several unannoted alloc/free
2049 calls
2050
2051 Tue Aug 20 16:17:37 PDT 2002 keithp
2052
2053 + Fix memory leak when parsing matrices from XML
2054
2055 Mon Aug 19 11:57:27 PDT 2002 keithp
2056
2057 + Fix autoconf files to pass FONTCONFIG_PATH on
2058 compile line so that ${prefix} gets substituted
2059 correctly.
2060
2061 + Use getc_unlocked/putc_unlocked on systems that
2062 provide them to avoid damage done to stdio by posix
2063
2064 + Eliminate FC_PATTERN and FcTypePattern in favor of
2065 an extended api for FcConfigSubstitute which takes
2066 both the font and the pattern.
2067
2068 + Add 'sans serif' alias for 'sans-serif' as some apps
2069 can't handle hyphens in family names
2070
2071 + Eliminate pretense of support for libxml2
2072
2073 + Comment origins of Han orthographies
2074
2075 Tue Jul 30 18:37:09 PDT 2002 keithp
2076
2077 + Add binding property to edit element so that strong
2078 binding values may be inserted by the config file.
2079 The default remains weak.
2080
2081 Sun 28 Jul 04:16:55 PDT 2002 keithp
2082
2083 + Tagged release candidate 1 in the CVS tree and
2084 placed fcpackage.rc1.tar.gz for distribution
2085
2086 Thu Aug 1 08:55:08 PDT 2002 keithp
2087
2088 + Fixed autoconf builds to always specify install
2089 target files (for BSD). Also fixed to
2090 define FONTCONFIG_PATH in config.h so that
2091 nonstandard installs will actually work.