when the images want to display before the setfont2 function, then everything is normal, so both the image and font are displaying on the page.
vCommandImageCoBuf(&xHomeImages[4]);
vCommandCoBuf(BITMAP_HANDLE(3));
vCommandCoBuf(BITMAP_SOURCE(xHomeImages[2].ulGraphicRamAddr));
vCommandCoBuf(BITMAP_LAYOUT(L4, 21, 55));
vCommandCoBuf( BITMAP_SIZE(NEAREST, BORDER, BORDER, 42, 55));
vCommandSetFont2CoBuf(xNumberSpeed.w_font, xHomeImages[2].ulGraphicRamAddr, 32);
The image after the setfont2 function isn't displaying but the first image and font are displaying well.
vCommandImageCoBuf(&xHomeImages[4]);
vCommandCoBuf(BITMAP_HANDLE(3));
vCommandCoBuf(BITMAP_SOURCE(xHomeImages[2].ulGraphicRamAddr));
vCommandCoBuf(BITMAP_LAYOUT(L4, 21, 55));
vCommandCoBuf( BITMAP_SIZE(NEAREST, BORDER, BORDER, 42, 55));
vCommandSetFont2CoBuf(xNumberSpeed.w_font, xHomeImages[2].ulGraphicRamAddr, 32);
vCommandImageCoBuf(&xHomeImages[2]); // this image isn't displaying
Note: BITMAP_HANDLEs are different.
Should I call the bitmap commands before setfont2 function for the font using? Or after?