ttfautohint.git
17 months agoFix OTS warning about `maxp.maxSizeOfInstructions`.master
Khaled Hosny [Thu, 24 Nov 2022 16:15:48 +0000 (24 18:15 +0200)]
Fix OTS warning about `maxp.maxSizeOfInstructions`.

For some fonts, OTS gives the following warning:

```
WARNING: glyf: Bytecode length is bigger than maxp.maxSizeOfInstructions 17696: 17700
```

In the 'glyf' table, the glyph's `instructionLength` value is set to
`ins_extra_len + ins_len`, but when updating `sfnt->max_instructions`, only
`ins_len` is considered.

Fix this by taking `ins_extra_len` into account when updating
`max_instructions`.

17 months agoUpdate links.
Werner Lemberg [Tue, 8 Nov 2022 06:48:48 +0000 (8 07:48 +0100)]
Update links.

18 months agoReplace '1/64th' with '1/64' in comments.
Werner Lemberg [Mon, 24 Oct 2022 08:17:24 +0000 (24 10:17 +0200)]
Replace '1/64th' with '1/64' in comments.

18 months agoUpdate documentation.
Werner Lemberg [Sat, 22 Oct 2022 18:32:48 +0000 (22 20:32 +0200)]
Update documentation.

18 months ago[ttfautohint] Make option `-R` work on Windows.
Werner Lemberg [Sat, 22 Oct 2022 18:23:34 +0000 (22 20:23 +0200)]
[ttfautohint] Make option `-R` work on Windows.

Open the reference font in binary mode.

Reported first in

  https://github.com/be5invis/Iosevka/issues/1422#issuecomment-1251841475

and a fix mentioned in

  https://github.com/be5invis/Iosevka/issues/1422#issuecomment-1287863699

18 months ago[doc] Update `ucharclasses.sty`.
Werner Lemberg [Sat, 22 Oct 2022 17:53:34 +0000 (22 19:53 +0200)]
[doc] Update `ucharclasses.sty`.

From upstream.

2 years agoRename `aux` directory to `mxe`.
Werner Lemberg [Sat, 29 Jan 2022 05:29:54 +0000 (29 06:29 +0100)]
Rename `aux` directory to `mxe`.

'aux' is still a reserved name on Windows, making a git checkout fail on
this platform.

Reported by Cosimo Lupo <cosimo@google.com>.

2 years agodoc/local.mk: Add some dependencies.
Werner Lemberg [Thu, 13 Jan 2022 11:35:18 +0000 (13 12:35 +0100)]
doc/local.mk: Add some dependencies.

2 years agotaranges.sed: Add two scripts to fix documentation.
Werner Lemberg [Thu, 13 Jan 2022 11:28:55 +0000 (13 12:28 +0100)]
taranges.sed: Add two scripts to fix documentation.

2 years ago[doc] Use recent `longtable.sty` file.
Werner Lemberg [Thu, 13 Jan 2022 11:04:58 +0000 (13 12:04 +0100)]
[doc] Use recent `longtable.sty` file.

The patched version is no longer necessary since the problematic bug was
fixed upstream.

2 years agognulib: Non-recursive builds are now natively supported.
Werner Lemberg [Thu, 13 Jan 2022 09:58:20 +0000 (13 10:58 +0100)]
gnulib: Non-recursive builds are now natively supported.

With this upstream update we no longer have to hack the sources.

2 years agoUpdate copyright year.
Werner Lemberg [Thu, 13 Jan 2022 09:47:40 +0000 (13 10:47 +0100)]
Update copyright year.

2 years agono-copyright: Updated.
Werner Lemberg [Thu, 13 Jan 2022 09:44:49 +0000 (13 10:44 +0100)]
no-copyright: Updated.

2 years agoUpdate to new release.v1.8.4
Werner Lemberg [Sat, 14 Aug 2021 09:08:17 +0000 (14 11:08 +0200)]
Update to new release.

2 years ago[doc] Install documentation one level higher.
Werner Lemberg [Thu, 12 Aug 2021 06:43:52 +0000 (12 08:43 +0200)]
[doc] Install documentation one level higher.

Instead of

  <prefix>/share/doc/ttfautohint/doc/...

