Complete
over 2 years ago

WERETECH-12048

Fix will be applied to next SDK release.

Devices affected will have firmware updates in a future firmware build.

No more transparency for font background on bufferd bitmap since SDK 4.0

Hi, 

I use a bufferedBitmap with color palette and custom bitmap fonts without antialiasing.

Since SDK 4.0 the font background  is not more transparent. The color is defined before:

dc.setColor(CustomColor, gfx.COLOR_TRANSPARENT);
   

The code is running many years without problem.

I don't understand, what's going wrong with new SDK

Parents
  • Hello Travis, I am setting :alphaBlending to ALPHA_BLENDING_FULL on my 4-bit bitmap, and the described behavior (drawing text on transparent background 'eats up' whatever was in the bitmap before the draw call).

    Do you have a sample code that would draw a text to the bitmap without deleting what is already there? Can such thing be accomplished in SDK 4 (eg. on Fenix 7)?

Comment
  • Hello Travis, I am setting :alphaBlending to ALPHA_BLENDING_FULL on my 4-bit bitmap, and the described behavior (drawing text on transparent background 'eats up' whatever was in the bitmap before the draw call).

    Do you have a sample code that would draw a text to the bitmap without deleting what is already there? Can such thing be accomplished in SDK 4 (eg. on Fenix 7)?

Children
No Data