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