[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Fwd: buiding ttfautohint with cmake?

From: Werner LEMBERG
Subject: Re: [ft-devel] Fwd: buiding ttfautohint with cmake?
Date: Wed, 13 Dec 2017 09:24:49 +0100 (CET)

> 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

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]