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