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