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