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