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