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