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