]> git.wh0rd.org - fontconfig.git/blob - ChangeLog
Update for version 2.2.98
[fontconfig.git] / ChangeLog
1 2004-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
8 2004-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
16 2004-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
24 2004-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
31 2004-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
39 2004-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
65 2004-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
82 2004-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
92 2004-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
108 2004-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
123 2004-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
372 2004-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
380 2004-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
387 2004-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
398 2004-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
404 all interesting are rather limited. Bug #505.
405 * src/Makefile.am:
406 Add copyright and license
407
408 2004-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
426 2004-12-04 Keith Packard <keithp@keithp.com>
427
428 * autogen.sh:
429 Report command line for $srcdir/configure accurately.
430 Bug #212.
431
432 2004-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.
437 Bug #210.
438
439 2004-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
449 2004-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
462 2004-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
509 2004-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
516 2004-06-30 Keith Packard <keithp@keithp.com>
517
518 * README:
519 * configure.in:
520 * fontconfig/fontconfig.h:
521 Update for 2.2.96
522
523 2004-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
537 2004-06-03 Keith Packard <keithp@keithp.com>
538
539 * fontconfig/fontconfig.h:
540 Remove comma at end of FcResult enum definition.
541
542 2004-05-29 Keith Packard <keithp@keithp.com>
543
544 * INSTALL:
545 Add steps to md5sum release
546
547 2004-05-29 Keith Packard <keithp@keithp.com>
548
549 * README:
550 * configure.in:
551 * fontconfig/fontconfig.h:
552 Update for 2.2.95
553
554 2004-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
566 2004-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
572 2004-04-23 Keith Packard <keithp@keithp.com>
573
574 * INSTALL:
575 Extend release preparation instructions to include
576 notification and distribution steps
577
578 2004-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
585 2004-04-23 Keith Packard <keithp@keithp.com>
586
587 * .cvsignore:
588 Ignore a few more autotool files
589
590 2004-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
620 2004-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
626 2004-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
634 2004-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
639 2004-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
646 2004-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
654 2004-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
672 2004-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
679 2004-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
690 2003-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
702 2003-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
711 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
712
713 * fc-list/fc-list.sgml: Add some example usages.
714
715 2003-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
721 2003-10-27 Keith Packard <keith@keithp.com>
722
723 * configure.in:
724 * fontconfig/fontconfig.h:
725 Update to version 2.2.92
726
727 2003-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
743 2003-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
770 2003-10-26 Keith Packard <keithp@keithp.com>
771
772 Tag version 2.2.91
773
774 2003-10-26 Keith Packard <keithp@keithp.com>
775
776 * doc/Makefile.am:
777 Include confdir.sgml.in in EXTRA_DIST
778
779 2003-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
786 2003-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
793 2003-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
798 2003-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
811 2003-08-31 Manish Singh <yosh@gimp.org>
812
813 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
814 use default config.
815
816 2003-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
860 2003-06-15 Tor Lillqvist <tml@iki.fi>
861
862 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
863 before comparing (needed on Windows).
864
865 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
866
867 2003-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
879 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
880 built as a DLL on Win32.
881
882 2003-06-09 Keith Packard <keithp@keithp.com>
883
884 * Tag version 2.2.90
885
886 2003-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
893 2003-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
899 2003-05-28 James Su <suzhe@turbolinux.com.cn>
900
901 * Fix "contains" op for strings and langsets.
902
903 2003-05-17 Keith Packard <keithp@keithp.com>
904
905 * Fix build error with BDF prop local. Free langset after query
906
907 2003-05-14 Keith Packard <keithp@keithp.com>
908
909 * Extract spacing from XLFD atom
910
911 2003-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
918 2003-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
925 2003-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
932 2003-05-06 Keith Packard <keithp@keithp.com>
933
934 * Remove 0b82 and Tamil numbers from tamil
935 orthography (Jungshik Shin <jshin@mailaps.org>)
936
937 2003-05-04 Keith Packard <keithp@keithp.com>
938
939 + Map glyph names in fonts with adobe custom encoding to unicode
940
941 2003-05-02 Keith Packard <keithp@keithp.com>
942
943 * Add FC_WEIGHT_BOOK as weight 75
944
945 2003-04-30 Keith Packard <keithp@keithp.com>
946
947 * Typo in bitstream foundry name
948
949 2003-04-24 Keith Packard <keithp@keithp.com>
950
951 * Eliminate italic_angle check for PS fonts
952
953 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
954
955 * Getting closer to fixing /etc/fonts hard-coding.
956
957 2003-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
962 2003-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
970 2003-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
975 2003-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
980 2003-04-16 Keith Packard <keithp@keithp.com>
981
982 + tag version 2.1.94
983
984 2003-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
990 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
991
992 + Implemented foundry generation for Type 1 and TrueType
993
994 2003-04-11 Gerard Escalante <g2@magestudios.net>
995
996 + Retrieve information from Type1 FontInfo dictionaries
997
998 2003-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
1003 2003-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
1035 Fri 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
1043 Wed 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
1050 Wed 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
1061 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
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
1069 Sat 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
1089 Sat 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
1102 Mon Aug 26 16:33:04 PDT 2002 keithp
1103 + Owen discovered that FcLangSetHasLang wasn't actually
1104 checking the language set.
1105
1106 Mon Aug 26 13:37:23 PDT 2002 keithp
1107 + Append a version number to cache filenames
1108
1109 Thu 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
1122 Thu 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
1137 Tue Aug 20 16:17:37 PDT 2002 keithp
1138
1139 + Fix memory leak when parsing matrices from XML
1140
1141 Mon Aug 19 11:57:27 PDT 2002 keithp
1142
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
1161 Tue 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
1167 Sun 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
1172 Thu 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.