INSTALL.git, TODO: Mention problems with parallel builds.
[ttfautohint.git] / TODO
blobc747e5ecec9213cd7d44ce3ead94ce3eeb3775ab
2 important improvements
3 ----------------------
5 try to reduce size of hints
6   -> handling strong points separately
7   -> `compress' data
8   -> more subroutines to avoid flags
10 add features to the GUI
11   -> direct control over `actions'
12   -> preview similar to ftgrid
14 improve handling of GDI ClearType by snapping to the pixel grid (this is,
15   integer coordinates of horizontal segments)
17 handle OT features
18   -> use HarfBuzz?
20 control `gasp' table; Adam Twardoch suggest the following:
22   1. Calculate "gaspstem", i.e. the most common thickness of horizontal
23      stems (y direction distances) for lowercase Latin letters.
24   2. If gaspstem <= 0.03 * upm, apply gasp symmetric smoothing across the
25      entire range (rangeMaxPPEM 0xFFFF, value 15)
26   3. Else, calculate gaspthreshold as follows:
27        ceil(1.33 * upm / gaspstem) - 1
28   4. Apply no symmetric smoothing up to the gaspthreshold ppem (rangeMaxPPEM
29      gaspthreshold, value 7), and apply symmetric smoothing above.
31   In addition, ttfautohint should provide a commandline parameter that
32   allows the user to override the automatic logic.  If that parameter = 0,
33   then gasp value 15 should be applied across the entire range.  If the
34   parameter > 0, then up to that parameter value the gasp value 7 should be
35   applied, and gasp value 15 should be applied above.
37 control activation threshold of blue zone widths; handle fonts with large
38   serifs like `Palatino' or `Quattrocento' (cf. this bug report:
39   https://savannah.nongnu.org/bugs/?36091)
41 control the characters used for blue zones
42   -> non-latin scripts
44 user-defined blue zones?
45   -> old-style digits
47 control the width of blue zones
49 handle normal and bold fonts differently; cf. Infinality patches;
50   this should help avoid filling of bowls (like in `e') for bold shapes.
52 control the minimum stem width
54 try to `embolden' fonts at small sizes to avoid drop-outs; cf. Infinality
55   patches
57 implement `x-height-snapping-exceptions'
59 improve `pre-hinting' by making the used PPEM value configurable
61 allow hinting of single glyphs, using a config file which holds the global
62   settings
64 better handling of `incomplete' fonts (this is, fonts which lack the minimum
65   set of glyphs necessary to determine the blue zones)
68 minor improvements
69 ------------------
71 correctly set `lowestRecPPEM' field in `head'
73 control dropout mode
75 apply hinting in x direction also?
76   -> warper: shifting with and without scaling
77   -> `standard' autofit hinting
79 add a config and/or command file for batch handling
81 warn against overwrite of output file?
83 reduce output size of option -p:
84   1. compare outline rendered at EM value with unhinted outline
85   2. pre-hint only if 1. differs more than given threshold (default 0.5%?)
87 make it possible to hint fonts which aren't alphabetic at all, for example,
88   icons; to do so, provide means to skip the global feature analysis
91 later enhancements
92 ------------------
94 add CJK autohinting module
95 add Hebrew autohinting module
97 instead of emitting bytecode, write the hints as a VTT or FontLab script
99 Windows/Mac installer
102 various
103 -------
105 testing with Windows and Apple font checkers
107 man page for ttfautohint library
109 install library
111 add help2man script so that parallel builds always work