Anybody use Derelict FreeType recently (successfully)
BBasile via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Sep 17 17:13:40 PDT 2015
On Thursday, 17 September 2015 at 22:22:22 UTC, WhatMeWorry wrote:
> [...]
> After hours of reading existing freetype/derelict documents,
> I'm stuck again.
> Any suggestions. Thanks.
Hello, this[1] compiled dll one works fine here on windows:
- inside this folder:
https://github.com/buggins/dlangui/tree/master/libs/windows/x86
- with DerelictFT head @ 66dd3dd516c4431b627e299c8b4b5074d6096b51
eg:
---
static this()
{
DerelictFT.load();
}
void main(string[] args)
{
FT_Library handle;
int v0,v1,v2;
FT_Init_FreeType(&handle);
FT_Library_Version(handle, &v0, &v1, &v2);
writeln(v0," ",v1," ",v2);
}
---
outputs: 2 5 5
so just clone or download the tarball to get the right dll :)
More information about the Digitalmars-d-learn
mailing list