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