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