]> git.wh0rd.org - fontconfig.git/blame - ChangeLog
Add new spacing value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
[fontconfig.git] / ChangeLog
CommitLineData
a05d257f
NL
12003-09-06 Noah Levitt <nlevitt@columbia.edu>
2
3 * doc/fontconfig-devel.sgml:
4 * doc/fontconfig-user.sgml:
5 * fontconfig/fontconfig.h:
6 * src/fcname.c:
7 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
8 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
9
10 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
11 monospace and dual-width fonts, allow roughly a 3% variance in the
12 advances.
13
3ef32bcd
MS
142003-08-31 Manish Singh <yosh@gimp.org>
15
16 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
17 use default config.
18
34cd0514
CW
192003-08-15 Carl Worth <cworth@isi.edu>
20
21 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
22 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
23
24 * src/fcpat.c (FcValueListEntDestroy): New function to support
25 FcFini memory cleanup. Some statistics are not kept in
26 synch. here.
27 (FcValueListFreeze): Move hashTable outside this function so it
28 can be accessed by FcValueListThawAll.
29 (FcValueListThawAll): New function complements FcValueListFreeze.
30 (FcPatternBaseFreeze): Move hashTable outside this function so it
31 can be accessed by FcPatternBaseThawAll.
32 (FcPatternBaseThawAll): New function complements
33 FcPatternBaseFreeze.
34 (FcPatternThawAll): New function complements FcPatternFreeze.
35
36 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
37
38 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
39 allocated FcCharLeafEnt "blocks" so they can be freed later.
40 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
41 can be accessed by FcCharSetThawAllLeaf.
42 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
43 (FcCharSetFreezeBase): Move hashTable outside this function so it
44 can be accessed by FcCharSetThawAll.
45 (FcCharSetThawAll): New function complements FcCharSetFreeze.
46
47 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
48 (FcConfigDestroy): Fic leak of FcBlanks.
49
50 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
51 (main): Add call to FcFini when finished.
52
53 * fc-glyphname/fc-glyphname.c: Mark several local functions as
54 static. Add prototypes.
55
56 * doc/fcinit.fncs: Add documentation for FcFini function.
57
58 * doc/edit-sgml.c: Mark several local functions as static. Add
59 prototypes.
60
61 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
62
c3941ba9
TL
632003-06-15 Tor Lillqvist <tml@iki.fi>
64
231051f4
TL
65 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
66 before comparing (needed on Windows).
67
c3941ba9
TL
68 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
69
ee1d8125
TL
702003-06-13 Tor Lillqvist <tml@iki.fi>
71
72 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
73 man pages.
74
75 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
76 WINDOWSFONTDIR token.
77
78 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
79 end, not to confuse libtool, which expects the EXPORTS line to be
80 the first. Add FcConfigEnableHome.
81
e5206dbc
TL
82 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
83 built as a DLL on Win32.
84
4ae7f71c
KP
852003-06-09 Keith Packard <keithp@keithp.com>
86
87 * Tag version 2.2.90
88
8edb970e
KP
892003-06-09 Keith Packard <keithp@keithp.com>
90
91 * Optimization in FcLangSetIndex was broken, occasionally
92 returning a pointer to the wrong location on miss
93
94 * Add fc-match to test font matching from the command line.
95
962003-05-31 Keith Packard <keithp@keithp.com>
97
98 * (Bug 85) add support for culmus fonts
99 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
100 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
101
1022003-05-28 James Su <suzhe@turbolinux.com.cn>
103
104 * Fix "contains" op for strings and langsets.
105
1062003-05-17 Keith Packard <keithp@keithp.com>
107
108 * Fix build error with BDF prop local. Free langset after query
109
1102003-05-14 Keith Packard <keithp@keithp.com>
111
112 * Extract spacing from XLFD atom
113
1142003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
115
116 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
117 disappeared in 1.30.
118
119 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
120
1212003-05-12 Keith Packard <keithp@keithp.com>
122
123 * Use FcIsWidth to share code
124
125 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
126 misclassifying some Han fonts as monospaced.
127
1282003-05-07 Keith Packard <keithp@keithp.com>
129
130 * Add filename-based accept/reject to ammend available fonts.
131
132 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
133 older FreeType releases.
134
1352003-05-06 Keith Packard <keithp@keithp.com>
136
137 * Remove 0b82 and Tamil numbers from tamil
138 orthography (Jungshik Shin <jshin@mailaps.org>)
139
1402003-05-04 Keith Packard <keithp@keithp.com>
86b12431
KP
141
142 + Map glyph names in fonts with adobe custom encoding to unicode
143
8edb970e
KP
1442003-05-02 Keith Packard <keithp@keithp.com>
145
146 * Add FC_WEIGHT_BOOK as weight 75
147
1482003-04-30 Keith Packard <keithp@keithp.com>
149
150 * Typo in bitstream foundry name
151
1522003-04-24 Keith Packard <keithp@keithp.com>
153
154 * Eliminate italic_angle check for PS fonts
155
1562003-04-23 Noah Levitt <nlevitt@columbia.edu>
157
158 * Getting closer to fixing /etc/fonts hard-coding.
159
1602003-04-22 Keith Packard <keithp@keithp.com>
161
162 * Update autogen.sh to work with newer automake versions
163 * Handle pattern elements moving during multiple edits
164
8c87b429
KP
1652003-04-23 James Henstridge <james@daa.com.au>
166
167 * doc/fontconfig-devel.sgml: close the <para> element.
168
169 * doc/fcpattern.fncs: close the <para> element.
170
171 * doc/func.sgml: close the <refsynopsisdiv> element.
172
8edb970e
KP
1732003-04-22 Keith Packard <keithp@keithp.com
174
175 * Update autogen.sh to work with newer automake versions
176 * Handle pattern elements moving during multiple edits
177
12d49d3c
CW
1782003-04-17 Colin Walters <walters@debian.org>
179
180 + Remove some unused variables, and initialize some other ones so
181 gcc doesn't warn us.
182
ab06f005
KP
1832003-04-16 Keith Packard <keithp@keithp.com>
184
185 + tag version 2.1.94
186
1872003-04-16 Keith Packard <keithp@keithp.com>
188
189 + add BDF property fetching support for foundry
190 (from Juliusz Chroboczek)
191 + add BDF property fetching support for width
192
1932003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
194
195 + Implemented foundry generation for Type 1 and TrueType
196
1972003-04-11 Gerard Escalante <g2@magestudios.net>
198
199 + Retrieve information from Type1 FontInfo dictionaries
200
8c8caabd
CW
2012003-04-07 Colin Walters <walters@verbum.org>
202
203 + src/Makefile.am: Fix dummy makefile target names when
204 MS_LIB_AVAILABLE isn't set.
205
daeed6e0
TL
2062003-03-22 Tor Lillqvist <tml@iki.fi>
207
208 Changes for Windows:
209
210 + On Windows with gcc (a.k.a. mingw) build as a DLL.
211
212 + We don't want to hardcode the fonts.conf file location in the
213 DLL, so we look up the DLL location at run-time in a DllMain()
214 function. The fonts.conf location is deduced from that.
215
216 + The colon can't be used as path separator on Windows,
217 semicolon is used instead. File path components can be separated
218 with either slash or backslash. Absolute paths can also begin
219 with a drive letter.
220
221 + Add internal function FcStrLastSlash that strrchr's the last
222 slash, or backslash on Windows.
223
224 + There is no link() on Windows. For atomicity checks, mkdir a
225 lock directory instead.
226
227 + In addition to HOME, also look for USERPROFILE.
228
229 + Recognize the special font directory token WINDOWSFONTDIR, to
230 use the system's font directory.
231
232 + Remove the fontconfig-def.cpp that was obsolete. Add
233 fontconfig.def(.in), without internal functions.
234
235 + Add a fontconfig-zip(.in) script, used to build a binary
236 distribution.
237
dbe9a11e
MH
238Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
239 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
240 to main package and man3/* to devel package
241
242 + Added missing defattr(-, root, root) to main RPM package
243
244 + Added HTML and text development documentation to -devel subpackage
245
c92abf78
MH
246Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
247 + Added back the configure macro options --disable-docs, otherwise
248 fontconfig installs docs into /usr/share/doc/fontconfig (with no
249 version number) unconditionally, causing RPM to fail the build due
250 to _unpackaged_files_terminate_build. We pick up the pregenerated
251 docs with %doc already.
252
b06766e4
MH
253Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
254 + Removed commented out rpm macro define at top of spec file,
255 replacing it with a simple explanation, since rpm macros are
256 expanded by rpm even in comments.
257
258 + Changed /usr/bin to _bindir in BuildRequires lines
259
260 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
261
262 + Reorganized file manifest lists
263
264Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
22dc6fc6
OT
265
266 + fontconfig.spec.in: Improvements from Red Hat spec file.
267
268 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
269
270 + docs/*.sgml: SGML fixes.
271
8fc10a72
KP
272Sat Mar 1 17:28:53 PST 2003 keithp
273 + Ok, so the ChangeLog is a bit out of date
274
275 + Lots of bugs fixed; most are in bugzilla, the
276 biggest problems were in cache management where
277 Owen discovered the library would lose badly when
278 combining fonts-cache and ~/.fonts-cache data
279
280 + Converted from autoconf to automake. This after
281 getting patches accepted into libtool to allow
282 the '-version-number' argument which lets
283 packages set version numbers explicitly rather
284 than the roundabout libtool way
285
286 + Converted documentation to SGML using the docbook
287 DTD. Now .txt and .html documents are installed
288 in /usr/share/doc/fontconfig and there's no
289 man page. Perhaps a man version can be written
290 at some point.
291
c2022f99
KP
292Sat Aug 31 15:21:22 PDT 2002 keithp
293 + Xrender and Xft had several bugs related to
294 rendering manually placed or poly-face text
295
296 + Added more complete memory tracing in fontconfig
297 Checked with (patched) mozilla and found no leaks
298
299 + Updated Latin orthographies by comparing those from
300 evertype.com with those from eki.ee. Tried to make
301 sensible choices, including chars that occured in both
302 and leaving some optional chars out that occured only
303 in one.
304
2458a6d8 305Mon Aug 26 16:33:04 PDT 2002 keithp
c2022f99 306 + Owen discovered that FcLangSetHasLang wasn't actually
2458a6d8
KP
307 checking the language set.
308
5d6788ac
KP
309Mon Aug 26 13:37:23 PDT 2002 keithp
310 + Append a version number to cache filenames
311
47d4f950
KP
312Thu Aug 22 11:36:18 PDT 2002 keithp
313
314 + Add "contains" and "not_contains" operators and elements to
315 font configuration
316
317 + Changed semantics of eq operator for LangSets to check for
318 FcLangEqual so that any match will do
319
320 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
321 of FcValueEqual to check for identical values when inserting into
322 the results. This broke when the above semantic change was made,
323 now it uses FcValueEqual which is "more correct" in any case.
324
d8d73958
KP
325Thu Aug 22 00:32:29 PDT 2002 keithp
326
327 + Reimplement FC_LANG as new datatype. Lists of strings
328 was consuming over a megabyte of memory for 401 fonts.
329
330 + Freeze patterns loaded from cache files. This shares
331 common value lists and common patterns which saves
332 considerable memory.
333
334 + Change the denotation of 'constant' charsets to use special
335 ref value instead of separate boolean.
336
337 + Clean up leak tracing stuff, found several unannoted alloc/free
338 calls
339
340Tue Aug 20 16:17:37 PDT 2002 keithp
341
342 + Fix memory leak when parsing matrices from XML
343
344Mon Aug 19 11:57:27 PDT 2002 keithp
345
fa244f3d
KP
346 + Fix autoconf files to pass FONTCONFIG_PATH on
347 compile line so that ${prefix} gets substituted
348 correctly.
349
350 + Use getc_unlocked/putc_unlocked on systems that
351 provide them to avoid damage done to stdio by posix
352
353 + Eliminate FC_PATTERN and FcTypePattern in favor of
354 an extended api for FcConfigSubstitute which takes
355 both the font and the pattern.
356
357 + Add 'sans serif' alias for 'sans-serif' as some apps
358 can't handle hyphens in family names
359
360 + Eliminate pretense of support for libxml2
361
362 + Comment origins of Han orthographies
363
aefb2c41
KP
364Tue Jul 30 18:37:09 PDT 2002 keithp
365
366 + Add binding property to edit element so that strong
367 binding values may be inserted by the config file.
368 The default remains weak.
369
370Sun 28 Jul 04:16:55 PDT 2002 keithp
371
372 + Tagged release candidate 1 in the CVS tree and
373 placed fcpackage.rc1.tar.gz for distribution
374
375Thu Aug 1 08:55:08 PDT 2002 keithp
376
377 + Fixed autoconf builds to always specify install
378 target files (for BSD). Also fixed to
379 define FONTCONFIG_PATH in config.h so that
380 nonstandard installs will actually work.