We now have

  <prefix>/share/doc/ttfautohint/...

2 years agoMinor.
Werner Lemberg [Sun, 8 Aug 2021 06:46:48 +0000 (8 08:46 +0200)]
Minor.

2 years agodoc/local.mk (ttfautohint-2.pandoc): Fix dependency.
Werner Lemberg [Sat, 7 Aug 2021 17:39:14 +0000 (7 19:39 +0200)]
doc/local.mk (ttfautohint-2.pandoc): Fix dependency.

2 years agoconfigure.ac [TA_DOC] Don't alter `with_doc`.
Werner Lemberg [Sat, 7 Aug 2021 17:19:14 +0000 (7 19:19 +0200)]
configure.ac [TA_DOC] Don't alter `with_doc`.

If building from a tarball, all documentation files are present.  Not having
the tools necessary to build the documentation only causes errors if the
documentation files are missing; there is thus no reason to prevent
installation of the documentation for this case.

2 years agofrontend/local.mk (ttfautohint.1, ttfautohintGUI.1): Fix dependencies.
Werner Lemberg [Sat, 7 Aug 2021 17:12:30 +0000 (7 19:12 +0200)]
frontend/local.mk (ttfautohint.1, ttfautohintGUI.1): Fix dependencies.

The man pages are already part of the tarball; no need to regenerate them
for a normal build.

2 years agodoc/local.mk (ttfautohintGUI.png): Fix dependencies.
Werner Lemberg [Sat, 7 Aug 2021 16:11:21 +0000 (7 18:11 +0200)]
doc/local.mk (ttfautohintGUI.png): Fix dependencies.

The PNG file is already part of the tarball; no need to regenerate it for a
normal build.

2 years agodoc/local.mk (EXTRA_DIST): Add missing files.
Werner Lemberg [Sat, 7 Aug 2021 10:55:26 +0000 (7 12:55 +0200)]
doc/local.mk (EXTRA_DIST): Add missing files.

2 years agodoc/ttfautohint-css.html: Some fixes and improvements.
Werner Lemberg [Sat, 7 Aug 2021 08:42:24 +0000 (7 10:42 +0200)]
doc/ttfautohint-css.html: Some fixes and improvements.

* Fix figure spacing and captions.
* Restore custom footnote mark appearance.
* In code snippets, make preprocessor statements blue.
* Fix line height for titles that need more than a single line.

2 years ago[doc] Fix display of HTML images.
Werner Lemberg [Sat, 7 Aug 2021 08:22:50 +0000 (7 10:22 +0200)]
[doc] Fix display of HTML images.

For HTML (and contrary to PDF) output, pandoc needs the correct relative
path to images.

2 years agoNEWS: Fix quote characters.
Werner Lemberg [Sat, 7 Aug 2021 08:20:52 +0000 (7 10:20 +0200)]
NEWS: Fix quote characters.

2 years agoCOPYING: Updated.
Werner Lemberg [Sat, 7 Aug 2021 08:07:46 +0000 (7 10:07 +0200)]
COPYING: Updated.

2 years agoUpdate jquery.
Werner Lemberg [Sat, 7 Aug 2021 08:00:40 +0000 (7 10:00 +0200)]
Update jquery.

2 years agoCOPYING: Updated.
Werner Lemberg [Sat, 7 Aug 2021 05:55:36 +0000 (7 07:55 +0200)]
COPYING: Updated.

2 years agoUpdate gnulib.
Werner Lemberg [Sat, 7 Aug 2021 05:44:15 +0000 (7 07:44 +0200)]
Update gnulib.

2 years agoconfigure.ac: Fix Harfbuzz compilation; remove `--with-freetype-config`.
Werner Lemberg [Mon, 5 Jul 2021 13:22:54 +0000 (5 15:22 +0200)]
configure.ac: Fix Harfbuzz compilation; remove `--with-freetype-config`.

Use `pkg-config` exclusively.

2 years agoUpdate mxe compilation instructions.
Werner Lemberg [Mon, 5 Jul 2021 12:44:44 +0000 (5 14:44 +0200)]
Update mxe compilation instructions.

