exyte / Macaw

Powerful and easy-to-use vector graphics Swift library with SVG support
MIT License
6k stars 552 forks source link

SVG renders with wrong colors #753

Open krottv opened 3 years ago

krottv commented 3 years ago

SVG renders incorrectly. I attached screenshots of how it should be and how it is. SVG image - https://yadi.sk/d/hApRkr1v7-JUhQ

The code

let svgView = SVGView() svgView.backgroundColor = UIColor(white: 1.0, alpha: 0.0) svgView.fileName = self.svgName svgView.contentMode = .center return svgView

How it is on simualtor ios 14 Simulator Screen Shot - iPhone 11 - 2021-04-15 at 15 06 42

How it is in figma -

Captura de Pantalla 2021-04-15 a la(s) 15 09 43