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