Sychronize with FreeType.
[ttfautohint.git] / NEWS
blob6b9eae814e704c51a49dcb9b752ba7dbd2b5ca98
1 Version 1.5 (XXXX-XX-XX)
2 ------------------------
4 * Support for Khmer script.
6 * ttfautohintGUI can now be compiled with Qt5.
8 * Bug fix: Too many delta control instructions for a single glyph caused
9   a bytecode stack overflow, making the MS rasterizer ignore all hinting
10   instructions for this glyph.
12 * Bug fix: Don't create multiple `TTFA` tables in font.
15 Version 1.4.1 (2015-Oct-17)
16 ---------------------------
18 * A bug in handling control instruction files could cause severe glyph
19   shape distortions of accent-like glyphs.  All users should update.
22 Version 1.4 (2015-Oct-04)
23 -------------------------
25 * Support for Thai and Lao scripts.
27 * Support for the Arabic script.
29 * Better support for scripts that contain superscript-like and
30   subscript-like glyphs, e.g., the International Phonetic Alphabet (IPA).
32 * Accents and other `non-base' glyphs are now hinted without snapping to
33   blue zones.
35 * A new control instruction syntax form was added to adjust the mapping
36   between glyphs and styles.  Right now, its usage is quite limited; a
37   forthcoming version will give much more flexibility.
39 * The `touch` keyword in a control instructions file was buggy: If used for
40   a point\ `P` at a ppem value\ `s`, it sometimes led to unwanted movements
41   of\ `P` for ppem values unequal to\ `s`, thus causing outline distortions.
44 Version 1.3 (2015-Jan-06)
45 -------------------------
47 * Keywords in control instruction files can be more verbose to increase
48   readability.  You can now use `left`, `right`, `nodir`, `point`, `touch`,
49   `xshift`, and `yshift` for `l`, `r`, `n`, `p`, `t, `x`, and `y`,
50   respectively.
52 * A new control instruction keyword `touch` was added to apply delta
53   instructions before the final IUP bytecode commands, also `touching' the
54   affected points (to use the TrueType instructions terminology).  Such
55   deltas *do* work even with ClearType if applied to the non-ClearType
56   direction.
58 * Support for the Telugu script.
60 * The amount of information about ttfautohint and its parameters that gets
61   added to the `name` table by default has been reduced.  A new option
62   `--detailed-info` restores the previous behaviour.
64 * ttfautohintGUI crashed if not used with a control instruction file.
66 * ttfautohintGUI now correctly switches to a horizontal two-column layout if
67   the standard one-column layout would exceed the screen height.
69 * A new option `--family-suffix` makes it possible to append a suffix to a
70   font's family name in the `name` table.  This can be useful during the
71   development process: It helps the operating system to simultaneously
72   display several instances of a font that are processed with different
73   ttfautohint parameters.
75 * The new library option `info-post-callback` helps in processing data from
76   the `name` table.
79 Version 1.2 (2014-Oct-06)
80 -------------------------
82 * It is now possible to control the hinting process at a very low level
83   using a 'control instructions' file.  Right now, two modes are supported:
85     - Adding segments and changing segment directions.
87     - Applying delta exceptions.  Note that this doesn't really work in
88       ClearType.
90   Please see the documentation for a description and a small tutorial.
92   In the command-line front-end, use option `--control-file` to load such a
93   file.
95 * Support for input file watching in ttfautohintGUI: If the 'Watch Input
96   File' box is checked, the program automatically regenerates the output
97   file as soon as the input font or control instructions file gets modified.
99   The idea is to dock ttfautohintGUI to your favourite font and text editor
100   instead of adding a cheap text editor to ttfautohintGUI itself.
102 * With the new option `--fallback-stem-width` it is now possible to set a
103   default stem width for all scripts that lack proper standard characters in
104   the font.
106 * Add alias `--adjust-subglyphs` for option `--pre-hinting` to better
107   describe its functionality.  The short form `-p` stays unchanged.
109 * New option `--ttfa-table` to add an SFNT table `TTFA` to the output font,
110   containing an ASCII dump of all used ttfautohint parameters (including
111   control instructions).  Right now, this is mainly for archiving purposes.
112   Forthcoming versions of ttfautohint will be able to re-use this data if a
113   font gets re-processed.
115 * A harmless buglet was fixed that made the `glyf` table too large by one
116   byte under some circumstances.
118 * A bug fix taken from FreeType, correcting a crash for unusual outlines.
120 * Better handling of TTC files.
122 * New library options `error-callback` and `error-callback-data` for
123   improved diagnostics.  [No change in the front-ends except better error
124   messages.]
126 * Many other, minor fixes and improvements.
129 Version 1.1 (2014-May-05)
130 -------------------------
132 * Support for the Devanagari script.
134 * Bug fixes in the computation of strong stem widths.  GDI hinting now gives
135   much more consistent results.
137 * Better recognition of script coverage: ttfautohint now properly scans
138   composite glyphs to cover components also.
140 * Improved glyph shape analysis: Non-flat local extrema are now recognized
141   more reliably, and stem detection works better.
144 Version 1.00 (2014-Mar-20)
145 --------------------------
147 * Much less memory consumption while handling fonts with complicated glyphs.
149 * Option `-s` was partially broken.
152 Version 1.00rc1 (2014-Feb-07)
153 -----------------------------
155 * OpenType feature support.  ttfautohint now uses the HarfBuzz library to
156   analyze data from the `GSUB` table.  This allows the hinting of glyphs
157   that don't have an entry in a font's `cmap` table, for example
158   superscripts or small caps.
160   Related to this, the new option `--default-script` controls the default
161   (fallback) script used for OpenType features.
163 * More than a single standard character is used.  For example, the 'latin'
164   script uses characters 'o', 'O', and digit '0'.  This improves the hinting
165   of fonts (and features) that have only a partial coverage of a script's
166   character repertoire.
168 * Much better GDI ClearType hinting in the range 30-80ppem (approx.),
169   avoiding overly flat tops and bottoms of round glyphs.
171 * Better handling of non-square pixels (this is, horizontal and vertical
172   resolutions differ) in the created TrueType bytecode.
175 Version 0.97 (2013-Nov-09)
176 --------------------------
178 * Improved script support.  Besides Cyrillic and Greek, which are now
179   handled separately from Latin, ttfautohint can handle Hebrew.
181 * Option `-f` now takes a parameter to specify the fallback script.  The
182   corresponding long option name has been renamed from `--latin-fallback` to
183   `--fallback-script`.
185 * Work around a bug in display environments that use FreeType 2.5.0 and
186   earlier for rendering: Sometimes, the 'strong' stem width routine was used
187   for DW ClearType (this is, subpixel hinting in FreeType is enabled) even
188   if 'smooth' was selected while generating the font with ttfautohint.
191 Version 0.96 (2013-Aug-06)
192 --------------------------
194 * Option `--components` has been replaced with `--composites`: By default,
195   the components of a composite glyph are now hinted separately, since tests
196   has shown that this gives good results in most cases.  If this option is
197   set, however, the composite glyph itself gets hinted (and the hints of the
198   components are ignored).
200   An unfortunate side effect is that ttfautohint's option `-c` (which stays
201   as a shorthand for `--composites`) now does exactly the opposite as in
202   previous releases.
204 * Older versions of Monotype's 'iType' bytecode interpreter have a serious
205   bug: The DIV instruction rounds the result, while the correct operation is
206   truncation.  This caused 'exploding characters' with fonts hinted by
207   ttfautohint.  Since many printers contain this rasterizer without any
208   possibility to update to a non-buggy version, ttfautohint now contains
209   work-arounds to circumvent the problem.
211 * Better support for glyphs where some points have almost the same position
212   (for example glyph 'Oslash' in font 'Roboto-Thin').
214 * Better support for glyphs that use explicit 'on' points around round
215   extrema.
218 Version 0.95 (2013-Mar-07)
219 --------------------------
221 * New option `--dehint` to strip off all hints without generating new hints.
222   This option is intended for testing purposes.
224 * Minor fixes to the created bytecode for compatibility.
226 * Minor GUI improvements.
229 Version 0.94 (2012-Nov-29)
230 --------------------------
232 * New option `--windows-compatibility` that adds two artificial blue zones
233   at vertical positions given by 'usWinAscent' and 'usWinDescent'.  This
234   helps ttfautohint's hinting algorithm reduce the possibility of clipping
235   if those two values are very tight.
237 * Implement option `--x-height-snapping-exceptions`, making ttfautohint
238   avoid x-height snapping for selected PPEM values.  Useful in combination
239   with `--windows-compatibility`.
241 * Minor fixes to the created bytecode for compatibility and robustness.
244 Version 0.93 (2012-Oct-09)
245 --------------------------
247 * New option `--components` to treat components of composite glyphs
248   separately.  This greatly reduces the bytecode size.
250   I'm waiting for reports whether this option works for most fonts; in case
251   this is true I'm inverting the option, making it the default (and the old
252   behaviour optional).
254 * Full support of TTCs, this is, all subfonts get auto-hinted now.
256 * The upper limit of the `--increase-x-height` option has been removed.
258 * Drag-and-drop support in the GUI.
260 * The command-line version of ttfautohint now acts like a (Unix) filter,
261   this is, it accepts stdin and stdout as input and output, respectively.
263 * Less memory consumption.
266 Version 0.92 (2012-Aug-07)
267 --------------------------
269 * A serious bug in the created bytecode has been fixed, causing incorrect
270   rounding.
273 Version 0.91 (2012-Jul-12)
274 --------------------------
276 * A new, 'strong' routine to handle stem widths and positions has been
277   added, to be selected with the `--strong-stem-width` command line option.
278   If it is active, stem widths and positions are snapped to the grid as much
279   as possible.  This algorithm is useful for GDI ClearType support.
281 * A new command line option `--debug` (not available for ttfautohintGUI) to
282   print very detailed debugging information.
285 Version 0.9 (2012-Jun-06)
286 -------------------------
288 * The created bytecode has been reduced in size, making it approx. 20%
289   smaller.
291 * New option `--symbol` to use standard stem height and width values instead
292   of using character 'o' (which may be missing).  Use this option for symbol
293   fonts or math glyphs.
295 * More documentation (in text, HTML, and PDF format).  It's still
296   incomplete, though.
298 * Option `--ignore-permissions` has been renamed to `--ignore-restrictions`.
299   The short form is still `-i`.
301 * Defaults for various parameters have been set to more sensible values:
303     - hinting-range-max: 50 (was 1000)
304     - hinting-limit: 200 (was 1000)
306 * Option `--increase-x-height` now has a mandatory argument (in the range
307   6-20 or value\ 0 to disable it, default value is 14).
310 Version 0.8 (2012-Mar-21)
311 -------------------------
313 * Implement option `-x` to increase the x height of the font for small PPEM
314   values by rounding up far more often then rounding down.
316 * Add option '`-G n`' to switch off hinting completely above value\ `n`.
318 * ttfautohint now appends version information and the used parameters to the
319   'Version' field(s) in the 'name' table.  This can be suppressed with
320   option `-n`.
323 Version 0.7 (2012-Feb-05)
324 -------------------------
326 * A GUI has been added, using the Qt framework.  The binary is called
327   'ttfautohintGUI'.
330 Version 0.6.1 (2012-Jan-02)
331 ---------------------------
333 * The improved handling of composite glyphs in 0.6 was buggy under certain
334   circumstances, making ttfautohint crash and FontValidator complain.
336 * Dropout handling has been activated.
339 Version 0.6 (2011-Dec-25)
340 -------------------------
342 * Improved handling of composite glyphs.
344 * Implement option `-p` to pre-hint glyphs with original hints before
345   conversion takes place.
347 * Don't add a `DSIG` table if there is none in the input font.
349 * Human-readable error messages instead of hexadecimal error codes.
351 * Better tests (both at runtime and compile time) to reject too old FreeType
352   versions.
355 Version 0.5 (2011-Nov-06)
356 -------------------------
358 * Rendering on iOS is now expected to give good results.
360 * No bad rendering at very large PPEM values.
363 Version 0.4 (2011-Oct-27)
364 -------------------------
366 * The bytecode has been changed to 'create' twilight points.  This should
367   avoid rendering artifacts on some platforms.
370 Version 0.3 (2011-Sep-09)
371 -------------------------
373 * Fix font generation; sometimes the `glyf` table was one byte too short,
374   making the font invalid.
377 Version 0.2 (2011-Jul-19)
378 -------------------------
380 * Fix bytecode bugs that prevented correct rendering on some platforms.
383 Version 0.1 (2011-Jun-30)
384 -------------------------
386 * First release.