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