Two bugs: CreatePixmap, LoadGlyph

BlitzMax Forums/BlitzMax Programming/Two bugs: CreatePixmap, LoadGlyph

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Tnx, Dreamora. I understand it when solved those bugs. My point in the best method will don't create font object (or its glyphs at least) before any initialisation of graphics mode at module level.
font:TImageFont = LoadImageFont("font.ttf", 16)
This code will init the font variable with null. Bu this code:
graphics 640,480,32
font:TImageFont = LoadImageFont("font.ttf", 16)
Will init font variable with properly font object.
But now situation is so strange.
If don't init graphics mode, but create any font object. We can access to the same of glyphs of this font. But some of existing glyphs is unavailable until graphics being initialized.
ps:sorry for my bad english.