]> git.wh0rd.org - fontconfig.git/blame - README
Charset hashing depended on uniqueness of leaves.
[fontconfig.git] / README
CommitLineData
24330d27
KP
1 Fontconfig
2 Font configuration and customization library
0945cbe7
KP
3 Version 2.3.96
4 2006-09-03
c001a192 5
d5346181 6
845a0bf3
KP
7Check INSTALL for compilation and installation instructions.
8Report bugs to https://bugs.freedesktop.org in the fontconfig module.
9
0945cbe7
KP
102.3.96
11
12Keith Packard:
13 Make path names in cache files absolute (NB, cache format change) Stop
14 Eliminate pattern freezing
15 Add .gitignore
16 Construct short architecture name from architecture signature.
17 Write caches to first directory with permission. Valid cache in FcDirCacheOpen.
18 Eliminate NormalizeDir. Eliminate gratuitous stat/access calls per dir.
19 Add architecture to cache filename.
20 Eliminate global cache. Eliminate multi-arch cache code.
21 Fix up fc-cache and fc-cat for no global cache changes.
22 Eliminate ./ and ../ elements from font directory names when scanning.
23 Regenerate x86 line in fcarch.tmpl.h to match change in cache data.
24 Add x86-64 architecture and signature.
25 During test run, remove cache directory to avoid stale cache usage.
26 Add ppc architecture
27 Revert to original FcFontSetMatch algorithm to avoid losing fonts.
28 Rework cache files to use offsets for all data structures.
29 Fix build problems caused by cache rework.
30 FcCharSetSerialize was using wrong offset for leaves. Make fc-cat work.
31 Rework Object name database to unify typechecking and object lookup.
32 Skip broken caches. Cache files are auto-written, don't rewrite in fc-cache.
33 Fix fc-cat again. Sigh.
34 Use intptr_t instead of off_t inside FcCache structure.
35 Serialized value lists were only including one value.
36 Automatically remove invalid cache files.
37 With no args, fc-cat now dumps all directories.
38 Revert ABI changes from version 2.3
39 Change $(pkgcachedir) to $(fc_cachedir) in fc-cat and fc-cache Makefile.am
40 Allow FcTypeLangSet to match either FcTypeLangSet or FcTypeString.
41 Remove stale architecture signatures.
42 Pass directory information around in FcCache structure. Freeze charsets.
43 Fix fc-lang to use new charset freezer API.
44 Fontset pattern references are relative to fontset, not array.
45 Add some ignores
46 Only rebuild caches for system fonts at make install time.
47 Fix memory leaks in fc-cache directory cleaning code.
48 Add @EXPAT_LIBS@ to Libs.private in fontconfig.pc (bug 7683)
49 Avoid #warning directives on non-GCC compilers. (bug 7683)
50 Chinese/Macau needs the Hong Kong orthography instead of Taiwan (bug 7884)
51 Add Assamese orthography (as.orth). Bug #8050
52 Really only rebuild caches for system fonts at make install time.
53 Fonts matching lang not territory should satisfy sort pattern lang.
54 Prefer Bitstream Vera to DejaVu families.
55 Guess that mac roman names with lots of high bits are actually SJIS.
56 Document FC_DEBUG values (bug 6393). Document name \ escape syntax.
57 Move Free family names to bottom of respective aliases. (bug 7429)
58 Unify directory canonicalization into FcStrAddFilename.
59 Allow font caches to contain newer version numbers
60 Add FcMatchScan to resolve Delicious font matching issues (bug #6769)
61 Fix missing initialization/destruction of new 'scan' target subst list.
62 Don't segfault when string values can't be parsed as charsets or langsets.
63 Using uninitialized (and wrong) variable in FcStrCopyFilename.
64 Oops; missed the 60-delicious.conf file.
65
66Patrick Lam:
67 Keith Packard <keithp@keithp.com>
68 2006-04-27 Paolo Borelli (pborelli@katamail.com) reviewed by: plam
69 2006-05-31 Yong Li (rigel863@gmail.com) reviewed by: plam, Bedhad Esfahbod
70 2006-07-19 Jon Burgess (jburgess@uklinux.net) reviewed by: plam
71 2006-08-04 Keith Packard (keithp@keithp.com) reviewed by: plam
72
c001a192
PL
732.3.95
74
75Match 'Standard Symbols L' for 'Symbol'. Add URW fonts as aliases for
76all of the PostScript fonts. (reported by Miguel Rodriguez). Fix a
77number of Coverity defects (Frederic Crozat). Speed up FcFontSort
78(fix suggested by Kenichi Handa). Fix error with charsets. Survive
79missing docbook2pdf. Compile on HP-UX, AIX, SGI and Windows (Cygwin,
80MinGW). Fix intel compiler warnings. Fix multiarch support (don't
81destroy multiarch files!) Require pkg-config. (Thanks Behdad; better
82solution wanted for libxml2 detection!) Fix typos in orth files and
83add orth for Lingala (reported by Denis Jacquerye). Remove debian/
84directory. Add a configuration file that disables hinting for the
85Lohit Gujarati font (since the hinting distorts some glyphs quite
86badly). Sort directory entries while scanning them from disk;
87prevents Heisenbugs due to file ordering in a directory (due to Egmont
88Koblinger). Fix Wine's problem with finding fonts. (Reported by
3b013a03
PL
89Bernhard Rosenkraenzer.) Fix the issues with GNU libiconv vs. libc
90iconv (which especially appear on Solarii); patch by Behdad Esfahbod,
91approach suggested by Tim Mooney.
c001a192 92
63d2df3f
PL
932.3.94
94
95fc-cat can take directories as input and creates old-style fonts.cache
96listings.
97fc-cache takes -r --really-force which blows away all old caches and
98regenerates.
99Robustness fixes, integer overflow fixes (notably to cache handling
100code), toast broken global cache files.
101Change binary format to make it compatible with static langset
102information (thanks to Takashi Iwai).
103Open hashed caches before fonts.cache-2 (Takashi Iwai).
104Fix FcFontSetMatch's algorithm, which used to unjustly kill fonts for
105not declaring certain elements (Takashi Iwai).
106Fix matching bug when multiple elements match; don't use
107the sum of all scores, but the best score (James Su).
108Make fc-lang more friendly to Windows systems.
109Remove archaic chars from Georgian charset; add Euro character to
110charsets for European languages.
111Fix treatment of broken PCF fonts that don't declare family names.
112Pass O_BINARY to open if appropriate (reported by Doodle).
113Normalize font directories to the form in which they appear in
114config files.
115Add a record of the cached directory to the cache file.
116Perf optimizations (Dirk Mueller; some reported by Michael Meeks.)
117Don't loop infinitely on recursive symlinks.
118Make 'make distcheck' work with automake 1.6.3.
119Replace 'stamp' target with mkinstalldirs.
120Don't stop scanning if a directory in fonts.conf doesn't exist,
121because subsequent directories might exist.
122Put directory names into global cache (reported by Ronny V. Vindenes).
123Treat zh-hk fonts differently from zh-tw fonts. This patch may cause
124fontconfig to treat A-X fonts differently from A-Y fonts; please mail
125the fontconfig list if this causes any problems.
126Fix for unaligned memory accesses (Andreas Schwab).
127Fix treatment of cache directory as read from cache file; don't use
128string equality to determine if we have the right file, use inode
129equality.
130Properly skip past dir caches that contain zero fonts, as occurs
131in global caches (reported by Mike Fabian).
132Print out full pathname in fc-match -v (reported by Frederic Crozat).
133Fix bug where fc-match crashes when given __DUMMY__ property to
134match on.
135
3bfae75d
PL
1362.3.93
137
138Create cache files in /var/cache/fontconfig with hashed filenames, if
139possible, for added FHS compliance.
140Make fc-cat read both per-directory and global cache files.
141Add config file for Persian fonts from Sharif FarsiWeb, Inc.
142Major performance improvements by Dirk Mueller, Stephen Kulow, and Michael Matz at SuSE: in particular, speed up FcFontSetMatch, and inline many functions.
143Fix treatment of globs in config files, broken since 2.3.2 and discovered by Mathias Clasen.
144Don't use freetype internal headers (patch by Matthias Clasen).
145Further space improvements: create langsets statically, so that they can live in .rodata.
146Properly align mmapped data structures to make e.g. ia64 happy.
147Bug fixes.
148
e6d3e251
PL
1492.3.92
150
151Fix corrupted caches bugs from 2.3.91 (reported by Mike Fabian).
152Store only basename in the cache, reconstitute on demand
153(reported by James Cloos).
154Change the rule for artificial emboldening in fonts.conf.in. This
155enables the support for artificial emboldening included in cairo
156(patch by Zhe Su).
157Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
158to load embedded bitmaps or not (patch by Jinghua Luo).
159Fix GCC4 warnings (some by Behdad Esfahbod).
160Support localized font family and style names; this has been reported
161to break old apps like xfd, but modern (gtk+/qt/mozilla) apps work
162fine (patch by Zhe Su).
163Prevent fc-list from escaping strings when printing them (reported by
164Matthias Clasen).
165Add valist sentinel markup for FcObjectSetBuild and
166FcPatternBuild (patch by Marcus Meissner).
167Add consts to variables so as to move arrays into .rodata (patch by
168Ross Burton).
169Modify config file to use Greek fonts before Asian fonts with
170Greek glyphs. (patch by Simos Xenitellis).
171Use libtool -no-undefined flag on all platforms (patch by Christian
172Biesinger).
173
bc5784ff
PL
1742.3.91
175
176Use libxml2 if requested or if expat not available. (Mathias Hasselmann)
177Fix multi-arch cache files: compute the position for the
178block to be added using info from OrigFile, not NewFile. (plam)
179Cast results of sizeof() to unsigned int to get rid of
180warnings on x86_64 (reported by Matthias Clasen).
181Use FcAtomic to rewrite cache files; don't unlink the fonts.cache-2
182file even if there's no data to write; just write an empty cache file.
183(Reported by Lubos Lunak)
184Allocate room for the subdirectory names in each directory cache.
185(Reported by James Cloos)
186
f28f090d
PL
1872.3.90
188
189Development release of mmap patch: load pattern information
190directly from cache files. (Patrick Lam)
191
1cb309ad
KP
1922.3.2
193
87c88746
KP
194Patch memory leaks in using iconv. (Reported by Chris Capoccia)
195Patch memory leaks in fc-cache. (Reported by Chris Capoccia)
1cb309ad
KP
196Fetch bitmap glyphs to get widths during font evaluation. (keithp)
197Share strings through FcObjectStaticName (Ross Burton)
198Windows build updates (Tor Lillqvist)
199
d49dde9f
KP
2002.3.1
201
202Be more careful about broken GSUB/GPOS tables (Manish Singh)
203Include debian packaging stuff in CVS (Josselin Mouette)
204Add more conf.d examples (Keith Packard)
205Make manuals build again (Keith Packard)
206Johap -> Johab (Funda Wang)
207
4afc00ca
KP
2082.3.0
209
210Fix memory leak of patterns rejected by configuration (#2518)
211
212Create prototype /etc/fonts/conf.d directory and populate it with a few
213sample files. These samples are unused as the file names don't start with
214numbers.
215
216Update documentation.
217
afca7836
KP
2182.2.99
219
220Verify cache for FC_FILE and FC_FAMILY in every entry (#2219)
221
222Update blanks list from recent Unicode docs (#86)
223
224Various small build fixes (#280, #2278,
225
226Documentation fixes (#2085, #2284, #2285)
227
228Add polite typechecking to config file loader (#229)
229
d5346181
KP
2302.2.98
231
232Share object name strings (Michael Meeks)
233
234Eliminate a couple of codepoints from Russian orthography (John Thacker)
235
236Add synthetic emboldening configuration changes (Jakub Pavelek)
237
238Change FcFontSetSort to ignore language after fonts with the requested
239languages have been found. (Owen Taylor)
240
241Add some RedHat font configuration changes (Owen Tayler).
242
243Add full Unicode case folding support to case-ignoring string functions
244(Keith Packard)
245
246Remove Han characters from Korean orthography (Tor Andersson)
308dc9c3
KP
247
2482.2.97
249
250Fc-cache sleeps before exiting to ensure filesystem timestamps are well
251ordered.
252
253Added Punjai orthography.
254
255The timestamp in fonts.conf is gone now. Too many problems.
256
257The default font path includes all of the X fonts; use selectfont/rejectfont
258to eliminate bitmaps, as shown in the sample local.conf file.
259
260<include> configuration elements may now reference a directory. Files
261in that directory matching [0-9]* are loaded in UTF-8 collating sequence order.
262
263<selectfont> configuration added to control which fonts are used.
264
265fontformat font pattern elements built from the FT_Get_X11_Font_Format
266function in newer versions of FreeType.
267
268'capability' list constructed from gsub/gpos and silf values in TrueType
269files.
270
271Multi-lingual names (style, family, fullname) extracted and stored with
272parallel <foo>lang properties marking language.
b5f36ca0
KP
273
2742.2.96
275
276Fix FcConfigUpToDate to actually check all font directories and eliminate
277a typo which completely prevented it from working (Lubos Lunak
278<l.lunak@suse.cz>)
279
280Remove comma at end of FcResult enum definition for picky compilers.
d81271eb
KP
281
2822.2.95
283
284Add FcResultOutOfMemory so FcFontSetMatch can return accurate error.
285
286Replace MIN/MAX/ABS macros which happened to be in old FreeType releases
287with FC_MIN/FC_MAX/FC_ABS macros owned by fontconfig.
626a7016
KP
288
2892.2.94
290
291The 2.2.93 release was prepared with a broken libtool which created
292the shared library without the '.so' in the file names.
6ae6acf3
KP
293
2942.2.93
295
296This is the third prerelease of fontconfig 2.3. Significant changes from
2972.2.92 are:
298
299 o Use new FreeType #include syntax
300 o use y_ppem field instead of 'height' in bitmap sizes rec -
301 FreeType changed the semantics. Still uses height for
302 older versions of FreeType
303 o Don't construct program manuals unless docbook is available
304
3052.2.92
306
307 o make distcheck work
308
3092.2.91
310
311 o Switch to SGML manuals
312 o Add FC_DUAL width spacing value
313 o Add FcFini to close out fontconfig and release all memory
314
3152.2
2eafe090 316
8fc10a72 317This is the third public release of fontconfig, a font configuration and
2eafe090
KP
318customization library. Fontconfig is designed to locate fonts within the
319system and select them according to requirements specified by applications.
320
321Fontconfig is not a rasterization library, nor does it impose a particular
322rasterization library on the application. The X-specific library
323'Xft' uses fontconfig along with freetype to specify and rasterize fonts.
324
325Keith Packard
326keithp@keithp.com