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
  • Well said, thank you - it seems that this API now in SDK 4 allows no way to draw text without filling its rectangle.

    I think maybe a font could be hacked so that it has reportedly zero line height (unless you want a multiline text), which could force ConnectIQ to draw a zero height background, but it's an ugly hack.

Comment
  • Well said, thank you - it seems that this API now in SDK 4 allows no way to draw text without filling its rectangle.

    I think maybe a font could be hacked so that it has reportedly zero line height (unless you want a multiline text), which could force ConnectIQ to draw a zero height background, but it's an ugly hack.

Children
No Data