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