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