From af666858a1009ccde14c17e0ee1ea450b1d8bbca Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sun, 31 Dec 2017 23:24:24 +0100 Subject: [PATCH] Update to new release. --- .gnulib | 2 +- NEWS | 40 ++++++++++++++++++++++++++++++++++++++++ README | 2 +- TODO | 11 ----------- bootstrap | 10 +++++----- lib/Makefile.am | 6 ++++-- 6 files changed, 51 insertions(+), 20 deletions(-) diff --git a/.gnulib b/.gnulib index aae6a42..c3e76e2 160000 --- a/.gnulib +++ b/.gnulib @@ -1 +1 @@ -Subproject commit aae6a4227b4727f6c89394c9745eeeeeb37c3ad5 +Subproject commit c3e76e2b826b9c63d627c71ba12276d0e03f675b diff --git a/NEWS b/NEWS index 3e6a243..47a1204 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,43 @@ +Version 1.8 (2017-Dec-31) +------------------------- + + * A third, 'natural' stem width mode has been added: No adjustments to + stem widths, discrete blue zone positioning. This is what FreeType uses + for its 'light' (auto-)hinting mode. + + * A new option `-a` has been implemented to select the stem width mode for + the three rendering targets (grayscale, GDI ClearType, DW ClearType). + This supersedes option `-g`, which is now deprecated. + + * Stem widths for the hinting process can now be manually set using the + new `width` keyword in a control instructions file. This is especially + useful for extra-bold fonts, where the algorithmically derived values + are often too large, causing the filling of 'eyes' in 'e' or 'a' glyphs + at small sizes. + + * libttfautohint gets now installed as a DLL or static library (or both, + depending on the parameters of the `configure` script), together with + its header files. + + * Two functions have been added to the library: `TTF_autohint_version` and + `TTF_autohint_version_string`, which do the obvious. + + * Two options to `TTF_autohint` have been added: `alloc-func` and + `free-func`. These are necessary on some platforms if ttfautohint is + compiled as a shared library, and the application uses a different + runtime library. This can happen, for example, on the MS Windows + platform if your program is written in Python and communicates via the + 'ctypes' interface with the ttfautohint DLL. + + * `TTF_autohint` options + `{gray,gdi-cleartype,dw-cleartype}-strong-stem-width` are now superseded + by `{gray,gdi-cleartype,dw-cleartype}`-stem-width-mode` to handle the + new natural stem width mode also. + + * Bug fix: Later control instructions now correctly overwrite earlier + entries as documented. + + Version 1.7 (2017-Aug-26) ------------------------- diff --git a/README b/README index 3de4b03..0999df2 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -ttfautohint 1.7 +ttfautohint 1.8 --------------- by Werner Lemberg diff --git a/TODO b/TODO index 845e5a3..131e519 100644 --- a/TODO +++ b/TODO @@ -37,12 +37,6 @@ control the width of blue zones add control over character ranges that define a script; in particular, add support for the PUA -handle normal and bold fonts differently; cf. Infinality patches; - this should help avoid filling of bowls (like in `e') for bold shapes. - -help font families harmonize well so that e.g. x height and stem width - change synchronously - control the minimum stem width try to `embolden' fonts at small sizes to avoid drop-outs; cf. Infinality @@ -89,9 +83,6 @@ reduce output size of option -p: 2. adjust subglyphs only if result of item 1 differs more than given threshold (default 0.5%?) -make it possible to hint fonts that aren't alphabetic at all, for example, - icons; to do so, provide means to skip the global feature analysis - better control of -i output allow processing of multiple files by using globs as in the Midnight @@ -126,8 +117,6 @@ testing with Windows and Apple font checkers man page for ttfautohint library -install library - add help2man script so that parallel builds always work EOF diff --git a/bootstrap b/bootstrap index 932ff85..03057c3 100755 --- a/bootstrap +++ b/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh # Print a version string. -scriptversion=2017-01-09.19; # UTC +scriptversion=2017-09-19.08; # UTC # Bootstrap this package from checked-out sources. @@ -17,7 +17,7 @@ scriptversion=2017-01-09.19; # UTC # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# along with this program. If not, see . # Originally written by Paul Eggert. The canonical version of this # script is maintained as build-aux/bootstrap in gnulib, however, to @@ -141,7 +141,7 @@ po_download_command_format=\ # Fallback for downloading .po files (if rsync fails). po_download_command_format2=\ "wget --mirror -nd -q -np -A.po -P '%s' \ - http://translationproject.org/latest/%s/" + https://translationproject.org/latest/%s/" # Prefer a non-empty tarname (4th argument of AC_INIT if given), else # fall back to the package name (1st argument with munging) @@ -699,7 +699,7 @@ download_po_files() { echo "$me: getting translations into $subdir for $domain..." cmd=$(printf "$po_download_command_format" "$domain" "$subdir") eval "$cmd" && return - # Fallback to HTTP. + # Fallback to HTTPS. cmd=$(printf "$po_download_command_format2" "$subdir" "$domain") eval "$cmd" } @@ -792,7 +792,7 @@ symlink_to_dir() # aren't confused into doing unnecessary builds. Conversely, if the # existing symlink's timestamp is older than the source, make it afresh, # so that broken tools aren't confused into skipping needed builds. See - # . + # . test -h "$dst" && src_ls=$(ls -diL "$src" 2>/dev/null) && set $src_ls && src_i=$1 && dst_ls=$(ls -diL "$dst" 2>/dev/null) && set $dst_ls && dst_i=$1 && diff --git a/lib/Makefile.am b/lib/Makefile.am index 2099d3c..3855835 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -27,11 +27,13 @@ noinst_LTLIBRARIES = \ lib_LTLIBRARIES = libttfautohint.la include_HEADERS = \ - ttfautohint.h \ ttfautohint-errors.h \ ttfautohint-scripts.h \ ttfautohint-coverages.h +nodist_include_HEADERS = \ + ttfautohint.h + libttfautohint_la_LDFLAGS = \ -no-undefined \ -version-info $(ABI_CURRENT):$(ABI_REVISION):$(ABI_AGE) \ @@ -97,7 +99,7 @@ libttfautohint_la_SOURCES = \ ttfautohint.c libttfautohint_la_LIBADD = \ - ${noinst_LTLIBRARIES} \ + $(noinst_LTLIBRARIES) \ $(top_builddir)/gnulib/src/libgnu.la \ $(LIBM) \ $(FREETYPE_LIBS) \ -- 2.11.4.GIT