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