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