]> git.wh0rd.org - fontconfig.git/blob - ChangeLog
Replace MIN/MAX/ABS macros which happen to have come from FreeType with
[fontconfig.git] / ChangeLog
1 2004-05-05 Keith Packard <keithp@keithp.com>
2
3 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
4 Replace MIN/MAX/ABS macros which happen to have come
5 from FreeType with fontconfig-specific ones (FC_*)
6
7 2004-04-23 Keith Packard <keithp@keithp.com>
8
9 * INSTALL:
10 Extend release preparation instructions to include
11 notification and distribution steps
12
13 2004-04-23 Keith Packard <keithp@keithp.com>
14
15 * README:
16 * configure.in:
17 * fontconfig/fontconfig.h:
18 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
19
20 2004-04-23 Keith Packard <keithp@keithp.com>
21
22 * .cvsignore:
23 Ignore a few more autotool files
24
25 2004-04-14 Keith Packard <keithp@keithp.com>
26
27 * INSTALL:
28 Add instructions for doing a release
29
30 * fontconfig.spec.in:
31 clean up .spec file; perhaps this will be useful to somebody...
32
33 * README:
34 * configure.in:
35 * fontconfig/fontconfig.h:
36 Update to 2.2.93
37
38 * fc-lang/fc-lang.c:
39 Make 'scanopen' static so GCC doesn't whine about lacking prototype
40
41 * fc-glyphname/Makefile.am:
42 * fc-lang/Makefile.am:
43 * fc-list/Makefile.am:
44 * fc-match/Makefile.am:
45 * src/Makefile.am:
46 Add WARN_CFLAGS to pass -W flags for GCC systems
47
48 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
49 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
50 Change various char types around to match across
51 function calls.
52 Fixed bug in using available_sizes[i].height which
53 is in pixels, not 64ths of a pixel.
54
55 2004-03-06 Keith Packard <keithp@keithp.com>
56
57 * src/fcfreetype.c: (FcFreeTypeQuery):
58 Force FC_FOUNDRY and FC_WIDTH to always be set so that
59 matches looking for explicit values prefer exact matches
60
61 2004-03-02 Keith Packard <keithp@keithp.com>
62
63 Supplied by: mfabian@suse.de (Mike FABIAN)
64
65 * src/fcfreetype.c: (FcFreeTypeQuery):
66 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
67 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
68
69 2004-02-21 Manish Singh <yosh@gimp.org>
70
71 * fc-glyphname/fc-glyphname.c: (main):
72 Cast strlen to int for printf, so we're 64-bit clean.
73
74 2004-02-11 Keith Packard <keithp@keithp.com>
75
76 * configure.in:
77 * src/fcfreetype.c: (FcGetPixelSize):
78 Ok, so I messed up the test for y_ppem. Let's see if I
79 got it right this time.
80
81 2004-02-10 Keith Packard <keithp@keithp.com>
82
83 * configure.in:
84 * src/fcfreetype.c: (FcGetPixelSize):
85 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
86 FT_Bitmap_Size record. Add a configure.in test for this
87 and change the code accordingly (using height instead).
88
89 2004-02-06 Keith Packard <keithp@keithp.com>
90
91 * fc-lang/nds.orth:
92 Add Low Saxon orthography
93 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
94
95 * src/fccfg.c: (FcConfigNewestFile):
96 Oops. Left 'newest.set' unset, which would miscompute
97 the newest file
98
99 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
100 (FcFreeTypeCheckGlyph):
101 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
102 font properties (which report the wrong value in current FreeType)
103
104 Don't attempt to check for empty glyphs in non-scalable fonts; they
105 have no outlines...
106
107 2004-02-01 Tor Lillqvist <tml@iki.fi>
108
109 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
110 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
111 cache if config->cache is NULL, which happens if FcConfigHome() is
112 NULL. Guard against that by using the temp folder in that case.
113
114 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
115
116 * fc-lang/az_ir.orth:
117 * fc-lang/ku_ir.orth:
118 * fc-lang/ps_af.orth:
119 * fc-lang/ps_pk.orth:
120 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
121 (Afghan and Pakistani).
122 * fc-lang/ur.orth:
123 Updated Urdu orthography with real data.
124
125 2003-12-11 Carl Worth <cworth@east.isi.edu>
126
127 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
128 USEDOCBOOK' block.
129
130 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
131 USEDOCBOOK' block.
132 (all-local): Remove excessive whitespace.
133
134 * autogen.sh: Add 'set -e' to abort when any program fails,
135 (avoids printing of 'now type make' after configure aborts).
136
137 2003-11-17 Eric Christopherson <rakko@charter.net>
138
139 reviewed by: Keith Packard <keithp@keithp.com>
140
141 * doc/Makefile.am:
142 * fontconfig/fcfreetype.h:
143 * src/fcfreetype.c:
144 Switch to FreeType 2.1.7 style includes. Bug #150.
145
146 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
147
148 * fc-list/fc-list.sgml: Add some example usages.
149
150 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
151
152 * src/fcxml.c:
153 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
154 separators.
155
156 2003-10-27 Keith Packard <keith@keithp.com>
157
158 * configure.in:
159 * fontconfig/fontconfig.h:
160 Update to version 2.2.92
161
162 2003-10-27 Keith Packard <keithp@keithp.com>
163
164 * Makefile.am:
165 * configure.in:
166 * doc/Makefile.am:
167 * fc-cache/Makefile.am:
168 * fc-glyphname/Makefile.am:
169 * fc-lang/Makefile.am:
170 * fc-list/Makefile.am:
171 * fc-match/Makefile.am:
172 * test/Makefile.am:
173 * test/run-test.sh:
174 Yet more cleanups to finish getting 'make distcheck' working
175 This has been tested to ensure that it even works from a _build
176 directory.
177
178 2003-10-26 Keith Packard <keithp@keithp.com>
179
180 * configure.in:
181 * doc/Makefile.am:
182 * fc-cache/Makefile.am:
183 * fc-glyphname/Makefile.am:
184 * fc-lang/Makefile.am:
185 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
186 * fc-list/Makefile.am:
187 * fc-match/Makefile.am:
188 Attempts to fix 'make distcheck' work. Things are
189 progressing pretty well, but there are still failures
190 long into the process dealing with docs (as always).
191
192 The big changes here are mostly to make $(srcdir) != "."
193 work correctly, fixing the docbook related sections and
194 fc-lang were particularily tricky. Docbook refuses to load
195 system entities from anywhere other than where the original .sgml
196 file was located, so no luck looking in "." for the
197 configure-generated version.sgml and confdir.sgml files.
198
199 fc-lang needed help finding .orth files; added a -d option
200 to set the directory as the least evil of many options.
201
202 Now to go use a faster machine and try and wring out the last
203 issues.
204
205 2003-10-26 Keith Packard <keithp@keithp.com>
206
207 Tag version 2.2.91
208
209 2003-10-26 Keith Packard <keithp@keithp.com>
210
211 * doc/Makefile.am:
212 Include confdir.sgml.in in EXTRA_DIST
213
214 2003-10-09 Josselin Mouette <joss@debian.org>
215
216 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
217 * fc-list/fc-list.sgml fc-list/Makefile.am:
218 Replace fc-cache and fc-list manpages with more detailed, SGML
219 versions.
220
221 2003-09-23 Owen Taylor <otaylor@redhat.com>
222
223 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
224 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
225 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
226 (Bug #117)
227
228 2003-09-23 Owen Taylor <otaylor@redhat.com>
229
230 * fc-lang/ka.orth: Remove Georgian capitals, they
231 aren't used for normal writing. (Bug #116)
232
233 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
234
235 * doc/fontconfig-devel.sgml:
236 * doc/fontconfig-user.sgml:
237 * fontconfig/fontconfig.h:
238 * src/fcname.c:
239 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
240 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
241
242 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
243 monospace and dual-width fonts, allow roughly a 3% variance in the
244 advances.
245
246 2003-08-31 Manish Singh <yosh@gimp.org>
247
248 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
249 use default config.
250
251 2003-08-15 Carl Worth <cworth@isi.edu>
252
253 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
254 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
255
256 * src/fcpat.c (FcValueListEntDestroy): New function to support
257 FcFini memory cleanup. Some statistics are not kept in
258 synch. here.
259 (FcValueListFreeze): Move hashTable outside this function so it
260 can be accessed by FcValueListThawAll.
261 (FcValueListThawAll): New function complements FcValueListFreeze.
262 (FcPatternBaseFreeze): Move hashTable outside this function so it
263 can be accessed by FcPatternBaseThawAll.
264 (FcPatternBaseThawAll): New function complements
265 FcPatternBaseFreeze.
266 (FcPatternThawAll): New function complements FcPatternFreeze.
267
268 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
269
270 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
271 allocated FcCharLeafEnt "blocks" so they can be freed later.
272 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
273 can be accessed by FcCharSetThawAllLeaf.
274 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
275 (FcCharSetFreezeBase): Move hashTable outside this function so it
276 can be accessed by FcCharSetThawAll.
277 (FcCharSetThawAll): New function complements FcCharSetFreeze.
278
279 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
280 (FcConfigDestroy): Fic leak of FcBlanks.
281
282 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
283 (main): Add call to FcFini when finished.
284
285 * fc-glyphname/fc-glyphname.c: Mark several local functions as
286 static. Add prototypes.
287
288 * doc/fcinit.fncs: Add documentation for FcFini function.
289
290 * doc/edit-sgml.c: Mark several local functions as static. Add
291 prototypes.
292
293 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
294
295 2003-06-15 Tor Lillqvist <tml@iki.fi>
296
297 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
298 before comparing (needed on Windows).
299
300 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
301
302 2003-06-13 Tor Lillqvist <tml@iki.fi>
303
304 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
305 man pages.
306
307 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
308 WINDOWSFONTDIR token.
309
310 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
311 end, not to confuse libtool, which expects the EXPORTS line to be
312 the first. Add FcConfigEnableHome.
313
314 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
315 built as a DLL on Win32.
316
317 2003-06-09 Keith Packard <keithp@keithp.com>
318
319 * Tag version 2.2.90
320
321 2003-06-09 Keith Packard <keithp@keithp.com>
322
323 * Optimization in FcLangSetIndex was broken, occasionally
324 returning a pointer to the wrong location on miss
325
326 * Add fc-match to test font matching from the command line.
327
328 2003-05-31 Keith Packard <keithp@keithp.com>
329
330 * (Bug 85) add support for culmus fonts
331 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
332 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
333
334 2003-05-28 James Su <suzhe@turbolinux.com.cn>
335
336 * Fix "contains" op for strings and langsets.
337
338 2003-05-17 Keith Packard <keithp@keithp.com>
339
340 * Fix build error with BDF prop local. Free langset after query
341
342 2003-05-14 Keith Packard <keithp@keithp.com>
343
344 * Extract spacing from XLFD atom
345
346 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
347
348 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
349 disappeared in 1.30.
350
351 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
352
353 2003-05-12 Keith Packard <keithp@keithp.com>
354
355 * Use FcIsWidth to share code
356
357 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
358 misclassifying some Han fonts as monospaced.
359
360 2003-05-07 Keith Packard <keithp@keithp.com>
361
362 * Add filename-based accept/reject to ammend available fonts.
363
364 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
365 older FreeType releases.
366
367 2003-05-06 Keith Packard <keithp@keithp.com>
368
369 * Remove 0b82 and Tamil numbers from tamil
370 orthography (Jungshik Shin <jshin@mailaps.org>)
371
372 2003-05-04 Keith Packard <keithp@keithp.com>
373
374 + Map glyph names in fonts with adobe custom encoding to unicode
375
376 2003-05-02 Keith Packard <keithp@keithp.com>
377
378 * Add FC_WEIGHT_BOOK as weight 75
379
380 2003-04-30 Keith Packard <keithp@keithp.com>
381
382 * Typo in bitstream foundry name
383
384 2003-04-24 Keith Packard <keithp@keithp.com>
385
386 * Eliminate italic_angle check for PS fonts
387
388 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
389
390 * Getting closer to fixing /etc/fonts hard-coding.
391
392 2003-04-22 Keith Packard <keithp@keithp.com>
393
394 * Update autogen.sh to work with newer automake versions
395 * Handle pattern elements moving during multiple edits
396
397 2003-04-23 James Henstridge <james@daa.com.au>
398
399 * doc/fontconfig-devel.sgml: close the <para> element.
400
401 * doc/fcpattern.fncs: close the <para> element.
402
403 * doc/func.sgml: close the <refsynopsisdiv> element.
404
405 2003-04-22 Keith Packard <keithp@keithp.com
406
407 * Update autogen.sh to work with newer automake versions
408 * Handle pattern elements moving during multiple edits
409
410 2003-04-17 Colin Walters <walters@debian.org>
411
412 + Remove some unused variables, and initialize some other ones so
413 gcc doesn't warn us.
414
415 2003-04-16 Keith Packard <keithp@keithp.com>
416
417 + tag version 2.1.94
418
419 2003-04-16 Keith Packard <keithp@keithp.com>
420
421 + add BDF property fetching support for foundry
422 (from Juliusz Chroboczek)
423 + add BDF property fetching support for width
424
425 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
426
427 + Implemented foundry generation for Type 1 and TrueType
428
429 2003-04-11 Gerard Escalante <g2@magestudios.net>
430
431 + Retrieve information from Type1 FontInfo dictionaries
432
433 2003-04-07 Colin Walters <walters@verbum.org>
434
435 + src/Makefile.am: Fix dummy makefile target names when
436 MS_LIB_AVAILABLE isn't set.
437
438 2003-03-22 Tor Lillqvist <tml@iki.fi>
439
440 Changes for Windows:
441
442 + On Windows with gcc (a.k.a. mingw) build as a DLL.
443
444 + We don't want to hardcode the fonts.conf file location in the
445 DLL, so we look up the DLL location at run-time in a DllMain()
446 function. The fonts.conf location is deduced from that.
447
448 + The colon can't be used as path separator on Windows,
449 semicolon is used instead. File path components can be separated
450 with either slash or backslash. Absolute paths can also begin
451 with a drive letter.
452
453 + Add internal function FcStrLastSlash that strrchr's the last
454 slash, or backslash on Windows.
455
456 + There is no link() on Windows. For atomicity checks, mkdir a
457 lock directory instead.
458
459 + In addition to HOME, also look for USERPROFILE.
460
461 + Recognize the special font directory token WINDOWSFONTDIR, to
462 use the system's font directory.
463
464 + Remove the fontconfig-def.cpp that was obsolete. Add
465 fontconfig.def(.in), without internal functions.
466
467 + Add a fontconfig-zip(.in) script, used to build a binary
468 distribution.
469
470 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
471 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
472 to main package and man3/* to devel package
473
474 + Added missing defattr(-, root, root) to main RPM package
475
476 + Added HTML and text development documentation to -devel subpackage
477
478 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
479 + Added back the configure macro options --disable-docs, otherwise
480 fontconfig installs docs into /usr/share/doc/fontconfig (with no
481 version number) unconditionally, causing RPM to fail the build due
482 to _unpackaged_files_terminate_build. We pick up the pregenerated
483 docs with %doc already.
484
485 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
486 + Removed commented out rpm macro define at top of spec file,
487 replacing it with a simple explanation, since rpm macros are
488 expanded by rpm even in comments.
489
490 + Changed /usr/bin to _bindir in BuildRequires lines
491
492 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
493
494 + Reorganized file manifest lists
495
496 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
497
498 + fontconfig.spec.in: Improvements from Red Hat spec file.
499
500 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
501
502 + docs/*.sgml: SGML fixes.
503
504 Sat Mar 1 17:28:53 PST 2003 keithp
505 + Ok, so the ChangeLog is a bit out of date
506
507 + Lots of bugs fixed; most are in bugzilla, the
508 biggest problems were in cache management where
509 Owen discovered the library would lose badly when
510 combining fonts-cache and ~/.fonts-cache data
511
512 + Converted from autoconf to automake. This after
513 getting patches accepted into libtool to allow
514 the '-version-number' argument which lets
515 packages set version numbers explicitly rather
516 than the roundabout libtool way
517
518 + Converted documentation to SGML using the docbook
519 DTD. Now .txt and .html documents are installed
520 in /usr/share/doc/fontconfig and there's no
521 man page. Perhaps a man version can be written
522 at some point.
523
524 Sat Aug 31 15:21:22 PDT 2002 keithp
525 + Xrender and Xft had several bugs related to
526 rendering manually placed or poly-face text
527
528 + Added more complete memory tracing in fontconfig
529 Checked with (patched) mozilla and found no leaks
530
531 + Updated Latin orthographies by comparing those from
532 evertype.com with those from eki.ee. Tried to make
533 sensible choices, including chars that occured in both
534 and leaving some optional chars out that occured only
535 in one.
536
537 Mon Aug 26 16:33:04 PDT 2002 keithp
538 + Owen discovered that FcLangSetHasLang wasn't actually
539 checking the language set.
540
541 Mon Aug 26 13:37:23 PDT 2002 keithp
542 + Append a version number to cache filenames
543
544 Thu Aug 22 11:36:18 PDT 2002 keithp
545
546 + Add "contains" and "not_contains" operators and elements to
547 font configuration
548
549 + Changed semantics of eq operator for LangSets to check for
550 FcLangEqual so that any match will do
551
552 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
553 of FcValueEqual to check for identical values when inserting into
554 the results. This broke when the above semantic change was made,
555 now it uses FcValueEqual which is "more correct" in any case.
556
557 Thu Aug 22 00:32:29 PDT 2002 keithp
558
559 + Reimplement FC_LANG as new datatype. Lists of strings
560 was consuming over a megabyte of memory for 401 fonts.
561
562 + Freeze patterns loaded from cache files. This shares
563 common value lists and common patterns which saves
564 considerable memory.
565
566 + Change the denotation of 'constant' charsets to use special
567 ref value instead of separate boolean.
568
569 + Clean up leak tracing stuff, found several unannoted alloc/free
570 calls
571
572 Tue Aug 20 16:17:37 PDT 2002 keithp
573
574 + Fix memory leak when parsing matrices from XML
575
576 Mon Aug 19 11:57:27 PDT 2002 keithp
577
578 + Fix autoconf files to pass FONTCONFIG_PATH on
579 compile line so that ${prefix} gets substituted
580 correctly.
581
582 + Use getc_unlocked/putc_unlocked on systems that
583 provide them to avoid damage done to stdio by posix
584
585 + Eliminate FC_PATTERN and FcTypePattern in favor of
586 an extended api for FcConfigSubstitute which takes
587 both the font and the pattern.
588
589 + Add 'sans serif' alias for 'sans-serif' as some apps
590 can't handle hyphens in family names
591
592 + Eliminate pretense of support for libxml2
593
594 + Comment origins of Han orthographies
595
596 Tue Jul 30 18:37:09 PDT 2002 keithp
597
598 + Add binding property to edit element so that strong
599 binding values may be inserted by the config file.
600 The default remains weak.
601
602 Sun 28 Jul 04:16:55 PDT 2002 keithp
603
604 + Tagged release candidate 1 in the CVS tree and
605 placed fcpackage.rc1.tar.gz for distribution
606
607 Thu Aug 1 08:55:08 PDT 2002 keithp
608
609 + Fixed autoconf builds to always specify install
610 target files (for BSD). Also fixed to
611 define FONTCONFIG_PATH in config.h so that
612 nonstandard installs will actually work.