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