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