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