Re: FreeType version number?
Rainer Deyke <[email protected]> Sun, 5 Feb 2017 14:23:08 +0100
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
On 28.01.2017 19:55, rtrussell wrote: > How would I get, at run time, the version number of the FreeType > library being used by SDL_TTF? The FT_Library_Version > (https://www.freetype.org/freetype2/docs/reference/ft2-version.html) > function needs the 'source library handle' but AFAIK that's not > exposed by SDL_TTF. Or is it? You might try calling FT_Init_FreeType to get your own FT_Library instance, use it to call, then call FT_Library_Version followed by FT_Done_FreeType. -- Rainer Deyke - [email protected]