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