codenameone / CodenameOne

Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.
https://www.codenameone.com/
Other
1.71k stars 409 forks source link

Flamingo SVG transcoder it support gradient? #3532

Open DurankGts opened 2 years ago

DurankGts commented 2 years ago

Please provide information if flamingo transcoder it support gradient in svg images?

DurankGts commented 2 years ago

@shannah please check why this image in svg the gradient is different in real devices an simulator. AppLogo_svg.txt AppLogo_java.txt

Please check this files generated by the transcoder and please check why the liner gradient is different in real devices that the simulator.

image

DurankGts commented 2 years ago

any support here @shannah ?

shannah commented 2 years ago

Looks like a bug in the graphics renderer. SVG gradients aren't well supported.

DurankGts commented 2 years ago

But if you could check the result of this gradient it just fail in one part. it's difficult that you check this to check if very simple to solve?

shannah commented 2 years ago

This bug is in the port rendering layer - it appears that it is in both the iOS and Android ports. It may or may not be easy to solve. The next time I'm working at that level, I'll take a look, but it takes time to set up a test case.

DurankGts commented 2 years ago

I attached in this thread up the files to reproduce this. I would like to receive any information about this. I need to launch a new app using gradient in svg

DurankGts commented 2 years ago

@shannah there is an estimated time to solve this issue? I need to launch as soon as possible an app with icon in gradient in SVG.

DurankGts commented 2 years ago

any response about this issue?

shannah commented 2 years ago

This issue is not a simple fix. The problem appears to be somewhere in how linear gradients are painted, but haven't been able to narrow it down. I don't have an ETA on this fix.

DurankGts commented 2 years ago

hello some support about this issue? it's very import this issue.

DurankGts commented 1 year ago

hello some support about this issue? it's very import this issue.