]> git.wh0rd.org - fontconfig.git/blob - ChangeLog
I changed FcFontSetSort to respect the generic aliases better in the face
[fontconfig.git] / ChangeLog
1 2004-12-13 Keith Packard <keithp@keithp.com>
2
3 reviewed by: Owen Taylor <otaylor@redhat.com>
4
5 * src/fcmatch.c: (FcFontSetSort):
6 I changed FcFontSetSort to respect the generic aliases better
7 in the face of language matching.
8
9 What I did was to ammend the strict sort order used by FcFontSort so
10 that it 'satisfies' the language specified in the pattern by locating
11 the best matching font supporting each pattern language and then
12 ignores language in the remaining fonts for purposes of matching.
13
14 So, when asking for 'sans:lang=en', you'll get an English font first,
15 and then the remaining fonts sorted with respect to the 'sans' alias
16 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
17
18 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
19
20 reviewed by: Keith Packard <keithp@keithp.com>
21
22 * fontconfig/fontconfig.h:
23 * fonts.conf.in:
24
25 Configuration changes to request synthetic emboldening of
26 fonts. The actual emboldening code will live in Xft.
27
28 2004-12-09 John Thacker <thacker@math.cornell.edu>
29
30 reviewed by: Keith Packard <keithp@keithp.com>
31
32 * fc-lang/ru.orth:
33
34 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
35 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
36 и), and don't even appear in KOI8-R. (The hypothesis that they
37 don't appear in KOI8-R due to their similarity with Latin I and i is
38 eliminated by their presence in KOI8-U.) I have a couple of fonts
39 with Russian support that don't have the letter.
40
41 Therefore, 0406 and 0456 should be removed from or commented out of
42 ru.orth
43
44 2004-12-06 michael meeks <mmeeks@novell.com>
45
46 Reviewed by: Keith Packard <keithp@keithp.com>
47
48 * src/fcinit.c: (FcMemReport):
49 * src/fcint.h:
50 * src/fclist.c: (FcObjectSetAdd):
51 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
52 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
53 * src/fcxml.c: (FcParsePatelt):
54 memoize strings and share a single copy for all uses. Note that
55 this could be improved further by using statically allocated blocks
56 and gluing multiple strings together, but I'm basically lazy.
57 In my environment with 800 font files, I get a savings of about 90KB.
58
59 2004-12-06 Keith Packard <keithp@keithp.com>
60
61 * COPYING:
62 * Makefile.am:
63 * config/Makedefs.in:
64 * configure.in:
65 * doc/edit-sgml.c:
66 * doc/fcatomic.fncs:
67 * doc/fcblanks.fncs:
68 * doc/fccharset.fncs:
69 * doc/fcconfig.fncs:
70 * doc/fcconstant.fncs:
71 * doc/fcfile.fncs:
72 * doc/fcfontset.fncs:
73 * doc/fcfreetype.fncs:
74 * doc/fcinit.fncs:
75 * doc/fcmatrix.fncs:
76 * doc/fcobjectset.fncs:
77 * doc/fcobjecttype.fncs:
78 * doc/fcpattern.fncs:
79 * doc/fcstring.fncs:
80 * doc/fcstrset.fncs:
81 * doc/fcvalue.fncs:
82 * doc/fontconfig-devel.sgml:
83 * doc/fontconfig-user.sgml:
84 * doc/func.sgml:
85 * doc/version.sgml.in:
86 * fc-cache/Makefile.am:
87 * fc-cache/fc-cache.c:
88 * fc-glyphname/Makefile.am:
89 * fc-glyphname/fc-glyphname.c:
90 * fc-glyphname/fcglyphname.tmpl.h:
91 * fc-lang/Makefile.am:
92 * fc-lang/aa.orth:
93 * fc-lang/ab.orth:
94 * fc-lang/af.orth:
95 * fc-lang/am.orth:
96 * fc-lang/ar.orth:
97 * fc-lang/ast.orth:
98 * fc-lang/ava.orth:
99 * fc-lang/ay.orth:
100 * fc-lang/az.orth:
101 * fc-lang/az_ir.orth:
102 * fc-lang/ba.orth:
103 * fc-lang/bam.orth:
104 * fc-lang/be.orth:
105 * fc-lang/bg.orth:
106 * fc-lang/bh.orth:
107 * fc-lang/bho.orth:
108 * fc-lang/bi.orth:
109 * fc-lang/bin.orth:
110 * fc-lang/bn.orth:
111 * fc-lang/bo.orth:
112 * fc-lang/br.orth:
113 * fc-lang/bs.orth:
114 * fc-lang/bua.orth:
115 * fc-lang/ca.orth:
116 * fc-lang/ce.orth:
117 * fc-lang/ch.orth:
118 * fc-lang/chm.orth:
119 * fc-lang/chr.orth:
120 * fc-lang/co.orth:
121 * fc-lang/cs.orth:
122 * fc-lang/cu.orth:
123 * fc-lang/cv.orth:
124 * fc-lang/cy.orth:
125 * fc-lang/da.orth:
126 * fc-lang/de.orth:
127 * fc-lang/dz.orth:
128 * fc-lang/el.orth:
129 * fc-lang/en.orth:
130 * fc-lang/eo.orth:
131 * fc-lang/es.orth:
132 * fc-lang/et.orth:
133 * fc-lang/eu.orth:
134 * fc-lang/fa.orth:
135 * fc-lang/fc-lang.c:
136 * fc-lang/fc-lang.man:
137 * fc-lang/fclang.tmpl.h:
138 * fc-lang/fi.orth:
139 * fc-lang/fj.orth:
140 * fc-lang/fo.orth:
141 * fc-lang/fr.orth:
142 * fc-lang/ful.orth:
143 * fc-lang/fur.orth:
144 * fc-lang/fy.orth:
145 * fc-lang/ga.orth:
146 * fc-lang/gd.orth:
147 * fc-lang/gez.orth:
148 * fc-lang/gl.orth:
149 * fc-lang/gn.orth:
150 * fc-lang/gu.orth:
151 * fc-lang/gv.orth:
152 * fc-lang/ha.orth:
153 * fc-lang/haw.orth:
154 * fc-lang/he.orth:
155 * fc-lang/hi.orth:
156 * fc-lang/ho.orth:
157 * fc-lang/hr.orth:
158 * fc-lang/hu.orth:
159 * fc-lang/hy.orth:
160 * fc-lang/ia.orth:
161 * fc-lang/ibo.orth:
162 * fc-lang/id.orth:
163 * fc-lang/ie.orth:
164 * fc-lang/ik.orth:
165 * fc-lang/io.orth:
166 * fc-lang/is.orth:
167 * fc-lang/iso639-2:
168 * fc-lang/it.orth:
169 * fc-lang/iu.orth:
170 * fc-lang/ja.orth:
171 * fc-lang/ka.orth:
172 * fc-lang/kaa.orth:
173 * fc-lang/ki.orth:
174 * fc-lang/kk.orth:
175 * fc-lang/kl.orth:
176 * fc-lang/km.orth:
177 * fc-lang/kn.orth:
178 * fc-lang/ko.orth:
179 * fc-lang/kok.orth:
180 * fc-lang/ks.orth:
181 * fc-lang/ku.orth:
182 * fc-lang/ku_ir.orth:
183 * fc-lang/kum.orth:
184 * fc-lang/kv.orth:
185 * fc-lang/kw.orth:
186 * fc-lang/ky.orth:
187 * fc-lang/la.orth:
188 * fc-lang/lb.orth:
189 * fc-lang/lez.orth:
190 * fc-lang/lo.orth:
191 * fc-lang/lt.orth:
192 * fc-lang/lv.orth:
193 * fc-lang/mg.orth:
194 * fc-lang/mh.orth:
195 * fc-lang/mi.orth:
196 * fc-lang/mk.orth:
197 * fc-lang/ml.orth:
198 * fc-lang/mn.orth:
199 * fc-lang/mo.orth:
200 * fc-lang/mr.orth:
201 * fc-lang/mt.orth:
202 * fc-lang/my.orth:
203 * fc-lang/nb.orth:
204 * fc-lang/nds.orth:
205 * fc-lang/ne.orth:
206 * fc-lang/nl.orth:
207 * fc-lang/nn.orth:
208 * fc-lang/no.orth:
209 * fc-lang/ny.orth:
210 * fc-lang/oc.orth:
211 * fc-lang/om.orth:
212 * fc-lang/or.orth:
213 * fc-lang/os.orth:
214 * fc-lang/pl.orth:
215 * fc-lang/ps_af.orth:
216 * fc-lang/ps_pk.orth:
217 * fc-lang/pt.orth:
218 * fc-lang/rm.orth:
219 * fc-lang/ro.orth:
220 * fc-lang/ru.orth:
221 * fc-lang/sa.orth:
222 * fc-lang/sah.orth:
223 * fc-lang/sco.orth:
224 * fc-lang/se.orth:
225 * fc-lang/sel.orth:
226 * fc-lang/sh.orth:
227 * fc-lang/si.orth:
228 * fc-lang/sk.orth:
229 * fc-lang/sl.orth:
230 * fc-lang/sm.orth:
231 * fc-lang/sma.orth:
232 * fc-lang/smj.orth:
233 * fc-lang/smn.orth:
234 * fc-lang/sms.orth:
235 * fc-lang/so.orth:
236 * fc-lang/sq.orth:
237 * fc-lang/sr.orth:
238 * fc-lang/sv.orth:
239 * fc-lang/sw.orth:
240 * fc-lang/syr.orth:
241 * fc-lang/ta.orth:
242 * fc-lang/te.orth:
243 * fc-lang/tg.orth:
244 * fc-lang/th.orth:
245 * fc-lang/ti_er.orth:
246 * fc-lang/ti_et.orth:
247 * fc-lang/tig.orth:
248 * fc-lang/tk.orth:
249 * fc-lang/tl.orth:
250 * fc-lang/tn.orth:
251 * fc-lang/to.orth:
252 * fc-lang/tr.orth:
253 * fc-lang/ts.orth:
254 * fc-lang/tt.orth:
255 * fc-lang/tw.orth:
256 * fc-lang/tyv.orth:
257 * fc-lang/ug.orth:
258 * fc-lang/uk.orth:
259 * fc-lang/ur.orth:
260 * fc-lang/uz.orth:
261 * fc-lang/ven.orth:
262 * fc-lang/vi.orth:
263 * fc-lang/vo.orth:
264 * fc-lang/vot.orth:
265 * fc-lang/wa.orth:
266 * fc-lang/wen.orth:
267 * fc-lang/wo.orth:
268 * fc-lang/xh.orth:
269 * fc-lang/yap.orth:
270 * fc-lang/yi.orth:
271 * fc-lang/yo.orth:
272 * fc-lang/zh_cn.orth:
273 * fc-lang/zh_hk.orth:
274 * fc-lang/zh_mo.orth:
275 * fc-lang/zh_sg.orth:
276 * fc-lang/zh_tw.orth:
277 * fc-lang/zu.orth:
278 * fc-list/Makefile.am:
279 * fc-list/fc-list.c:
280 * fc-match/Makefile.am:
281 * fc-match/fc-match.1:
282 * fc-match/fc-match.c:
283 * fontconfig/fcfreetype.h:
284 * fontconfig/fcprivate.h:
285 * fontconfig/fontconfig.h:
286 * src/fcatomic.c:
287 * src/fcblanks.c:
288 * src/fccache.c:
289 * src/fccfg.c:
290 * src/fccharset.c:
291 * src/fcdbg.c:
292 * src/fcdefault.c:
293 * src/fcdir.c:
294 * src/fcfreetype.c:
295 * src/fcfs.c:
296 * src/fcinit.c:
297 * src/fcint.h:
298 * src/fclang.c:
299 * src/fclist.c:
300 * src/fcmatch.c:
301 * src/fcmatrix.c:
302 * src/fcname.c:
303 * src/fcpat.c:
304 * src/fcstr.c:
305 * src/fcxml.c:
306 Change files from ISO-Latin-1 to UTF-8
307
308 2004-12-04 Keith Packard <keithp@keithp.com>
309
310 * INSTALL:
311 Update links to new freedesktop.org locations
312 * Makefile.am:
313 Add uninstall-local to get rid of fonts.conf and local.conf if they
314 match the distributed versions. Fixes 'make distcheck'
315
316 2004-12-04 Keith Packard <keithp@keithp.com>
317
318 * README:
319 * configure.in:
320 * fontconfig/fontconfig.h:
321 Updates for version 2.2.97
322
323 2004-12-04 Owen Taylor <otaylor@redhat.com>
324
325 reviewed by: Keith Packard <keithp@keithp.com>
326
327 * fc-cache/fc-cache.c: (main):
328 Sleep for two seconds before exiting to make sure timestamps
329 for future changes have distinct mod times in the file system.
330 Bug #1982.
331 * fc-lang/pa.orth:
332 Add Punjabi orthography. Bug #1671.
333
334 2004-12-04 Keith Packard <keithp@keithp.com>
335
336 * fonts.conf.in:
337 Just remove the FC_FONTDATE -- it has locale issues and
338 annoys redhat multi-arch installs. Now that all X fonts are
339 included without prejudice, the chances of the date being at
340 all interesting are rather limited. Bug #505.
341 * src/Makefile.am:
342 Add copyright and license
343
344 2004-12-04 Keith Packard <keithp@keithp.com>
345
346 * configure.in:
347 Change default set of fonts to include all of
348 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
349 * doc/fontconfig-user.sgml:
350 Document new <include>directory-name</include> semantics
351 * fonts.conf.in:
352 add <include ignore_missing="yes">conf.d</include>
353 * local.conf:
354 Add selectfont to ignore bitmap fonts, add comment for
355 selectfont which accepts bitmap fonts.
356 * src/fcdir.c:
357 * src/fcint.h:
358 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
359 Allow <include> configuration elements to reference directories.
360 Parse and load all files of the form [0-9]* in sorted order.
361
362 2004-12-04 Keith Packard <keithp@keithp.com>
363
364 * autogen.sh:
365 Report command line for $srcdir/configure accurately.
366 Bug #212.
367
368 2004-12-04 Keith Packard <keithp@keithp.com>
369
370 * src/fcfreetype.c: (FcFreeTypeQuery):
371 Check for non-empty face->family_name and face->style_name
372 before using those for the font. Empty names match everything.
373 Bug #210.
374
375 2004-12-04 Keith Packard <keithp@keithp.com>
376
377 * configure.in:
378 * fontconfig/fontconfig.h:
379 * src/fcfreetype.c: (FcFreeTypeQuery):
380 * src/fcname.c:
381 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
382 available. This provides font file format information (BDF, Type 1,
383 PCF, TrueType) for each font. Closes #109.
384
385 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
386
387 reviewed by: Keith Packard <keithp@keithp.com>
388
389 * doc/fontconfig-user.sgml:
390 Fix typo.
391
392 * fontconfig/fontconfig.h:
393 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
394 (GetScriptTags), (FcFontCapabilities):
395 * src/fcname.c:
396 Add detection for font capabilities (bug #105)
397
398 2004-12-04 Keith Packard <keithp@keithp.com>
399
400 * Makefile.am:
401 Move existing fonts.conf to fonts.conf.bak
402
403 * configure.in:
404 Add detection of iconv
405
406 * doc/fcpattern.fncs:
407 * doc/fontconfig-devel.sgml:
408 * doc/fontconfig-user.sgml:
409 * fonts.dtd:
410 Document new selectfont elements
411
412 * fc-lang/nb.orth:
413 Switch to UTF-8 in comment
414
415 * fontconfig/fontconfig.h:
416 * src/fcname.c:
417 Add fullname, and family/style/fullname language entries
418
419 * src/fccache.c: (FcCacheFontSetAdd):
420 * src/fcdir.c: (FcFileScanConfig):
421 Respect selectfont/*/glob
422
423 * src/fcint.h:
424 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
425 (FcConfigCompareValue), (FcConfigPatternsAdd),
426 (FcConfigPatternsMatch), (FcConfigAcceptFont):
427 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
428 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
429 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
430 Add support for selectfont
431
432 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
433 (FcStringInPatternElement), (FcFreeTypeQuery):
434 Add multi-lingual family/style/fullname support
435
436 * src/fclist.c: (FcListPatternMatchAny):
437 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
438
439 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
440 (FcObjectStaticName):
441 Add new FcPatternRemove/FcPatternAppend.
442 FcObjectStaticName stores computed pattern element names which
443 are required to be static.
444
445 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
446
447 reviewed by: keithp
448
449 * Makefile.am:
450 Remove spurious / after $(DESTDIR)
451
452 2004-06-30 Keith Packard <keithp@keithp.com>
453
454 * README:
455 * configure.in:
456 * fontconfig/fontconfig.h:
457 Update for 2.2.96
458
459 2004-06-30 Keith Packard <keithp@keithp.com>
460
461 Provided by: Lubos Lunak <l.lunak@suse.cz>
462
463 * src/fccfg.c: (FcConfigUptoDate):
464 However FcConfigUptoDate() doesn't seem to work. See the attached
465 patch. First there's an obvious misplaced parenthesis making it
466 return always false, and second, even this call fails to detect font
467 changes (e.g. adding a new font to
468 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
469 well. The problem seems to be triggered by my fonts.conf specifying
470 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
471 doesn't include subdirs, unlike config->fontDirs.
472
473 2004-06-03 Keith Packard <keithp@keithp.com>
474
475 * fontconfig/fontconfig.h:
476 Remove comma at end of FcResult enum definition.
477
478 2004-05-29 Keith Packard <keithp@keithp.com>
479
480 * INSTALL:
481 Add steps to md5sum release
482
483 2004-05-29 Keith Packard <keithp@keithp.com>
484
485 * README:
486 * configure.in:
487 * fontconfig/fontconfig.h:
488 Update for 2.2.95
489
490 2004-05-29 Keith Packard <keithp@keithp.com>
491
492 * fontconfig/fontconfig.h:
493 * src/fcmatch.c: (FcFontSetMatch):
494 Add FcResultOutOfMemory to provide an accurate error when
495 FcFontSetMatch fails in this way
496
497 * src/fcfreetype.c:
498 Make #warning about lacking various FreeType features indicate
499 which version those features appeared so users know how to
500 fix the problem (Thanks to Anton Tropashko)
501
502 2004-05-05 Keith Packard <keithp@keithp.com>
503
504 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
505 Replace MIN/MAX/ABS macros which happen to have come
506 from FreeType with fontconfig-specific ones (FC_*)
507
508 2004-04-23 Keith Packard <keithp@keithp.com>
509
510 * INSTALL:
511 Extend release preparation instructions to include
512 notification and distribution steps
513
514 2004-04-23 Keith Packard <keithp@keithp.com>
515
516 * README:
517 * configure.in:
518 * fontconfig/fontconfig.h:
519 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
520
521 2004-04-23 Keith Packard <keithp@keithp.com>
522
523 * .cvsignore:
524 Ignore a few more autotool files
525
526 2004-04-14 Keith Packard <keithp@keithp.com>
527
528 * INSTALL:
529 Add instructions for doing a release
530
531 * fontconfig.spec.in:
532 clean up .spec file; perhaps this will be useful to somebody...
533
534 * README:
535 * configure.in:
536 * fontconfig/fontconfig.h:
537 Update to 2.2.93
538
539 * fc-lang/fc-lang.c:
540 Make 'scanopen' static so GCC doesn't whine about lacking prototype
541
542 * fc-glyphname/Makefile.am:
543 * fc-lang/Makefile.am:
544 * fc-list/Makefile.am:
545 * fc-match/Makefile.am:
546 * src/Makefile.am:
547 Add WARN_CFLAGS to pass -W flags for GCC systems
548
549 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
550 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
551 Change various char types around to match across
552 function calls.
553 Fixed bug in using available_sizes[i].height which
554 is in pixels, not 64ths of a pixel.
555
556 2004-03-06 Keith Packard <keithp@keithp.com>
557
558 * src/fcfreetype.c: (FcFreeTypeQuery):
559 Force FC_FOUNDRY and FC_WIDTH to always be set so that
560 matches looking for explicit values prefer exact matches
561
562 2004-03-02 Keith Packard <keithp@keithp.com>
563
564 Supplied by: mfabian@suse.de (Mike FABIAN)
565
566 * src/fcfreetype.c: (FcFreeTypeQuery):
567 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
568 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
569
570 2004-02-21 Manish Singh <yosh@gimp.org>
571
572 * fc-glyphname/fc-glyphname.c: (main):
573 Cast strlen to int for printf, so we're 64-bit clean.
574
575 2004-02-11 Keith Packard <keithp@keithp.com>
576
577 * configure.in:
578 * src/fcfreetype.c: (FcGetPixelSize):
579 Ok, so I messed up the test for y_ppem. Let's see if I
580 got it right this time.
581
582 2004-02-10 Keith Packard <keithp@keithp.com>
583
584 * configure.in:
585 * src/fcfreetype.c: (FcGetPixelSize):
586 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
587 FT_Bitmap_Size record. Add a configure.in test for this
588 and change the code accordingly (using height instead).
589
590 2004-02-06 Keith Packard <keithp@keithp.com>
591
592 * fc-lang/nds.orth:
593 Add Low Saxon orthography
594 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
595
596 * src/fccfg.c: (FcConfigNewestFile):
597 Oops. Left 'newest.set' unset, which would miscompute
598 the newest file
599
600 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
601 (FcFreeTypeCheckGlyph):
602 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
603 font properties (which report the wrong value in current FreeType)
604
605 Don't attempt to check for empty glyphs in non-scalable fonts; they
606 have no outlines...
607
608 2004-02-01 Tor Lillqvist <tml@iki.fi>
609
610 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
611 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
612 cache if config->cache is NULL, which happens if FcConfigHome() is
613 NULL. Guard against that by using the temp folder in that case.
614
615 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
616
617 * fc-lang/az_ir.orth:
618 * fc-lang/ku_ir.orth:
619 * fc-lang/ps_af.orth:
620 * fc-lang/ps_pk.orth:
621 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
622 (Afghan and Pakistani).
623 * fc-lang/ur.orth:
624 Updated Urdu orthography with real data.
625
626 2003-12-11 Carl Worth <cworth@east.isi.edu>
627
628 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
629 USEDOCBOOK' block.
630
631 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
632 USEDOCBOOK' block.
633 (all-local): Remove excessive whitespace.
634
635 * autogen.sh: Add 'set -e' to abort when any program fails,
636 (avoids printing of 'now type make' after configure aborts).
637
638 2003-11-17 Eric Christopherson <rakko@charter.net>
639
640 reviewed by: Keith Packard <keithp@keithp.com>
641
642 * doc/Makefile.am:
643 * fontconfig/fcfreetype.h:
644 * src/fcfreetype.c:
645 Switch to FreeType 2.1.7 style includes. Bug #150.
646
647 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
648
649 * fc-list/fc-list.sgml: Add some example usages.
650
651 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
652
653 * src/fcxml.c:
654 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
655 separators.
656
657 2003-10-27 Keith Packard <keith@keithp.com>
658
659 * configure.in:
660 * fontconfig/fontconfig.h:
661 Update to version 2.2.92
662
663 2003-10-27 Keith Packard <keithp@keithp.com>
664
665 * Makefile.am:
666 * configure.in:
667 * doc/Makefile.am:
668 * fc-cache/Makefile.am:
669 * fc-glyphname/Makefile.am:
670 * fc-lang/Makefile.am:
671 * fc-list/Makefile.am:
672 * fc-match/Makefile.am:
673 * test/Makefile.am:
674 * test/run-test.sh:
675 Yet more cleanups to finish getting 'make distcheck' working
676 This has been tested to ensure that it even works from a _build
677 directory.
678
679 2003-10-26 Keith Packard <keithp@keithp.com>
680
681 * configure.in:
682 * doc/Makefile.am:
683 * fc-cache/Makefile.am:
684 * fc-glyphname/Makefile.am:
685 * fc-lang/Makefile.am:
686 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
687 * fc-list/Makefile.am:
688 * fc-match/Makefile.am:
689 Attempts to fix 'make distcheck' work. Things are
690 progressing pretty well, but there are still failures
691 long into the process dealing with docs (as always).
692
693 The big changes here are mostly to make $(srcdir) != "."
694 work correctly, fixing the docbook related sections and
695 fc-lang were particularily tricky. Docbook refuses to load
696 system entities from anywhere other than where the original .sgml
697 file was located, so no luck looking in "." for the
698 configure-generated version.sgml and confdir.sgml files.
699
700 fc-lang needed help finding .orth files; added a -d option
701 to set the directory as the least evil of many options.
702
703 Now to go use a faster machine and try and wring out the last
704 issues.
705
706 2003-10-26 Keith Packard <keithp@keithp.com>
707
708 Tag version 2.2.91
709
710 2003-10-26 Keith Packard <keithp@keithp.com>
711
712 * doc/Makefile.am:
713 Include confdir.sgml.in in EXTRA_DIST
714
715 2003-10-09 Josselin Mouette <joss@debian.org>
716
717 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
718 * fc-list/fc-list.sgml fc-list/Makefile.am:
719 Replace fc-cache and fc-list manpages with more detailed, SGML
720 versions.
721
722 2003-09-23 Owen Taylor <otaylor@redhat.com>
723
724 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
725 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
726 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
727 (Bug #117)
728
729 2003-09-23 Owen Taylor <otaylor@redhat.com>
730
731 * fc-lang/ka.orth: Remove Georgian capitals, they
732 aren't used for normal writing. (Bug #116)
733
734 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
735
736 * doc/fontconfig-devel.sgml:
737 * doc/fontconfig-user.sgml:
738 * fontconfig/fontconfig.h:
739 * src/fcname.c:
740 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
741 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
742
743 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
744 monospace and dual-width fonts, allow roughly a 3% variance in the
745 advances.
746
747 2003-08-31 Manish Singh <yosh@gimp.org>
748
749 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
750 use default config.
751
752 2003-08-15 Carl Worth <cworth@isi.edu>
753
754 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
755 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
756
757 * src/fcpat.c (FcValueListEntDestroy): New function to support
758 FcFini memory cleanup. Some statistics are not kept in
759 synch. here.
760 (FcValueListFreeze): Move hashTable outside this function so it
761 can be accessed by FcValueListThawAll.
762 (FcValueListThawAll): New function complements FcValueListFreeze.
763 (FcPatternBaseFreeze): Move hashTable outside this function so it
764 can be accessed by FcPatternBaseThawAll.
765 (FcPatternBaseThawAll): New function complements
766 FcPatternBaseFreeze.
767 (FcPatternThawAll): New function complements FcPatternFreeze.
768
769 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
770
771 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
772 allocated FcCharLeafEnt "blocks" so they can be freed later.
773 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
774 can be accessed by FcCharSetThawAllLeaf.
775 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
776 (FcCharSetFreezeBase): Move hashTable outside this function so it
777 can be accessed by FcCharSetThawAll.
778 (FcCharSetThawAll): New function complements FcCharSetFreeze.
779
780 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
781 (FcConfigDestroy): Fic leak of FcBlanks.
782
783 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
784 (main): Add call to FcFini when finished.
785
786 * fc-glyphname/fc-glyphname.c: Mark several local functions as
787 static. Add prototypes.
788
789 * doc/fcinit.fncs: Add documentation for FcFini function.
790
791 * doc/edit-sgml.c: Mark several local functions as static. Add
792 prototypes.
793
794 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
795
796 2003-06-15 Tor Lillqvist <tml@iki.fi>
797
798 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
799 before comparing (needed on Windows).
800
801 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
802
803 2003-06-13 Tor Lillqvist <tml@iki.fi>
804
805 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
806 man pages.
807
808 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
809 WINDOWSFONTDIR token.
810
811 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
812 end, not to confuse libtool, which expects the EXPORTS line to be
813 the first. Add FcConfigEnableHome.
814
815 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
816 built as a DLL on Win32.
817
818 2003-06-09 Keith Packard <keithp@keithp.com>
819
820 * Tag version 2.2.90
821
822 2003-06-09 Keith Packard <keithp@keithp.com>
823
824 * Optimization in FcLangSetIndex was broken, occasionally
825 returning a pointer to the wrong location on miss
826
827 * Add fc-match to test font matching from the command line.
828
829 2003-05-31 Keith Packard <keithp@keithp.com>
830
831 * (Bug 85) add support for culmus fonts
832 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
833 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
834
835 2003-05-28 James Su <suzhe@turbolinux.com.cn>
836
837 * Fix "contains" op for strings and langsets.
838
839 2003-05-17 Keith Packard <keithp@keithp.com>
840
841 * Fix build error with BDF prop local. Free langset after query
842
843 2003-05-14 Keith Packard <keithp@keithp.com>
844
845 * Extract spacing from XLFD atom
846
847 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
848
849 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
850 disappeared in 1.30.
851
852 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
853
854 2003-05-12 Keith Packard <keithp@keithp.com>
855
856 * Use FcIsWidth to share code
857
858 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
859 misclassifying some Han fonts as monospaced.
860
861 2003-05-07 Keith Packard <keithp@keithp.com>
862
863 * Add filename-based accept/reject to ammend available fonts.
864
865 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
866 older FreeType releases.
867
868 2003-05-06 Keith Packard <keithp@keithp.com>
869
870 * Remove 0b82 and Tamil numbers from tamil
871 orthography (Jungshik Shin <jshin@mailaps.org>)
872
873 2003-05-04 Keith Packard <keithp@keithp.com>
874
875 + Map glyph names in fonts with adobe custom encoding to unicode
876
877 2003-05-02 Keith Packard <keithp@keithp.com>
878
879 * Add FC_WEIGHT_BOOK as weight 75
880
881 2003-04-30 Keith Packard <keithp@keithp.com>
882
883 * Typo in bitstream foundry name
884
885 2003-04-24 Keith Packard <keithp@keithp.com>
886
887 * Eliminate italic_angle check for PS fonts
888
889 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
890
891 * Getting closer to fixing /etc/fonts hard-coding.
892
893 2003-04-22 Keith Packard <keithp@keithp.com>
894
895 * Update autogen.sh to work with newer automake versions
896 * Handle pattern elements moving during multiple edits
897
898 2003-04-23 James Henstridge <james@daa.com.au>
899
900 * doc/fontconfig-devel.sgml: close the <para> element.
901
902 * doc/fcpattern.fncs: close the <para> element.
903
904 * doc/func.sgml: close the <refsynopsisdiv> element.
905
906 2003-04-22 Keith Packard <keithp@keithp.com
907
908 * Update autogen.sh to work with newer automake versions
909 * Handle pattern elements moving during multiple edits
910
911 2003-04-17 Colin Walters <walters@debian.org>
912
913 + Remove some unused variables, and initialize some other ones so
914 gcc doesn't warn us.
915
916 2003-04-16 Keith Packard <keithp@keithp.com>
917
918 + tag version 2.1.94
919
920 2003-04-16 Keith Packard <keithp@keithp.com>
921
922 + add BDF property fetching support for foundry
923 (from Juliusz Chroboczek)
924 + add BDF property fetching support for width
925
926 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
927
928 + Implemented foundry generation for Type 1 and TrueType
929
930 2003-04-11 Gerard Escalante <g2@magestudios.net>
931
932 + Retrieve information from Type1 FontInfo dictionaries
933
934 2003-04-07 Colin Walters <walters@verbum.org>
935
936 + src/Makefile.am: Fix dummy makefile target names when
937 MS_LIB_AVAILABLE isn't set.
938
939 2003-03-22 Tor Lillqvist <tml@iki.fi>
940
941 Changes for Windows:
942
943 + On Windows with gcc (a.k.a. mingw) build as a DLL.
944
945 + We don't want to hardcode the fonts.conf file location in the
946 DLL, so we look up the DLL location at run-time in a DllMain()
947 function. The fonts.conf location is deduced from that.
948
949 + The colon can't be used as path separator on Windows,
950 semicolon is used instead. File path components can be separated
951 with either slash or backslash. Absolute paths can also begin
952 with a drive letter.
953
954 + Add internal function FcStrLastSlash that strrchr's the last
955 slash, or backslash on Windows.
956
957 + There is no link() on Windows. For atomicity checks, mkdir a
958 lock directory instead.
959
960 + In addition to HOME, also look for USERPROFILE.
961
962 + Recognize the special font directory token WINDOWSFONTDIR, to
963 use the system's font directory.
964
965 + Remove the fontconfig-def.cpp that was obsolete. Add
966 fontconfig.def(.in), without internal functions.
967
968 + Add a fontconfig-zip(.in) script, used to build a binary
969 distribution.
970
971 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
972 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
973 to main package and man3/* to devel package
974
975 + Added missing defattr(-, root, root) to main RPM package
976
977 + Added HTML and text development documentation to -devel subpackage
978
979 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
980 + Added back the configure macro options --disable-docs, otherwise
981 fontconfig installs docs into /usr/share/doc/fontconfig (with no
982 version number) unconditionally, causing RPM to fail the build due
983 to _unpackaged_files_terminate_build. We pick up the pregenerated
984 docs with %doc already.
985
986 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
987 + Removed commented out rpm macro define at top of spec file,
988 replacing it with a simple explanation, since rpm macros are
989 expanded by rpm even in comments.
990
991 + Changed /usr/bin to _bindir in BuildRequires lines
992
993 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
994
995 + Reorganized file manifest lists
996
997 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
998
999 + fontconfig.spec.in: Improvements from Red Hat spec file.
1000
1001 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1002
1003 + docs/*.sgml: SGML fixes.
1004
1005 Sat Mar 1 17:28:53 PST 2003 keithp
1006 + Ok, so the ChangeLog is a bit out of date
1007
1008 + Lots of bugs fixed; most are in bugzilla, the
1009 biggest problems were in cache management where
1010 Owen discovered the library would lose badly when
1011 combining fonts-cache and ~/.fonts-cache data
1012
1013 + Converted from autoconf to automake. This after
1014 getting patches accepted into libtool to allow
1015 the '-version-number' argument which lets
1016 packages set version numbers explicitly rather
1017 than the roundabout libtool way
1018
1019 + Converted documentation to SGML using the docbook
1020 DTD. Now .txt and .html documents are installed
1021 in /usr/share/doc/fontconfig and there's no
1022 man page. Perhaps a man version can be written
1023 at some point.
1024
1025 Sat Aug 31 15:21:22 PDT 2002 keithp
1026 + Xrender and Xft had several bugs related to
1027 rendering manually placed or poly-face text
1028
1029 + Added more complete memory tracing in fontconfig
1030 Checked with (patched) mozilla and found no leaks
1031
1032 + Updated Latin orthographies by comparing those from
1033 evertype.com with those from eki.ee. Tried to make
1034 sensible choices, including chars that occured in both
1035 and leaving some optional chars out that occured only
1036 in one.
1037
1038 Mon Aug 26 16:33:04 PDT 2002 keithp
1039 + Owen discovered that FcLangSetHasLang wasn't actually
1040 checking the language set.
1041
1042 Mon Aug 26 13:37:23 PDT 2002 keithp
1043 + Append a version number to cache filenames
1044
1045 Thu Aug 22 11:36:18 PDT 2002 keithp
1046
1047 + Add "contains" and "not_contains" operators and elements to
1048 font configuration
1049
1050 + Changed semantics of eq operator for LangSets to check for
1051 FcLangEqual so that any match will do
1052
1053 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1054 of FcValueEqual to check for identical values when inserting into
1055 the results. This broke when the above semantic change was made,
1056 now it uses FcValueEqual which is "more correct" in any case.
1057
1058 Thu Aug 22 00:32:29 PDT 2002 keithp
1059
1060 + Reimplement FC_LANG as new datatype. Lists of strings
1061 was consuming over a megabyte of memory for 401 fonts.
1062
1063 + Freeze patterns loaded from cache files. This shares
1064 common value lists and common patterns which saves
1065 considerable memory.
1066
1067 + Change the denotation of 'constant' charsets to use special
1068 ref value instead of separate boolean.
1069
1070 + Clean up leak tracing stuff, found several unannoted alloc/free
1071 calls
1072
1073 Tue Aug 20 16:17:37 PDT 2002 keithp
1074
1075 + Fix memory leak when parsing matrices from XML
1076
1077 Mon Aug 19 11:57:27 PDT 2002 keithp
1078
1079 + Fix autoconf files to pass FONTCONFIG_PATH on
1080 compile line so that ${prefix} gets substituted
1081 correctly.
1082
1083 + Use getc_unlocked/putc_unlocked on systems that
1084 provide them to avoid damage done to stdio by posix
1085
1086 + Eliminate FC_PATTERN and FcTypePattern in favor of
1087 an extended api for FcConfigSubstitute which takes
1088 both the font and the pattern.
1089
1090 + Add 'sans serif' alias for 'sans-serif' as some apps
1091 can't handle hyphens in family names
1092
1093 + Eliminate pretense of support for libxml2
1094
1095 + Comment origins of Han orthographies
1096
1097 Tue Jul 30 18:37:09 PDT 2002 keithp
1098
1099 + Add binding property to edit element so that strong
1100 binding values may be inserted by the config file.
1101 The default remains weak.
1102
1103 Sun 28 Jul 04:16:55 PDT 2002 keithp
1104
1105 + Tagged release candidate 1 in the CVS tree and
1106 placed fcpackage.rc1.tar.gz for distribution
1107
1108 Thu Aug 1 08:55:08 PDT 2002 keithp
1109
1110 + Fixed autoconf builds to always specify install
1111 target files (for BSD). Also fixed to
1112 define FONTCONFIG_PATH in config.h so that
1113 nonstandard installs will actually work.