Generalize concept of `ins_extra_{buf,len}'.
[ttfautohint.git] / NEWS
blob483d0a9655f6f50c0ae38a955a15842d438dca23
1 Version 1.4 (2015-XXX-XX)
2 -------------------------
4 * Support for the Thai script.
6 * Support for the Arabic script.
8 * A new control instruction syntax form was added to adjust the mapping
9   between glyphs and styles.
12 Version 1.3 (2015-Jan-06)
13 -------------------------
15 * Keywords in control instruction files can be more verbose to increase
16   readability.  You can now use `left`, `right`, `nodir`, `point`, `touch`,
17   `xshift`, and `yshift` for `l`, `r`, `n`, `p`, `t, `x`, and `y`,
18   respectively.
20 * A new control instruction keyword `touch` was added to apply delta
21   instructions before the final IUP bytecode commands, also `touching' the
22   affected points (to use the TrueType instructions terminology).  Such
23   deltas *do* work even with ClearType if applied to the non-ClearType
24   direction.
26 * Support for the Telugu script.
28 * The amount of information about ttfautohint and its parameters that gets
29   added to the `name` table by default has been reduced.  A new option
30   `--detailed-info` restores the previous behaviour.
32 * ttfautohintGUI crashed if not used with a control instruction file.
34 * ttfautohintGUI now correctly switches to a horizontal two-column layout if
35   the standard one-column layout would exceed the screen height.
37 * A new option `--family-suffix` makes it possible to append a suffix to a
38   font's family name in the `name` table.  This can be useful during the
39   development process: It helps the operating system to simultaneously
40   display several instances of a font that are processed with different
41   ttfautohint parameters.
43 * The new library option `info-post-callback` helps in processing data from
44   the `name` table.
47 Version 1.2 (2014-Oct-06)
48 -------------------------
50 * It is now possible to control the hinting process at a very low level
51   using a 'control instructions' file.  Right now, two modes are supported:
53     - Adding segments and changing segment directions.
55     - Applying delta exceptions.  Note that this doesn't really work in
56       ClearType.
58   Please see the documentation for a description and a small tutorial.
60   In the command-line front-end, use option `--control-file` to load such a
61   file.
63 * Support for input file watching in ttfautohintGUI: If the 'Watch Input
64   File' box is checked, the program automatically regenerates the output
65   file as soon as the input font or control instructions file gets modified.
67   The idea is to dock ttfautohintGUI to your favourite font and text editor
68   instead of adding a cheap text editor to ttfautohintGUI itself.
70 * With the new option `--fallback-stem-width` it is now possible to set a
71   default stem width for all scripts that lack proper standard characters in
72   the font.
74 * Add alias `--adjust-subglyphs` for option `--pre-hinting` to better
75   describe its functionality.  The short form `-p` stays unchanged.
77 * New option `--ttfa-table` to add an SFNT table `TTFA` to the output font,
78   containing an ASCII dump of all used ttfautohint parameters (including
79   control instructions).  Right now, this is mainly for archiving purposes. 
80   Forthcoming versions of ttfautohint will be able to re-use this data if a
81   font gets re-processed.
83 * A harmless buglet was fixed that made the `glyf` table too large by one
84   byte under some circumstances.
86 * A bug fix taken from FreeType, correcting a crash for unusual outlines.
88 * Better handling of TTC files.
90 * New library options `error-callback` and `error-callback-data` for
91   improved diagnostics.  [No change in the front-ends except better error
92   messages.]
94 * Many other, minor fixes and improvements.
97 Version 1.1 (2014-May-05)
98 -------------------------
100 * Support for the Devanagari script.
102 * Bug fixes in the computation of strong stem widths.  GDI hinting now gives
103   much more consistent results.
105 * Better recognition of script coverage: ttfautohint now properly scans
106   composite glyphs to cover components also.
108 * Improved glyph shape analysis: Non-flat local extrema are now recognized
109   more reliably, and stem detection works better.
112 Version 1.00 (2014-Mar-20)
113 --------------------------
115 * Much less memory consumption while handling fonts with complicated glyphs.
117 * Option `-s` was partially broken.
120 Version 1.00rc1 (2014-Feb-07)
121 -----------------------------
123 * OpenType feature support.  ttfautohint now uses the HarfBuzz library to
124   analyze data from the `GSUB` table.  This allows the hinting of glyphs
125   that don't have an entry in a font's `cmap` table, for example
126   superscripts or small caps.
128   Related to this, the new option `--default-script` controls the default
129   (fallback) script used for OpenType features.
131 * More than a single standard character is used.  For example, the 'latin'
132   script uses characters 'o', 'O', and digit '0'.  This improves the hinting
133   of fonts (and features) that have only a partial coverage of a script's
134   character repertoire.
136 * Much better GDI ClearType hinting in the range 30-80ppem (approx.),
137   avoiding overly flat tops and bottoms of round glyphs.
139 * Better handling of non-square pixels (this is, horizontal and vertical
140   resolutions differ) in the created TrueType bytecode.
143 Version 0.97 (2013-Nov-09)
144 --------------------------
146 * Improved script support.  Besides Cyrillic and Greek, which are now
147   handled separately from Latin, ttfautohint can handle Hebrew.
149 * Option `-f` now takes a parameter to specify the fallback script.  The
150   corresponding long option name has been renamed from `--latin-fallback` to
151   `--fallback-script`.
153 * Work around a bug in display environments that use FreeType 2.5.0 and
154   earlier for rendering: Sometimes, the 'strong' stem width routine was used
155   for DW ClearType (this is, subpixel hinting in FreeType is enabled) even
156   if 'smooth' was selected while generating the font with ttfautohint.
159 Version 0.96 (2013-Aug-06)
160 --------------------------
162 * Option `--components` has been replaced with `--composites`: By default,
163   the components of a composite glyph are now hinted separately, since tests
164   has shown that this gives good results in most cases.  If this option is
165   set, however, the composite glyph itself gets hinted (and the hints of the
166   components are ignored).
168   An unfortunate side effect is that ttfautohint's option `-c` (which stays
169   as a shorthand for `--composites`) now does exactly the opposite as in
170   previous releases.
172 * Older versions of Monotype's 'iType' bytecode interpreter have a serious
173   bug: The DIV instruction rounds the result, while the correct operation is
174   truncation.  This caused 'exploding characters' with fonts hinted by
175   ttfautohint.  Since many printers contain this rasterizer without any
176   possibility to update to a non-buggy version, ttfautohint now contains
177   work-arounds to circumvent the problem.
179 * Better support for glyphs where some points have almost the same position
180   (for example glyph 'Oslash' in font 'Roboto-Thin').
182 * Better support for glyphs that use explicit 'on' points around round
183   extrema.
186 Version 0.95 (2013-Mar-07)
187 --------------------------
189 * New option `--dehint` to strip off all hints without generating new hints.
190   This option is intended for testing purposes.
192 * Minor fixes to the created bytecode for compatibility.
194 * Minor GUI improvements.
197 Version 0.94 (2012-Nov-29)
198 --------------------------
200 * New option `--windows-compatibility` that adds two artificial blue zones
201   at vertical positions given by 'usWinAscent' and 'usWinDescent'.  This
202   helps ttfautohint's hinting algorithm reduce the possibility of clipping
203   if those two values are very tight.
205 * Implement option `--x-height-snapping-exceptions`, making ttfautohint
206   avoid x-height snapping for selected PPEM values.  Useful in combination
207   with `--windows-compatibility`.
209 * Minor fixes to the created bytecode for compatibility and robustness.
212 Version 0.93 (2012-Oct-09)
213 --------------------------
215 * New option `--components` to treat components of composite glyphs
216   separately.  This greatly reduces the bytecode size.
218   I'm waiting for reports whether this option works for most fonts; in case
219   this is true I'm inverting the option, making it the default (and the old
220   behaviour optional).
222 * Full support of TTCs, this is, all subfonts get auto-hinted now.
224 * The upper limit of the `--increase-x-height` option has been removed.
226 * Drag-and-drop support in the GUI.
228 * The command-line version of ttfautohint now acts like a (Unix) filter,
229   this is, it accepts stdin and stdout as input and output, respectively.
231 * Less memory consumption.
234 Version 0.92 (2012-Aug-07)
235 --------------------------
237 * A serious bug in the created bytecode has been fixed, causing incorrect
238   rounding.
241 Version 0.91 (2012-Jul-12)
242 --------------------------
244 * A new, 'strong' routine to handle stem widths and positions has been
245   added, to be selected with the `--strong-stem-width` command line option.
246   If it is active, stem widths and positions are snapped to the grid as much
247   as possible.  This algorithm is useful for GDI ClearType support.
249 * A new command line option `--debug` (not available for ttfautohintGUI) to
250   print very detailed debugging information.
253 Version 0.9 (2012-Jun-06)
254 -------------------------
256 * The created bytecode has been reduced in size, making it approx. 20%
257   smaller.
259 * New option `--symbol` to use standard stem height and width values instead
260   of using character 'o' (which may be missing).  Use this option for symbol
261   fonts or math glyphs.
263 * More documentation (in text, HTML, and PDF format).  It's still
264   incomplete, though.
266 * Option `--ignore-permissions` has been renamed to `--ignore-restrictions`.
267   The short form is still `-i`.
269 * Defaults for various parameters have been set to more sensible values:
271     - hinting-range-max: 50 (was 1000)
272     - hinting-limit: 200 (was 1000)
274 * Option `--increase-x-height` now has a mandatory argument (in the range
275   6-20 or value\ 0 to disable it, default value is 14).
278 Version 0.8 (2012-Mar-21)
279 -------------------------
281 * Implement option `-x` to increase the x height of the font for small PPEM
282   values by rounding up far more often then rounding down.
284 * Add option '`-G n`' to switch off hinting completely above value\ `n`.
286 * ttfautohint now appends version information and the used parameters to the
287   'Version' field(s) in the 'name' table.  This can be suppressed with
288   option `-n`.
291 Version 0.7 (2012-Feb-05)
292 -------------------------
294 * A GUI has been added, using the Qt framework.  The binary is called
295   'ttfautohintGUI'.
298 Version 0.6.1 (2012-Jan-02)
299 ---------------------------
301 * The improved handling of composite glyphs in 0.6 was buggy under certain
302   circumstances, making ttfautohint crash and FontValidator complain.
304 * Dropout handling has been activated.
307 Version 0.6 (2011-Dec-25)
308 -------------------------
310 * Improved handling of composite glyphs.
312 * Implement option `-p` to pre-hint glyphs with original hints before
313   conversion takes place.
315 * Don't add a `DSIG` table if there is none in the input font.
317 * Human-readable error messages instead of hexadecimal error codes.
319 * Better tests (both at runtime and compile time) to reject too old FreeType
320   versions.
323 Version 0.5 (2011-Nov-06)
324 -------------------------
326 * Rendering on iOS is now expected to give good results.
328 * No bad rendering at very large PPEM values.
331 Version 0.4 (2011-Oct-27)
332 -------------------------
334 * The bytecode has been changed to 'create' twilight points.  This should
335   avoid rendering artifacts on some platforms.
338 Version 0.3 (2011-Sep-09)
339 -------------------------
341 * Fix font generation; sometimes the `glyf` table was one byte too short,
342   making the font invalid.
345 Version 0.2 (2011-Jul-19)
346 -------------------------
348 * Fix bytecode bugs that prevented correct rendering on some platforms.
351 Version 0.1 (2011-Jun-30)
352 -------------------------
354 * First release.