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