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