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