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