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