2 years agoUpdate `.gitignore` files.
Werner Lemberg [Mon, 5 Jul 2021 06:08:57 +0000 (5 08:08 +0200)]
Update `.gitignore` files.

2 years agoUpdate gnulib.
Werner Lemberg [Mon, 5 Jul 2021 06:05:50 +0000 (5 08:05 +0200)]
Update gnulib.

2 years agoMinor doc stuff.
Werner Lemberg [Thu, 24 Jun 2021 07:09:37 +0000 (24 09:09 +0200)]
Minor doc stuff.

2 years agofrontend/local.mk: Suppress Qt compatibility warning.
Werner Lemberg [Thu, 24 Jun 2021 06:21:56 +0000 (24 08:21 +0200)]
frontend/local.mk: Suppress Qt compatibility warning.

2 years agoMakefile.am (dist): Include patch file for `prefix-gnulib-mk`.
Werner Lemberg [Wed, 23 Jun 2021 21:08:07 +0000 (23 23:08 +0200)]
Makefile.am (dist): Include patch file for `prefix-gnulib-mk`.

2 years agoHandle 'doc' as a non-recursive build.
Werner Lemberg [Wed, 23 Jun 2021 15:07:33 +0000 (23 17:07 +0200)]
Handle 'doc' as a non-recursive build.

This completes the conversion to a non-recursive build.

2 years agoHandle 'frontend' as a non-recursive build.
Werner Lemberg [Wed, 23 Jun 2021 13:48:13 +0000 (23 15:48 +0200)]
Handle 'frontend' as a non-recursive build.

2 years agoHandle 'lib' as a non-recursive build.
Werner Lemberg [Wed, 23 Jun 2021 12:54:20 +0000 (23 14:54 +0200)]
Handle 'lib' as a non-recursive build.

2 years agoHandle gnulib as a non-recursive build.
Werner Lemberg [Tue, 22 Jun 2021 12:46:28 +0000 (22 14:46 +0200)]
Handle gnulib as a non-recursive build.

2 years agoMinor fix for `make distclean`.
Werner Lemberg [Mon, 21 Jun 2021 15:55:05 +0000 (21 17:55 +0200)]
Minor fix for `make distclean`.

2 years agodoc/make-snapshot.sh: Minor fix to remove warning.
Werner Lemberg [Mon, 21 Jun 2021 15:27:34 +0000 (21 17:27 +0200)]
doc/make-snapshot.sh: Minor fix to remove warning.

2 years agofrontend/Makefile.am (AM_CPPFLAGS): Fix build in separate directory.
Werner Lemberg [Mon, 21 Jun 2021 14:12:53 +0000 (21 16:12 +0200)]
frontend/Makefile.am (AM_CPPFLAGS): Fix build in separate directory.

2 years agodoc: Use pandoc's `--resource-path` option.
Werner Lemberg [Mon, 21 Jun 2021 13:55:39 +0000 (21 15:55 +0200)]
doc: Use pandoc's `--resource-path` option.

2 years agoSynchronize with FreeType.
Werner Lemberg [Mon, 21 Jun 2021 12:59:39 +0000 (21 14:59 +0200)]
Synchronize with FreeType.

This corresponds to the commits

  f1f9705f [afshaper] Fix hb_ot_tags_from_script deprecation warning.
  232243e7 Prevent hinting if there are too many segments.

2 years agoUpdate gnulib.
Werner Lemberg [Mon, 21 Jun 2021 10:13:36 +0000 (21 12:13 +0200)]
Update gnulib.

2 years agobootstrap: Update from gnulib.
Werner Lemberg [Mon, 21 Jun 2021 10:12:04 +0000 (21 12:12 +0200)]
bootstrap: Update from gnulib.

2 years agoFix compilation with recent gnulib versions compiled with older gcc/g++.
Werner Lemberg [Sat, 22 May 2021 17:59:38 +0000 (22 19:59 +0200)]
Fix compilation with recent gnulib versions compiled with older gcc/g++.

This commit ensures that `config.h` always comes first in generated Qt
files.

2 years agoUpdate gnulib.
Werner Lemberg [Sat, 22 May 2021 09:49:46 +0000 (22 11:49 +0200)]
Update gnulib.

