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