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