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