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