]>
Commit | Line | Data |
---|---|---|
9e07e0a7 PL |
1 | 2006-02-10 Takashi Iwai <tiwai@suse.de> |
2 | reviewed by: plam | |
3 | * src/fcmatch.c (FcFontSetMatch): | |
4 | ||
5 | Use a tri-state to mark the fonts which didn't get blocked but | |
6 | were just missing an element, to distinguish them from the | |
7 | fonts that do match the element. | |
8 | ||
f11a1841 PL |
9 | 2006-02-10 Takashi Iwai <tiwai@suse.de> |
10 | reviewed by: plam | |
11 | * src/fcmatch.c (FcFontSetMatch): | |
12 | ||
13 | Don't kill fonts because they don't declare an element that's | |
14 | being matched on. | |
15 | ||
c7490074 | 16 | 2006-02-09 Patrick Lam <plam@mit.edu> |
879af706 PL |
17 | * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave, |
18 | FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite): | |
c7490074 | 19 | |
879af706 PL |
20 | Define and pass O_BINARY to open if appropriate, for those |
21 | platforms that need it. Reported by Doodle. | |
c7490074 | 22 | |
a8c42530 PL |
23 | 2006-02-09 Patrick Lam <plam@mit.edu> |
24 | * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize, | |
25 | FcCharSetGetLeaf): | |
26 | ||
27 | Fix problem with missing 'en' due to euro.patch: change | |
28 | cache file format slightly to coincide with that generated | |
29 | by fc-lang. | |
30 | ||
b10e7762 PL |
31 | 2006-02-07 Patrick Lam <plam@mit.edu> |
32 | * src/fccache.c (FcCacheReadDirs): | |
33 | ||
34 | Fix warning. | |
35 | ||
5c3deb29 PL |
36 | 2006-02-07 Patrick Lam <plam@mit.edu> |
37 | * src/fcdir.c (FcDirScanConfig): | |
38 | ||
39 | Don't reject dirs that can't be normalized (fixes lilypond, and | |
40 | is correct in the context of application font directories.) | |
41 | ||
42 | 2006-02-07 Takashi Iwai <tiwai@suse.de> | |
43 | reviewed by: plam | |
44 | ||
45 | * src/fccache.c (FcCacheReadDirs): | |
46 | ||
47 | Use normalized directory name exclusively in FcCacheReadDirs. | |
48 | ||
efb11b36 PL |
49 | 2006-02-07 Dirk Mueller <dmueller@suse.com> |
50 | reviewed by: plam | |
51 | ||
52 | * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate): | |
53 | ||
54 | Perf optimizations. Inline FcValueCanonicalize, | |
55 | reduce FcValueListPtrU usage, remove redundant cast. | |
56 | ||
6cc02fe6 PL |
57 | 2006-02-07 Takashi Iwai <tiwai@suse.de> |
58 | reviewed by: plam | |
59 | ||
60 | * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf) | |
61 | * fc-lang/fc-lang.c: | |
62 | ||
63 | Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf. | |
64 | Declare extern for static arrays as arrays, not pointers. | |
65 | (Part of the fix for 'fonts don't have en' issue after Euro patch.) | |
66 | ||
67 | 2006-02-07 Dirk Mueller <dmueller@suse.com> | |
68 | reviewed by: plam | |
69 | ||
70 | * fc-lang/de.orth: | |
71 | * fc-lang/el.orth: | |
72 | * fc-lang/en.orth: | |
73 | * fc-lang/es.orth: | |
74 | * fc-lang/fi.orth: | |
75 | * fc-lang/fr.orth: | |
76 | * fc-lang/it.orth: | |
77 | * fc-lang/nl.orth: | |
78 | * fc-lang/pt.orth: | |
79 | ||
80 | Add Euro sign to list of symbols required by European languages. | |
81 | ||
a81f23c0 PL |
82 | 2006-02-07 Patrick Lam <plam@mit.edu> |
83 | * src/fccache.c (FcCacheReadString): | |
84 | ||
85 | Fix hidden variable warning. | |
86 | ||
799157db | 87 | 2006-02-07 Dirk Mueller <dmueller@suse.com> |
a81f23c0 | 88 | reviewed by: plam |
799157db PL |
89 | |
90 | * src/fccache.c (FcCacheReadString, FcCacheSkipString): | |
91 | ||
92 | Remove de-escaping logic because FcCacheWriteString | |
93 | doesn't escape anyway. Do blockwise reading instead | |
94 | of byte-wise for performance. | |
95 | ||
8b413bb6 PL |
96 | 2006-02-06 Patrick Lam <plam@mit.edu> |
97 | Takashi Iwai <tiwai@suse.de> | |
98 | ||
99 | * src/fccache.c (FcCacheReadDirs, FcCacheRead): | |
100 | ||
101 | Don't loop infinitely on recursive symlinks (client-side). | |
102 | ||
660acf8f PL |
103 | 2006-02-06 Takashi Iwai <tiwai@suse.de> |
104 | reviewed by: plam | |
105 | * fc-cache/fc-cache.c (scanDirs, main): | |
106 | ||
107 | Don't loop infinitely on recursive symlinks. | |
108 | ||
fff5a5af PL |
109 | 2006-02-06 Takashi Iwai <tiwai@suse.de> |
110 | reviewed by: plam | |
111 | * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir, | |
112 | FcGlobalCacheDirFind, FcGlobalCacheUpdate, | |
113 | FcGlobalCacheSave, FcCacheReadDirs): | |
114 | * src/fcint.h: | |
115 | ||
116 | Skip subdirs when skipping over stale bits of global cache. | |
117 | Introduce state machine into FcGlobalCacheDir to avoid | |
118 | doing inappropriate operations on global dir entries, e.g. | |
119 | writing out an out-of-date cache entry. | |
120 | ||
98592bbb PL |
121 | 2006-02-06 Takashi Iwai <tiwai@suse.de> |
122 | reviewed by: plam | |
123 | * src/fcdir.c (FcFileScanConfig): | |
124 | ||
125 | Hoist FcFileIsDir check out of FcFileScanConfig loop. | |
126 | ||
a0aa54f6 PL |
127 | 2006-02-06 Takashi Iwai <tiwai@suse.de> |
128 | reviewed by: plam | |
129 | ||
130 | * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir, | |
131 | FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir): | |
132 | ||
133 | Don't rescan when trying to normalize a non-declared font dir. | |
134 | Don't add font dirs multiple times (even if they're aliased). | |
135 | ||
86e75dfb PL |
136 | 2006-02-06 Dirk Mueller <dmueller@suse.de> |
137 | reviewed by: plam | |
138 | ||
139 | * src/fcfs.c (FcFontSetUnserialize): | |
140 | ||
141 | Explain apples/oranges comparison and fix compilation error. | |
142 | ||
f076169d PL |
143 | 2006-02-06 Dirk Mueller <dmueller@suse.de> |
144 | reviewed by: plam | |
145 | ||
146 | * src/fcfs.c (FcFontSetUnserialize): | |
147 | ||
148 | Insert check for integer overflow in # of fonts. | |
149 | ||
788c4af2 PL |
150 | 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu> |
151 | reviewed by: plam | |
152 | ||
153 | * doc/Makefile.am: | |
154 | * fc-cache/Makefile.am: | |
155 | * fc-cat/Makefile.am: | |
156 | * fc-list/Makefile.am: | |
157 | ||
158 | Make 'make distcheck' work with automake 1.6.3. | |
159 | ||
68355f38 PL |
160 | 2006-02-03 Takashi IWAI <tiwai@suse.de> |
161 | reviewed by: plam | |
162 | ||
163 | * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main, | |
164 | FcCacheFileRead): | |
165 | ||
166 | * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave, | |
167 | FcDirCacheConsume, FcDirCacheWrite) | |
168 | * src/fcxml.c (FcConfigMessage): | |
169 | ||
170 | Check I/O call return values and eliminate unused variable | |
171 | warnings. | |
172 | ||
c4c47a76 PL |
173 | 2006-02-03 Takashi Iwai <tiwai@suse.de> |
174 | reviewed by: plam | |
175 | ||
176 | * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir) | |
177 | ||
178 | Fix memory leak. | |
179 | ||
a8e4d9eb PL |
180 | 2006-02-03 Dirk Mueller <dmueller@suse.de> |
181 | reviewed by: plam | |
182 | ||
183 | * src/fcfs.c (FcFontSetUnserialize): | |
184 | ||
185 | Gracefully handle the case where a cache asserts that it | |
186 | has a negative number of fonts, causing overflow. | |
187 | ||
1af0f574 PL |
188 | 2006-02-03 Patrick Lam <plam@mit.edu> |
189 | * src/fccache.c (FcDirCacheUnlink): | |
190 | ||
191 | Fix double free in error case. | |
192 | ||
80ba0571 PL |
193 | 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu> |
194 | Stephan Kulow <coolo@suse.de> | |
195 | reviewed by: plam | |
196 | ||
197 | * fc-cache/Makefile.am: | |
198 | ||
199 | Replace 'stamp' target with mkinstalldirs. | |
200 | ||
28aefd01 PL |
201 | 2006-01-31 Mike Fabian <mfabian@suse.de> |
202 | reviewed by: plam | |
203 | ||
204 | * src/fccache.c (FcGlobalCacheLoad): | |
205 | ||
206 | Toast broken global cache files. | |
207 | ||
3616cbe2 PL |
208 | 2006-01-30 Patrick Lam <plam@mit.edu> |
209 | * src/fccache.c (FcGlobalCacheReadDir): | |
210 | ||
211 | Actually use the directories that I added to the global cache. | |
212 | Fixes 'make check'. | |
213 | ||
275cf6cd PL |
214 | 2006-01-30 Mike Fabian <mfabian@suse.de> |
215 | reviewed by: plam | |
216 | ||
217 | * fc-cache/fc-cache.c (scanDirs): | |
218 | ||
219 | Don't stop scanning if a directory in fonts.conf doesn't | |
220 | exist, because subsequent directories might exist. | |
221 | ||
81d97094 PL |
222 | 2006-01-30 Patrick Lam <plam@mit.edu> |
223 | * src/fccache.c (FcGlobalCacheLoad): | |
224 | ||
225 | Make global cache work again after putting dir names into global | |
226 | cache (I misplaced the recording of a file offset). | |
227 | ||
2c4e0124 PL |
228 | 2006-01-30 Patrick Lam <plam@mit.edu> |
229 | * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint): | |
230 | ||
231 | Update fc-cat to handle subdir lists in global cache file. | |
232 | ||
233 | * src/fccache.c (FcGlobalCacheLoad): | |
234 | ||
235 | Another FcCacheReadString return value check. | |
236 | ||
c5411c4c PL |
237 | 2006-01-30 Mike Fabian <mfabian@suse.de> |
238 | reviewed by: plam | |
239 | ||
240 | * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink | |
241 | FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite): | |
242 | ||
243 | Make fccache more resilient to broken cache files by checking | |
244 | return value of FcCacheReadString all the time. | |
245 | ||
946478e1 PL |
246 | 2006-01-30 Frederic Crozat <fcrozat@mandriva.com> |
247 | reviewed by: plam | |
248 | ||
249 | * fc-match/fc-match.1: | |
250 | * fc-lang/fc-lang.man: | |
251 | ||
252 | Remove references to dead fontconfig(3) manpages in | |
253 | other fontconfig manpages. | |
254 | ||
af7a965f PL |
255 | 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu> |
256 | reviewed by: plam | |
257 | ||
258 | * doc/fcpattern.fncs: | |
259 | ||
260 | Fix world's tiniest typo in code example. | |
261 | ||
30c4189d PL |
262 | 2006-01-29 Mike Fabian <mfabian@suse.de> |
263 | reviewed by: plam | |
264 | ||
265 | * src/fccache.c (FcGlobalCacheReadDir): | |
266 | ||
267 | Fix global cache reads of subdirectories. | |
268 | ||
971cf180 PL |
269 | 2006-01-29 Patrick Lam <plam@mit.edu> |
270 | * doc/fcconfig.fncs: | |
271 | Add documentation for FcConfigNormalizeFontDir. | |
272 | ||
273 | * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad, | |
274 | FcGlobalCacheUpdate, FcGlobalCacheSave): | |
275 | * src/fcdir.c (FcDirScanConfig): | |
276 | * src/fcint.h: | |
277 | ||
278 | Write directory information to global caches to fix make check | |
279 | (reported by Ronny V. Vindenes). This changes the global cache | |
280 | format again. | |
281 | ||
97293e07 PL |
282 | 2006-01-27 Patrick Lam <plam@mit.edu> |
283 | * fc-cache/fc-cache.c (scanDirs): | |
284 | * fontconfig/fontconfig.h: | |
285 | * src/fcint.h: | |
286 | * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch): | |
287 | ||
288 | Move FcConfigNormalizeFontDir call so that it doesn't result in | |
289 | infinite recursion (reported by Ronny V. Vindenes). | |
290 | ||
3cf9f5ce PL |
291 | 2006-01-26 Patrick Lam <plam@mit.edu> |
292 | * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch): | |
293 | * src/fccfg.c (FcConfigNormalizeFontDir): | |
294 | ||
295 | Add a couple of missing normalizations to make fc-cache work | |
296 | right; only scan subdirectories once. | |
297 | ||
4073203d PL |
298 | 2006-01-26 Mike Fabian <mfabian@suse.de> |
299 | reviewed by: plam | |
300 | ||
301 | * src/fcacache.c (FcGlobalCacheReadDir): | |
302 | ||
303 | Don't crash on non-existant directories in global cache. | |
304 | ||
f468f568 PL |
305 | 2006-01-26 Patirck Lam <plam@mit.edu> |
306 | * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite): | |
307 | * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir): | |
308 | * src/fcdir.c (FcDirScanConfig): | |
309 | * src/fcxml.c (FcEndElement): | |
310 | ||
311 | Stop trampling the directory name when writing out caches. | |
312 | (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan | |
313 | subdirs when necessary. Don't scan directories that can't be | |
314 | normalized. | |
315 | ||
575a37b7 PL |
316 | 2006-01-25 Patrick Lam <plam@mit.edu> |
317 | * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite): | |
318 | * src/fccfg.c (FcConfigEvaluate): | |
319 | * src/fcfreetype.c (FcPatternAddWithBinding): | |
320 | ||
321 | Fix additional memory leaks reported by Ronny V. Vindenes: don't | |
322 | invoke FcValueSave on hashed static strings in | |
323 | FcPatternAddWithBinding. | |
324 | ||
325 | Add another st_dev check in FcDirCacheOpen. | |
326 | ||
16a71eff PL |
327 | 2006-01-24 James Su <james.su@gmail.com> |
328 | reviewed by: plam | |
329 | ||
330 | * src/fcfreetype.c (FcFreeTypeIsExclusiveLang): | |
331 | * fc-lang/zh_hk.orth: | |
332 | ||
333 | Treat zh-hk fonts differently from zh-tw fonts. This patch may | |
334 | cause fontconfig to treat A-X fonts differently from A-Y fonts; | |
335 | please mail the fontconfig list if this causes any problems. | |
336 | ||
6f9fcb51 PL |
337 | 2006-01-24 Patrick Lam <plam@mit.edu> |
338 | * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite): | |
339 | * src/fcfreetype.c (FcFreeTypeQuery): | |
340 | ||
341 | Fix memory leaks reported by Ronny V. Vindenes. | |
342 | ||
986e3597 PL |
343 | 2006-01-19 Andreas Schwab <schwab@suse.de> |
344 | reviewed by: plam | |
345 | ||
346 | * src/fcpat.c (FcStrNeededBytes): | |
347 | ||
348 | Fix for unaligned memory accesses. | |
349 | ||
58bdd296 PL |
350 | 2006-01-18 Mike Fabian <mfabian@suse.de> |
351 | reviewed by: plam | |
352 | ||
353 | * src/fcdir.c (FcDirScanConfig): | |
354 | ||
355 | Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir | |
356 | calls to avoid crashes. | |
357 | ||
986e3597 | 358 | 2006-01-14 Patrick Lam <plam@mit.edu> |
eadadf48 PL |
359 | * src/fccache.c (FcDirCacheConsume): |
360 | ||
361 | Fix segfault when consuming zero-length caches in fc-cat | |
362 | (which has no config, so FcConfigAddFontDir shouldn't be called.) | |
363 | ||
8a0b0ed6 PL |
364 | 2006-01-14 Patrick Lam <plam@mit.edu> |
365 | * fc-cache/fc-cache.c (scanDirs): | |
366 | * fontconfig/fontconfig.h: | |
367 | * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate, | |
368 | FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen): | |
369 | * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir): | |
370 | * src/fcdir.c (FcDirScanConfig): | |
371 | * src/fcint.h: | |
372 | ||
373 | Compare device numbers as well as inodes. | |
374 | Always normalize directory names before comparing them. | |
375 | ||
376 | 2006-01-11 Mike Fabian <mfabian@suse.de> | |
377 | reviewed by: plam | |
378 | ||
379 | * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint): | |
380 | ||
381 | Allocate extra space for appended '/' in directory name. | |
382 | ||
df3efc11 PL |
383 | 2006-01-10 Patrick Lam <plam@mit.edu> |
384 | * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen, | |
385 | FcDirCacheValid, FcDirCacheHasCurrentArch, | |
386 | FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume): | |
387 | * fc-cache/fc-cache.c (main): | |
388 | ||
389 | Explicitly add font dirs to config.fontDirs even if they're empty. | |
390 | Set current config in fc-cache.c. | |
391 | Fix treatment of cache directory as read from cache file; don't | |
392 | use string equality to determine if we have the right file, | |
393 | use inode equality. | |
394 | ||
cd9bca69 PL |
395 | 2006-01-09 Patrick Lam <plam@mit.edu> |
396 | * fc-cache/fc-cache.c (scanDirs): | |
397 | * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead): | |
398 | * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs, | |
399 | FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite): | |
400 | * src/fccfg.c (FcConfigNormalizeFontDir): | |
401 | * src/fcdir.c (FcDirScanConfig): | |
402 | * src/fcint.h: | |
403 | ||
404 | Normalize font dirs by using the form, as given in fonts.conf, and | |
405 | recorded in FcConfig's fontDirs string set, as canonical. | |
406 | ||
407 | Actually update config.fontDirs as font directories are scanned. | |
408 | ||
a6d3757d PL |
409 | 2006-01-08 James Su <james.su@gmail.com> |
410 | * src/fcmatch.c (FcFontSetMatch): | |
411 | ||
412 | Fix matching bug when multiple elements match; don't use | |
413 | the sum of all scores, but the best score. | |
414 | ||
415 | Also more perf opts, e.g. evaluate best over all font sets | |
416 | rather than on a per-set basis (and other changes). | |
417 | ||
05a98eaf PL |
418 | 2006-01-08 Patrick Lam <plam@mit.edu> |
419 | * src/fccache.c (FcDirCacheConsume): | |
420 | ||
421 | Properly skip past dir caches that contain zero fonts (as occurs | |
422 | in global caches.) Reported by Mike Fabian. | |
423 | ||
5fe09702 PL |
424 | 2006-01-06 Patrick Lam <plam@mit.edu> |
425 | * src/fcdbg.c (FcPatternPrint): | |
426 | ||
427 | Print out full pathname in fc-match -v as well. Reported by | |
428 | Frederic Crozat. | |
429 | ||
430 | 2006-01-06 Mike Fabian <mfabian@suse.de> | |
431 | reviewed by: plam | |
432 | ||
433 | * src/fcname.c (FcNameParse): | |
434 | ||
435 | Fix bug where fc-match crashes when given __DUMMY__ property to | |
436 | match on. | |
437 | ||
438 | (I added the __DUMMY__ string to enable callers of | |
439 | FcObjectToPtrLookup to distinguish an error return from a | |
440 | successful return. -PL) | |
441 | ||
c60ec7cc PL |
442 | 2006-01-05 Patrick Lam <plam@mit.edu> |
443 | * AUTHORS: | |
444 | ||
445 | Add self to AUTHORS list. | |
446 | ||
447 | * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, | |
448 | FcCacheFileRead, FcCachePrintSet, main): | |
449 | * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate, | |
450 | FcGlobalCacheSave, FcCacheNextOffset, | |
451 | FcDirCacheHasCurrentArch, FcDirCacheRead, | |
452 | FcDirCacheConsume, FcDirCacheWrite): | |
453 | * src/fcint.h: | |
454 | * src/fcpat.c (comment): | |
455 | ||
456 | Minor change to global cache file format to fix fc-cat bug | |
457 | reported by Frederic Crozat, and buglet with not globally caching | |
458 | directories with zero fonts cached. | |
459 | ||
52ac91f7 PL |
460 | 2006-01-02 Lubos Lunak <l.lunak@suse.cz> |
461 | reviewed by: plam | |
462 | ||
463 | * src/fccfg.c (FcConfigEvaluate): | |
464 | ||
465 | Fix double-free which occurs because FcValueCanonicalize doesn't | |
466 | create an extra copy of the returned value, it only canonicalizes | |
467 | it. | |
468 | ||
469 | 2006-01-02 Patrick Lam <plam@mit.edu> | |
cea78a87 PL |
470 | * doc/fontconfig-user.sgml: |
471 | ||
472 | Fix version of .cache file (currently 1 -> currently 2). Reported | |
473 | by Jim Osborn. | |
474 | ||
ebc157f9 PL |
475 | 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com> |
476 | reviewed by: plam | |
477 | ||
478 | * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname): | |
479 | ||
480 | Shut up GCC warnings on amd. | |
481 | ||
3bfae75d PL |
482 | 2005-12-20 Patrick Lam <plam@mit.edu> |
483 | * ChangeLog: | |
484 | * README: | |
485 | * configure.in: | |
486 | * fontconfig/fontconfig.h: | |
487 | ||
488 | Bump version to 2.3.93. | |
489 | ||
19ea60bc PL |
490 | 2005-12-20 Patrick Lam <plam@mit.edu> |
491 | * src/fccharset.c (FcLangCharSetPopulate): | |
492 | * src/fcint.h (FcCacheBankToIndex): | |
493 | ||
494 | Avoid check on _fcBankId nullness and fix case where it used to | |
495 | crash. | |
496 | ||
6f767cec | 497 | 2005-12-20 Patrick Lam <plam@mit.edu> |
3bfae75d PL |
498 | * src/fcxml.c (FcConfigParseAndLoad): |
499 | ||
500 | Use open instead of fopen (requested by Phil Race for Sun). | |
501 | ||
502 | 2005-12-20 Patrick Lam <plam@mit.edu> | |
503 | * src/fccache.c (FcDirCacheWrite); | |
504 | * fc-cache/Makefile.am: | |
505 | ||
506 | Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig | |
507 | dir. | |
508 | ||
509 | 2005-12-20 Patrick Lam <plam@mit.edu> | |
6f767cec PL |
510 | * src/fcfreetype.c (FcFreeTypeQuery): |
511 | ||
512 | Restore code to skip over PCF fonts that have no encoded | |
513 | characters. | |
514 | (We guess that a font is PCF by presence of the PIXEL_SIZE | |
515 | BDF property.) | |
516 | ||
ec760b17 PL |
517 | 2005-12-12 Patrick Lam <plam@mit.edu> |
518 | * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite): | |
519 | ||
520 | Read and write the original location as a fallback for the | |
521 | hashed cache file locations. This is mostly for users to be | |
522 | able to have per-directory cache files. | |
523 | ||
83b67390 PL |
524 | 2005-12-12 Patrick Lam <plam@mit.edu> |
525 | * fc-cache/fc-cache.c (scanDirs): | |
526 | * fc-cache/Makefile.am: | |
527 | * src/fccache.c (FcDirCacheHashName): | |
528 | ||
529 | Improve error message when fc-cache can't write the cache. Add | |
530 | missing slash. Reported by Behdad. Incorporate Behdad's patch to | |
531 | create /var/cache/fontconfig when appropriate. | |
532 | ||
368104c3 PL |
533 | 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu> |
534 | reviewed by: plam | |
535 | ||
536 | * src/fcxml.c (FcConfigGetAttribute): | |
537 | ||
538 | Fix crash reported by Frederic Crozat when using libxml2. | |
539 | ||
ea44e218 PL |
540 | 2005-12-09 Patrick Lam <plam@mit.edu> |
541 | * INSTALL: | |
542 | * configure.in: | |
543 | * fc-cache/Makefile.am: | |
544 | * fc-cat/Makefile.am: | |
545 | * src/Makefile.am: | |
546 | * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead): | |
547 | * fontconfig/fontconfig.h (FC_CACHE_SUFFIX): | |
548 | * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad, | |
549 | FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid, | |
550 | FcDirCacheHasCurrentArch, FcDirCacheHashName, | |
551 | FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite): | |
552 | ||
553 | Migrate cache files from fonts directories to | |
554 | /var/cache/fontconfig. This helps make fontconfig FHS-compliant, | |
555 | but requires that all caches get rebuilt. | |
556 | ||
557 | Also, autogen.sh now needs the additional parameter | |
558 | --localstatedir=/var. | |
559 | ||
204da5a8 PL |
560 | 2005-12-07 Patrick Lam <plam@mit.edu> |
561 | * src/fcpat.c (FcPatternAddString): | |
562 | ||
563 | Because we've changed FcPatternAddString to use FcStrStaticName | |
564 | and not FcValueSave, explicitly handle the case of a null string. | |
565 | ||
982b5982 PL |
566 | 2005-12-06 Patrick Lam <plam@mit.edu> |
567 | * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint): | |
568 | ||
569 | Fix warnings. | |
570 | ||
c6103dfb PL |
571 | 2005-12-05 Patrick Lam <plam@mit.edu> |
572 | * src/fcname.c (FcNameGetObjectType): | |
573 | ||
574 | Don't assign types to user object names. | |
575 | ||
9ede93f1 PL |
576 | 2005-12-05 Patrick Lam <plam@mit.edu> |
577 | * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed): | |
578 | ||
579 | Don't free strings that have been returned from FcStrStaticName. | |
580 | ||
6059daed PL |
581 | 2005-12-01 Patrick Lam <plam@mit.edu> |
582 | * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main): | |
583 | ||
584 | Add codepath for reading global cache files as well. | |
585 | ||
2c6fead7 PL |
586 | 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu> |
587 | reviewed by: plam | |
588 | ||
589 | * conf.d/10-fonts.persian.conf: | |
590 | * conf.d/Makefile.am: | |
591 | ||
592 | Add config file for Persian fonts from Sharif FarsiWeb, Inc. | |
593 | ||
594 | 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu> | |
cb6d97eb PL |
595 | reviewed by: plam |
596 | ||
597 | * src/fcxml.c (FcConfigParseAndLoad): | |
598 | ||
599 | Only add a config file to the set of config files once. | |
600 | ||
93a27747 PL |
601 | 2005-11-29 Patrick Lam <plam@mit.edu> |
602 | * src/fcint.h (FcCacheBankToIndex); | |
603 | ||
604 | Fix segfault by guarding array dereference. | |
605 | ||
b8948e85 PL |
606 | 2005-11-29 Dirk Mueller <dmueller@suse.de> |
607 | reviewed by: plam | |
608 | ||
609 | * fc-lang/fc-lang.c: | |
610 | * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank, | |
611 | FcCacheBankToIndex, FcCacheBankToIndexMTF, | |
612 | FcCacheAddBankDir): | |
613 | * src/fcint.h: | |
614 | ||
615 | Refactor FcCacheBankToIndex into an inlineable part | |
616 | (in fcint.h) which checks the front of the list and a | |
617 | non-inlineable part which finds and moves the appropriate element | |
618 | to the front of the list. | |
619 | ||
9fad72ab PL |
620 | 2005-11-29 Patrick Lam <plam@mit.edu> |
621 | * src/fccfg.c (FcConfigBuildFonts): | |
622 | * src/fccache.c (FcCacheReadDirs): | |
623 | ||
624 | Make the perf guys hate me a bit less: hoist the directory-name | |
625 | FcConfigAcceptFont check for cached fonts up to directory cache | |
626 | read time, rather than running it for each font. | |
627 | ||
51af0509 PL |
628 | 2005-11-29 Patrick Lam <plam@mit.edu> |
629 | * src/fccfg.c (FcConfigBuildFonts): | |
630 | * src/fcint.h: | |
631 | * src/fcpat.c (FcPatternFindFullFname): | |
632 | ||
633 | Don't make FcPatternFindFullFname available to fccfg, it's not | |
634 | really safe. Instead go through FcPatternGetString (sorry, | |
635 | perf guys.) Also, use globs for dirs as well. | |
636 | ||
e0421d02 PL |
637 | 2005-11-28 Patrick Lam <plam@mit.edu> |
638 | * src/fccfg.c (FcConfigBuildFonts): | |
639 | ||
640 | Fix segfault. | |
641 | ||
ced3f0a0 PL |
642 | 2005-11-28 Patrick Lam <plam@mit.edu> |
643 | * src/fcint.h: | |
644 | * src/fcpat.c (FcPatternFindFullFname): | |
645 | * src/fccfg.c (FcConfigBuildFonts): | |
646 | ||
647 | Fix problem dating back at least to 2.3.2 where globs weren't | |
648 | being applied to patterns loaded from a cache. | |
649 | ||
650 | 2005-11-28 Patrick Lam <plam@mit.edu> | |
651 | * doc/fontconfig-user.sgml: | |
652 | ||
653 | Fix some obvious spelling mistakes. | |
654 | ||
1ed98a0c PL |
655 | 2005-11-28 Dirk Mueller <dmueller@suse.com> |
656 | Stephan Kulow <coolo@suse.de> | |
657 | reviewed by: plam | |
658 | ||
659 | * src/fcmatch.c (FcFontSetMatch): | |
660 | ||
661 | Don't kill all fonts during match (oops!) | |
662 | ||
663 | ||
664 | 2005-11-25 Dirk Mueller <dmueller@suse.com> | |
665 | Stephan Kulow <coolo@suse.de> | |
666 | Michael Matz <matz@suse.de> | |
667 | reviewed by: plam | |
668 | ||
669 | * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList, | |
670 | FcFontSetMatch): | |
671 | ||
672 | Rewrite FcFontSetMatch to a path-finding based algorithm, i.e. | |
673 | inline FcCompare into FcFontSetMatch and reorder the | |
674 | loops, adding a boolean array which blocks patterns from future | |
675 | consideration if they're known to not be best on some past | |
676 | criterion. | |
677 | ||
200a44fe PL |
678 | 2005-11-26 Dirk Mueller <dmueller@suse.com> |
679 | reviewed by: plam | |
680 | ||
681 | * src/fcmatch.c (FcCompareValueList): | |
682 | ||
683 | Fix incorrect merge. | |
684 | ||
cbe1df81 PL |
685 | 2005-11-25 Patrick Lam <plam@mit.edu> |
686 | * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList): | |
687 | ||
688 | Don't do random matching when bad objects are passed into | |
689 | FcCompareValueList. | |
690 | ||
81fe99fd PL |
691 | 2005-11-25 Patrick Lam <plam@mit.edu> |
692 | * src/fcint.h: | |
693 | * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes, | |
694 | FcPatternSerialize, FcPatternUnserialize, | |
695 | FcValueListEnsureBank, FcValueListDistributeBytes, | |
696 | FcValueListUnserialize): | |
697 | ||
698 | Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns, | |
699 | _fcPatternElts, _fcValueLists for consistency. | |
700 | ||
d854eaf8 PL |
701 | 2005-11-25 Dirk Mueller <dmueller@suse.com> |
702 | reviewed by: plam | |
703 | ||
704 | * src/fcmatch.c: | |
705 | ||
706 | Pass the FcObjectPtr to FcCompareValueList, not the char * (perf). | |
707 | ||
61571f3f PL |
708 | 2005-11-25 Patrick Lam <plam@mit.edu> |
709 | * src/fcint.h: | |
710 | * src/fccache.c (FcDirCacheConsume): | |
711 | * src/fccharset.c (FcCharSetUnserialize): | |
712 | * src/fcfs.c (FcFontSetUnserialize): | |
713 | * src/fclang.c (FcLangSetUnserialize): | |
714 | * src/fcname.c (FcObjectUnserialize): | |
715 | * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize, | |
716 | FcPatternUnserialize): | |
717 | ||
718 | Pass around FcCache *s to the Unserialize functions for extra | |
719 | consistency (and less overhead, for what that's worth). | |
720 | ||
9ab79bdf PL |
721 | 2005-11-24 Dirk Mueller <dmueller@suse.com> |
722 | reviewed by: plam | |
723 | ||
724 | * src/fcint.h: | |
725 | * src/fcmatch.c (FcCompare*, FcFontSetSort): | |
726 | * src/fcname.c (FcNameUnparseValue): | |
727 | ||
728 | Inline the *PtrU functions to gain perf. | |
729 | Remove unneeded params for the FcCompare* functions. | |
730 | ||
731 | 2005-11-24 Dirk Mueller <dmueller@suse.com> | |
1c9fdcca PL |
732 | reviewed by: plam |
733 | ||
734 | * src/fcint.h, fontconfig/fontconfig.h: | |
735 | ||
736 | Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header. | |
737 | ||
738 | * src/fcpat.c, src/fcint.h, src/fcname.c: | |
739 | ||
740 | Check for type validity during FcPatternAddWithBinding, don't | |
741 | verify type in FcFontMatch, don't call FcCanonicalize here | |
742 | (which always does a deep copy). | |
743 | ||
4f8b266f PL |
744 | 2005-11-24 Dirk Mueller <dmueller@suse.com> |
745 | reviewed by: plam | |
746 | ||
747 | * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily): | |
748 | * src/fcpat.c (FcPatternAddWithBinding): | |
749 | ||
750 | Make FcCompareString and FcCompareFamily less expensive. | |
751 | Only add a value for FC_FAMILY if the proposed value is a string. | |
752 | ||
753 | 2005-11-24 Dirk Mueller <dmueller@suse.com> | |
b97a34b5 PL |
754 | reviewed by: plam |
755 | ||
756 | * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint): | |
757 | * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts): | |
758 | * src/fcint.h (FcDebug): | |
759 | ||
760 | Inline FcDebug invocations and only initialize once, in FcInit*. | |
761 | Improve debug msg in FcPatternPrint. | |
762 | ||
f7c4624f PL |
763 | 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>: |
764 | reviewed by: plam | |
765 | ||
766 | * fontconfig/fontconfig.h: | |
767 | * fc-cat/fc-cat.c: | |
768 | ||
769 | Minor code warning cleanups. | |
770 | ||
435fc660 PL |
771 | 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>: |
772 | reviewed by: plam | |
773 | ||
774 | * fc-match/fc-match.c (main): | |
775 | ||
776 | Make getopt_long accept -s parameter to fc-match as well. | |
777 | ||
adac22f2 PL |
778 | 2005-11-21 Dirk Mueller <dmueller@suse.com> |
779 | reviewed by: plam | |
780 | ||
781 | * src/fcmatch.c (FcCompareValueList): | |
782 | ||
783 | Manually perform inlining & partial redundancy elimination to | |
784 | reduce calls to FcValueListPtrU. | |
785 | ||
786 | 2005-11-21 Dirk Mueller <dmueller@suse.com> | |
787 | reviewed by: plam | |
788 | ||
789 | * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong, | |
790 | FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks): | |
791 | ||
792 | Only invoke strlen() when really necessary. | |
793 | ||
8ebf7725 PL |
794 | 2005-11-19 Matthias Clasen <mclasen@redhat.com> |
795 | reviewed by: plam | |
796 | ||
797 | * src/Makefile.am: | |
798 | * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags, | |
799 | FcFontCapabilities): | |
8c24aa6b PL |
800 | * src/ftglue.c: |
801 | * src/ftglue.h: | |
8ebf7725 PL |
802 | |
803 | Get rid of the use of freetype internal headers in fcfreetype.c, | |
804 | since those headers will go away with freetype 2.2. Replace with | |
805 | public domain ftglue code from pango. Note that the patch removes | |
806 | some extra error checking in FT_Get_BDF_Property() and comments | |
807 | out the skipping of empty pcf fonts. | |
808 | ||
a151aced PL |
809 | 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com> |
810 | reviewed by: plam | |
811 | ||
812 | * fc-lang/fc-lang.c (main): | |
813 | ||
814 | Further fix of patch from 2005-11-04: miscounted numbers count | |
815 | (numbers_count); didn't strip duplicate numbers (langBankNumbers); | |
816 | and leafidx_offset and numbers_offset in fcLangCharSets are wrong. | |
817 | ||
818 | Removed leafidx_count and numbers_count since they are the same | |
819 | and replaced them with offset_count. | |
820 | ||
8f2a8078 PL |
821 | 2005-11-18 Frederic Crozat <fcrozat@mandriva.com> |
822 | reviewed by: plam | |
823 | ||
824 | * fc-cat/fc-cat.c (main): | |
825 | ||
826 | Don't crash when fc-cat invoked with no arguments. | |
827 | ||
828 | 2005-11-18 Frederic Crozat <fcrozat@mandriva.com> | |
829 | reviewed by: plam | |
830 | ||
831 | * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad): | |
832 | ||
833 | Fix invalid read access caused by premature free and | |
834 | GCC4 warnings in libxml2 codepath. | |
835 | ||
836 | 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com> | |
82912b06 PL |
837 | reviewed by: plam |
838 | ||
839 | * src/fccfg.c (FcConfigValues): | |
840 | ||
841 | List iteration not needed in FcConfigValues, since it's building | |
842 | up the list itself; we can just strip FcVoid elements during | |
843 | construction. | |
844 | ||
38b2ecad PL |
845 | 2005-11-17 Patrick Lam <plam@mit.edu> |
846 | * src/fccfg.c (FcConfigValues): | |
847 | ||
848 | Fix crash on invalid constants in config files (forgot to update | |
849 | a pointer upon list iteration.) | |
850 | ||
f28472fd PL |
851 | 2005-11-17 Frederic Crozat <fcrozat@mandriva.com> |
852 | reviewed by: plam | |
853 | ||
854 | * src/fcxml.c (FcTypecheckExpr): | |
855 | ||
856 | Complain about invalid constants in config files. | |
857 | ||
1c5b6345 PL |
858 | 2005-11-17 Andreas Schwab <schwab@suse.de> |
859 | reviewed by: plam | |
860 | ||
861 | * src/fccache.c (FcGlobalCacheSave): | |
862 | ||
863 | Don't add current_arch_start more than once. | |
864 | ||
865 | 2005-11-16 Patrick Lam <plam@mit.edu> | |
866 | * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize): | |
867 | * src/fcfs.c (FcFontSetUnserialize): | |
868 | * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize): | |
869 | * src/fcpat.c (FcStrUnserialize): | |
870 | ||
871 | Fix ordering of ALIGN with respect to saving block_ptr; add | |
872 | another ALIGN to fcfs.c. | |
873 | ||
8e351527 PL |
874 | 2005-11-16 Patrick Lam <plam@mit.edu> |
875 | * src/fccache.c (FcDirCacheProduce) | |
876 | ||
877 | Fix case where alignment bytes bumped up metadata->count | |
878 | causing unwarranted failures to write cache files. | |
879 | (Reported by Stephan Kulow). | |
880 | ||
7fd7221e PL |
881 | 2005-11-16 Patrick Lam <plam@mit.edu> |
882 | * src/fccache.c (FcDirCacheProduce): | |
883 | * src/fccharset.c (FcCharSetDistributeBytes): | |
884 | * src/fcfs.c (FcFontSetDistributeBytes): | |
885 | * src/fcint.h: | |
886 | * src/fclang.c (FcLangSetDistributeBytes): | |
887 | * src/fcname.c (FcObjectDistributeBytes): | |
888 | * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes, | |
889 | FcStrNeededBytes): | |
890 | ||
891 | Add *NeededBytesAlign(), which overestimates the padding which is | |
892 | later added by the new ALIGN macro. Fix alignment problems on | |
893 | ia64 and s390 by bumping up block_ptr appropriately. (Earlier | |
894 | version by Andreas Schwab). | |
895 | ||
896 | 2005-11-16 Stephan Kulow <coolo@kde.org> | |
897 | reviewed by: plam | |
898 | ||
899 | * src/fccache.c: | |
900 | ||
901 | Use sysconf to determine proper PAGESIZE value; this | |
902 | appears to be POSIX-compliant. (reported by Andreas Schwab) | |
903 | ||
82f35f8b PL |
904 | 2005-11-04 Patrick Lam <plam@mit.edu> |
905 | * fc-lang/fc-lang.c: | |
906 | * src/fccharset.c: | |
907 | * src/fcint.h: | |
908 | * src/fclang.c: | |
909 | ||
910 | Fix bug 2878 (excessive relocations at startup for charsets, | |
911 | reported by Ross Burton): fc-lang/fc-lang now creates the | |
912 | static form of the langset, not the dynamic form, so that | |
913 | the charsets should now be in .rodata. | |
914 | ||
50544b13 PL |
915 | 2005-11-04 Patrick Lam <plam@mit.edu> |
916 | * src/fcdir.c (FcDirScanConfig): | |
917 | ||
918 | Add test for validity of directory caches that | |
919 | somehow got lost (reported by make distcheck). | |
920 | ||
e6d3e251 PL |
921 | 2005-11-04 Patrick Lam <plam@mit.edu> |
922 | * ChangeLog: | |
923 | * README: | |
924 | * configure.in: | |
925 | * fontconfig/fontconfig.h: | |
926 | ||
927 | Bump version to 2.3.92. | |
928 | ||
ea9726b6 PL |
929 | 2005-11-02 Patrick Lam <plam@mit.edu> |
930 | * src/fcpat.c (FcPatternDuplicate): | |
931 | ||
932 | Fix argument ordering problem in call to FcPatternTransferFullFname. | |
933 | ||
7358dae4 PL |
934 | 2005-11-02 Patrick Lam <plam@mit.edu> |
935 | * src/fcfreetype.c (FcFreetypeQuery): | |
936 | * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate, | |
937 | FcPatternTransferFullFname): | |
938 | ||
939 | Fix warnings and embarrassing double-free error. | |
940 | ||
efa9f2bd PL |
941 | 2005-11-02 Zhe Su <zsu@novell.com> |
942 | reviewed by: plam | |
943 | ||
944 | * fonts.conf.in: | |
945 | ||
946 | Change the rule for artificial emboldening in fonts.conf.in. This | |
947 | enables the support for artificial emboldening included in cairo. | |
948 | ||
d7b3ac63 PL |
949 | 2005-11-02 Patrick Lam <plam@mit.edu> |
950 | * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName): | |
951 | ||
952 | Don't zero out full names for FC_REF_CONSTANT fonts; | |
953 | also, duplicate full names when transferring, and free | |
954 | full names when freeing the associated font. | |
955 | Reported by Jinghua Luo. | |
956 | ||
303bcf9b PL |
957 | 2005-11-02 Patrick Lam <plam@mit.edu> |
958 | * fc-cache/fc-cache.c (scanDirs): | |
959 | * src/fcpat.c (FcValueListSerialize): | |
960 | ||
961 | Revert the previous patch and commit the correct patch: | |
962 | I forgot a canonicalization in FcValueListSerialize, so | |
963 | that it would choke on already-serialized input files. Duh! | |
964 | ||
c6b75577 PL |
965 | 2005-11-02 Patrick Lam <plam@mit.edu> |
966 | * fc-cache/fc-cache.c (scanDirs): | |
967 | ||
968 | Forcibly rescan a directory before writing a fresh local | |
969 | cache file for that directory, fixing the losing-fonts | |
970 | problem reported by Mike Fabian and also apparently the | |
971 | font cache file corruption. | |
972 | ||
9090cb9e PL |
973 | 2005-11-02 Patrick Lam <plam@mit.edu> |
974 | * src/fccache.c (FcGlobalCacheLoad): | |
975 | ||
976 | Fix thinko: actually, the whole global cache is stale | |
977 | if the global cache is older than the (newest) config file. | |
978 | ||
2b25f00c PL |
979 | 2005-11-02 Patrick Lam <plam@mit.edu> |
980 | * src/fccache.c (FcGlobalCacheLoad): | |
981 | * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts): | |
982 | * src/fcint.h: | |
983 | ||
984 | Declare the global cache of a directory's contents to be stale if | |
985 | the directory is newer than the (newest) configuration file. | |
986 | ||
793154ed PL |
987 | 2005-10-31 Patrick Lam <plam@mit.edu> |
988 | * src/fcint.h: | |
989 | * src/fclist.c (FcListAppend): | |
990 | * src/fcmatch.c (FcFontRenderPrepare): | |
991 | * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate, | |
992 | FcPatternFreeze, FcPatternBaseFreeze): | |
993 | ||
994 | Copy the full pathname whenever duplicating an FcPattern; otherwise, | |
995 | applications continue breaking. | |
996 | ||
d6946c1a PL |
997 | 2005-10-31 Patrick Lam <plam@mit.edu> |
998 | * fc-cat/fc-cat.c (FcCacheFileRead, main): | |
999 | * src/fcfreetype.c (FcFreeTypeQuery): | |
1000 | ||
1001 | Fix small memory error (tried to free argv); use basename and | |
1002 | dirname correctly (they can modify their arguments). | |
1003 | ||
e77c1718 PL |
1004 | 2005-10-31 Patrick Lam <plam@mit.edu> |
1005 | * fc-cat/fc-cat.c: | |
1006 | * src/fccache.c: | |
1007 | * src/fcfreetype.c: | |
1008 | * src/fcint.h: | |
1009 | * src/fclist.c: | |
1010 | * src/fcpat.c: | |
1011 | ||
1012 | Reinstate basename patch, but keep a hash table linking FcPatterns | |
1013 | to their fully-qualified font names for clients' benefit. Clients | |
1014 | only pay for the font names once they request the FC_FILE property | |
1015 | from an FcPattern, but the font name is malloc'd at that point (i.e. | |
1016 | not mmapped: that's impossible, since it may vary between machines.) | |
1017 | Clients do have to pay for a copy of the path name per cache file. | |
1018 | ||
1019 | Note that FcPatternGetString now does some rewriting if you ask | |
1020 | for an FC_FILE, appending the pathname as appropriate. | |
1021 | ||
1022 | 2005-10-31 Patrick Lam <plam@mit.edu> | |
1023 | * src/fcfreetype.c (FcFreeTypeQuery): | |
1024 | ||
1025 | Revert basename patch, which breaks fontconfig clients on my system. | |
1026 | ||
720298e7 PL |
1027 | 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com> |
1028 | reviewed by: plam | |
1029 | ||
1030 | * fontconfig/fonts.conf.in: | |
1031 | * fontconfig/fontconfig.h: | |
1032 | * src/fcdefault.c: | |
1033 | * src/fcname.c: | |
1034 | ||
1035 | Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether | |
1036 | to load embedded bitmaps or not. | |
1037 | ||
961d9b99 PL |
1038 | 2005-10-25 Patrick Lam <plam@mit.edu> |
1039 | * src/fcfreetype.c (FcFreeTypeQuery): | |
1040 | ||
1041 | Only add basename to patterns' FC_FILE element, not any part of | |
1042 | the dirname. | |
1043 | ||
573da729 PL |
1044 | 2005-10-22 Patrick Lam <plam@mit.edu> |
1045 | * src/fcfreetype.c: | |
1046 | ||
1047 | Add some more consts, fixing more GCC4 warnings. | |
1048 | ||
90442681 PL |
1049 | 2005-10-22 Zhe Su <zsu@novell.com> |
1050 | reviewed by: plam | |
1051 | ||
1052 | Support localized font family and style names. | |
1053 | This has been reported to break old apps like xfd, but modern | |
1054 | (gtk+/qt/mozilla) apps work fine. | |
1055 | ||
e58b50e8 PL |
1056 | 2005-10-21 Patrick Lam <plam@mit.edu> |
1057 | * src/fccache.c (FcGlobalCacheLoad): | |
1058 | ||
1059 | Destroy the global cache file if it's terminally broken. (reported by | |
1060 | Mike Fabian) | |
1061 | ||
2fa3f27e PL |
1062 | 2005-10-21 Patrick Lam <plam@mit.edu> |
1063 | * fc-list/fc-list.c (main): | |
1064 | * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped): | |
1065 | * fontconfig/fontconfig.h: | |
1066 | ||
e58b50e8 PL |
1067 | Prevent fc-list from escaping strings when printing them (reported by |
1068 | Matthias Clasen). | |
2fa3f27e | 1069 | |
250c1cd4 PL |
1070 | 2005-10-20 Marcus Meissner <meissner@suse.de> |
1071 | reviewed by: plam | |
1072 | ||
1073 | * fontconfig/fontconfig.h: | |
1074 | ||
1075 | Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild. | |
1076 | ||
1077 | 2005-10-14 Ross Burton <ross@burtonini.com> | |
21696e5b PL |
1078 | reviewed by: plam |
1079 | ||
1080 | * fc-glyphname/fc-glyphname.c: | |
1081 | * src/fclang.c: | |
1082 | ||
1083 | Add consts to variables so as to move arrays into .rodata. | |
1084 | ||
15d7bd0a PL |
1085 | 2005-10-14 Mike Fabian <mfabian@suse.de> |
1086 | reviewed by: plam | |
1087 | ||
1088 | * src/fccache.c (FcDirCacheUnlink): | |
1089 | ||
1090 | Check existence of directory cache file before attempting to unlink. | |
1091 | ||
1178b569 PL |
1092 | 2005-10-13 Patrick Lam <plam@mit.edu> |
1093 | * src/fccache.c (FcDirCacheUnlink): | |
1094 | ||
1095 | Fix flipped return value on unlink. (Reported by Mike Fabian) | |
1096 | ||
1097 | 2005-10-12 Patrick Lam <plam@mit.edu> | |
1098 | ||
1099 | * src/fccache.c: | |
1100 | * src/fcdir.c (FcDirScanConfig): | |
1101 | * src/fcint.h: | |
1102 | ||
1103 | When fc-cache is run without --force, use directory cache files | |
1104 | to speed up fc-cache run time. (Reported by Mike Fabian) | |
1105 | ||
23787a8f PL |
1106 | 2005-10-06 Patrick Lam <plam@mit.edu> |
1107 | ||
1108 | * src/fcname.c (FcObjectToPtr): | |
1109 | * src/fcpat.c (FcStrStaticName): | |
1110 | ||
1111 | Add padding to make valgrind and glibc not hate each other | |
1112 | when calling strlen(). | |
1113 | ||
328929f5 PL |
1114 | 2005-10-05 Simos Xenitellis <simos74@gmx.net> |
1115 | reviewed by: plam & keithp | |
1116 | ||
1117 | * fonts.conf.in: | |
1118 | ||
1119 | Modify config file to use Greek fonts before Asian fonts with | |
1120 | Greek glyphs. | |
1121 | ||
1ed67f65 PL |
1122 | 2005-10-05 Christian Biesinger <cbiesinger@web.de> |
1123 | reviewed by: plam & keithp | |
1124 | ||
1125 | * src/Makefile.am: | |
1126 | ||
1127 | Use libtool -no-undefined flag on all platforms. | |
1128 | ||
751932dd PL |
1129 | 2005-10-05 Patrick Lam <plam@mit.edu> |
1130 | * src/fccache.c (FcCacheHaveBank): | |
1131 | ||
1132 | Implement move-to-front array for banks (perf regression | |
1133 | reported by Ronny V. Vindenes). | |
1134 | ||
55c8fa4f PL |
1135 | 2005-10-04 Patrick Lam <plam@mit.edu> |
1136 | * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink, | |
1137 | FcDirCacheHasCurrentArch): | |
1138 | * fc-cache/fc-cache.c (scanDirs): | |
1139 | * fontconfig/fontconfig.h: | |
1140 | ||
1141 | Add new API which unlinks directory caches and checks dir caches | |
1142 | for existence of appropriate sections. Fix fc-cache to unlink | |
1143 | stale cache files and save directory caches that lack relevant | |
1144 | sections. | |
1145 | ||
6bf23804 PL |
1146 | 2005-10-03 Patrick Lam <plam@mit.edu> |
1147 | * src/fccache.c (FcDirCacheValid): | |
1148 | ||
1149 | Ensure that a directory cache has the appropriate section | |
1150 | before reporting that it is valid (reported by Matthias Clasen). | |
1151 | ||
e99f0f0a PL |
1152 | 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de> |
1153 | ||
1154 | reviewed by: plam | |
1155 | ||
1156 | * configure.in: | |
1157 | * src/Makefile.am: | |
1158 | * src/fcxml.c: | |
1159 | ||
1160 | Use libxml2 if requested (with --enable-libxml2) or if | |
1161 | expat is not available. | |
1162 | ||
649cc361 PL |
1163 | 2005-09-29 Patrick Lam <plam@mit.edu> |
1164 | * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite): | |
1165 | ||
1166 | Fix multi-arch cache files: compute the position for the | |
1167 | block to be added using info from OrigFile, not NewFile. | |
1168 | ||
cd310911 PL |
1169 | 2005-09-28 Patrick Lam <plam@mit.edu> |
1170 | * src/fccache.c (FcCacheMachineSignature): | |
1171 | ||
1172 | Cast results of sizeof() to unsigned int to get rid of | |
1173 | warnings on x86_64 (thanks Matthias Clasen). | |
1174 | ||
1175 | 2005-09-27 Patrick Lam <plam@mit.edu> | |
9ecb9a9a PL |
1176 | * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld, |
1177 | FcDirCacheWrite): | |
1178 | ||
1179 | Use FcAtomic to rewrite cache files. | |
1180 | ||
1181 | 2005-09-27 Patrick Lam <plam@mit.edu> | |
1182 | ||
1183 | * src/fccache.c (FcDirCacheWrite): | |
1184 | ||
1185 | Don't unlink the fonts.cache-2 file even if there's no data | |
1186 | to write; just write an empty cache file. (thanks Lubos Lunak) | |
1187 | ||
1188 | 2005-09-27 Patrick Lam <plam@mit.edu> | |
1189 | ||
1190 | * src/fccache.c (FcDirCacheWrite): | |
1191 | ||
1192 | Allocate room for the subdirectory names in each | |
1193 | directory cache. Thanks to James Cloos for finding | |
1194 | and diagnosing this bug! | |
1195 | ||
1196 | 2005-09-22 Patrick Lam <plam@mit.edu> | |
1197 | ||
1198 | * fc-cache/fc-cache.sgml: | |
1199 | * src/fccache.c (FcDirCacheWrite): | |
1200 | * src/fccache.h (struct FcCache): | |
1201 | ||
1202 | Update documentation -- fc-cache's man page now says that you | |
1203 | need to run fc-cache once per cached architecture; add some | |
1204 | documentation to the FcCache structure. | |
1205 | ||
1206 | Make fc-cache write out fonts.cache-2 files for directories with | |
1207 | no fonts (i.e. only subdirectories). | |
1208 | ||
35c2c7f1 PL |
1209 | 2005-09-22 Patrick Lam <plam@mit.edu> |
1210 | * doc/edit-sgml.c: | |
1211 | * fc-cache/fc-cache.sgml: | |
1212 | * fc-case/fc-case.c: | |
1213 | * fc-glyphname/fc-glyphname.c: | |
1214 | * src/fcdefault.c: | |
1215 | * src/fcfreetype.c: | |
1216 | * src/fcinit.c: | |
1217 | * src/fcxml.c: | |
1218 | ||
1219 | More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>. | |
1220 | ||
1221 | * Makefile.am: | |
1222 | * configure.in: | |
1223 | * fc-lang/fc-lang.c: | |
1224 | * fontconfig/fcprivate.h: | |
1225 | * fontconfig/fontconfig.h: | |
1226 | * src/fccache.c: | |
1227 | * src/fccfg.c: | |
1228 | * src/fccharset.c: | |
1229 | * src/fcdbg.c: | |
1230 | * src/fcdir.c: | |
1231 | * src/fcfs.c: | |
1232 | * src/fcint.h: | |
1233 | * src/fclang.c: | |
1234 | * src/fclist.c: | |
1235 | * src/fcmatch.c: | |
1236 | * src/fcname.c: | |
1237 | * src/fcpat.c: | |
1238 | ||
1239 | Implement new mmaped cache for font information. | |
1240 | Bump so revision to 2.3.90. | |
1241 | ||
8245771d PL |
1242 | 2005-07-25 Keith Packard <keithp@keithp.com> |
1243 | ||
1244 | * doc/fontconfig-user.sgml: | |
1245 | * fc-glyphname/fc-glyphname.c: (scan), (main): | |
1246 | * fc-lang/fc-lang.c: (FcConfigHome): | |
1247 | * fc-match/fc-match.c: (main): | |
1248 | * src/fccfg.c: (FcConfigHome): | |
1249 | * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage), | |
1250 | (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing), | |
1251 | (addtag), (FcFontCapabilities): | |
1252 | * src/fcpat.c: (FcValueListEntCreate): | |
1253 | * src/fcstr.c: (FcStrCaseWalkerInit): | |
1254 | * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir): | |
1255 | ||
1256 | Various GCC 4 cleanups for signed vs unsigned char | |
1257 | ||
1258 | Match only [0-9]*.conf files in <include>{directory}</include> | |
1259 | elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor) | |
1260 | ||
e1b9d091 PL |
1261 | 2005-07-15 Carl Worth <cworth@cworth.org> |
1262 | ||
1263 | * src/fcint.h: | |
1264 | * src/fcinit.c: (FcFini): | |
1265 | * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to | |
1266 | FcPatternFini. | |
1267 | ||
1268 | * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini): | |
1269 | Pull the FcObjectStateName hash table out to file scope, and add | |
1270 | FcObjectStaticNameFini so that FcFini will cleanup this hash table | |
1271 | as well. | |
1272 | ||
1273 | * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after | |
1274 | fclose. | |
1275 | ||
f1a42f6b KP |
1276 | 2005-06-16 Patrick Lam <plam@MIT.EDU> |
1277 | ||
1278 | reviewed by: keithp | |
1279 | ||
1280 | * src/fccfg.c: (FcConfigCompareValue): | |
1281 | Make FcOpNotContains use FcStrStr for strings so that | |
1282 | it matches semantics for !FcOpContains. | |
1283 | ||
adc7abac KP |
1284 | 2005-05-20 Keith Packard <keithp@keithp.com> |
1285 | ||
1286 | * debian/changelog: | |
1287 | * debian/control: | |
1288 | Move fontconfig source package to libs as per override | |
1289 | ||
a65a77ae KP |
1290 | 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com> |
1291 | ||
1292 | reviewed by: Mike Fabian | |
1293 | ||
1294 | * fc-lang/ka.orth: | |
1295 | The ka.orth file requires several characters which are not | |
1296 | used anymore in modern Georgian and which are missing in the free | |
1297 | Georgian TrueType fonts downloadable at: | |
1298 | ||
1299 | http://aiet.qartuli.net/docs/georgian_on_linux_en.php | |
1300 | ||
87c88746 KP |
1301 | 2005-04-27 Keith Packard <keithp@keithp.com> |
1302 | ||
1303 | * README: | |
1304 | * debian/changelog: | |
1305 | Update date to real 2.3.2 release date. | |
1306 | Fix change attributions | |
1307 | ||
1308 | 2005-04-27 Keith Packard <keithp@keithp.com> | |
1309 | ||
1310 | * configure.in: | |
1311 | Bump so revision for 2.3.2 | |
1312 | * fc-cache/fc-cache.c: (scanDirs): | |
1313 | Fix a few minor leaks in error cases. | |
1314 | ||
1cb309ad KP |
1315 | 2005-04-23 Keith Packard <keithp@keithp.com> |
1316 | ||
1317 | * README: | |
1318 | * configure.in: | |
1319 | * debian/changelog: | |
1320 | * fontconfig/fontconfig.h: | |
1321 | Update for version 2.3.2 | |
1322 | ||
716ac8b8 KP |
1323 | 2005-04-21 Keith Packard <keithp@keithp.com> |
1324 | ||
1325 | * debian/fontconfig.postinst: | |
1326 | Don't force bitmap font enable in default | |
1327 | configuration; allows users to override this in | |
1328 | ~/.fonts.conf | |
1329 | * debian/po/cs.po: | |
1330 | * debian/po/da.po: | |
1331 | * debian/po/de.po: | |
1332 | * debian/po/es.po: | |
1333 | * debian/po/fr.po: | |
1334 | * debian/po/ja.po: | |
1335 | * debian/po/nl.po: | |
1336 | * debian/po/pt.po: | |
1337 | * debian/po/pt_BR.po: | |
1338 | * debian/po/templates.pot: | |
1339 | * debian/po/tr.po: | |
1340 | * debian/po/zh_CN.po: | |
1341 | Updated translations | |
1342 | ||
1343 | * fc-cache/fc-cache.c: (main): | |
1344 | Destroy font configuration on exit to help valgrind | |
1345 | ||
1346 | * fonts.conf.in: | |
1347 | * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex), | |
1348 | (FcFreeTypeCheckGlyph): | |
1349 | Use own transcoding routines in preference to iconv | |
1350 | which appears to have leaks in some translators. | |
1351 | Call iconv_close after using iconv (oops). | |
1352 | ||
1353 | Prefer unicode encoding of Euro char as some | |
1354 | fonts mis-encode Euro in other ones. | |
1355 | ||
1356 | Must fetch bitmap glyphs to get width values | |
1357 | to check for monospace/dual-width fonts. | |
1358 | ||
2ff4f076 RB |
1359 | 2005-04-13 Ross Burton <ross@burtonini.com> |
1360 | ||
1361 | * src/fcpat.c: | |
1362 | Check that a pattern isn't already frozen in FcPatternFreeze. | |
1363 | ||
ae7d0f35 RB |
1364 | 2005-03-31 Ross Burton <ross@burtonini.com> |
1365 | ||
1366 | * src/fclist.c: | |
1367 | * src/fcmatch.c: | |
1368 | * src/fcpat.c: | |
1369 | Run all FcPattern objects through FcObjectStaticName, so that | |
1370 | compares can be done on pointers instead of strings (#2659) | |
1371 | ||
15603274 TL |
1372 | 2005-03-17 Tor Lillqvist <tml@novell.com> |
1373 | ||
1374 | * src/fontconfig.def.in: Add the .dll to the dll name. | |
1375 | ||
5f347d9c KP |
1376 | 2005-03-10 Keith Packard <keithp@keithp.com> |
1377 | ||
1378 | * debian/README.Debian: | |
1379 | Update to reflect configuration changes | |
1380 | * debian/changelog: | |
1381 | * debian/fontconfig.postinst: | |
1382 | Fix Autohint vs Autohinter mistake | |
1383 | * debian/fontconfig.templates: | |
1384 | Adopt changes from Josselin Mouette for configuration descriptions | |
1385 | Update debian to version 2.3.1-2 | |
1386 | ||
8c740260 KP |
1387 | 2005-03-08 Keith Packard <keithp@keithp.com> |
1388 | ||
1389 | * debian/changelog: | |
1390 | * debian/rules: | |
1391 | Update debian for 2.3.1 | |
1392 | ||
79da4fe9 TL |
1393 | 2005-03-09 Tor Lillqvist <tml@novell.com> |
1394 | ||
1395 | * fontconfig-zip.in: Get the DLL from "bin" where modern libtools | |
1396 | put it, not "lib". | |
1397 | ||
1398 | * src/fccfg.c (FcConfigFileExists): Check also drive letter | |
1399 | prefix on Win32. | |
1400 | ||
d49dde9f KP |
1401 | 2005-03-08 Keith Packard <keithp@keithp.com> |
1402 | ||
1403 | * README: | |
1404 | * configure.in: | |
1405 | * fontconfig/fontconfig.h: | |
1406 | Update for 2.3.1 | |
1407 | ||
76a8dfa3 KP |
1408 | 2005-03-05 Keith Packard <keithp@keithp.com> |
1409 | ||
1410 | * src/fcfreetype.c: (addtag), (FcFontCapabilities): | |
1411 | Include space and remove numbers from valid script tags. | |
1412 | This ensures that tags like 'lao ' work while rejecting | |
1413 | those which have any digits. | |
1414 | Eliminate a spurious debugging variable (len) | |
1415 | ||
219f7818 KP |
1416 | 2005-03-05 Keith Packard <keithp@keithp.com> |
1417 | ||
1418 | * src/fcfreetype.c: (addtag), (GetScriptTags), | |
1419 | (FcFontCapabilities): | |
1420 | Rework GSUB/GPOS script parsing to survive broken fonts. | |
1421 | Thanks for the broken font go to Manish Singh | |
1422 | ||
97bde49a KP |
1423 | 2005-03-05 Keith Packard <keithp@keithp.com> |
1424 | ||
1425 | Josselin Mouette: | |
1426 | * debian/changelog: | |
1427 | * debian/control: | |
1428 | * debian/fontconfig.config: | |
1429 | * debian/fontconfig.templates: | |
1430 | * debian/rules: | |
1431 | Include 2.3 release information in changelog | |
1432 | Add Josselin Mouette as an Uploader | |
1433 | Set hinting_type to low priority configuration option | |
1434 | ||
1435 | Manish Singh: | |
1436 | * debian/fontconfig.postinst: | |
1437 | yes_bitmaps.conf -> yes-bitmaps.conf | |
1438 | ||
1439 | Funda Wang: | |
1440 | * src/fcfreetype.c: | |
1441 | Johap -> Johab | |
1442 | ||
683dc3c4 KP |
1443 | 2005-03-02 Keith Packard <keithp@keithp.com> |
1444 | ||
1445 | * Makefile.am: | |
1446 | * conf.d/Makefile.am: | |
1447 | * conf.d/autohint.conf: | |
1448 | * conf.d/no-sub-pixel.conf: | |
1449 | * conf.d/sub-pixel.conf: | |
1450 | * conf.d/unhinted.conf: | |
1451 | * debian/autohint.conf: | |
1452 | * debian/fontconfig.install: | |
1453 | * debian/fontconfig.postinst: | |
1454 | * debian/fontconfig.templates: | |
1455 | * debian/no-sub-pixel.conf: | |
1456 | * debian/unhinted.conf: | |
1457 | Move debian-specific conf file examples upstream. | |
1458 | ||
1459 | Sub-pixel configuration examples must smash subpixel value | |
1460 | as Xft always sets it from X. | |
1461 | ||
1462 | Change sub-pixel rendering debconf descriptions from | |
1463 | Enable/Disable to Always/Never. | |
1464 | ||
dc2e06ab KP |
1465 | 2005-03-02 Keith Packard <keithp@keithp.com> |
1466 | ||
1467 | * .cvsignore: | |
1468 | * conf.d/.cvsignore: | |
1469 | * doc/.cvsignore: | |
1470 | Ignore more build detritus | |
1471 | ||
1472 | * Makefile.am: | |
1473 | Add debian package construction stuff. | |
1474 | ||
1475 | * config/config.guess: | |
1476 | * config/config.sub: | |
1477 | Update to newer versions of these tools | |
1478 | ||
1479 | * doc/Makefile.am: | |
1480 | Get library manuals to build again (we love automake). | |
1481 | ||
1482 | * debian/README.Debian: | |
1483 | * debian/autohint.conf: | |
1484 | * debian/changelog: | |
1485 | * debian/compat: | |
1486 | * debian/control: | |
1487 | * debian/copyright: | |
1488 | * debian/fontconfig-udeb.install: | |
1489 | * debian/fontconfig.config: | |
1490 | * debian/fontconfig.defoma: | |
1491 | * debian/fontconfig.dirs: | |
1492 | * debian/fontconfig.install: | |
1493 | * debian/fontconfig.postinst: | |
1494 | * debian/fontconfig.postrm: | |
1495 | * debian/fontconfig.templates: | |
1496 | * debian/libfontconfig1-dev.install: | |
1497 | * debian/libfontconfig1.install: | |
1498 | * debian/local.conf.md5sum: | |
1499 | * debian/no-sub-pixel.conf: | |
1500 | * debian/po/POTFILES.in: | |
1501 | * debian/po/cs.po: | |
1502 | * debian/po/da.po: | |
1503 | * debian/po/de.po: | |
1504 | * debian/po/es.po: | |
1505 | * debian/po/fr.po: | |
1506 | * debian/po/ja.po: | |
1507 | * debian/po/nl.po: | |
1508 | * debian/po/pt.po: | |
1509 | * debian/po/pt_BR.po: | |
1510 | * debian/po/templates.pot: | |
1511 | * debian/po/tr.po: | |
1512 | * debian/po/zh_CN.po: | |
1513 | * debian/rules: | |
1514 | * debian/unhinted.conf: | |
1515 | Update debian build system to switch maintainers and | |
1516 | deal with 2.3 functionality | |
1517 | ||
4afc00ca KP |
1518 | 2005-03-01 Keith Packard <keithp@keithp.com> |
1519 | ||
1520 | * README: | |
1521 | * configure.in: | |
1522 | * fontconfig/fontconfig.h: | |
1523 | Update for 2.3.0 | |
1524 | ||
0c009d2b KP |
1525 | 2005-03-01 Keith Packard <keithp@keithp.com> |
1526 | ||
1527 | * doc/Makefile.am: | |
1528 | Generate and install PDF versions of the manuals | |
1529 | ||
1530 | * doc/fcpattern.fncs: | |
1531 | Fix formatting | |
1532 | ||
1533 | * doc/fcstring.fncs: | |
1534 | Add missing exported functions, fix data types | |
1535 | ||
1536 | * doc/fontconfig-devel.sgml: | |
1537 | Add missing pattern elements. | |
1538 | ||
1539 | * doc/fontconfig-user.sgml: | |
1540 | Add missing pattern elements. Document conf.d usage, | |
1541 | clarify available orthography list. Fix some config file | |
1542 | attributes. Complete list of constants. | |
1543 | ||
1544 | * fontconfig/fontconfig.h: | |
1545 | Mark FC_SOURCE deprecated. | |
1546 | ||
1547 | * src/fcfreetype.c: (FcFreeTypeQuery): | |
1548 | Don't set FC_SOURCE any longer. | |
1549 | ||
414f7202 KP |
1550 | 2005-02-28 Keith Packard <keithp@keithp.com> |
1551 | ||
1552 | * Makefile.am: | |
1553 | * conf.d/Makefile.am: | |
1554 | * conf.d/README: | |
1555 | * conf.d/no-bitmaps.conf: | |
1556 | * conf.d/sub-pixel.conf: | |
1557 | * conf.d/yes-bitmaps.conf: | |
1558 | * configure.in: | |
1559 | Create prototype /etc/fonts/conf.d directory with a few | |
1560 | sample configuration files. | |
1561 | Deprecate use of local.conf for local customizations in favor of | |
1562 | this directory based scheme which is more easily integrated into | |
1563 | installation systems. | |
1564 | ||
1565 | * src/fcname.c: | |
1566 | Tag FC_EMBOLDEN as a boolean variable | |
1567 | ||
47b49bf1 KP |
1568 | 2005-02-10 Keith Packard <keithp@keithp.com> |
1569 | ||
1570 | reviewed by: pborelli@katamail.com | |
1571 | ||
1572 | * src/fcdir.c: (FcFileScanConfig): | |
1573 | Free patterns from fonts which are rejected by configuration | |
1574 | (bug #2518) | |
1575 | ||
845a0bf3 KP |
1576 | 2005-01-28 Keith Packard <keithp@keithp.com> |
1577 | ||
1578 | * README: | |
afca7836 KP |
1579 | * configure.in: |
1580 | * fontconfig/fontconfig.h: | |
1581 | Update for version 2.2.99 | |
1582 | ||
1583 | 2005-01-28 Keith Packard <keithp@keithp.com> | |
1584 | ||
1585 | * README: | |
1586 | Add a few pointers (#2284, #2285) | |
845a0bf3 | 1587 | |
ca60d2b5 KP |
1588 | 2005-01-28 Keith Packard <keithp@keithp.com> |
1589 | ||
1590 | * src/fcint.h: | |
1591 | * src/fcname.c: (FcNameBool): | |
1592 | * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr), | |
1593 | (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool), | |
1594 | (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit): | |
1595 | Polite typechecking for test and edit expressions. Helps | |
afca7836 | 1596 | catch errors in the font configuration. (bug 229) |
ca60d2b5 | 1597 | |
59e149e7 KP |
1598 | 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com> |
1599 | ||
1600 | reviewed by: Keith Packard <keithp@keithp.com> | |
1601 | ||
1602 | * configure.in: | |
1603 | Have --with-expat set EXPAT_CFLAGS (bug 2278) | |
1604 | ||
d8ae9c92 KP |
1605 | 2005-01-13 Keith Packard <keithp@keithp.com> |
1606 | ||
1607 | * doc/fontconfig-user.sgml: | |
1608 | Add SEE ALSO section (bug 2085) | |
1609 | ||
1610 | 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk> | |
1611 | ||
1612 | reviewed by: Keith Packard <keithp@keithp.com> | |
1613 | ||
1614 | * Makefile.am: | |
1615 | * configure.in: | |
1616 | * doc/Makefile.am: | |
1617 | * fc-case/Makefile.am: | |
1618 | * fc-glyphname/Makefile.am: | |
1619 | * fc-lang/Makefile.am: | |
1620 | * src/fontconfig.def.in: | |
1621 | Cross compiling fixes (bug 280) | |
1622 | ||
8759822e KP |
1623 | 2005-01-13 Keith Packard <keithp@keithp.com> |
1624 | ||
1625 | * fonts.conf.in: | |
1626 | Update blanks list (Closes bug 86) | |
1627 | ||
fce87a18 KP |
1628 | 2005-01-04 Keith Packard <keithp@keithp.com> |
1629 | ||
1630 | * src/fccache.c: (FcCacheFontSetAdd): | |
1631 | Verify that every font pattern loaded from cache has | |
1632 | both FC_FILE and FC_FAMILY entries. | |
1633 | Attempt to fix bug #2219. | |
1634 | ||
d5346181 KP |
1635 | 2004-12-29 Keith Packard <keithp@keithp.com> |
1636 | ||
1637 | * README: | |
1638 | * configure.in: | |
1639 | * fontconfig/fontconfig.h: | |
1640 | Update for version 2.2.98 | |
1641 | ||
479f551f KP |
1642 | 2004-12-29 Keith Packard <keithp@keithp.com> |
1643 | ||
1644 | * fontconfig/fontconfig.h: | |
1645 | Document ASCII limitations of Fc character conversion macros | |
1646 | * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase): | |
1647 | Fix off-by-one error in utf-8 case walking code. | |
1648 | Add FcStrDowncase (useful for testing case conversion functions) | |
1649 | ||
02748dd3 KP |
1650 | 2004-12-29 Keith Packard <keithp@keithp.com> |
1651 | ||
1652 | * .cvsignore: | |
1653 | * fc-case/.cvsignore: | |
1654 | clean up CVS ignore lists | |
1655 | * fc-lang/iso-3166.txt: | |
1656 | Add territory database | |
1657 | ||
1658 | 2004-12-29 Tor Andersson <tor.andersson@gmail.com> | |
1659 | ||
1660 | Reviewed by: Keith Packard | |
1661 | ||
1662 | * fc-lang/ko.orth: | |
1663 | Remove Han characters from Korean orthography | |
1664 | ||
2ba729ed KP |
1665 | 2004-12-29 Keith Packard <keithp@keithp.com> |
1666 | ||
1667 | * Makefile.am: | |
1668 | Reorder utility programs to make sure fc-case is run before fc-lang | |
1669 | as fc-lang uses fcstr.c which uses fccase.h | |
1670 | * fonts.conf.in: | |
1671 | Fix broken XML | |
1672 | ||
192296d8 KP |
1673 | 2004-12-29 Keith Packard <keithp@keithp.com> |
1674 | ||
1675 | * fonts.conf.in: | |
1676 | Adopt some RedHat suggestions for standard font configuration. | |
1677 | ||
1678 | * Makefile.am: | |
1679 | * configure.in: | |
1680 | * fc-case/CaseFolding.txt: | |
1681 | * fc-case/Makefile.am: | |
1682 | * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8), | |
1683 | (utf8_size), (addChar), (foldExtends), (case_fold_method_name), | |
1684 | (dump), (parseRaw), (caseFoldReadRaw), (main): | |
1685 | * fc-case/fccase.tmpl.h: | |
1686 | Add new helper program 'fc-case' to construct case folding | |
1687 | tables from standard Unicode CaseFolding.txt file | |
1688 | ||
1689 | * src/fcint.h: | |
1690 | * src/fclist.c: (FcListValueHash): | |
1691 | * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong), | |
1692 | (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks), | |
1693 | (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase), | |
1694 | (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase), | |
1695 | (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase): | |
1696 | Re-implement case insensitive functions with Unicode | |
1697 | aware versions (including full case folding mappings) | |
1698 | ||
5cf8c536 KP |
1699 | 2004-12-13 Keith Packard <keithp@keithp.com> |
1700 | ||
1701 | reviewed by: Owen Taylor <otaylor@redhat.com> | |
1702 | ||
1703 | * src/fcmatch.c: (FcFontSetSort): | |
1704 | I changed FcFontSetSort to respect the generic aliases better | |
1705 | in the face of language matching. | |
1706 | ||
1707 | What I did was to ammend the strict sort order used by FcFontSort so | |
1708 | that it 'satisfies' the language specified in the pattern by locating | |
1709 | the best matching font supporting each pattern language and then | |
1710 | ignores language in the remaining fonts for purposes of matching. | |
1711 | ||
1712 | So, when asking for 'sans:lang=en', you'll get an English font first, | |
1713 | and then the remaining fonts sorted with respect to the 'sans' alias | |
1714 | alone -- pushing Kochi fonts ahead of other English-supporting Han fonts. | |
1715 | ||
46a10637 KP |
1716 | 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com> |
1717 | ||
1718 | reviewed by: Keith Packard <keithp@keithp.com> | |
1719 | ||
1720 | * fontconfig/fontconfig.h: | |
1721 | * fonts.conf.in: | |
1722 | ||
1723 | Configuration changes to request synthetic emboldening of | |
1724 | fonts. The actual emboldening code will live in Xft. | |
1725 | ||
9af19286 KP |
1726 | 2004-12-09 John Thacker <thacker@math.cornell.edu> |
1727 | ||
1728 | reviewed by: Keith Packard <keithp@keithp.com> | |
1729 | ||
1730 | * fc-lang/ru.orth: | |
1731 | ||
1732 | Currently Russian (ru) requires 0406 and 0456 (І and і), but these | |
1733 | were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and | |
1734 | и), and don't even appear in KOI8-R. (The hypothesis that they | |
1735 | don't appear in KOI8-R due to their similarity with Latin I and i is | |
1736 | eliminated by their presence in KOI8-U.) I have a couple of fonts | |
1737 | with Russian support that don't have the letter. | |
1738 | ||
1739 | Therefore, 0406 and 0456 should be removed from or commented out of | |
1740 | ru.orth | |
1741 | ||
1c52c0f0 KP |
1742 | 2004-12-06 michael meeks <mmeeks@novell.com> |
1743 | ||
1744 | Reviewed by: Keith Packard <keithp@keithp.com> | |
1745 | ||
1746 | * src/fcinit.c: (FcMemReport): | |
1747 | * src/fcint.h: | |
1748 | * src/fclist.c: (FcObjectSetAdd): | |
1749 | * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze), | |
1750 | (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName): | |
1751 | * src/fcxml.c: (FcParsePatelt): | |
1752 | memoize strings and share a single copy for all uses. Note that | |
1753 | this could be improved further by using statically allocated blocks | |
1754 | and gluing multiple strings together, but I'm basically lazy. | |
1755 | In my environment with 800 font files, I get a savings of about 90KB. | |
1756 | ||
46b51147 KP |
1757 | 2004-12-06 Keith Packard <keithp@keithp.com> |
1758 | ||
1759 | * COPYING: | |
1760 | * Makefile.am: | |
1761 | * config/Makedefs.in: | |
1762 | * configure.in: | |
1763 | * doc/edit-sgml.c: | |
1764 | * doc/fcatomic.fncs: | |
1765 | * doc/fcblanks.fncs: | |
1766 | * doc/fccharset.fncs: | |
1767 | * doc/fcconfig.fncs: | |
1768 | * doc/fcconstant.fncs: | |
1769 | * doc/fcfile.fncs: | |
1770 | * doc/fcfontset.fncs: | |
1771 | * doc/fcfreetype.fncs: | |
1772 | * doc/fcinit.fncs: | |
1773 | * doc/fcmatrix.fncs: | |
1774 | * doc/fcobjectset.fncs: | |
1775 | * doc/fcobjecttype.fncs: | |
1776 | * doc/fcpattern.fncs: | |
1777 | * doc/fcstring.fncs: | |
1778 | * doc/fcstrset.fncs: | |
1779 | * doc/fcvalue.fncs: | |
1780 | * doc/fontconfig-devel.sgml: | |
1781 | * doc/fontconfig-user.sgml: | |
1782 | * doc/func.sgml: | |
1783 | * doc/version.sgml.in: | |
1784 | * fc-cache/Makefile.am: | |
1785 | * fc-cache/fc-cache.c: | |
1786 | * fc-glyphname/Makefile.am: | |
1787 | * fc-glyphname/fc-glyphname.c: | |
1788 | * fc-glyphname/fcglyphname.tmpl.h: | |
1789 | * fc-lang/Makefile.am: | |
1790 | * fc-lang/aa.orth: | |
1791 | * fc-lang/ab.orth: | |
1792 | * fc-lang/af.orth: | |
1793 | * fc-lang/am.orth: | |
1794 | * fc-lang/ar.orth: | |
1795 | * fc-lang/ast.orth: | |
1796 | * fc-lang/ava.orth: | |
1797 | * fc-lang/ay.orth: | |
1798 | * fc-lang/az.orth: | |
1799 | * fc-lang/az_ir.orth: | |
1800 | * fc-lang/ba.orth: | |
1801 | * fc-lang/bam.orth: | |
1802 | * fc-lang/be.orth: | |
1803 | * fc-lang/bg.orth: | |
1804 | * fc-lang/bh.orth: | |
1805 | * fc-lang/bho.orth: | |
1806 | * fc-lang/bi.orth: | |
1807 | * fc-lang/bin.orth: | |
1808 | * fc-lang/bn.orth: | |
1809 | * fc-lang/bo.orth: | |
1810 | * fc-lang/br.orth: | |
1811 | * fc-lang/bs.orth: | |
1812 | * fc-lang/bua.orth: | |
1813 | * fc-lang/ca.orth: | |
1814 | * fc-lang/ce.orth: | |
1815 | * fc-lang/ch.orth: | |
1816 | * fc-lang/chm.orth: | |
1817 | * fc-lang/chr.orth: | |
1818 | * fc-lang/co.orth: | |
1819 | * fc-lang/cs.orth: | |
1820 | * fc-lang/cu.orth: | |
1821 | * fc-lang/cv.orth: | |
1822 | * fc-lang/cy.orth: | |
1823 | * fc-lang/da.orth: | |
1824 | * fc-lang/de.orth: | |
1825 | * fc-lang/dz.orth: | |
1826 | * fc-lang/el.orth: | |
1827 | * fc-lang/en.orth: | |
1828 | * fc-lang/eo.orth: | |
1829 | * fc-lang/es.orth: | |
1830 | * fc-lang/et.orth: | |
1831 | * fc-lang/eu.orth: | |
1832 | * fc-lang/fa.orth: | |
1833 | * fc-lang/fc-lang.c: | |
1834 | * fc-lang/fc-lang.man: | |
1835 | * fc-lang/fclang.tmpl.h: | |
1836 | * fc-lang/fi.orth: | |
1837 | * fc-lang/fj.orth: | |
1838 | * fc-lang/fo.orth: | |
1839 | * fc-lang/fr.orth: | |
1840 | * fc-lang/ful.orth: | |
1841 | * fc-lang/fur.orth: | |
1842 | * fc-lang/fy.orth: | |
1843 | * fc-lang/ga.orth: | |
1844 | * fc-lang/gd.orth: | |
1845 | * fc-lang/gez.orth: | |
1846 | * fc-lang/gl.orth: | |
1847 | * fc-lang/gn.orth: | |
1848 | * fc-lang/gu.orth: | |
1849 | * fc-lang/gv.orth: | |
1850 | * fc-lang/ha.orth: | |
1851 | * fc-lang/haw.orth: | |
1852 | * fc-lang/he.orth: | |
1853 | * fc-lang/hi.orth: | |
1854 | * fc-lang/ho.orth: | |
1855 | * fc-lang/hr.orth: | |
1856 | * fc-lang/hu.orth: | |
1857 | * fc-lang/hy.orth: | |
1858 | * fc-lang/ia.orth: | |
1859 | * fc-lang/ibo.orth: | |
1860 | * fc-lang/id.orth: | |
1861 | * fc-lang/ie.orth: | |
1862 | * fc-lang/ik.orth: | |
1863 | * fc-lang/io.orth: | |
1864 | * fc-lang/is.orth: | |
1865 | * fc-lang/iso639-2: | |
1866 | * fc-lang/it.orth: | |
1867 | * fc-lang/iu.orth: | |
1868 | * fc-lang/ja.orth: | |
1869 | * fc-lang/ka.orth: | |
1870 | * fc-lang/kaa.orth: | |
1871 | * fc-lang/ki.orth: | |
1872 | * fc-lang/kk.orth: | |
1873 | * fc-lang/kl.orth: | |
1874 | * fc-lang/km.orth: | |
1875 | * fc-lang/kn.orth: | |
1876 | * fc-lang/ko.orth: | |
1877 | * fc-lang/kok.orth: | |
1878 | * fc-lang/ks.orth: | |
1879 | * fc-lang/ku.orth: | |
1880 | * fc-lang/ku_ir.orth: | |
1881 | * fc-lang/kum.orth: | |
1882 | * fc-lang/kv.orth: | |
1883 | * fc-lang/kw.orth: | |
1884 | * fc-lang/ky.orth: | |
1885 | * fc-lang/la.orth: | |
1886 | * fc-lang/lb.orth: | |
1887 | * fc-lang/lez.orth: | |
1888 | * fc-lang/lo.orth: | |
1889 | * fc-lang/lt.orth: | |
1890 | * fc-lang/lv.orth: | |
1891 | * fc-lang/mg.orth: | |
1892 | * fc-lang/mh.orth: | |
1893 | * fc-lang/mi.orth: | |
1894 | * fc-lang/mk.orth: | |
1895 | * fc-lang/ml.orth: | |
1896 | * fc-lang/mn.orth: | |
1897 | * fc-lang/mo.orth: | |
1898 | * fc-lang/mr.orth: | |
1899 | * fc-lang/mt.orth: | |
1900 | * fc-lang/my.orth: | |
1901 | * fc-lang/nb.orth: | |
1902 | * fc-lang/nds.orth: | |
1903 | * fc-lang/ne.orth: | |
1904 | * fc-lang/nl.orth: | |
1905 | * fc-lang/nn.orth: | |
1906 | * fc-lang/no.orth: | |
1907 | * fc-lang/ny.orth: | |
1908 | * fc-lang/oc.orth: | |
1909 | * fc-lang/om.orth: | |
1910 | * fc-lang/or.orth: | |
1911 | * fc-lang/os.orth: | |
1912 | * fc-lang/pl.orth: | |
1913 | * fc-lang/ps_af.orth: | |
1914 | * fc-lang/ps_pk.orth: | |
1915 | * fc-lang/pt.orth: | |
1916 | * fc-lang/rm.orth: | |
1917 | * fc-lang/ro.orth: | |
1918 | * fc-lang/ru.orth: | |
1919 | * fc-lang/sa.orth: | |
1920 | * fc-lang/sah.orth: | |
1921 | * fc-lang/sco.orth: | |
1922 | * fc-lang/se.orth: | |
1923 | * fc-lang/sel.orth: | |
1924 | * fc-lang/sh.orth: | |
1925 | * fc-lang/si.orth: | |
1926 | * fc-lang/sk.orth: | |
1927 | * fc-lang/sl.orth: | |
1928 | * fc-lang/sm.orth: | |
1929 | * fc-lang/sma.orth: | |
1930 | * fc-lang/smj.orth: | |
1931 | * fc-lang/smn.orth: | |
1932 | * fc-lang/sms.orth: | |
1933 | * fc-lang/so.orth: | |
1934 | * fc-lang/sq.orth: | |
1935 | * fc-lang/sr.orth: | |
1936 | * fc-lang/sv.orth: | |
1937 | * fc-lang/sw.orth: | |
1938 | * fc-lang/syr.orth: | |
1939 | * fc-lang/ta.orth: | |
1940 | * fc-lang/te.orth: | |
1941 | * fc-lang/tg.orth: | |
1942 | * fc-lang/th.orth: | |
1943 | * fc-lang/ti_er.orth: | |
1944 | * fc-lang/ti_et.orth: | |
1945 | * fc-lang/tig.orth: | |
1946 | * fc-lang/tk.orth: | |
1947 | * fc-lang/tl.orth: | |
1948 | * fc-lang/tn.orth: | |
1949 | * fc-lang/to.orth: | |
1950 | * fc-lang/tr.orth: | |
1951 | * fc-lang/ts.orth: | |
1952 | * fc-lang/tt.orth: | |
1953 | * fc-lang/tw.orth: | |
1954 | * fc-lang/tyv.orth: | |
1955 | * fc-lang/ug.orth: | |
1956 | * fc-lang/uk.orth: | |
1957 | * fc-lang/ur.orth: | |
1958 | * fc-lang/uz.orth: | |
1959 | * fc-lang/ven.orth: | |
1960 | * fc-lang/vi.orth: | |
1961 | * fc-lang/vo.orth: | |
1962 | * fc-lang/vot.orth: | |
1963 | * fc-lang/wa.orth: | |
1964 | * fc-lang/wen.orth: | |
1965 | * fc-lang/wo.orth: | |
1966 | * fc-lang/xh.orth: | |
1967 | * fc-lang/yap.orth: | |
1968 | * fc-lang/yi.orth: | |
1969 | * fc-lang/yo.orth: | |
1970 | * fc-lang/zh_cn.orth: | |
1971 | * fc-lang/zh_hk.orth: | |
1972 | * fc-lang/zh_mo.orth: | |
1973 | * fc-lang/zh_sg.orth: | |
1974 | * fc-lang/zh_tw.orth: | |
1975 | * fc-lang/zu.orth: | |
1976 | * fc-list/Makefile.am: | |
1977 | * fc-list/fc-list.c: | |
1978 | * fc-match/Makefile.am: | |
1979 | * fc-match/fc-match.1: | |
1980 | * fc-match/fc-match.c: | |
1981 | * fontconfig/fcfreetype.h: | |
1982 | * fontconfig/fcprivate.h: | |
1983 | * fontconfig/fontconfig.h: | |
1984 | * src/fcatomic.c: | |
1985 | * src/fcblanks.c: | |
1986 | * src/fccache.c: | |
1987 | * src/fccfg.c: | |
1988 | * src/fccharset.c: | |
1989 | * src/fcdbg.c: | |
1990 | * src/fcdefault.c: | |
1991 | * src/fcdir.c: | |
1992 | * src/fcfreetype.c: | |
1993 | * src/fcfs.c: | |
1994 | * src/fcinit.c: | |
1995 | * src/fcint.h: | |
1996 | * src/fclang.c: | |
1997 | * src/fclist.c: | |
1998 | * src/fcmatch.c: | |
1999 | * src/fcmatrix.c: | |
2000 | * src/fcname.c: | |
2001 | * src/fcpat.c: | |
2002 | * src/fcstr.c: | |
2003 | * src/fcxml.c: | |
2004 | Change files from ISO-Latin-1 to UTF-8 | |
2005 | ||
fc2cc873 KP |
2006 | 2004-12-04 Keith Packard <keithp@keithp.com> |
2007 | ||
2008 | * INSTALL: | |
2009 | Update links to new freedesktop.org locations | |
2010 | * Makefile.am: | |
2011 | Add uninstall-local to get rid of fonts.conf and local.conf if they | |
2012 | match the distributed versions. Fixes 'make distcheck' | |
2013 | ||
308dc9c3 KP |
2014 | 2004-12-04 Keith Packard <keithp@keithp.com> |
2015 | ||
2016 | * README: | |
2017 | * configure.in: | |
2018 | * fontconfig/fontconfig.h: | |
2019 | Updates for version 2.2.97 | |
2020 | ||
54560b01 KP |
2021 | 2004-12-04 Owen Taylor <otaylor@redhat.com> |
2022 | ||
2023 | reviewed by: Keith Packard <keithp@keithp.com> | |
2024 | ||
2025 | * fc-cache/fc-cache.c: (main): | |
2026 | Sleep for two seconds before exiting to make sure timestamps | |
2027 | for future changes have distinct mod times in the file system. | |
2028 | Bug #1982. | |
2029 | * fc-lang/pa.orth: | |
2030 | Add Punjabi orthography. Bug #1671. | |
2031 | ||
c5a0b541 KP |
2032 | 2004-12-04 Keith Packard <keithp@keithp.com> |
2033 | ||
2034 | * fonts.conf.in: | |
2035 | Just remove the FC_FONTDATE -- it has locale issues and | |
2036 | annoys redhat multi-arch installs. Now that all X fonts are | |
2037 | included without prejudice, the chances of the date being at | |
54560b01 | 2038 | all interesting are rather limited. Bug #505. |
c5a0b541 KP |
2039 | * src/Makefile.am: |
2040 | Add copyright and license | |
2041 | ||
2d9c79c0 KP |
2042 | 2004-12-04 Keith Packard <keithp@keithp.com> |
2043 | ||
2044 | * configure.in: | |
2045 | Change default set of fonts to include all of | |
2046 | /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located). | |
2047 | * doc/fontconfig-user.sgml: | |
2048 | Document new <include>directory-name</include> semantics | |
2049 | * fonts.conf.in: | |
2050 | add <include ignore_missing="yes">conf.d</include> | |
2051 | * local.conf: | |
2052 | Add selectfont to ignore bitmap fonts, add comment for | |
2053 | selectfont which accepts bitmap fonts. | |
2054 | * src/fcdir.c: | |
2055 | * src/fcint.h: | |
2056 | * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad): | |
2057 | Allow <include> configuration elements to reference directories. | |
2058 | Parse and load all files of the form [0-9]* in sorted order. | |
2059 | ||
38e528e7 KP |
2060 | 2004-12-04 Keith Packard <keithp@keithp.com> |
2061 | ||
2062 | * autogen.sh: | |
2063 | Report command line for $srcdir/configure accurately. | |
2064 | Bug #212. | |
2065 | ||
e4125ef9 KP |
2066 | 2004-12-04 Keith Packard <keithp@keithp.com> |
2067 | ||
2068 | * src/fcfreetype.c: (FcFreeTypeQuery): | |
2069 | Check for non-empty face->family_name and face->style_name | |
2070 | before using those for the font. Empty names match everything. | |
38e528e7 | 2071 | Bug #210. |
e4125ef9 | 2072 | |
537e3d23 KP |
2073 | 2004-12-04 Keith Packard <keithp@keithp.com> |
2074 | ||
2075 | * configure.in: | |
2076 | * fontconfig/fontconfig.h: | |
2077 | * src/fcfreetype.c: (FcFreeTypeQuery): | |
2078 | * src/fcname.c: | |
2079 | Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where | |
2080 | available. This provides font file format information (BDF, Type 1, | |
2081 | PCF, TrueType) for each font. Closes #109. | |
2082 | ||
dbf68dd5 KP |
2083 | 2004-12-04 Daniel Glassey <danglassey@ntlworld.com> |
2084 | ||
2085 | reviewed by: Keith Packard <keithp@keithp.com> | |
2086 | ||
2087 | * doc/fontconfig-user.sgml: | |
2088 | Fix typo. | |
2089 | ||
2090 | * fontconfig/fontconfig.h: | |
2091 | * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong), | |
2092 | (GetScriptTags), (FcFontCapabilities): | |
2093 | * src/fcname.c: | |
2094 | Add detection for font capabilities (bug #105) | |
2095 | ||
4f27c1c0 KP |
2096 | 2004-12-04 Keith Packard <keithp@keithp.com> |
2097 | ||
2098 | * Makefile.am: | |
2099 | Move existing fonts.conf to fonts.conf.bak | |
2100 | ||
2101 | * configure.in: | |
2102 | Add detection of iconv | |
2103 | ||
2104 | * doc/fcpattern.fncs: | |
2105 | * doc/fontconfig-devel.sgml: | |
2106 | * doc/fontconfig-user.sgml: | |
2107 | * fonts.dtd: | |
2108 | Document new selectfont elements | |
2109 | ||
2110 | * fc-lang/nb.orth: | |
2111 | Switch to UTF-8 in comment | |
2112 | ||
2113 | * fontconfig/fontconfig.h: | |
2114 | * src/fcname.c: | |
2115 | Add fullname, and family/style/fullname language entries | |
2116 | ||
2117 | * src/fccache.c: (FcCacheFontSetAdd): | |
2118 | * src/fcdir.c: (FcFileScanConfig): | |
2119 | Respect selectfont/*/glob | |
2120 | ||
2121 | * src/fcint.h: | |
2122 | * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy), | |
2123 | (FcConfigCompareValue), (FcConfigPatternsAdd), | |
2124 | (FcConfigPatternsMatch), (FcConfigAcceptFont): | |
2125 | * src/fcxml.c: (FcElementMap), (FcVStackDestroy), | |
2126 | (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont), | |
2127 | (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement): | |
2128 | Add support for selectfont | |
2129 | ||
2130 | * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage), | |
2131 | (FcStringInPatternElement), (FcFreeTypeQuery): | |
2132 | Add multi-lingual family/style/fullname support | |
2133 | ||
2134 | * src/fclist.c: (FcListPatternMatchAny): | |
2135 | Expose FcListPatternMatchAny (which selectfont/*/pattern uses) | |
2136 | ||
2137 | * src/fcpat.c: (FcPatternRemove), (FcPatternAppend), | |
2138 | (FcObjectStaticName): | |
2139 | Add new FcPatternRemove/FcPatternAppend. | |
2140 | FcObjectStaticName stores computed pattern element names which | |
2141 | are required to be static. | |
2142 | ||
c641c77d KP |
2143 | 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp> |
2144 | ||
2145 | reviewed by: keithp | |
2146 | ||
2147 | * Makefile.am: | |
2148 | Remove spurious / after $(DESTDIR) | |
2149 | ||
b5f36ca0 KP |
2150 | 2004-06-30 Keith Packard <keithp@keithp.com> |
2151 | ||
2152 | * README: | |
2153 | * configure.in: | |
2154 | * fontconfig/fontconfig.h: | |
2155 | Update for 2.2.96 | |
2156 | ||
28f93bc4 KP |
2157 | 2004-06-30 Keith Packard <keithp@keithp.com> |
2158 | ||
2159 | Provided by: Lubos Lunak <l.lunak@suse.cz> | |
2160 | ||
2161 | * src/fccfg.c: (FcConfigUptoDate): | |
2162 | However FcConfigUptoDate() doesn't seem to work. See the attached | |
2163 | patch. First there's an obvious misplaced parenthesis making it | |
2164 | return always false, and second, even this call fails to detect font | |
2165 | changes (e.g. adding a new font to | |
2166 | /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as | |
2167 | well. The problem seems to be triggered by my fonts.conf specifying | |
2168 | only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs | |
2169 | doesn't include subdirs, unlike config->fontDirs. | |
2170 | ||
3d1ea0e5 KP |
2171 | 2004-06-03 Keith Packard <keithp@keithp.com> |
2172 | ||
2173 | * fontconfig/fontconfig.h: | |
2174 | Remove comma at end of FcResult enum definition. | |
2175 | ||
087d899c KP |
2176 | 2004-05-29 Keith Packard <keithp@keithp.com> |
2177 | ||
2178 | * INSTALL: | |
2179 | Add steps to md5sum release | |
2180 | ||
d81271eb KP |
2181 | 2004-05-29 Keith Packard <keithp@keithp.com> |
2182 | ||
2183 | * README: | |
2184 | * configure.in: | |
2185 | * fontconfig/fontconfig.h: | |
2186 | Update for 2.2.95 | |
2187 | ||
ec0c740e KP |
2188 | 2004-05-29 Keith Packard <keithp@keithp.com> |
2189 | ||
2190 | * fontconfig/fontconfig.h: | |
2191 | * src/fcmatch.c: (FcFontSetMatch): | |
2192 | Add FcResultOutOfMemory to provide an accurate error when | |
2193 | FcFontSetMatch fails in this way | |
2194 | ||
2195 | * src/fcfreetype.c: | |
2196 | Make #warning about lacking various FreeType features indicate | |
2197 | which version those features appeared so users know how to | |
2198 | fix the problem (Thanks to Anton Tropashko) | |
2199 | ||
55a69bd0 KP |
2200 | 2004-05-05 Keith Packard <keithp@keithp.com> |
2201 | ||
2202 | * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing): | |
2203 | Replace MIN/MAX/ABS macros which happen to have come | |
2204 | from FreeType with fontconfig-specific ones (FC_*) | |
2205 | ||
bd0ddac8 KP |
2206 | 2004-04-23 Keith Packard <keithp@keithp.com> |
2207 | ||
2208 | * INSTALL: | |
2209 | Extend release preparation instructions to include | |
2210 | notification and distribution steps | |
2211 | ||
626a7016 KP |
2212 | 2004-04-23 Keith Packard <keithp@keithp.com> |
2213 | ||
2214 | * README: | |
2215 | * configure.in: | |
2216 | * fontconfig/fontconfig.h: | |
2217 | Update to 2.2.94 (2.2.93 shipped with broken libtool bits) | |
2218 | ||
7969113f KP |
2219 | 2004-04-23 Keith Packard <keithp@keithp.com> |
2220 | ||
2221 | * .cvsignore: | |
2222 | Ignore a few more autotool files | |
2223 | ||
6ae6acf3 KP |
2224 | 2004-04-14 Keith Packard <keithp@keithp.com> |
2225 | ||
2226 | * INSTALL: | |
2227 | Add instructions for doing a release | |
2228 | ||
2229 | * fontconfig.spec.in: | |
2230 | clean up .spec file; perhaps this will be useful to somebody... | |
2231 | ||
2232 | * README: | |
2233 | * configure.in: | |
2234 | * fontconfig/fontconfig.h: | |
2235 | Update to 2.2.93 | |
2236 | ||
2237 | * fc-lang/fc-lang.c: | |
2238 | Make 'scanopen' static so GCC doesn't whine about lacking prototype | |
2239 | ||
2240 | * fc-glyphname/Makefile.am: | |
2241 | * fc-lang/Makefile.am: | |
2242 | * fc-list/Makefile.am: | |
2243 | * fc-match/Makefile.am: | |
2244 | * src/Makefile.am: | |
2245 | Add WARN_CFLAGS to pass -W flags for GCC systems | |
2246 | ||
2247 | * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch), | |
2248 | (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery): | |
2249 | Change various char types around to match across | |
2250 | function calls. | |
2251 | Fixed bug in using available_sizes[i].height which | |
2252 | is in pixels, not 64ths of a pixel. | |
2253 | ||
89e28590 KP |
2254 | 2004-03-06 Keith Packard <keithp@keithp.com> |
2255 | ||
2256 | * src/fcfreetype.c: (FcFreeTypeQuery): | |
2257 | Force FC_FOUNDRY and FC_WIDTH to always be set so that | |
2258 | matches looking for explicit values prefer exact matches | |
2259 | ||
02638f1a KP |
2260 | 2004-03-02 Keith Packard <keithp@keithp.com> |
2261 | ||
2262 | Supplied by: mfabian@suse.de (Mike FABIAN) | |
2263 | ||
2264 | * src/fcfreetype.c: (FcFreeTypeQuery): | |
2265 | Bug #260 fc-cache generates wrong spacing values for bitmap fonts | |
2266 | Was using (strcmp (a,b)) instead of (!strcmp(a,b)). | |
2267 | ||
de66e750 MS |
2268 | 2004-02-21 Manish Singh <yosh@gimp.org> |
2269 | ||
2270 | * fc-glyphname/fc-glyphname.c: (main): | |
2271 | Cast strlen to int for printf, so we're 64-bit clean. | |
2272 | ||
208a720f KP |
2273 | 2004-02-11 Keith Packard <keithp@keithp.com> |
2274 | ||
2275 | * configure.in: | |
2276 | * src/fcfreetype.c: (FcGetPixelSize): | |
2277 | Ok, so I messed up the test for y_ppem. Let's see if I | |
2278 | got it right this time. | |
2279 | ||
4f38fa81 KP |
2280 | 2004-02-10 Keith Packard <keithp@keithp.com> |
2281 | ||
2282 | * configure.in: | |
2283 | * src/fcfreetype.c: (FcGetPixelSize): | |
2284 | Pre-2.1.5 versions of FreeType didn't include y_ppem in the | |
2285 | FT_Bitmap_Size record. Add a configure.in test for this | |
2286 | and change the code accordingly (using height instead). | |
2287 | ||
b68b9646 KP |
2288 | 2004-02-06 Keith Packard <keithp@keithp.com> |
2289 | ||
2290 | * fc-lang/nds.orth: | |
2291 | Add Low Saxon orthography | |
2292 | (Kenneth Rohde Christiansen <kenneth@gnu.org>) | |
2293 | ||
2294 | * src/fccfg.c: (FcConfigNewestFile): | |
2295 | Oops. Left 'newest.set' unset, which would miscompute | |
2296 | the newest file | |
2297 | ||
2298 | * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery), | |
2299 | (FcFreeTypeCheckGlyph): | |
2300 | Add FcGetPixelSize to extract correct pixel size from bdf/pcf | |
2301 | font properties (which report the wrong value in current FreeType) | |
2302 | ||
2303 | Don't attempt to check for empty glyphs in non-scalable fonts; they | |
2304 | have no outlines... | |
2305 | ||
f4c52909 TL |
2306 | 2004-02-01 Tor Lillqvist <tml@iki.fi> |
2307 | ||
2308 | * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by | |
2309 | GIMP and/or PangoFT2 on Windows, crashes when trying to save the | |
2310 | cache if config->cache is NULL, which happens if FcConfigHome() is | |
2311 | NULL. Guard against that by using the temp folder in that case. | |
2312 | ||
d3481737 RP |
2313 | 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu> |
2314 | ||
2315 | * fc-lang/az_ir.orth: | |
2316 | * fc-lang/ku_ir.orth: | |
2317 | * fc-lang/ps_af.orth: | |
2318 | * fc-lang/ps_pk.orth: | |
2319 | Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto | |
2320 | (Afghan and Pakistani). | |
2321 | * fc-lang/ur.orth: | |
2322 | Updated Urdu orthography with real data. | |
2323 | ||
d098e4eb CW |
2324 | 2003-12-11 Carl Worth <cworth@east.isi.edu> |
2325 | ||
2326 | * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if | |
2327 | USEDOCBOOK' block. | |
2328 | ||
2329 | * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if | |
2330 | USEDOCBOOK' block. | |
2331 | (all-local): Remove excessive whitespace. | |
2332 | ||
2333 | * autogen.sh: Add 'set -e' to abort when any program fails, | |
2334 | (avoids printing of 'now type make' after configure aborts). | |
2335 | ||
408dd9c0 KP |
2336 | 2003-11-17 Eric Christopherson <rakko@charter.net> |
2337 | ||
2338 | reviewed by: Keith Packard <keithp@keithp.com> | |
2339 | ||
2340 | * doc/Makefile.am: | |
2341 | * fontconfig/fcfreetype.h: | |
2342 | * src/fcfreetype.c: | |
2343 | Switch to FreeType 2.1.7 style includes. Bug #150. | |
2344 | ||
8e8fcda4 NL |
2345 | 2003-11-16 Noah Levitt <nlevitt@columbia.edu> |
2346 | ||
2347 | * fc-list/fc-list.sgml: Add some example usages. | |
2348 | ||
344a0e33 RP |
2349 | 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu> |
2350 | ||
2351 | * src/fcxml.c: | |
2352 | Fixed a bug "FcStrtod" in handling some cases with two-byte decimal | |
2353 | separators. | |
2354 | ||
2355 | 2003-10-27 Keith Packard <keith@keithp.com> | |
27143fc9 KP |
2356 | |
2357 | * configure.in: | |
2358 | * fontconfig/fontconfig.h: | |
2359 | Update to version 2.2.92 | |
2360 | ||
4cbc3ee8 KP |
2361 | 2003-10-27 Keith Packard <keithp@keithp.com> |
2362 | ||
2363 | * Makefile.am: | |
2364 | * configure.in: | |
2365 | * doc/Makefile.am: | |
2366 | * fc-cache/Makefile.am: | |
2367 | * fc-glyphname/Makefile.am: | |
2368 | * fc-lang/Makefile.am: | |
2369 | * fc-list/Makefile.am: | |
2370 | * fc-match/Makefile.am: | |
2371 | * test/Makefile.am: | |
2372 | * test/run-test.sh: | |
2373 | Yet more cleanups to finish getting 'make distcheck' working | |
2374 | This has been tested to ensure that it even works from a _build | |
2375 | directory. | |
2376 | ||
394b2bf0 KP |
2377 | 2003-10-26 Keith Packard <keithp@keithp.com> |
2378 | ||
2379 | * configure.in: | |
2380 | * doc/Makefile.am: | |
2381 | * fc-cache/Makefile.am: | |
2382 | * fc-glyphname/Makefile.am: | |
2383 | * fc-lang/Makefile.am: | |
2384 | * fc-lang/fc-lang.c: (scanopen), (scan), (main): | |
2385 | * fc-list/Makefile.am: | |
2386 | * fc-match/Makefile.am: | |
2387 | Attempts to fix 'make distcheck' work. Things are | |
2388 | progressing pretty well, but there are still failures | |
2389 | long into the process dealing with docs (as always). | |
2390 | ||
2391 | The big changes here are mostly to make $(srcdir) != "." | |
2392 | work correctly, fixing the docbook related sections and | |
2393 | fc-lang were particularily tricky. Docbook refuses to load | |
2394 | system entities from anywhere other than where the original .sgml | |
2395 | file was located, so no luck looking in "." for the | |
2396 | configure-generated version.sgml and confdir.sgml files. | |
2397 | ||
2398 | fc-lang needed help finding .orth files; added a -d option | |
2399 | to set the directory as the least evil of many options. | |
2400 | ||
2401 | Now to go use a faster machine and try and wring out the last | |
2402 | issues. | |
2403 | ||
3541556b KP |
2404 | 2003-10-26 Keith Packard <keithp@keithp.com> |
2405 | ||
2406 | Tag version 2.2.91 | |
2407 | ||
e99043ac KP |
2408 | 2003-10-26 Keith Packard <keithp@keithp.com> |
2409 | ||
2410 | * doc/Makefile.am: | |
2411 | Include confdir.sgml.in in EXTRA_DIST | |
2412 | ||
75839218 JM |
2413 | 2003-10-09 Josselin Mouette <joss@debian.org> |
2414 | ||
2415 | * fc-cache/fc-cache.sgml fc-cache/Makefile.am: | |
2416 | * fc-list/fc-list.sgml fc-list/Makefile.am: | |
2417 | Replace fc-cache and fc-list manpages with more detailed, SGML | |
2418 | versions. | |
2419 | ||
f077d662 OT |
2420 | 2003-09-23 Owen Taylor <otaylor@redhat.com> |
2421 | ||
2422 | * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute) | |
2423 | src/fcname.c: Add a FC_HINT_STYLE key for patterns, with | |
2424 | possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL. | |
2425 | (Bug #117) | |
2426 | ||
44f59f71 OT |
2427 | 2003-09-23 Owen Taylor <otaylor@redhat.com> |
2428 | ||
2429 | * fc-lang/ka.orth: Remove Georgian capitals, they | |
2430 | aren't used for normal writing. (Bug #116) | |
2431 | ||
a05d257f NL |
2432 | 2003-09-06 Noah Levitt <nlevitt@columbia.edu> |
2433 | ||
2434 | * doc/fontconfig-devel.sgml: | |
2435 | * doc/fontconfig-user.sgml: | |
2436 | * fontconfig/fontconfig.h: | |
2437 | * src/fcname.c: | |
2438 | * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing | |
2439 | value FC_DUAL (dual-width, as some CJK fonts). (bug #111) | |
2440 | ||
2441 | * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for | |
2442 | monospace and dual-width fonts, allow roughly a 3% variance in the | |
2443 | advances. | |
2444 | ||
3ef32bcd MS |
2445 | 2003-08-31 Manish Singh <yosh@gimp.org> |
2446 | ||
2447 | * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to | |
2448 | use default config. | |
2449 | ||
34cd0514 CW |
2450 | 2003-08-15 Carl Worth <cworth@isi.edu> |
2451 | ||
2452 | * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit. | |
2453 | (FcPopExpr): Add comment about unhandled FcVStackGlob case. | |
2454 | ||
2455 | * src/fcpat.c (FcValueListEntDestroy): New function to support | |
2456 | FcFini memory cleanup. Some statistics are not kept in | |
2457 | synch. here. | |
2458 | (FcValueListFreeze): Move hashTable outside this function so it | |
2459 | can be accessed by FcValueListThawAll. | |
2460 | (FcValueListThawAll): New function complements FcValueListFreeze. | |
2461 | (FcPatternBaseFreeze): Move hashTable outside this function so it | |
2462 | can be accessed by FcPatternBaseThawAll. | |
2463 | (FcPatternBaseThawAll): New function complements | |
2464 | FcPatternBaseFreeze. | |
2465 | (FcPatternThawAll): New function complements FcPatternFreeze. | |
2466 | ||
2467 | * src/fcinit.c (FcFini): Add new FcFini to cleanup everything. | |
2468 | ||
2469 | * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all | |
2470 | allocated FcCharLeafEnt "blocks" so they can be freed later. | |
2471 | (FcCharSetFreezeLeaf): Move hashTable outside this function so it | |
2472 | can be accessed by FcCharSetThawAllLeaf. | |
2473 | (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf. | |
2474 | (FcCharSetFreezeBase): Move hashTable outside this function so it | |
2475 | can be accessed by FcCharSetThawAll. | |
2476 | (FcCharSetThawAll): New function complements FcCharSetFreeze. | |
2477 | ||
2478 | * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst. | |
2479 | (FcConfigDestroy): Fic leak of FcBlanks. | |
2480 | ||
2481 | * fc-list/fc-list.c (main): Fix leak of FcObjectSet. | |
2482 | (main): Add call to FcFini when finished. | |
2483 | ||
2484 | * fc-glyphname/fc-glyphname.c: Mark several local functions as | |
2485 | static. Add prototypes. | |
2486 | ||
2487 | * doc/fcinit.fncs: Add documentation for FcFini function. | |
2488 | ||
2489 | * doc/edit-sgml.c: Mark several local functions as static. Add | |
2490 | prototypes. | |
2491 | ||
2492 | * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines. | |
2493 | ||
c3941ba9 TL |
2494 | 2003-06-15 Tor Lillqvist <tml@iki.fi> |
2495 | ||
231051f4 TL |
2496 | * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file |
2497 | before comparing (needed on Windows). | |
2498 | ||
c3941ba9 TL |
2499 | * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error. |
2500 | ||
ee1d8125 TL |
2501 | 2003-06-13 Tor Lillqvist <tml@iki.fi> |
2502 | ||
2503 | * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3 | |
2504 | man pages. | |
2505 | ||
2506 | * configure.in: Set FC_DEFAULT_FONTS on Win32 to the | |
2507 | WINDOWSFONTDIR token. | |
2508 | ||
2509 | * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the | |
2510 | end, not to confuse libtool, which expects the EXPORTS line to be | |
2511 | the first. Add FcConfigEnableHome. | |
2512 | ||
e5206dbc TL |
2513 | * src/fccfg.c: Check also for DLL_EXPORT as indication of being |
2514 | built as a DLL on Win32. | |
2515 | ||
4ae7f71c KP |
2516 | 2003-06-09 Keith Packard <keithp@keithp.com> |
2517 | ||
2518 | * Tag version 2.2.90 | |
2519 | ||
8edb970e KP |
2520 | 2003-06-09 Keith Packard <keithp@keithp.com> |
2521 | ||
2522 | * Optimization in FcLangSetIndex was broken, occasionally | |
2523 | returning a pointer to the wrong location on miss | |
2524 | ||
2525 | * Add fc-match to test font matching from the command line. | |
2526 | ||
2527 | 2003-05-31 Keith Packard <keithp@keithp.com> | |
2528 | ||
2529 | * (Bug 85) add support for culmus fonts | |
2530 | * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly | |
2531 | * (Bug 88) Fix usage info on non-long option systems (Tim Mooney) | |
2532 | ||
2533 | 2003-05-28 James Su <suzhe@turbolinux.com.cn> | |
2534 | ||
2535 | * Fix "contains" op for strings and langsets. | |
2536 | ||
2537 | 2003-05-17 Keith Packard <keithp@keithp.com> | |
2538 | ||
2539 | * Fix build error with BDF prop local. Free langset after query | |
2540 | ||
2541 | 2003-05-14 Keith Packard <keithp@keithp.com> | |
2542 | ||
2543 | * Extract spacing from XLFD atom | |
2544 | ||
2545 | 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr> | |
2546 | ||
2547 | * Reinstate SETWIDTH_NAME parsing for legacy fonts, | |
2548 | disappeared in 1.30. | |
2549 | ||
2550 | * Generate FC_SIZE and FC_DPI for legacy bitmap fonts | |
2551 | ||
2552 | 2003-05-12 Keith Packard <keithp@keithp.com> | |
2553 | ||
2554 | * Use FcIsWidth to share code | |
2555 | ||
2556 | * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid | |
2557 | misclassifying some Han fonts as monospaced. | |
2558 | ||
2559 | 2003-05-07 Keith Packard <keithp@keithp.com> | |
2560 | ||
2561 | * Add filename-based accept/reject to ammend available fonts. | |
2562 | ||
2563 | * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for | |
2564 | older FreeType releases. | |
2565 | ||
2566 | 2003-05-06 Keith Packard <keithp@keithp.com> | |
2567 | ||
2568 | * Remove 0b82 and Tamil numbers from tamil | |
2569 | orthography (Jungshik Shin <jshin@mailaps.org>) | |
2570 | ||
2571 | 2003-05-04 Keith Packard <keithp@keithp.com> | |
86b12431 KP |
2572 | |
2573 | + Map glyph names in fonts with adobe custom encoding to unicode | |
2574 | ||
8edb970e KP |
2575 | 2003-05-02 Keith Packard <keithp@keithp.com> |
2576 | ||
2577 | * Add FC_WEIGHT_BOOK as weight 75 | |
2578 | ||
2579 | 2003-04-30 Keith Packard <keithp@keithp.com> | |
2580 | ||
2581 | * Typo in bitstream foundry name | |
2582 | ||
2583 | 2003-04-24 Keith Packard <keithp@keithp.com> | |
2584 | ||
2585 | * Eliminate italic_angle check for PS fonts | |
2586 | ||
2587 | 2003-04-23 Noah Levitt <nlevitt@columbia.edu> | |
2588 | ||
2589 | * Getting closer to fixing /etc/fonts hard-coding. | |
2590 | ||
2591 | 2003-04-22 Keith Packard <keithp@keithp.com> | |
2592 | ||
2593 | * Update autogen.sh to work with newer automake versions | |
2594 | * Handle pattern elements moving during multiple edits | |
2595 | ||
8c87b429 KP |
2596 | 2003-04-23 James Henstridge <james@daa.com.au> |
2597 | ||
2598 | * doc/fontconfig-devel.sgml: close the <para> element. | |
2599 | ||
2600 | * doc/fcpattern.fncs: close the <para> element. | |
2601 | ||
2602 | * doc/func.sgml: close the <refsynopsisdiv> element. | |
2603 | ||
8edb970e KP |
2604 | 2003-04-22 Keith Packard <keithp@keithp.com |
2605 | ||
2606 | * Update autogen.sh to work with newer automake versions | |
2607 | * Handle pattern elements moving during multiple edits | |
2608 | ||
12d49d3c CW |
2609 | 2003-04-17 Colin Walters <walters@debian.org> |
2610 | ||
2611 | + Remove some unused variables, and initialize some other ones so | |
2612 | gcc doesn't warn us. | |
2613 | ||
ab06f005 KP |
2614 | 2003-04-16 Keith Packard <keithp@keithp.com> |
2615 | ||
2616 | + tag version 2.1.94 | |
2617 | ||
2618 | 2003-04-16 Keith Packard <keithp@keithp.com> | |
2619 | ||
2620 | + add BDF property fetching support for foundry | |
2621 | (from Juliusz Chroboczek) | |
2622 | + add BDF property fetching support for width | |
2623 | ||
2624 | 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr> | |
2625 | ||
2626 | + Implemented foundry generation for Type 1 and TrueType | |
2627 | ||
2628 | 2003-04-11 Gerard Escalante <g2@magestudios.net> | |
2629 | ||
2630 | + Retrieve information from Type1 FontInfo dictionaries | |
2631 | ||
8c8caabd CW |
2632 | 2003-04-07 Colin Walters <walters@verbum.org> |
2633 | ||
2634 | + src/Makefile.am: Fix dummy makefile target names when | |
2635 | MS_LIB_AVAILABLE isn't set. | |
2636 | ||
daeed6e0 TL |
2637 | 2003-03-22 Tor Lillqvist <tml@iki.fi> |
2638 | ||
2639 | Changes for Windows: | |
2640 | ||
2641 | + On Windows with gcc (a.k.a. mingw) build as a DLL. | |
2642 | ||
2643 | + We don't want to hardcode the fonts.conf file location in the | |
2644 | DLL, so we look up the DLL location at run-time in a DllMain() | |
2645 | function. The fonts.conf location is deduced from that. | |
2646 | ||
2647 | + The colon can't be used as path separator on Windows, | |
2648 | semicolon is used instead. File path components can be separated | |
2649 | with either slash or backslash. Absolute paths can also begin | |
2650 | with a drive letter. | |
2651 | ||
2652 | + Add internal function FcStrLastSlash that strrchr's the last | |
2653 | slash, or backslash on Windows. | |
2654 | ||
2655 | + There is no link() on Windows. For atomicity checks, mkdir a | |
2656 | lock directory instead. | |
2657 | ||
2658 | + In addition to HOME, also look for USERPROFILE. | |
2659 | ||
2660 | + Recognize the special font directory token WINDOWSFONTDIR, to | |
2661 | use the system's font directory. | |
2662 | ||
2663 | + Remove the fontconfig-def.cpp that was obsolete. Add | |
2664 | fontconfig.def(.in), without internal functions. | |
2665 | ||
2666 | + Add a fontconfig-zip(.in) script, used to build a binary | |
2667 | distribution. | |
2668 | ||
dbe9a11e MH |
2669 | Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com> |
2670 | + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/* | |
2671 | to main package and man3/* to devel package | |
2672 | ||
2673 | + Added missing defattr(-, root, root) to main RPM package | |
2674 | ||
2675 | + Added HTML and text development documentation to -devel subpackage | |
2676 | ||
c92abf78 MH |
2677 | Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com> |
2678 | + Added back the configure macro options --disable-docs, otherwise | |
2679 | fontconfig installs docs into /usr/share/doc/fontconfig (with no | |
2680 | version number) unconditionally, causing RPM to fail the build due | |
2681 | to _unpackaged_files_terminate_build. We pick up the pregenerated | |
2682 | docs with %doc already. | |
2683 | ||
b06766e4 MH |
2684 | Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com> |
2685 | + Removed commented out rpm macro define at top of spec file, | |
2686 | replacing it with a simple explanation, since rpm macros are | |
2687 | expanded by rpm even in comments. | |
2688 | ||
2689 | + Changed /usr/bin to _bindir in BuildRequires lines | |
2690 | ||
2691 | + Cleaned up rpm postinstall script, and made fc-cache use _bindir | |
2692 | ||
2693 | + Reorganized file manifest lists | |
2694 | ||
2695 | Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com> | |
22dc6fc6 OT |
2696 | |
2697 | + fontconfig.spec.in: Improvements from Red Hat spec file. | |
2698 | ||
2699 | + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages. | |
2700 | ||
2701 | + docs/*.sgml: SGML fixes. | |
2702 | ||
8fc10a72 KP |
2703 | Sat Mar 1 17:28:53 PST 2003 keithp |
2704 | + Ok, so the ChangeLog is a bit out of date | |
2705 | ||
2706 | + Lots of bugs fixed; most are in bugzilla, the | |
2707 | biggest problems were in cache management where | |
2708 | Owen discovered the library would lose badly when | |
2709 | combining fonts-cache and ~/.fonts-cache data | |
2710 | ||
2711 | + Converted from autoconf to automake. This after | |
2712 | getting patches accepted into libtool to allow | |
2713 | the '-version-number' argument which lets | |
2714 | packages set version numbers explicitly rather | |
2715 | than the roundabout libtool way | |
2716 | ||
2717 | + Converted documentation to SGML using the docbook | |
2718 | DTD. Now .txt and .html documents are installed | |
2719 | in /usr/share/doc/fontconfig and there's no | |
2720 | man page. Perhaps a man version can be written | |
2721 | at some point. | |
2722 | ||
c2022f99 KP |
2723 | Sat Aug 31 15:21:22 PDT 2002 keithp |
2724 | + Xrender and Xft had several bugs related to | |
2725 | rendering manually placed or poly-face text | |
2726 | ||
2727 | + Added more complete memory tracing in fontconfig | |
2728 | Checked with (patched) mozilla and found no leaks | |
2729 | ||
2730 | + Updated Latin orthographies by comparing those from | |
2731 | evertype.com with those from eki.ee. Tried to make | |
2732 | sensible choices, including chars that occured in both | |
2733 | and leaving some optional chars out that occured only | |
2734 | in one. | |
2735 | ||
2458a6d8 | 2736 | Mon Aug 26 16:33:04 PDT 2002 keithp |
c2022f99 | 2737 | + Owen discovered that FcLangSetHasLang wasn't actually |
2458a6d8 KP |
2738 | checking the language set. |
2739 | ||
5d6788ac KP |
2740 | Mon Aug 26 13:37:23 PDT 2002 keithp |
2741 | + Append a version number to cache filenames | |
2742 | ||
47d4f950 KP |
2743 | Thu Aug 22 11:36:18 PDT 2002 keithp |
2744 | ||
2745 | + Add "contains" and "not_contains" operators and elements to | |
2746 | font configuration | |
2747 | ||
2748 | + Changed semantics of eq operator for LangSets to check for | |
2749 | FcLangEqual so that any match will do | |
2750 | ||
2751 | + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead | |
2752 | of FcValueEqual to check for identical values when inserting into | |
2753 | the results. This broke when the above semantic change was made, | |
2754 | now it uses FcValueEqual which is "more correct" in any case. | |
2755 | ||
d8d73958 KP |
2756 | Thu Aug 22 00:32:29 PDT 2002 keithp |
2757 | ||
2758 | + Reimplement FC_LANG as new datatype. Lists of strings | |
2759 | was consuming over a megabyte of memory for 401 fonts. | |
2760 | ||
2761 | + Freeze patterns loaded from cache files. This shares | |
2762 | common value lists and common patterns which saves | |
2763 | considerable memory. | |
2764 | ||
2765 | + Change the denotation of 'constant' charsets to use special | |
2766 | ref value instead of separate boolean. | |
2767 | ||
2768 | + Clean up leak tracing stuff, found several unannoted alloc/free | |
2769 | calls | |
2770 | ||
2771 | Tue Aug 20 16:17:37 PDT 2002 keithp | |
2772 | ||
2773 | + Fix memory leak when parsing matrices from XML | |
2774 | ||
2775 | Mon Aug 19 11:57:27 PDT 2002 keithp | |
2776 | ||
fa244f3d KP |
2777 | + Fix autoconf files to pass FONTCONFIG_PATH on |
2778 | compile line so that ${prefix} gets substituted | |
2779 | correctly. | |
2780 | ||
2781 | + Use getc_unlocked/putc_unlocked on systems that | |
2782 | provide them to avoid damage done to stdio by posix | |
2783 | ||
2784 | + Eliminate FC_PATTERN and FcTypePattern in favor of | |
2785 | an extended api for FcConfigSubstitute which takes | |
2786 | both the font and the pattern. | |
2787 | ||
2788 | + Add 'sans serif' alias for 'sans-serif' as some apps | |
2789 | can't handle hyphens in family names | |
2790 | ||
2791 | + Eliminate pretense of support for libxml2 | |
2792 | ||
2793 | + Comment origins of Han orthographies | |
2794 | ||
aefb2c41 KP |
2795 | Tue Jul 30 18:37:09 PDT 2002 keithp |
2796 | ||
2797 | + Add binding property to edit element so that strong | |
2798 | binding values may be inserted by the config file. | |
2799 | The default remains weak. | |
2800 | ||
2801 | Sun 28 Jul 04:16:55 PDT 2002 keithp | |
2802 | ||
2803 | + Tagged release candidate 1 in the CVS tree and | |
2804 | placed fcpackage.rc1.tar.gz for distribution | |
2805 | ||
2806 | Thu Aug 1 08:55:08 PDT 2002 keithp | |
2807 | ||
2808 | + Fixed autoconf builds to always specify install | |
2809 | target files (for BSD). Also fixed to | |
2810 | define FONTCONFIG_PATH in config.h so that | |
2811 | nonstandard installs will actually work. |