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