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
  • , thanks for clarifying the use case, I do agree that there is an issue with drawText with transparent bg color on palettized BufferedBitmap.

    The issue is stemmed from the graphic engine change that came with the GPU support, since our simulator is using the latest graphic engine, we are exposed to this issue, but older devices such as fenix 6, FRx45 are not (due to the lack of new graphic engine).

    We will have this fixed in our graphic engine, but the deployment of the fix may not happen till 2022 q2 unfortunately.

    In the meanwhile, please don't use palette for BufferedBitmap for 4.0 (and 945lte) devices, as most of those products have GPU enabled (e.g. venu2, f7, fr945lte etc), palette BufferedBitmap will actually cause the graphic engine to switch to the slower software render rather than taking advantage of the GPU which doesn't support palette (or user transform).

Comment
  • , thanks for clarifying the use case, I do agree that there is an issue with drawText with transparent bg color on palettized BufferedBitmap.

    The issue is stemmed from the graphic engine change that came with the GPU support, since our simulator is using the latest graphic engine, we are exposed to this issue, but older devices such as fenix 6, FRx45 are not (due to the lack of new graphic engine).

    We will have this fixed in our graphic engine, but the deployment of the fix may not happen till 2022 q2 unfortunately.

    In the meanwhile, please don't use palette for BufferedBitmap for 4.0 (and 945lte) devices, as most of those products have GPU enabled (e.g. venu2, f7, fr945lte etc), palette BufferedBitmap will actually cause the graphic engine to switch to the slower software render rather than taking advantage of the GPU which doesn't support palette (or user transform).

Children
No Data