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