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