3 years agoconfigure.ac: Improve messages.
Werner Lemberg [Thu, 18 Feb 2021 08:46:50 +0000 (18 09:46 +0100)]
configure.ac: Improve messages.

3 years agoconfigure.ac: Fix test for `LATEX'.
Werner Lemberg [Thu, 18 Feb 2021 08:27:38 +0000 (18 09:27 +0100)]
configure.ac: Fix test for `LATEX'.

Bug introduced with commit 074946b7 almost eight years ago.

3 years agoconfigure.ac: Update and simplify Noto font repository detection.
Werner Lemberg [Thu, 18 Feb 2021 08:18:00 +0000 (18 09:18 +0100)]
configure.ac: Update and simplify Noto font repository detection.

Also change test to use a font added recently to the Noto font repository.

3 years agom4/pkg.m4: Update to latest version.
Werner Lemberg [Thu, 18 Feb 2021 07:46:48 +0000 (18 08:46 +0100)]
m4/pkg.m4: Update to latest version.

3 years agobootstrap: Update from gnulib.
Werner Lemberg [Thu, 18 Feb 2021 07:41:20 +0000 (18 08:41 +0100)]
bootstrap: Update from gnulib.

3 years agodoc/img/segment-edge.svg: Use 'Linux Libertine O' font.
Werner Lemberg [Thu, 18 Feb 2021 07:22:33 +0000 (18 08:22 +0100)]
doc/img/segment-edge.svg: Use 'Linux Libertine O' font.

3 years agoUpdate gnulib.
Werner Lemberg [Thu, 18 Feb 2021 06:45:50 +0000 (18 07:45 +0100)]
Update gnulib.

3 years agoconfigure.ac: Updates for autoconf 2.71.
Werner Lemberg [Thu, 18 Feb 2021 06:41:51 +0000 (18 07:41 +0100)]
configure.ac: Updates for autoconf 2.71.

3 years agoMore copyright year updates.
Werner Lemberg [Tue, 16 Feb 2021 22:12:55 +0000 (16 23:12 +0100)]
More copyright year updates.

3 years agoUpdate copyright year.
Werner Lemberg [Tue, 16 Feb 2021 22:10:04 +0000 (16 23:10 +0100)]
Update copyright year.

3 years ago[doc] Activate display of Yezidi.
Werner Lemberg [Tue, 16 Feb 2021 22:03:52 +0000 (16 23:03 +0100)]
[doc] Activate display of Yezidi.

Note that there doesn't yet exist a Noto sans-serif font for this script,
and the serif version was added to the 'noto-fonts' git repository on
2020-Oct-27, which is fairly recent.  However, using a serif font is still
better than no font.

3 years ago[doc] Update `ucharclasses.sty`.
Werner Lemberg [Tue, 16 Feb 2021 22:00:31 +0000 (16 23:00 +0100)]
[doc] Update `ucharclasses.sty`.

This is a not-yet-released version to support Yezidi.

3 years agoUpdate documentation.
Werner Lemberg [Mon, 19 Oct 2020 05:55:39 +0000 (19 07:55 +0200)]
Update documentation.

3 years agoAdd Yezidi script.
Tom Archer [Wed, 14 Oct 2020 11:30:44 +0000 (14 12:30 +0100)]
Add Yezidi script.

3 years ago[doc] Noto fonts for Medefaidrin are now available.
Werner Lemberg [Sat, 17 Oct 2020 12:35:20 +0000 (17 14:35 +0200)]
[doc] Noto fonts for Medefaidrin are now available.

3 years agoINSTALL.git: Update SVN checkout instructions for Noto fonts.
Werner Lemberg [Sat, 17 Oct 2020 12:34:49 +0000 (17 14:34 +0200)]
INSTALL.git: Update SVN checkout instructions for Noto fonts.

3 years agoTypo, formatting.
Werner Lemberg [Fri, 25 Sep 2020 10:02:47 +0000 (25 12:02 +0200)]
Typo, formatting.

3 years agoUpdate documentation.
Werner Lemberg [Fri, 25 Sep 2020 09:50:16 +0000 (25 11:50 +0200)]
Update documentation.

