Jump to content

Recommended Posts

Posted

Good morning everybody, I hope everyone's safe.

I have an issue on rendering a svg image. 

This is rendering inside an UniHtmlFrame :

AnyDesk_2020-04-15_09-08-59.png.34c5a451732e4e33ddee05d9d69da66b.png

And this is rendering by opening the svg file on chrome :

AnyDesk_2020-04-15_09-08-32.png.6aa21a217e1414ff9724898bcc40dc0f.png

Chrome renders it correctly as expected.

 

Is there an explanation why the UniHTML frame does not render the svg same way? Color depth ? I hav eno ideas.

Thanks for your suggestions

Augusto

Posted
21 minutes ago, augusto.pellis said:

I have an issue on rendering a svg image. 

This is rendering inside an UniHtmlFrame :

 

21 minutes ago, augusto.pellis said:

Is there an explanation why the UniHTML frame does not render the svg same way? Color depth ? I hav eno ideas.

Hello,

Thank you.

Can we reproduce this issue? Can you make a simple testcase?

Posted
2 minutes ago, augusto.pellis said:

May I send it privately since it is copyrighted material?

OK, Just make a simple testcase and you can send via PM.

Posted

I'm confused. If I copy the whole frames which contains the svg's and paste it on a simple uni project form,they're rendered correctly. I mean the same exact frames. 

So the problem is nt on the html frame. No idea where the trick is though :-( 

Posted

The weird stuff : If I get one of the svgs and i create an uniHTMLContainer on main form, set it visible := False to make it invisible, then the svgs in the other frames gets drawn correctly. 

No idea why this happens!

Augusto

 

Posted

Update : Looks like the svg contains classes and definitions (the svg's are made with adobe svg export plugin) which have same names so they collide and make the drawing bad.

So no issues unigui side,

thanks and sorry for disturbung

Augusto 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...