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