3 years agoAdd Medefaidrin script.
Nikolaus Waxweiler [Wed, 9 Sep 2020 15:34:36 +0000 (9 16:34 +0100)]
Add Medefaidrin script.

3 years ago[doc] Activate display of Nyiakeng Puachue Hmong.
Werner Lemberg [Wed, 15 Jul 2020 06:59:14 +0000 (15 08:59 +0200)]
[doc] Activate display of Nyiakeng Puachue Hmong.

We need a not-yet-released version of `fontspec.sty`.  Note also that there
doesn't yet exist a Noto sans-serif font for this script, and the serif
version was added to the 'noto-fonts' git repository on 2020-Jun-23, which
is fairly recent.  However, using a serif font is still better than no font.

3 years agoRemove 'fall through' compiler warnings.
Werner Lemberg [Tue, 16 Jun 2020 20:16:20 +0000 (16 22:16 +0200)]
Remove 'fall through' compiler warnings.

3 years agoUpdate documentation.
Werner Lemberg [Tue, 16 Jun 2020 20:01:47 +0000 (16 22:01 +0200)]
Update documentation.

We also need a newer version of HarfBuzz.

3 years agoAdd Nyiakeng Puachue Hmong support.
Nikolaus Waxweiler [Wed, 27 May 2020 15:41:40 +0000 (27 16:41 +0100)]
Add Nyiakeng Puachue Hmong support.

4 years agoINSTALL.git: Mention pandoc 2.8.
Werner Lemberg [Wed, 19 Feb 2020 22:33:30 +0000 (19 23:33 +0100)]
INSTALL.git: Mention pandoc 2.8.

Version 2.6 is not compatible with current TeXLive.

4 years agoUpdate documentation.
Werner Lemberg [Wed, 19 Feb 2020 22:05:00 +0000 (19 23:05 +0100)]
Update documentation.

4 years agoImplement Hanifi Rohingya support
Nikolaus Waxweiler [Wed, 19 Feb 2020 12:17:12 +0000 (19 12:17 +0000)]
Implement Hanifi Rohingya support

4 years agoRequire HarfBuzz 1.8 or newer.
Werner Lemberg [Wed, 19 Feb 2020 19:07:49 +0000 (19 20:07 +0100)]
Require HarfBuzz 1.8 or newer.

We are going to add Hanifi Rohingya support, which is part of Unicode 11.0.

4 years agoMore copyright year updates.
Werner Lemberg [Sun, 19 Jan 2020 16:10:25 +0000 (19 17:10 +0100)]
More copyright year updates.

4 years agoUpdate copyright year.
Werner Lemberg [Sun, 19 Jan 2020 16:09:20 +0000 (19 17:09 +0100)]
Update copyright year.

4 years agoTODO: Add suggestion for manual blue zone adjustments.
Werner Lemberg [Wed, 25 Sep 2019 05:52:56 +0000 (25 07:52 +0200)]
TODO: Add suggestion for manual blue zone adjustments.

4 years agoMake `-f none -S' actually work.
Werner Lemberg [Wed, 4 Sep 2019 20:19:20 +0000 (4 22:19 +0200)]
Make `-f none -S' actually work.

4 years agoMinor.
Werner Lemberg [Wed, 4 Sep 2019 04:36:32 +0000 (4 06:36 +0200)]
Minor.

4 years agoThe directory organization in the `noto-fonts' repository changed.
Werner Lemberg [Sun, 25 Aug 2019 20:15:05 +0000 (25 22:15 +0200)]
The directory organization in the `noto-fonts' repository changed.

4 years ago[doc] Update to display all glyphs in PDF.
Werner Lemberg [Tue, 20 Aug 2019 11:02:13 +0000 (20 13:02 +0200)]
[doc] Update to display all glyphs in PDF.

We add a patched `ucharclass.sty' (again) until it becomes part of TeXLive;
also update `template.tex' accordingly.

Use alpha fonts from `noto-fonts' repository.

4 years ago[doc] Update to pandoc 2.6.
Werner Lemberg [Tue, 20 Aug 2019 10:48:22 +0000 (20 12:48 +0200)]
[doc] Update to pandoc 2.6.

4 years agoAdd file `VERSION.TXT' to tarball instead of `VERSION'.
Werner Lemberg [Mon, 8 Jul 2019 16:23:10 +0000 (8 18:23 +0200)]
Add file `VERSION.TXT' to tarball instead of `VERSION'.

