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