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