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