Use optipng to reduce PNG image sizes.
[ttfautohint.git] / NEWS
blobc00366a9af7dcef92c34517d72951fc93fd4830c
1 Version 1.6 (2016-XXX-XX)
2 -------------------------
4 * Support for Georgian, Kannada, Malayalam, Sinhala, and Tamil scripts.
6 * New option `--ttfa-info` to display a font's `TTFA` table (if present).
8 * Glyphs covered by the fallback script are now hinted by default.
9   Previously, they were scaled only.  The default fallback script `none` now
10   implies hinting without script-specific blue zones (but still aligning
11   stems to the grid if possible).
13 * The new option `--fallback-scaling` changes the behaviour of the fallback
14   script from hinting to scaling (as implemented in previous versions).
17 Version 1.5 (2016-Jan-24)
18 -------------------------
20 * Support for Khmer, Myanmar, and Bengali scripts.
22 * Improved Devanagari hinting.
24 * ttfautohintGUI can now be compiled with Qt5.
26 * Bug fix: Too many delta control instructions for a single glyph caused
27   a bytecode stack overflow, making the MS rasterizer ignore all hinting
28   instructions for this glyph.
30 * Bug fix: Don't create multiple `TTFA` tables in font.
32 * Bug fix: Under certain circumstances, glyph indices used in Indic features
33   were incorrectly assigned to the default script.
36 Version 1.4.1 (2015-Oct-17)
37 ---------------------------
39 * A bug in handling control instruction files could cause severe glyph
40   shape distortions of accent-like glyphs.  All users should update.
43 Version 1.4 (2015-Oct-04)
44 -------------------------
46 * Support for Thai and Lao scripts.
48 * Support for the Arabic script.
50 * Better support for scripts that contain superscript-like and
51   subscript-like glyphs, e.g., the International Phonetic Alphabet (IPA).
53 * Accents and other `non-base' glyphs are now hinted without snapping to
54   blue zones.
56 * A new control instruction syntax form was added to adjust the mapping
57   between glyphs and styles.  Right now, its usage is quite limited; a
58   forthcoming version will give much more flexibility.
60 * The `touch` keyword in a control instructions file was buggy: If used for
61   a point\ `P` at a ppem value\ `s`, it sometimes led to unwanted movements
62   of\ `P` for ppem values unequal to\ `s`, thus causing outline distortions.
65 Version 1.3 (2015-Jan-06)
66 -------------------------
68 * Keywords in control instruction files can be more verbose to increase
69   readability.  You can now use `left`, `right`, `nodir`, `point`, `touch`,
70   `xshift`, and `yshift` for `l`, `r`, `n`, `p`, `t, `x`, and `y`,
71   respectively.
73 * A new control instruction keyword `touch` was added to apply delta
74   instructions before the final IUP bytecode commands, also `touching' the
75   affected points (to use the TrueType instructions terminology).  Such
76   deltas *do* work even with ClearType if applied to the non-ClearType
77   direction.
79 * Support for the Telugu script.
81 * The amount of information about ttfautohint and its parameters that gets
82   added to the `name` table by default has been reduced.  A new option
83   `--detailed-info` restores the previous behaviour.
85 * ttfautohintGUI crashed if not used with a control instruction file.
87 * ttfautohintGUI now correctly switches to a horizontal two-column layout if
88   the standard one-column layout would exceed the screen height.
90 * A new option `--family-suffix` makes it possible to append a suffix to a
91   font's family name in the `name` table.  This can be useful during the
92   development process: It helps the operating system to simultaneously
93   display several instances of a font that are processed with different
94   ttfautohint parameters.
96 * The new library option `info-post-callback` helps in processing data from
97   the `name` table.
100 Version 1.2 (2014-Oct-06)
101 -------------------------
103 * It is now possible to control the hinting process at a very low level
104   using a 'control instructions' file.  Right now, two modes are supported:
106     - Adding segments and changing segment directions.
108     - Applying delta exceptions.  Note that this doesn't really work in
109       ClearType.
111   Please see the documentation for a description and a small tutorial.
113   In the command-line front-end, use option `--control-file` to load such a
114   file.
116 * Support for input file watching in ttfautohintGUI: If the 'Watch Input
117   File' box is checked, the program automatically regenerates the output
118   file as soon as the input font or control instructions file gets modified.
120   The idea is to dock ttfautohintGUI to your favourite font and text editor
121   instead of adding a cheap text editor to ttfautohintGUI itself.
123 * With the new option `--fallback-stem-width` it is now possible to set a
124   default stem width for all scripts that lack proper standard characters in
125   the font.
127 * Add alias `--adjust-subglyphs` for option `--pre-hinting` to better
128   describe its functionality.  The short form `-p` stays unchanged.
130 * New option `--ttfa-table` to add an SFNT table `TTFA` to the output font,
131   containing an ASCII dump of all used ttfautohint parameters (including
132   control instructions).  Right now, this is mainly for archiving purposes.
133   Forthcoming versions of ttfautohint will be able to re-use this data if a
134   font gets re-processed.
136 * A harmless buglet was fixed that made the `glyf` table too large by one
137   byte under some circumstances.
139 * A bug fix taken from FreeType, correcting a crash for unusual outlines.
141 * Better handling of TTC files.
143 * New library options `error-callback` and `error-callback-data` for
144   improved diagnostics.  [No change in the front-ends except better error
145   messages.]
147 * Many other, minor fixes and improvements.
150 Version 1.1 (2014-May-05)
151 -------------------------
153 * Support for the Devanagari script.
155 * Bug fixes in the computation of strong stem widths.  GDI hinting now gives
156   much more consistent results.
158 * Better recognition of script coverage: ttfautohint now properly scans
159   composite glyphs to cover components also.
161 * Improved glyph shape analysis: Non-flat local extrema are now recognized
162   more reliably, and stem detection works better.
165 Version 1.00 (2014-Mar-20)
166 --------------------------
168 * Much less memory consumption while handling fonts with complicated glyphs.
170 * Option `-s` was partially broken.
173 Version 1.00rc1 (2014-Feb-07)
174 -----------------------------
176 * OpenType feature support.  ttfautohint now uses the HarfBuzz library to
177   analyze data from the `GSUB` table.  This allows the hinting of glyphs
178   that don't have an entry in a font's `cmap` table, for example
179   superscripts or small caps.
181   Related to this, the new option `--default-script` controls the default
182   (fallback) script used for OpenType features.
184 * More than a single standard character is used.  For example, the 'latin'
185   script uses characters 'o', 'O', and digit '0'.  This improves the hinting
186   of fonts (and features) that have only a partial coverage of a script's
187   character repertoire.
189 * Much better GDI ClearType hinting in the range 30-80ppem (approx.),
190   avoiding overly flat tops and bottoms of round glyphs.
192 * Better handling of non-square pixels (this is, horizontal and vertical
193   resolutions differ) in the created TrueType bytecode.
196 Version 0.97 (2013-Nov-09)
197 --------------------------
199 * Improved script support.  Besides Cyrillic and Greek, which are now
200   handled separately from Latin, ttfautohint can handle Hebrew.
202 * Option `-f` now takes a parameter to specify the fallback script.  The
203   corresponding long option name has been renamed from `--latin-fallback` to
204   `--fallback-script`.
206 * Work around a bug in display environments that use FreeType 2.5.0 and
207   earlier for rendering: Sometimes, the 'strong' stem width routine was used
208   for DW ClearType (this is, subpixel hinting in FreeType is enabled) even
209   if 'smooth' was selected while generating the font with ttfautohint.
212 Version 0.96 (2013-Aug-06)
213 --------------------------
215 * Option `--components` has been replaced with `--composites`: By default,
216   the components of a composite glyph are now hinted separately, since tests
217   has shown that this gives good results in most cases.  If this option is
218   set, however, the composite glyph itself gets hinted (and the hints of the
219   components are ignored).
221   An unfortunate side effect is that ttfautohint's option `-c` (which stays
222   as a shorthand for `--composites`) now does exactly the opposite as in
223   previous releases.
225 * Older versions of Monotype's 'iType' bytecode interpreter have a serious
226   bug: The DIV instruction rounds the result, while the correct operation is
227   truncation.  This caused 'exploding characters' with fonts hinted by
228   ttfautohint.  Since many printers contain this rasterizer without any
229   possibility to update to a non-buggy version, ttfautohint now contains
230   work-arounds to circumvent the problem.
232 * Better support for glyphs where some points have almost the same position
233   (for example glyph 'Oslash' in font 'Roboto-Thin').
235 * Better support for glyphs that use explicit 'on' points around round
236   extrema.
239 Version 0.95 (2013-Mar-07)
240 --------------------------
242 * New option `--dehint` to strip off all hints without generating new hints.
243   This option is intended for testing purposes.
245 * Minor fixes to the created bytecode for compatibility.
247 * Minor GUI improvements.
250 Version 0.94 (2012-Nov-29)
251 --------------------------
253 * New option `--windows-compatibility` that adds two artificial blue zones
254   at vertical positions given by 'usWinAscent' and 'usWinDescent'.  This
255   helps ttfautohint's hinting algorithm reduce the possibility of clipping
256   if those two values are very tight.
258 * Implement option `--x-height-snapping-exceptions`, making ttfautohint
259   avoid x-height snapping for selected PPEM values.  Useful in combination
260   with `--windows-compatibility`.
262 * Minor fixes to the created bytecode for compatibility and robustness.
265 Version 0.93 (2012-Oct-09)
266 --------------------------
268 * New option `--components` to treat components of composite glyphs
269   separately.  This greatly reduces the bytecode size.
271   I'm waiting for reports whether this option works for most fonts; in case
272   this is true I'm inverting the option, making it the default (and the old
273   behaviour optional).
275 * Full support of TTCs, this is, all subfonts get auto-hinted now.
277 * The upper limit of the `--increase-x-height` option has been removed.
279 * Drag-and-drop support in the GUI.
281 * The command-line version of ttfautohint now acts like a (Unix) filter,
282   this is, it accepts stdin and stdout as input and output, respectively.
284 * Less memory consumption.
287 Version 0.92 (2012-Aug-07)
288 --------------------------
290 * A serious bug in the created bytecode has been fixed, causing incorrect
291   rounding.
294 Version 0.91 (2012-Jul-12)
295 --------------------------
297 * A new, 'strong' routine to handle stem widths and positions has been
298   added, to be selected with the `--strong-stem-width` command line option.
299   If it is active, stem widths and positions are snapped to the grid as much
300   as possible.  This algorithm is useful for GDI ClearType support.
302 * A new command line option `--debug` (not available for ttfautohintGUI) to
303   print very detailed debugging information.
306 Version 0.9 (2012-Jun-06)
307 -------------------------
309 * The created bytecode has been reduced in size, making it approx. 20%
310   smaller.
312 * New option `--symbol` to use standard stem height and width values instead
313   of using character 'o' (which may be missing).  Use this option for symbol
314   fonts or math glyphs.
316 * More documentation (in text, HTML, and PDF format).  It's still
317   incomplete, though.
319 * Option `--ignore-permissions` has been renamed to `--ignore-restrictions`.
320   The short form is still `-i`.
322 * Defaults for various parameters have been set to more sensible values:
324     - hinting-range-max: 50 (was 1000)
325     - hinting-limit: 200 (was 1000)
327 * Option `--increase-x-height` now has a mandatory argument (in the range
328   6-20 or value\ 0 to disable it, default value is 14).
331 Version 0.8 (2012-Mar-21)
332 -------------------------
334 * Implement option `-x` to increase the x height of the font for small PPEM
335   values by rounding up far more often then rounding down.
337 * Add option '`-G n`' to switch off hinting completely above value\ `n`.
339 * ttfautohint now appends version information and the used parameters to the
340   'Version' field(s) in the 'name' table.  This can be suppressed with
341   option `-n`.
344 Version 0.7 (2012-Feb-05)
345 -------------------------
347 * A GUI has been added, using the Qt framework.  The binary is called
348   'ttfautohintGUI'.
351 Version 0.6.1 (2012-Jan-02)
352 ---------------------------
354 * The improved handling of composite glyphs in 0.6 was buggy under certain
355   circumstances, making ttfautohint crash and FontValidator complain.
357 * Dropout handling has been activated.
360 Version 0.6 (2011-Dec-25)
361 -------------------------
363 * Improved handling of composite glyphs.
365 * Implement option `-p` to pre-hint glyphs with original hints before
366   conversion takes place.
368 * Don't add a `DSIG` table if there is none in the input font.
370 * Human-readable error messages instead of hexadecimal error codes.
372 * Better tests (both at runtime and compile time) to reject too old FreeType
373   versions.
376 Version 0.5 (2011-Nov-06)
377 -------------------------
379 * Rendering on iOS is now expected to give good results.
381 * No bad rendering at very large PPEM values.
384 Version 0.4 (2011-Oct-27)
385 -------------------------
387 * The bytecode has been changed to 'create' twilight points.  This should
388   avoid rendering artifacts on some platforms.
391 Version 0.3 (2011-Sep-09)
392 -------------------------
394 * Fix font generation; sometimes the `glyf` table was one byte too short,
395   making the font invalid.
398 Version 0.2 (2011-Jul-19)
399 -------------------------
401 * Fix bytecode bugs that prevented correct rendering on some platforms.
404 Version 0.1 (2011-Jun-30)
405 -------------------------
407 * First release.