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