freetype-devel
[Top][All Lists]
Advanced

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

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


From: Martin Gieseking
Subject: Re: [ft-devel] Fwd: buiding ttfautohint with cmake?
Date: Wed, 13 Dec 2017 10:56:02 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

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.


Great! Thanks for adding the functions and for taking the time to make the build system behave correctly for the different make tasks.

However, there's a small issue at the moment. I currently can't build the library from the git repo due to the missing file lib/taversion.c.

Martin



reply via email to

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