Could you also add a function to the library that returns the
current ttfautohint version, e.g. "1.7"? Maybe something simple
like this:
TA_LIB_EXPORT const char*
TTF_autohint_version()
{
return VERSION;
}
Now implemented in git, please test!
I've added two functions: `TTF_autohint_version' and
`TTF_autohint_version_string', together with version macros
TTFAUTOHINT_{MAJOR,MINOR,REVISION,VERSION}.
Note that this was a surprisingly tricky issue to solve. For example,
`ttfautohint.h' is now a generated file, but not at configuration time
but at compile time so that the Makefile rules to build the
documentation (which depends on `ttfautohint.h') don't get triggered
if configuring and compiling from a distribution tarball.