augusto.pellis Posted April 15, 2020 Share Posted April 15, 2020 Good morning everybody, I hope everyone's safe. I have an issue on rendering a svg image. This is rendering inside an UniHtmlFrame : And this is rendering by opening the svg file on chrome : 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 Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2020 Share Posted April 15, 2020 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? Link to comment Share on other sites More sharing options...
augusto.pellis Posted April 15, 2020 Author Share Posted April 15, 2020 Hi Sherzod, I will try. May I send it privately since it is copyrighted material? Augusto Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2020 Share Posted April 15, 2020 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. Link to comment Share on other sites More sharing options...
augusto.pellis Posted April 15, 2020 Author Share Posted April 15, 2020 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 :-( Link to comment Share on other sites More sharing options...
augusto.pellis Posted April 15, 2020 Author Share Posted April 15, 2020 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 Link to comment Share on other sites More sharing options...
augusto.pellis Posted April 15, 2020 Author Share Posted April 15, 2020 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 Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2020 Share Posted April 15, 2020 OK no problem. Thanks for the update. Have a nice programming! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now