16
Discussion - Software / Re: Lower case letter problem
« on: November 13, 2017, 01:24:29 pm »
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.
The image after the setfont2 function isn't displaying but the first image and font are displaying well.
Note: BITMAP_HANDLEs are different.
Should I call the bitmap commands before setfont2 function for the font using? Or after?
Code: [Select]
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.
Code: [Select]
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?