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