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