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