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