Den tors 18 apr. 2024 06:17Alexander Dyagilev <alervd...@gmail.com> skrev:

> Hello,
>
> A few of our users have issues with UI rendering. We SVG sprite to display
> some elements of our UI. This SVG has a size specified in it (93x456). And
> of course we rely on it. The issue is that sometimes it's loaded with
> 116x570 size due to some unknown reason. So it's like a different image and
> we can't use such a sprite properly anymore.
>
> What can be the cause of that? I've attached this sprite image.
>

570/456 = 1.25 which is a common screen scaling factor, so possibly you
need to take that into account when rasterizing the SVG for display on
screen? Just a guess..

Elvis

_______________________________________________
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to