I've tried to use the advanced font format but it keeps giving me errors... would anyone be able to help me?
The first two function calls return 0 (GD_OK), but CreateFont() returns 0xc8660070 (GDERR_INVALIDBITMAP). I've already tried everything, but the error keeps happening.
Verdana8.gif is a white and magenta (RGB(255,0,255)) image generated with the MetalShard FontMaker. I don't think the problem lays on it because the file loading (CreateSurface) returns GD_OK...
- Code:
Verdana8.CreateSurface(TEXT("Verdana8.gif"));
Verdana8.SetColorKey(RGB(255,0,255));
Verdana8.CreateFont(0, NULL);
The first two function calls return 0 (GD_OK), but CreateFont() returns 0xc8660070 (GDERR_INVALIDBITMAP). I've already tried everything, but the error keeps happening.
Verdana8.gif is a white and magenta (RGB(255,0,255)) image generated with the MetalShard FontMaker. I don't think the problem lays on it because the file loading (CreateSurface) returns GD_OK...