The forthcoming C++20 standard (already partially implemented in recent
clang versions) will contain a header file `version'.  On case-insensitive
systems like (some versions of) MacOS this might lead to compilation errors.

4 years agoUpdate `autotroll.m4' from upstream.
Werner Lemberg [Sat, 22 Jun 2019 21:42:36 +0000 (22 23:42 +0200)]
Update `autotroll.m4' from upstream.

5 years agoUse https protocol.
Werner Lemberg [Sun, 14 Apr 2019 08:36:25 +0000 (14 10:36 +0200)]
Use https protocol.

5 years agoMinor.
Werner Lemberg [Sun, 14 Apr 2019 07:38:47 +0000 (14 09:38 +0200)]
Minor.

5 years agoUpdate to new release.v1.8.3
Werner Lemberg [Tue, 9 Apr 2019 19:37:11 +0000 (9 21:37 +0200)]
Update to new release.

5 years agoAddendum to last commit.
Werner Lemberg [Tue, 9 Apr 2019 12:34:57 +0000 (9 14:34 +0200)]
Addendum to last commit.

5 years agoRemove `ucharclasses.sty'.
Werner Lemberg [Tue, 9 Apr 2019 12:27:14 +0000 (9 14:27 +0200)]
Remove `ucharclasses.sty'.

The version we need is part of TeXLive.

5 years agoSome fixes found by cppcheck.
Werner Lemberg [Tue, 9 Apr 2019 08:59:32 +0000 (9 10:59 +0200)]
Some fixes found by cppcheck.

5 years agoUpdate gnulib.
Werner Lemberg [Tue, 9 Apr 2019 08:30:57 +0000 (9 10:30 +0200)]
Update gnulib.

5 years agoSynchronize with FreeType.
Werner Lemberg [Wed, 20 Mar 2019 06:04:51 +0000 (20 07:04 +0100)]
Synchronize with FreeType.

This corresponds to commit df266d3e6b657c6220ae1a13b516f03d1a307d21.
`[autofit] Fix Mongolian blue zone characters.'.

5 years agoAdd Mongolian to documentation.
Werner Lemberg [Tue, 19 Mar 2019 10:54:25 +0000 (19 11:54 +0100)]
Add Mongolian to documentation.

TeXLive 2018 contains a fitting `fontspec.sty'; we thus no longer need
`fontspec-xetex.sty'.

5 years agoSynchronize with FreeType.
Werner Lemberg [Tue, 19 Mar 2019 10:04:04 +0000 (19 11:04 +0100)]
Synchronize with FreeType.

This corresponds to commit dde03eec37579ef86ca6a9e04bf290bc85f785ad,
`[autofit] Add support for Mongolian script.'.

5 years agoMore copyright year updates.
Werner Lemberg [Fri, 25 Jan 2019 11:13:45 +0000 (25 12:13 +0100)]
More copyright year updates.

5 years agoUpdate copyright year.
Werner Lemberg [Fri, 25 Jan 2019 11:09:44 +0000 (25 12:09 +0100)]
Update copyright year.

5 years agoFix links (mostly http -> https).
Werner Lemberg [Tue, 25 Dec 2018 20:42:31 +0000 (25 21:42 +0100)]
Fix links (mostly http -> https).

5 years agotafpgm.c: Fix stem width offset handling in storage area.
Werner Lemberg [Sat, 6 Oct 2018 07:04:35 +0000 (6 09:04 +0200)]
tafpgm.c: Fix stem width offset handling in storage area.

Problem reported by Hin-Tak Leung <htl10@users.sourceforge.net>.

5 years agoSynchronize with FreeType.
Werner Lemberg [Fri, 31 Aug 2018 05:16:58 +0000 (31 07:16 +0200)]
Synchronize with FreeType.

This corresponds to commits

  0d4ca138  * src/autofit/afhints.c (af_glyph_hints_reload): Add initialization.
  c0ccf750  [autofit] Trace `before' and `after' edges of strong points.