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