Ok, what are the steps to make a new font with the Fontmaker, I'm using (3.01). I create the font in the fontmaker, copy it to clipboard, save it in paint as a .png file (edit it first so quotation kerning line is as long as quote character). Then bring it in to my resource... and call
And they all seem to return GDERR_INVALIDBITMAP. So am I skipping a step or overlooking something? The lTracking is just spacing used, and doesnt have anything to do with the kerning lines does it? I would have guessed that any font created with fontmaker would be correct from the get go, but?
Thanks
- Code:
m_fontRed.CreateSurface(GDSURFACE_SYSTEMMEMORY, hInstance, IDR_TESTFONT_PNG, TEXT("PNG"));
GDFONTFX fontfx;
fontfx.lTracking = 3;
HRESULT hr;
hr = m_fontRed.CreateFont(NULL, TRANSPARENTCOLOR, GDCREATEFONT_TRACKING, &fontfx;);
And they all seem to return GDERR_INVALIDBITMAP. So am I skipping a step or overlooking something? The lTracking is just spacing used, and doesnt have anything to do with the kerning lines does it? I would have guessed that any font created with fontmaker would be correct from the get go, but?
Thanks