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