]> git.wh0rd.org - fontconfig.git/blame - ChangeLog
Add new API which unlinks directory caches and checks dir caches for
[fontconfig.git] / ChangeLog
CommitLineData
55c8fa4f
PL
12005-10-04 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
3 FcDirCacheHasCurrentArch):
4 * fc-cache/fc-cache.c (scanDirs):
5 * fontconfig/fontconfig.h:
6
7 Add new API which unlinks directory caches and checks dir caches
8 for existence of appropriate sections. Fix fc-cache to unlink
9 stale cache files and save directory caches that lack relevant
10 sections.
11
6bf23804
PL
122005-10-03 Patrick Lam <plam@mit.edu>
13 * src/fccache.c (FcDirCacheValid):
14
15 Ensure that a directory cache has the appropriate section
16 before reporting that it is valid (reported by Matthias Clasen).
17
e99f0f0a
PL
182005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
19
20 reviewed by: plam
21
22 * configure.in:
23 * src/Makefile.am:
24 * src/fcxml.c:
25
26 Use libxml2 if requested (with --enable-libxml2) or if
27 expat is not available.
28
649cc361
PL
292005-09-29 Patrick Lam <plam@mit.edu>
30 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
31
32 Fix multi-arch cache files: compute the position for the
33 block to be added using info from OrigFile, not NewFile.
34
cd310911
PL
352005-09-28 Patrick Lam <plam@mit.edu>
36 * src/fccache.c (FcCacheMachineSignature):
37
38 Cast results of sizeof() to unsigned int to get rid of
39 warnings on x86_64 (thanks Matthias Clasen).
40
412005-09-27 Patrick Lam <plam@mit.edu>
9ecb9a9a
PL
42 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
43 FcDirCacheWrite):
44
45 Use FcAtomic to rewrite cache files.
46
472005-09-27 Patrick Lam <plam@mit.edu>
48
49 * src/fccache.c (FcDirCacheWrite):
50
51 Don't unlink the fonts.cache-2 file even if there's no data
52 to write; just write an empty cache file. (thanks Lubos Lunak)
53
542005-09-27 Patrick Lam <plam@mit.edu>
55
56 * src/fccache.c (FcDirCacheWrite):
57
58 Allocate room for the subdirectory names in each
59 directory cache. Thanks to James Cloos for finding
60 and diagnosing this bug!
61
622005-09-22 Patrick Lam <plam@mit.edu>
63
64 * fc-cache/fc-cache.sgml:
65 * src/fccache.c (FcDirCacheWrite):
66 * src/fccache.h (struct FcCache):
67
68 Update documentation -- fc-cache's man page now says that you
69 need to run fc-cache once per cached architecture; add some
70 documentation to the FcCache structure.
71
72 Make fc-cache write out fonts.cache-2 files for directories with
73 no fonts (i.e. only subdirectories).
74
35c2c7f1
PL
752005-09-22 Patrick Lam <plam@mit.edu>
76 * doc/edit-sgml.c:
77 * fc-cache/fc-cache.sgml:
78 * fc-case/fc-case.c:
79 * fc-glyphname/fc-glyphname.c:
80 * src/fcdefault.c:
81 * src/fcfreetype.c:
82 * src/fcinit.c:
83 * src/fcxml.c:
84
85 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
86
87 * Makefile.am:
88 * configure.in:
89 * fc-lang/fc-lang.c:
90 * fontconfig/fcprivate.h:
91 * fontconfig/fontconfig.h:
92 * src/fccache.c:
93 * src/fccfg.c:
94 * src/fccharset.c:
95 * src/fcdbg.c:
96 * src/fcdir.c:
97 * src/fcfs.c:
98 * src/fcint.h:
99 * src/fclang.c:
100 * src/fclist.c:
101 * src/fcmatch.c:
102 * src/fcname.c:
103 * src/fcpat.c:
104
105 Implement new mmaped cache for font information.
106 Bump so revision to 2.3.90.
107
8245771d
PL
1082005-07-25 Keith Packard <keithp@keithp.com>
109
110 * doc/fontconfig-user.sgml:
111 * fc-glyphname/fc-glyphname.c: (scan), (main):
112 * fc-lang/fc-lang.c: (FcConfigHome):
113 * fc-match/fc-match.c: (main):
114 * src/fccfg.c: (FcConfigHome):
115 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
116 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
117 (addtag), (FcFontCapabilities):
118 * src/fcpat.c: (FcValueListEntCreate):
119 * src/fcstr.c: (FcStrCaseWalkerInit):
120 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
121
122 Various GCC 4 cleanups for signed vs unsigned char
123
124 Match only [0-9]*.conf files in <include>{directory}</include>
125 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
126
e1b9d091
PL
1272005-07-15 Carl Worth <cworth@cworth.org>
128
129 * src/fcint.h:
130 * src/fcinit.c: (FcFini):
131 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
132 FcPatternFini.
133
134 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
135 Pull the FcObjectStateName hash table out to file scope, and add
136 FcObjectStaticNameFini so that FcFini will cleanup this hash table
137 as well.
138
139 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
140 fclose.
141
f1a42f6b
KP
1422005-06-16 Patrick Lam <plam@MIT.EDU>
143
144 reviewed by: keithp
145
146 * src/fccfg.c: (FcConfigCompareValue):
147 Make FcOpNotContains use FcStrStr for strings so that
148 it matches semantics for !FcOpContains.
149
adc7abac
KP
1502005-05-20 Keith Packard <keithp@keithp.com>
151
152 * debian/changelog:
153 * debian/control:
154 Move fontconfig source package to libs as per override
155
a65a77ae
KP
1562005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
157
158 reviewed by: Mike Fabian
159
160 * fc-lang/ka.orth:
161 The ka.orth file requires several characters which are not
162 used anymore in modern Georgian and which are missing in the free
163 Georgian TrueType fonts downloadable at:
164
165 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
166
87c88746
KP
1672005-04-27 Keith Packard <keithp@keithp.com>
168
169 * README:
170 * debian/changelog:
171 Update date to real 2.3.2 release date.
172 Fix change attributions
173
1742005-04-27 Keith Packard <keithp@keithp.com>
175
176 * configure.in:
177 Bump so revision for 2.3.2
178 * fc-cache/fc-cache.c: (scanDirs):
179 Fix a few minor leaks in error cases.
180
1cb309ad
KP
1812005-04-23 Keith Packard <keithp@keithp.com>
182
183 * README:
184 * configure.in:
185 * debian/changelog:
186 * fontconfig/fontconfig.h:
187 Update for version 2.3.2
188
716ac8b8
KP
1892005-04-21 Keith Packard <keithp@keithp.com>
190
191 * debian/fontconfig.postinst:
192 Don't force bitmap font enable in default
193 configuration; allows users to override this in
194 ~/.fonts.conf
195 * debian/po/cs.po:
196 * debian/po/da.po:
197 * debian/po/de.po:
198 * debian/po/es.po:
199 * debian/po/fr.po:
200 * debian/po/ja.po:
201 * debian/po/nl.po:
202 * debian/po/pt.po:
203 * debian/po/pt_BR.po:
204 * debian/po/templates.pot:
205 * debian/po/tr.po:
206 * debian/po/zh_CN.po:
207 Updated translations
208
209 * fc-cache/fc-cache.c: (main):
210 Destroy font configuration on exit to help valgrind
211
212 * fonts.conf.in:
213 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
214 (FcFreeTypeCheckGlyph):
215 Use own transcoding routines in preference to iconv
216 which appears to have leaks in some translators.
217 Call iconv_close after using iconv (oops).
218
219 Prefer unicode encoding of Euro char as some
220 fonts mis-encode Euro in other ones.
221
222 Must fetch bitmap glyphs to get width values
223 to check for monospace/dual-width fonts.
224
2ff4f076
RB
2252005-04-13 Ross Burton <ross@burtonini.com>
226
227 * src/fcpat.c:
228 Check that a pattern isn't already frozen in FcPatternFreeze.
229
ae7d0f35
RB
2302005-03-31 Ross Burton <ross@burtonini.com>
231
232 * src/fclist.c:
233 * src/fcmatch.c:
234 * src/fcpat.c:
235 Run all FcPattern objects through FcObjectStaticName, so that
236 compares can be done on pointers instead of strings (#2659)
237
15603274
TL
2382005-03-17 Tor Lillqvist <tml@novell.com>
239
240 * src/fontconfig.def.in: Add the .dll to the dll name.
241
5f347d9c
KP
2422005-03-10 Keith Packard <keithp@keithp.com>
243
244 * debian/README.Debian:
245 Update to reflect configuration changes
246 * debian/changelog:
247 * debian/fontconfig.postinst:
248 Fix Autohint vs Autohinter mistake
249 * debian/fontconfig.templates:
250 Adopt changes from Josselin Mouette for configuration descriptions
251 Update debian to version 2.3.1-2
252
8c740260
KP
2532005-03-08 Keith Packard <keithp@keithp.com>
254
255 * debian/changelog:
256 * debian/rules:
257 Update debian for 2.3.1
258
79da4fe9
TL
2592005-03-09 Tor Lillqvist <tml@novell.com>
260
261 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
262 put it, not "lib".
263
264 * src/fccfg.c (FcConfigFileExists): Check also drive letter
265 prefix on Win32.
266
d49dde9f
KP
2672005-03-08 Keith Packard <keithp@keithp.com>
268
269 * README:
270 * configure.in:
271 * fontconfig/fontconfig.h:
272 Update for 2.3.1
273
76a8dfa3
KP
2742005-03-05 Keith Packard <keithp@keithp.com>
275
276 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
277 Include space and remove numbers from valid script tags.
278 This ensures that tags like 'lao ' work while rejecting
279 those which have any digits.
280 Eliminate a spurious debugging variable (len)
281
219f7818
KP
2822005-03-05 Keith Packard <keithp@keithp.com>
283
284 * src/fcfreetype.c: (addtag), (GetScriptTags),
285 (FcFontCapabilities):
286 Rework GSUB/GPOS script parsing to survive broken fonts.
287 Thanks for the broken font go to Manish Singh
288
97bde49a
KP
2892005-03-05 Keith Packard <keithp@keithp.com>
290
291 Josselin Mouette:
292 * debian/changelog:
293 * debian/control:
294 * debian/fontconfig.config:
295 * debian/fontconfig.templates:
296 * debian/rules:
297 Include 2.3 release information in changelog
298 Add Josselin Mouette as an Uploader
299 Set hinting_type to low priority configuration option
300
301 Manish Singh:
302 * debian/fontconfig.postinst:
303 yes_bitmaps.conf -> yes-bitmaps.conf
304
305 Funda Wang:
306 * src/fcfreetype.c:
307 Johap -> Johab
308
683dc3c4
KP
3092005-03-02 Keith Packard <keithp@keithp.com>
310
311 * Makefile.am:
312 * conf.d/Makefile.am:
313 * conf.d/autohint.conf:
314 * conf.d/no-sub-pixel.conf:
315 * conf.d/sub-pixel.conf:
316 * conf.d/unhinted.conf:
317 * debian/autohint.conf:
318 * debian/fontconfig.install:
319 * debian/fontconfig.postinst:
320 * debian/fontconfig.templates:
321 * debian/no-sub-pixel.conf:
322 * debian/unhinted.conf:
323 Move debian-specific conf file examples upstream.
324
325 Sub-pixel configuration examples must smash subpixel value
326 as Xft always sets it from X.
327
328 Change sub-pixel rendering debconf descriptions from
329 Enable/Disable to Always/Never.
330
dc2e06ab
KP
3312005-03-02 Keith Packard <keithp@keithp.com>
332
333 * .cvsignore:
334 * conf.d/.cvsignore:
335 * doc/.cvsignore:
336 Ignore more build detritus
337
338 * Makefile.am:
339 Add debian package construction stuff.
340
341 * config/config.guess:
342 * config/config.sub:
343 Update to newer versions of these tools
344
345 * doc/Makefile.am:
346 Get library manuals to build again (we love automake).
347
348 * debian/README.Debian:
349 * debian/autohint.conf:
350 * debian/changelog:
351 * debian/compat:
352 * debian/control:
353 * debian/copyright:
354 * debian/fontconfig-udeb.install:
355 * debian/fontconfig.config:
356 * debian/fontconfig.defoma:
357 * debian/fontconfig.dirs:
358 * debian/fontconfig.install:
359 * debian/fontconfig.postinst:
360 * debian/fontconfig.postrm:
361 * debian/fontconfig.templates:
362 * debian/libfontconfig1-dev.install:
363 * debian/libfontconfig1.install:
364 * debian/local.conf.md5sum:
365 * debian/no-sub-pixel.conf:
366 * debian/po/POTFILES.in:
367 * debian/po/cs.po:
368 * debian/po/da.po:
369 * debian/po/de.po:
370 * debian/po/es.po:
371 * debian/po/fr.po:
372 * debian/po/ja.po:
373 * debian/po/nl.po:
374 * debian/po/pt.po:
375 * debian/po/pt_BR.po:
376 * debian/po/templates.pot:
377 * debian/po/tr.po:
378 * debian/po/zh_CN.po:
379 * debian/rules:
380 * debian/unhinted.conf:
381 Update debian build system to switch maintainers and
382 deal with 2.3 functionality
383
4afc00ca
KP
3842005-03-01 Keith Packard <keithp@keithp.com>
385
386 * README:
387 * configure.in:
388 * fontconfig/fontconfig.h:
389 Update for 2.3.0
390
0c009d2b
KP
3912005-03-01 Keith Packard <keithp@keithp.com>
392
393 * doc/Makefile.am:
394 Generate and install PDF versions of the manuals
395
396 * doc/fcpattern.fncs:
397 Fix formatting
398
399 * doc/fcstring.fncs:
400 Add missing exported functions, fix data types
401
402 * doc/fontconfig-devel.sgml:
403 Add missing pattern elements.
404
405 * doc/fontconfig-user.sgml:
406 Add missing pattern elements. Document conf.d usage,
407 clarify available orthography list. Fix some config file
408 attributes. Complete list of constants.
409
410 * fontconfig/fontconfig.h:
411 Mark FC_SOURCE deprecated.
412
413 * src/fcfreetype.c: (FcFreeTypeQuery):
414 Don't set FC_SOURCE any longer.
415
414f7202
KP
4162005-02-28 Keith Packard <keithp@keithp.com>
417
418 * Makefile.am:
419 * conf.d/Makefile.am:
420 * conf.d/README:
421 * conf.d/no-bitmaps.conf:
422 * conf.d/sub-pixel.conf:
423 * conf.d/yes-bitmaps.conf:
424 * configure.in:
425 Create prototype /etc/fonts/conf.d directory with a few
426 sample configuration files.
427 Deprecate use of local.conf for local customizations in favor of
428 this directory based scheme which is more easily integrated into
429 installation systems.
430
431 * src/fcname.c:
432 Tag FC_EMBOLDEN as a boolean variable
433
47b49bf1
KP
4342005-02-10 Keith Packard <keithp@keithp.com>
435
436 reviewed by: pborelli@katamail.com
437
438 * src/fcdir.c: (FcFileScanConfig):
439 Free patterns from fonts which are rejected by configuration
440 (bug #2518)
441
845a0bf3
KP
4422005-01-28 Keith Packard <keithp@keithp.com>
443
444 * README:
afca7836
KP
445 * configure.in:
446 * fontconfig/fontconfig.h:
447 Update for version 2.2.99
448
4492005-01-28 Keith Packard <keithp@keithp.com>
450
451 * README:
452 Add a few pointers (#2284, #2285)
845a0bf3 453
ca60d2b5
KP
4542005-01-28 Keith Packard <keithp@keithp.com>
455
456 * src/fcint.h:
457 * src/fcname.c: (FcNameBool):
458 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
459 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
460 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
461 Polite typechecking for test and edit expressions. Helps
afca7836 462 catch errors in the font configuration. (bug 229)
ca60d2b5 463
59e149e7
KP
4642005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
465
466 reviewed by: Keith Packard <keithp@keithp.com>
467
468 * configure.in:
469 Have --with-expat set EXPAT_CFLAGS (bug 2278)
470
d8ae9c92
KP
4712005-01-13 Keith Packard <keithp@keithp.com>
472
473 * doc/fontconfig-user.sgml:
474 Add SEE ALSO section (bug 2085)
475
4762005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
477
478 reviewed by: Keith Packard <keithp@keithp.com>
479
480 * Makefile.am:
481 * configure.in:
482 * doc/Makefile.am:
483 * fc-case/Makefile.am:
484 * fc-glyphname/Makefile.am:
485 * fc-lang/Makefile.am:
486 * src/fontconfig.def.in:
487 Cross compiling fixes (bug 280)
488
8759822e
KP
4892005-01-13 Keith Packard <keithp@keithp.com>
490
491 * fonts.conf.in:
492 Update blanks list (Closes bug 86)
493
fce87a18
KP
4942005-01-04 Keith Packard <keithp@keithp.com>
495
496 * src/fccache.c: (FcCacheFontSetAdd):
497 Verify that every font pattern loaded from cache has
498 both FC_FILE and FC_FAMILY entries.
499 Attempt to fix bug #2219.
500
d5346181
KP
5012004-12-29 Keith Packard <keithp@keithp.com>
502
503 * README:
504 * configure.in:
505 * fontconfig/fontconfig.h:
506 Update for version 2.2.98
507
479f551f
KP
5082004-12-29 Keith Packard <keithp@keithp.com>
509
510 * fontconfig/fontconfig.h:
511 Document ASCII limitations of Fc character conversion macros
512 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
513 Fix off-by-one error in utf-8 case walking code.
514 Add FcStrDowncase (useful for testing case conversion functions)
515
02748dd3
KP
5162004-12-29 Keith Packard <keithp@keithp.com>
517
518 * .cvsignore:
519 * fc-case/.cvsignore:
520 clean up CVS ignore lists
521 * fc-lang/iso-3166.txt:
522 Add territory database
523
5242004-12-29 Tor Andersson <tor.andersson@gmail.com>
525
526 Reviewed by: Keith Packard
527
528 * fc-lang/ko.orth:
529 Remove Han characters from Korean orthography
530
2ba729ed
KP
5312004-12-29 Keith Packard <keithp@keithp.com>
532
533 * Makefile.am:
534 Reorder utility programs to make sure fc-case is run before fc-lang
535 as fc-lang uses fcstr.c which uses fccase.h
536 * fonts.conf.in:
537 Fix broken XML
538
192296d8
KP
5392004-12-29 Keith Packard <keithp@keithp.com>
540
541 * fonts.conf.in:
542 Adopt some RedHat suggestions for standard font configuration.
543
544 * Makefile.am:
545 * configure.in:
546 * fc-case/CaseFolding.txt:
547 * fc-case/Makefile.am:
548 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
549 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
550 (dump), (parseRaw), (caseFoldReadRaw), (main):
551 * fc-case/fccase.tmpl.h:
552 Add new helper program 'fc-case' to construct case folding
553 tables from standard Unicode CaseFolding.txt file
554
555 * src/fcint.h:
556 * src/fclist.c: (FcListValueHash):
557 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
558 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
559 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
560 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
561 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
562 Re-implement case insensitive functions with Unicode
563 aware versions (including full case folding mappings)
564
5cf8c536
KP
5652004-12-13 Keith Packard <keithp@keithp.com>
566
567 reviewed by: Owen Taylor <otaylor@redhat.com>
568
569 * src/fcmatch.c: (FcFontSetSort):
570 I changed FcFontSetSort to respect the generic aliases better
571 in the face of language matching.
572
573 What I did was to ammend the strict sort order used by FcFontSort so
574 that it 'satisfies' the language specified in the pattern by locating
575 the best matching font supporting each pattern language and then
576 ignores language in the remaining fonts for purposes of matching.
577
578 So, when asking for 'sans:lang=en', you'll get an English font first,
579 and then the remaining fonts sorted with respect to the 'sans' alias
580 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
581
46a10637
KP
5822004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
583
584 reviewed by: Keith Packard <keithp@keithp.com>
585
586 * fontconfig/fontconfig.h:
587 * fonts.conf.in:
588
589 Configuration changes to request synthetic emboldening of
590 fonts. The actual emboldening code will live in Xft.
591
9af19286
KP
5922004-12-09 John Thacker <thacker@math.cornell.edu>
593
594 reviewed by: Keith Packard <keithp@keithp.com>
595
596 * fc-lang/ru.orth:
597
598 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
599 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
600 и), and don't even appear in KOI8-R. (The hypothesis that they
601 don't appear in KOI8-R due to their similarity with Latin I and i is
602 eliminated by their presence in KOI8-U.) I have a couple of fonts
603 with Russian support that don't have the letter.
604
605 Therefore, 0406 and 0456 should be removed from or commented out of
606 ru.orth
607
1c52c0f0
KP
6082004-12-06 michael meeks <mmeeks@novell.com>
609
610 Reviewed by: Keith Packard <keithp@keithp.com>
611
612 * src/fcinit.c: (FcMemReport):
613 * src/fcint.h:
614 * src/fclist.c: (FcObjectSetAdd):
615 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
616 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
617 * src/fcxml.c: (FcParsePatelt):
618 memoize strings and share a single copy for all uses. Note that
619 this could be improved further by using statically allocated blocks
620 and gluing multiple strings together, but I'm basically lazy.
621 In my environment with 800 font files, I get a savings of about 90KB.
622
46b51147
KP
6232004-12-06 Keith Packard <keithp@keithp.com>
624
625 * COPYING:
626 * Makefile.am:
627 * config/Makedefs.in:
628 * configure.in:
629 * doc/edit-sgml.c:
630 * doc/fcatomic.fncs:
631 * doc/fcblanks.fncs:
632 * doc/fccharset.fncs:
633 * doc/fcconfig.fncs:
634 * doc/fcconstant.fncs:
635 * doc/fcfile.fncs:
636 * doc/fcfontset.fncs:
637 * doc/fcfreetype.fncs:
638 * doc/fcinit.fncs:
639 * doc/fcmatrix.fncs:
640 * doc/fcobjectset.fncs:
641 * doc/fcobjecttype.fncs:
642 * doc/fcpattern.fncs:
643 * doc/fcstring.fncs:
644 * doc/fcstrset.fncs:
645 * doc/fcvalue.fncs:
646 * doc/fontconfig-devel.sgml:
647 * doc/fontconfig-user.sgml:
648 * doc/func.sgml:
649 * doc/version.sgml.in:
650 * fc-cache/Makefile.am:
651 * fc-cache/fc-cache.c:
652 * fc-glyphname/Makefile.am:
653 * fc-glyphname/fc-glyphname.c:
654 * fc-glyphname/fcglyphname.tmpl.h:
655 * fc-lang/Makefile.am:
656 * fc-lang/aa.orth:
657 * fc-lang/ab.orth:
658 * fc-lang/af.orth:
659 * fc-lang/am.orth:
660 * fc-lang/ar.orth:
661 * fc-lang/ast.orth:
662 * fc-lang/ava.orth:
663 * fc-lang/ay.orth:
664 * fc-lang/az.orth:
665 * fc-lang/az_ir.orth:
666 * fc-lang/ba.orth:
667 * fc-lang/bam.orth:
668 * fc-lang/be.orth:
669 * fc-lang/bg.orth:
670 * fc-lang/bh.orth:
671 * fc-lang/bho.orth:
672 * fc-lang/bi.orth:
673 * fc-lang/bin.orth:
674 * fc-lang/bn.orth:
675 * fc-lang/bo.orth:
676 * fc-lang/br.orth:
677 * fc-lang/bs.orth:
678 * fc-lang/bua.orth:
679 * fc-lang/ca.orth:
680 * fc-lang/ce.orth:
681 * fc-lang/ch.orth:
682 * fc-lang/chm.orth:
683 * fc-lang/chr.orth:
684 * fc-lang/co.orth:
685 * fc-lang/cs.orth:
686 * fc-lang/cu.orth:
687 * fc-lang/cv.orth:
688 * fc-lang/cy.orth:
689 * fc-lang/da.orth:
690 * fc-lang/de.orth:
691 * fc-lang/dz.orth:
692 * fc-lang/el.orth:
693 * fc-lang/en.orth:
694 * fc-lang/eo.orth:
695 * fc-lang/es.orth:
696 * fc-lang/et.orth:
697 * fc-lang/eu.orth:
698 * fc-lang/fa.orth:
699 * fc-lang/fc-lang.c:
700 * fc-lang/fc-lang.man:
701 * fc-lang/fclang.tmpl.h:
702 * fc-lang/fi.orth:
703 * fc-lang/fj.orth:
704 * fc-lang/fo.orth:
705 * fc-lang/fr.orth:
706 * fc-lang/ful.orth:
707 * fc-lang/fur.orth:
708 * fc-lang/fy.orth:
709 * fc-lang/ga.orth:
710 * fc-lang/gd.orth:
711 * fc-lang/gez.orth:
712 * fc-lang/gl.orth:
713 * fc-lang/gn.orth:
714 * fc-lang/gu.orth:
715 * fc-lang/gv.orth:
716 * fc-lang/ha.orth:
717 * fc-lang/haw.orth:
718 * fc-lang/he.orth:
719 * fc-lang/hi.orth:
720 * fc-lang/ho.orth:
721 * fc-lang/hr.orth:
722 * fc-lang/hu.orth:
723 * fc-lang/hy.orth:
724 * fc-lang/ia.orth:
725 * fc-lang/ibo.orth:
726 * fc-lang/id.orth:
727 * fc-lang/ie.orth:
728 * fc-lang/ik.orth:
729 * fc-lang/io.orth:
730 * fc-lang/is.orth:
731 * fc-lang/iso639-2:
732 * fc-lang/it.orth:
733 * fc-lang/iu.orth:
734 * fc-lang/ja.orth:
735 * fc-lang/ka.orth:
736 * fc-lang/kaa.orth:
737 * fc-lang/ki.orth:
738 * fc-lang/kk.orth:
739 * fc-lang/kl.orth:
740 * fc-lang/km.orth:
741 * fc-lang/kn.orth:
742 * fc-lang/ko.orth:
743 * fc-lang/kok.orth:
744 * fc-lang/ks.orth:
745 * fc-lang/ku.orth:
746 * fc-lang/ku_ir.orth:
747 * fc-lang/kum.orth:
748 * fc-lang/kv.orth:
749 * fc-lang/kw.orth:
750 * fc-lang/ky.orth:
751 * fc-lang/la.orth:
752 * fc-lang/lb.orth:
753 * fc-lang/lez.orth:
754 * fc-lang/lo.orth:
755 * fc-lang/lt.orth:
756 * fc-lang/lv.orth:
757 * fc-lang/mg.orth:
758 * fc-lang/mh.orth:
759 * fc-lang/mi.orth:
760 * fc-lang/mk.orth:
761 * fc-lang/ml.orth:
762 * fc-lang/mn.orth:
763 * fc-lang/mo.orth:
764 * fc-lang/mr.orth:
765 * fc-lang/mt.orth:
766 * fc-lang/my.orth:
767 * fc-lang/nb.orth:
768 * fc-lang/nds.orth:
769 * fc-lang/ne.orth:
770 * fc-lang/nl.orth:
771 * fc-lang/nn.orth:
772 * fc-lang/no.orth:
773 * fc-lang/ny.orth:
774 * fc-lang/oc.orth:
775 * fc-lang/om.orth:
776 * fc-lang/or.orth:
777 * fc-lang/os.orth:
778 * fc-lang/pl.orth:
779 * fc-lang/ps_af.orth:
780 * fc-lang/ps_pk.orth:
781 * fc-lang/pt.orth:
782 * fc-lang/rm.orth:
783 * fc-lang/ro.orth:
784 * fc-lang/ru.orth:
785 * fc-lang/sa.orth:
786 * fc-lang/sah.orth:
787 * fc-lang/sco.orth:
788 * fc-lang/se.orth:
789 * fc-lang/sel.orth:
790 * fc-lang/sh.orth:
791 * fc-lang/si.orth:
792 * fc-lang/sk.orth:
793 * fc-lang/sl.orth:
794 * fc-lang/sm.orth:
795 * fc-lang/sma.orth:
796 * fc-lang/smj.orth:
797 * fc-lang/smn.orth:
798 * fc-lang/sms.orth:
799 * fc-lang/so.orth:
800 * fc-lang/sq.orth:
801 * fc-lang/sr.orth:
802 * fc-lang/sv.orth:
803 * fc-lang/sw.orth:
804 * fc-lang/syr.orth:
805 * fc-lang/ta.orth:
806 * fc-lang/te.orth:
807 * fc-lang/tg.orth:
808 * fc-lang/th.orth:
809 * fc-lang/ti_er.orth:
810 * fc-lang/ti_et.orth:
811 * fc-lang/tig.orth:
812 * fc-lang/tk.orth:
813 * fc-lang/tl.orth:
814 * fc-lang/tn.orth:
815 * fc-lang/to.orth:
816 * fc-lang/tr.orth:
817 * fc-lang/ts.orth:
818 * fc-lang/tt.orth:
819 * fc-lang/tw.orth:
820 * fc-lang/tyv.orth:
821 * fc-lang/ug.orth:
822 * fc-lang/uk.orth:
823 * fc-lang/ur.orth:
824 * fc-lang/uz.orth:
825 * fc-lang/ven.orth:
826 * fc-lang/vi.orth:
827 * fc-lang/vo.orth:
828 * fc-lang/vot.orth:
829 * fc-lang/wa.orth:
830 * fc-lang/wen.orth:
831 * fc-lang/wo.orth:
832 * fc-lang/xh.orth:
833 * fc-lang/yap.orth:
834 * fc-lang/yi.orth:
835 * fc-lang/yo.orth:
836 * fc-lang/zh_cn.orth:
837 * fc-lang/zh_hk.orth:
838 * fc-lang/zh_mo.orth:
839 * fc-lang/zh_sg.orth:
840 * fc-lang/zh_tw.orth:
841 * fc-lang/zu.orth:
842 * fc-list/Makefile.am:
843 * fc-list/fc-list.c:
844 * fc-match/Makefile.am:
845 * fc-match/fc-match.1:
846 * fc-match/fc-match.c:
847 * fontconfig/fcfreetype.h:
848 * fontconfig/fcprivate.h:
849 * fontconfig/fontconfig.h:
850 * src/fcatomic.c:
851 * src/fcblanks.c:
852 * src/fccache.c:
853 * src/fccfg.c:
854 * src/fccharset.c:
855 * src/fcdbg.c:
856 * src/fcdefault.c:
857 * src/fcdir.c:
858 * src/fcfreetype.c:
859 * src/fcfs.c:
860 * src/fcinit.c:
861 * src/fcint.h:
862 * src/fclang.c:
863 * src/fclist.c:
864 * src/fcmatch.c:
865 * src/fcmatrix.c:
866 * src/fcname.c:
867 * src/fcpat.c:
868 * src/fcstr.c:
869 * src/fcxml.c:
870 Change files from ISO-Latin-1 to UTF-8
871
fc2cc873
KP
8722004-12-04 Keith Packard <keithp@keithp.com>
873
874 * INSTALL:
875 Update links to new freedesktop.org locations
876 * Makefile.am:
877 Add uninstall-local to get rid of fonts.conf and local.conf if they
878 match the distributed versions. Fixes 'make distcheck'
879
308dc9c3
KP
8802004-12-04 Keith Packard <keithp@keithp.com>
881
882 * README:
883 * configure.in:
884 * fontconfig/fontconfig.h:
885 Updates for version 2.2.97
886
54560b01
KP
8872004-12-04 Owen Taylor <otaylor@redhat.com>
888
889 reviewed by: Keith Packard <keithp@keithp.com>
890
891 * fc-cache/fc-cache.c: (main):
892 Sleep for two seconds before exiting to make sure timestamps
893 for future changes have distinct mod times in the file system.
894 Bug #1982.
895 * fc-lang/pa.orth:
896 Add Punjabi orthography. Bug #1671.
897
c5a0b541
KP
8982004-12-04 Keith Packard <keithp@keithp.com>
899
900 * fonts.conf.in:
901 Just remove the FC_FONTDATE -- it has locale issues and
902 annoys redhat multi-arch installs. Now that all X fonts are
903 included without prejudice, the chances of the date being at
54560b01 904 all interesting are rather limited. Bug #505.
c5a0b541
KP
905 * src/Makefile.am:
906 Add copyright and license
907
2d9c79c0
KP
9082004-12-04 Keith Packard <keithp@keithp.com>
909
910 * configure.in:
911 Change default set of fonts to include all of
912 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
913 * doc/fontconfig-user.sgml:
914 Document new <include>directory-name</include> semantics
915 * fonts.conf.in:
916 add <include ignore_missing="yes">conf.d</include>
917 * local.conf:
918 Add selectfont to ignore bitmap fonts, add comment for
919 selectfont which accepts bitmap fonts.
920 * src/fcdir.c:
921 * src/fcint.h:
922 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
923 Allow <include> configuration elements to reference directories.
924 Parse and load all files of the form [0-9]* in sorted order.
925
38e528e7
KP
9262004-12-04 Keith Packard <keithp@keithp.com>
927
928 * autogen.sh:
929 Report command line for $srcdir/configure accurately.
930 Bug #212.
931
e4125ef9
KP
9322004-12-04 Keith Packard <keithp@keithp.com>
933
934 * src/fcfreetype.c: (FcFreeTypeQuery):
935 Check for non-empty face->family_name and face->style_name
936 before using those for the font. Empty names match everything.
38e528e7 937 Bug #210.
e4125ef9 938
537e3d23
KP
9392004-12-04 Keith Packard <keithp@keithp.com>
940
941 * configure.in:
942 * fontconfig/fontconfig.h:
943 * src/fcfreetype.c: (FcFreeTypeQuery):
944 * src/fcname.c:
945 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
946 available. This provides font file format information (BDF, Type 1,
947 PCF, TrueType) for each font. Closes #109.
948
dbf68dd5
KP
9492004-12-04 Daniel Glassey <danglassey@ntlworld.com>
950
951 reviewed by: Keith Packard <keithp@keithp.com>
952
953 * doc/fontconfig-user.sgml:
954 Fix typo.
955
956 * fontconfig/fontconfig.h:
957 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
958 (GetScriptTags), (FcFontCapabilities):
959 * src/fcname.c:
960 Add detection for font capabilities (bug #105)
961
4f27c1c0
KP
9622004-12-04 Keith Packard <keithp@keithp.com>
963
964 * Makefile.am:
965 Move existing fonts.conf to fonts.conf.bak
966
967 * configure.in:
968 Add detection of iconv
969
970 * doc/fcpattern.fncs:
971 * doc/fontconfig-devel.sgml:
972 * doc/fontconfig-user.sgml:
973 * fonts.dtd:
974 Document new selectfont elements
975
976 * fc-lang/nb.orth:
977 Switch to UTF-8 in comment
978
979 * fontconfig/fontconfig.h:
980 * src/fcname.c:
981 Add fullname, and family/style/fullname language entries
982
983 * src/fccache.c: (FcCacheFontSetAdd):
984 * src/fcdir.c: (FcFileScanConfig):
985 Respect selectfont/*/glob
986
987 * src/fcint.h:
988 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
989 (FcConfigCompareValue), (FcConfigPatternsAdd),
990 (FcConfigPatternsMatch), (FcConfigAcceptFont):
991 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
992 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
993 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
994 Add support for selectfont
995
996 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
997 (FcStringInPatternElement), (FcFreeTypeQuery):
998 Add multi-lingual family/style/fullname support
999
1000 * src/fclist.c: (FcListPatternMatchAny):
1001 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1002
1003 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1004 (FcObjectStaticName):
1005 Add new FcPatternRemove/FcPatternAppend.
1006 FcObjectStaticName stores computed pattern element names which
1007 are required to be static.
1008
c641c77d
KP
10092004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1010
1011 reviewed by: keithp
1012
1013 * Makefile.am:
1014 Remove spurious / after $(DESTDIR)
1015
b5f36ca0
KP
10162004-06-30 Keith Packard <keithp@keithp.com>
1017
1018 * README:
1019 * configure.in:
1020 * fontconfig/fontconfig.h:
1021 Update for 2.2.96
1022
28f93bc4
KP
10232004-06-30 Keith Packard <keithp@keithp.com>
1024
1025 Provided by: Lubos Lunak <l.lunak@suse.cz>
1026
1027 * src/fccfg.c: (FcConfigUptoDate):
1028 However FcConfigUptoDate() doesn't seem to work. See the attached
1029 patch. First there's an obvious misplaced parenthesis making it
1030 return always false, and second, even this call fails to detect font
1031 changes (e.g. adding a new font to
1032 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1033 well. The problem seems to be triggered by my fonts.conf specifying
1034 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1035 doesn't include subdirs, unlike config->fontDirs.
1036
3d1ea0e5
KP
10372004-06-03 Keith Packard <keithp@keithp.com>
1038
1039 * fontconfig/fontconfig.h:
1040 Remove comma at end of FcResult enum definition.
1041
087d899c
KP
10422004-05-29 Keith Packard <keithp@keithp.com>
1043
1044 * INSTALL:
1045 Add steps to md5sum release
1046
d81271eb
KP
10472004-05-29 Keith Packard <keithp@keithp.com>
1048
1049 * README:
1050 * configure.in:
1051 * fontconfig/fontconfig.h:
1052 Update for 2.2.95
1053
ec0c740e
KP
10542004-05-29 Keith Packard <keithp@keithp.com>
1055
1056 * fontconfig/fontconfig.h:
1057 * src/fcmatch.c: (FcFontSetMatch):
1058 Add FcResultOutOfMemory to provide an accurate error when
1059 FcFontSetMatch fails in this way
1060
1061 * src/fcfreetype.c:
1062 Make #warning about lacking various FreeType features indicate
1063 which version those features appeared so users know how to
1064 fix the problem (Thanks to Anton Tropashko)
1065
55a69bd0
KP
10662004-05-05 Keith Packard <keithp@keithp.com>
1067
1068 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1069 Replace MIN/MAX/ABS macros which happen to have come
1070 from FreeType with fontconfig-specific ones (FC_*)
1071
bd0ddac8
KP
10722004-04-23 Keith Packard <keithp@keithp.com>
1073
1074 * INSTALL:
1075 Extend release preparation instructions to include
1076 notification and distribution steps
1077
626a7016
KP
10782004-04-23 Keith Packard <keithp@keithp.com>
1079
1080 * README:
1081 * configure.in:
1082 * fontconfig/fontconfig.h:
1083 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1084
7969113f
KP
10852004-04-23 Keith Packard <keithp@keithp.com>
1086
1087 * .cvsignore:
1088 Ignore a few more autotool files
1089
6ae6acf3
KP
10902004-04-14 Keith Packard <keithp@keithp.com>
1091
1092 * INSTALL:
1093 Add instructions for doing a release
1094
1095 * fontconfig.spec.in:
1096 clean up .spec file; perhaps this will be useful to somebody...
1097
1098 * README:
1099 * configure.in:
1100 * fontconfig/fontconfig.h:
1101 Update to 2.2.93
1102
1103 * fc-lang/fc-lang.c:
1104 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1105
1106 * fc-glyphname/Makefile.am:
1107 * fc-lang/Makefile.am:
1108 * fc-list/Makefile.am:
1109 * fc-match/Makefile.am:
1110 * src/Makefile.am:
1111 Add WARN_CFLAGS to pass -W flags for GCC systems
1112
1113 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1114 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1115 Change various char types around to match across
1116 function calls.
1117 Fixed bug in using available_sizes[i].height which
1118 is in pixels, not 64ths of a pixel.
1119
89e28590
KP
11202004-03-06 Keith Packard <keithp@keithp.com>
1121
1122 * src/fcfreetype.c: (FcFreeTypeQuery):
1123 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1124 matches looking for explicit values prefer exact matches
1125
02638f1a
KP
11262004-03-02 Keith Packard <keithp@keithp.com>
1127
1128 Supplied by: mfabian@suse.de (Mike FABIAN)
1129
1130 * src/fcfreetype.c: (FcFreeTypeQuery):
1131 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1132 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1133
de66e750
MS
11342004-02-21 Manish Singh <yosh@gimp.org>
1135
1136 * fc-glyphname/fc-glyphname.c: (main):
1137 Cast strlen to int for printf, so we're 64-bit clean.
1138
208a720f
KP
11392004-02-11 Keith Packard <keithp@keithp.com>
1140
1141 * configure.in:
1142 * src/fcfreetype.c: (FcGetPixelSize):
1143 Ok, so I messed up the test for y_ppem. Let's see if I
1144 got it right this time.
1145
4f38fa81
KP
11462004-02-10 Keith Packard <keithp@keithp.com>
1147
1148 * configure.in:
1149 * src/fcfreetype.c: (FcGetPixelSize):
1150 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1151 FT_Bitmap_Size record. Add a configure.in test for this
1152 and change the code accordingly (using height instead).
1153
b68b9646
KP
11542004-02-06 Keith Packard <keithp@keithp.com>
1155
1156 * fc-lang/nds.orth:
1157 Add Low Saxon orthography
1158 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1159
1160 * src/fccfg.c: (FcConfigNewestFile):
1161 Oops. Left 'newest.set' unset, which would miscompute
1162 the newest file
1163
1164 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1165 (FcFreeTypeCheckGlyph):
1166 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1167 font properties (which report the wrong value in current FreeType)
1168
1169 Don't attempt to check for empty glyphs in non-scalable fonts; they
1170 have no outlines...
1171
f4c52909
TL
11722004-02-01 Tor Lillqvist <tml@iki.fi>
1173
1174 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1175 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1176 cache if config->cache is NULL, which happens if FcConfigHome() is
1177 NULL. Guard against that by using the temp folder in that case.
1178
d3481737
RP
11792004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1180
1181 * fc-lang/az_ir.orth:
1182 * fc-lang/ku_ir.orth:
1183 * fc-lang/ps_af.orth:
1184 * fc-lang/ps_pk.orth:
1185 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1186 (Afghan and Pakistani).
1187 * fc-lang/ur.orth:
1188 Updated Urdu orthography with real data.
1189
d098e4eb
CW
11902003-12-11 Carl Worth <cworth@east.isi.edu>
1191
1192 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1193 USEDOCBOOK' block.
1194
1195 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1196 USEDOCBOOK' block.
1197 (all-local): Remove excessive whitespace.
1198
1199 * autogen.sh: Add 'set -e' to abort when any program fails,
1200 (avoids printing of 'now type make' after configure aborts).
1201
408dd9c0
KP
12022003-11-17 Eric Christopherson <rakko@charter.net>
1203
1204 reviewed by: Keith Packard <keithp@keithp.com>
1205
1206 * doc/Makefile.am:
1207 * fontconfig/fcfreetype.h:
1208 * src/fcfreetype.c:
1209 Switch to FreeType 2.1.7 style includes. Bug #150.
1210
8e8fcda4
NL
12112003-11-16 Noah Levitt <nlevitt@columbia.edu>
1212
1213 * fc-list/fc-list.sgml: Add some example usages.
1214
344a0e33
RP
12152003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1216
1217 * src/fcxml.c:
1218 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1219 separators.
1220
12212003-10-27 Keith Packard <keith@keithp.com>
27143fc9
KP
1222
1223 * configure.in:
1224 * fontconfig/fontconfig.h:
1225 Update to version 2.2.92
1226
4cbc3ee8
KP
12272003-10-27 Keith Packard <keithp@keithp.com>
1228
1229 * Makefile.am:
1230 * configure.in:
1231 * doc/Makefile.am:
1232 * fc-cache/Makefile.am:
1233 * fc-glyphname/Makefile.am:
1234 * fc-lang/Makefile.am:
1235 * fc-list/Makefile.am:
1236 * fc-match/Makefile.am:
1237 * test/Makefile.am:
1238 * test/run-test.sh:
1239 Yet more cleanups to finish getting 'make distcheck' working
1240 This has been tested to ensure that it even works from a _build
1241 directory.
1242
394b2bf0
KP
12432003-10-26 Keith Packard <keithp@keithp.com>
1244
1245 * configure.in:
1246 * doc/Makefile.am:
1247 * fc-cache/Makefile.am:
1248 * fc-glyphname/Makefile.am:
1249 * fc-lang/Makefile.am:
1250 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1251 * fc-list/Makefile.am:
1252 * fc-match/Makefile.am:
1253 Attempts to fix 'make distcheck' work. Things are
1254 progressing pretty well, but there are still failures
1255 long into the process dealing with docs (as always).
1256
1257 The big changes here are mostly to make $(srcdir) != "."
1258 work correctly, fixing the docbook related sections and
1259 fc-lang were particularily tricky. Docbook refuses to load
1260 system entities from anywhere other than where the original .sgml
1261 file was located, so no luck looking in "." for the
1262 configure-generated version.sgml and confdir.sgml files.
1263
1264 fc-lang needed help finding .orth files; added a -d option
1265 to set the directory as the least evil of many options.
1266
1267 Now to go use a faster machine and try and wring out the last
1268 issues.
1269
3541556b
KP
12702003-10-26 Keith Packard <keithp@keithp.com>
1271
1272 Tag version 2.2.91
1273
e99043ac
KP
12742003-10-26 Keith Packard <keithp@keithp.com>
1275
1276 * doc/Makefile.am:
1277 Include confdir.sgml.in in EXTRA_DIST
1278
75839218
JM
12792003-10-09 Josselin Mouette <joss@debian.org>
1280
1281 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1282 * fc-list/fc-list.sgml fc-list/Makefile.am:
1283 Replace fc-cache and fc-list manpages with more detailed, SGML
1284 versions.
1285
f077d662
OT
12862003-09-23 Owen Taylor <otaylor@redhat.com>
1287
1288 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1289 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1290 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1291 (Bug #117)
1292
44f59f71
OT
12932003-09-23 Owen Taylor <otaylor@redhat.com>
1294
1295 * fc-lang/ka.orth: Remove Georgian capitals, they
1296 aren't used for normal writing. (Bug #116)
1297
a05d257f
NL
12982003-09-06 Noah Levitt <nlevitt@columbia.edu>
1299
1300 * doc/fontconfig-devel.sgml:
1301 * doc/fontconfig-user.sgml:
1302 * fontconfig/fontconfig.h:
1303 * src/fcname.c:
1304 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1305 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1306
1307 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1308 monospace and dual-width fonts, allow roughly a 3% variance in the
1309 advances.
1310
3ef32bcd
MS
13112003-08-31 Manish Singh <yosh@gimp.org>
1312
1313 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1314 use default config.
1315
34cd0514
CW
13162003-08-15 Carl Worth <cworth@isi.edu>
1317
1318 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1319 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1320
1321 * src/fcpat.c (FcValueListEntDestroy): New function to support
1322 FcFini memory cleanup. Some statistics are not kept in
1323 synch. here.
1324 (FcValueListFreeze): Move hashTable outside this function so it
1325 can be accessed by FcValueListThawAll.
1326 (FcValueListThawAll): New function complements FcValueListFreeze.
1327 (FcPatternBaseFreeze): Move hashTable outside this function so it
1328 can be accessed by FcPatternBaseThawAll.
1329 (FcPatternBaseThawAll): New function complements
1330 FcPatternBaseFreeze.
1331 (FcPatternThawAll): New function complements FcPatternFreeze.
1332
1333 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1334
1335 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1336 allocated FcCharLeafEnt "blocks" so they can be freed later.
1337 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1338 can be accessed by FcCharSetThawAllLeaf.
1339 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1340 (FcCharSetFreezeBase): Move hashTable outside this function so it
1341 can be accessed by FcCharSetThawAll.
1342 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1343
1344 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1345 (FcConfigDestroy): Fic leak of FcBlanks.
1346
1347 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1348 (main): Add call to FcFini when finished.
1349
1350 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1351 static. Add prototypes.
1352
1353 * doc/fcinit.fncs: Add documentation for FcFini function.
1354
1355 * doc/edit-sgml.c: Mark several local functions as static. Add
1356 prototypes.
1357
1358 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1359
c3941ba9
TL
13602003-06-15 Tor Lillqvist <tml@iki.fi>
1361
231051f4
TL
1362 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1363 before comparing (needed on Windows).
1364
c3941ba9
TL
1365 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1366
ee1d8125
TL
13672003-06-13 Tor Lillqvist <tml@iki.fi>
1368
1369 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1370 man pages.
1371
1372 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1373 WINDOWSFONTDIR token.
1374
1375 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1376 end, not to confuse libtool, which expects the EXPORTS line to be
1377 the first. Add FcConfigEnableHome.
1378
e5206dbc
TL
1379 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1380 built as a DLL on Win32.
1381
4ae7f71c
KP
13822003-06-09 Keith Packard <keithp@keithp.com>
1383
1384 * Tag version 2.2.90
1385
8edb970e
KP
13862003-06-09 Keith Packard <keithp@keithp.com>
1387
1388 * Optimization in FcLangSetIndex was broken, occasionally
1389 returning a pointer to the wrong location on miss
1390
1391 * Add fc-match to test font matching from the command line.
1392
13932003-05-31 Keith Packard <keithp@keithp.com>
1394
1395 * (Bug 85) add support for culmus fonts
1396 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1397 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1398
13992003-05-28 James Su <suzhe@turbolinux.com.cn>
1400
1401 * Fix "contains" op for strings and langsets.
1402
14032003-05-17 Keith Packard <keithp@keithp.com>
1404
1405 * Fix build error with BDF prop local. Free langset after query
1406
14072003-05-14 Keith Packard <keithp@keithp.com>
1408
1409 * Extract spacing from XLFD atom
1410
14112003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1412
1413 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1414 disappeared in 1.30.
1415
1416 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1417
14182003-05-12 Keith Packard <keithp@keithp.com>
1419
1420 * Use FcIsWidth to share code
1421
1422 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1423 misclassifying some Han fonts as monospaced.
1424
14252003-05-07 Keith Packard <keithp@keithp.com>
1426
1427 * Add filename-based accept/reject to ammend available fonts.
1428
1429 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1430 older FreeType releases.
1431
14322003-05-06 Keith Packard <keithp@keithp.com>
1433
1434 * Remove 0b82 and Tamil numbers from tamil
1435 orthography (Jungshik Shin <jshin@mailaps.org>)
1436
14372003-05-04 Keith Packard <keithp@keithp.com>
86b12431
KP
1438
1439 + Map glyph names in fonts with adobe custom encoding to unicode
1440
8edb970e
KP
14412003-05-02 Keith Packard <keithp@keithp.com>
1442
1443 * Add FC_WEIGHT_BOOK as weight 75
1444
14452003-04-30 Keith Packard <keithp@keithp.com>
1446
1447 * Typo in bitstream foundry name
1448
14492003-04-24 Keith Packard <keithp@keithp.com>
1450
1451 * Eliminate italic_angle check for PS fonts
1452
14532003-04-23 Noah Levitt <nlevitt@columbia.edu>
1454
1455 * Getting closer to fixing /etc/fonts hard-coding.
1456
14572003-04-22 Keith Packard <keithp@keithp.com>
1458
1459 * Update autogen.sh to work with newer automake versions
1460 * Handle pattern elements moving during multiple edits
1461
8c87b429
KP
14622003-04-23 James Henstridge <james@daa.com.au>
1463
1464 * doc/fontconfig-devel.sgml: close the <para> element.
1465
1466 * doc/fcpattern.fncs: close the <para> element.
1467
1468 * doc/func.sgml: close the <refsynopsisdiv> element.
1469
8edb970e
KP
14702003-04-22 Keith Packard <keithp@keithp.com
1471
1472 * Update autogen.sh to work with newer automake versions
1473 * Handle pattern elements moving during multiple edits
1474
12d49d3c
CW
14752003-04-17 Colin Walters <walters@debian.org>
1476
1477 + Remove some unused variables, and initialize some other ones so
1478 gcc doesn't warn us.
1479
ab06f005
KP
14802003-04-16 Keith Packard <keithp@keithp.com>
1481
1482 + tag version 2.1.94
1483
14842003-04-16 Keith Packard <keithp@keithp.com>
1485
1486 + add BDF property fetching support for foundry
1487 (from Juliusz Chroboczek)
1488 + add BDF property fetching support for width
1489
14902003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1491
1492 + Implemented foundry generation for Type 1 and TrueType
1493
14942003-04-11 Gerard Escalante <g2@magestudios.net>
1495
1496 + Retrieve information from Type1 FontInfo dictionaries
1497
8c8caabd
CW
14982003-04-07 Colin Walters <walters@verbum.org>
1499
1500 + src/Makefile.am: Fix dummy makefile target names when
1501 MS_LIB_AVAILABLE isn't set.
1502
daeed6e0
TL
15032003-03-22 Tor Lillqvist <tml@iki.fi>
1504
1505 Changes for Windows:
1506
1507 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1508
1509 + We don't want to hardcode the fonts.conf file location in the
1510 DLL, so we look up the DLL location at run-time in a DllMain()
1511 function. The fonts.conf location is deduced from that.
1512
1513 + The colon can't be used as path separator on Windows,
1514 semicolon is used instead. File path components can be separated
1515 with either slash or backslash. Absolute paths can also begin
1516 with a drive letter.
1517
1518 + Add internal function FcStrLastSlash that strrchr's the last
1519 slash, or backslash on Windows.
1520
1521 + There is no link() on Windows. For atomicity checks, mkdir a
1522 lock directory instead.
1523
1524 + In addition to HOME, also look for USERPROFILE.
1525
1526 + Recognize the special font directory token WINDOWSFONTDIR, to
1527 use the system's font directory.
1528
1529 + Remove the fontconfig-def.cpp that was obsolete. Add
1530 fontconfig.def(.in), without internal functions.
1531
1532 + Add a fontconfig-zip(.in) script, used to build a binary
1533 distribution.
1534
dbe9a11e
MH
1535Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1536 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1537 to main package and man3/* to devel package
1538
1539 + Added missing defattr(-, root, root) to main RPM package
1540
1541 + Added HTML and text development documentation to -devel subpackage
1542
c92abf78
MH
1543Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1544 + Added back the configure macro options --disable-docs, otherwise
1545 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1546 version number) unconditionally, causing RPM to fail the build due
1547 to _unpackaged_files_terminate_build. We pick up the pregenerated
1548 docs with %doc already.
1549
b06766e4
MH
1550Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1551 + Removed commented out rpm macro define at top of spec file,
1552 replacing it with a simple explanation, since rpm macros are
1553 expanded by rpm even in comments.
1554
1555 + Changed /usr/bin to _bindir in BuildRequires lines
1556
1557 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1558
1559 + Reorganized file manifest lists
1560
1561Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
22dc6fc6
OT
1562
1563 + fontconfig.spec.in: Improvements from Red Hat spec file.
1564
1565 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1566
1567 + docs/*.sgml: SGML fixes.
1568
8fc10a72
KP
1569Sat Mar 1 17:28:53 PST 2003 keithp
1570 + Ok, so the ChangeLog is a bit out of date
1571
1572 + Lots of bugs fixed; most are in bugzilla, the
1573 biggest problems were in cache management where
1574 Owen discovered the library would lose badly when
1575 combining fonts-cache and ~/.fonts-cache data
1576
1577 + Converted from autoconf to automake. This after
1578 getting patches accepted into libtool to allow
1579 the '-version-number' argument which lets
1580 packages set version numbers explicitly rather
1581 than the roundabout libtool way
1582
1583 + Converted documentation to SGML using the docbook
1584 DTD. Now .txt and .html documents are installed
1585 in /usr/share/doc/fontconfig and there's no
1586 man page. Perhaps a man version can be written
1587 at some point.
1588
c2022f99
KP
1589Sat Aug 31 15:21:22 PDT 2002 keithp
1590 + Xrender and Xft had several bugs related to
1591 rendering manually placed or poly-face text
1592
1593 + Added more complete memory tracing in fontconfig
1594 Checked with (patched) mozilla and found no leaks
1595
1596 + Updated Latin orthographies by comparing those from
1597 evertype.com with those from eki.ee. Tried to make
1598 sensible choices, including chars that occured in both
1599 and leaving some optional chars out that occured only
1600 in one.
1601
2458a6d8 1602Mon Aug 26 16:33:04 PDT 2002 keithp
c2022f99 1603 + Owen discovered that FcLangSetHasLang wasn't actually
2458a6d8
KP
1604 checking the language set.
1605
5d6788ac
KP
1606Mon Aug 26 13:37:23 PDT 2002 keithp
1607 + Append a version number to cache filenames
1608
47d4f950
KP
1609Thu Aug 22 11:36:18 PDT 2002 keithp
1610
1611 + Add "contains" and "not_contains" operators and elements to
1612 font configuration
1613
1614 + Changed semantics of eq operator for LangSets to check for
1615 FcLangEqual so that any match will do
1616
1617 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1618 of FcValueEqual to check for identical values when inserting into
1619 the results. This broke when the above semantic change was made,
1620 now it uses FcValueEqual which is "more correct" in any case.
1621
d8d73958
KP
1622Thu Aug 22 00:32:29 PDT 2002 keithp
1623
1624 + Reimplement FC_LANG as new datatype. Lists of strings
1625 was consuming over a megabyte of memory for 401 fonts.
1626
1627 + Freeze patterns loaded from cache files. This shares
1628 common value lists and common patterns which saves
1629 considerable memory.
1630
1631 + Change the denotation of 'constant' charsets to use special
1632 ref value instead of separate boolean.
1633
1634 + Clean up leak tracing stuff, found several unannoted alloc/free
1635 calls
1636
1637Tue Aug 20 16:17:37 PDT 2002 keithp
1638
1639 + Fix memory leak when parsing matrices from XML
1640
1641Mon Aug 19 11:57:27 PDT 2002 keithp
1642
fa244f3d
KP
1643 + Fix autoconf files to pass FONTCONFIG_PATH on
1644 compile line so that ${prefix} gets substituted
1645 correctly.
1646
1647 + Use getc_unlocked/putc_unlocked on systems that
1648 provide them to avoid damage done to stdio by posix
1649
1650 + Eliminate FC_PATTERN and FcTypePattern in favor of
1651 an extended api for FcConfigSubstitute which takes
1652 both the font and the pattern.
1653
1654 + Add 'sans serif' alias for 'sans-serif' as some apps
1655 can't handle hyphens in family names
1656
1657 + Eliminate pretense of support for libxml2
1658
1659 + Comment origins of Han orthographies
1660
aefb2c41
KP
1661Tue Jul 30 18:37:09 PDT 2002 keithp
1662
1663 + Add binding property to edit element so that strong
1664 binding values may be inserted by the config file.
1665 The default remains weak.
1666
1667Sun 28 Jul 04:16:55 PDT 2002 keithp
1668
1669 + Tagged release candidate 1 in the CVS tree and
1670 placed fcpackage.rc1.tar.gz for distribution
1671
1672Thu Aug 1 08:55:08 PDT 2002 keithp
1673
1674 + Fixed autoconf builds to always specify install
1675 target files (for BSD). Also fixed to
1676 define FONTCONFIG_PATH in config.h so that
1677 nonstandard installs will actually work.