Anybody use Derelict FreeType recently (successfully)

BBasile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 18 09:34:14 PDT 2015


On Friday, 18 September 2015 at 00:13:41 UTC, BBasile wrote:
> 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 :)

Is it OK now ?

https://www.youtube.com/watch?v=vDgo2xUk9h8


More information about the Digitalmars-d-learn mailing list