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