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