Unresolved Symbols in a nanovg Library

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Oct 26 19:07:09 PDT 2016


On Thursday, 27 October 2016 at 01:48:54 UTC, Jason C. Wells 
wrote:
> arsd has ttf.d and stb_truetype.d. Comments in stb_truetype.d 
> say use ttf.d instead.

My ttf.d is just version 1.2 of stb_truetype.d basically... the 
two files are very similar and should be generally compatible.

ketmar's ttf.d I think is about 95% the same (we both ported the 
same C library), but slightly different, including a different 
module name... so you should be able to compile in both my ttf.d 
and his ttf.d at the same time.

Though I betcha his alone will be fine, or mine alone might be 
fine if you change the import statement (use `import arsd.ttf;` 
rather than `import iv.stb.ttf;`, the rest are probably 
compatible.)



More information about the Digitalmars-d-learn mailing list