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