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