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