Anybody use Derelict FreeType recently (successfully)

WhatMeWorry via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 19 08:01:04 PDT 2015


On Friday, 18 September 2015 at 16:34:16 UTC, BBasile wrote:
> 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

Sorry, meant to get back but got busy.  Yes, works great!  Thanks!

Not sure why I had so much trouble finding a freetype.dll 
library. Had no problems with OpenAL and FreeImage.



More information about the Digitalmars-d-learn mailing list