ios-fontawesome icon indicating copy to clipboard operation
ios-fontawesome copied to clipboard

Battery 0..4 are rendered truncated

Open jmcazaux opened this issue 9 years ago • 2 comments

Hi there, this package is awesome (yes!) and saving us a lot of time, but I am running is something that is either an issue or something I cannot understand.

When doing let batteryIcon = UIImage.fontAwesomeIconWithName(.Battery0, textColor: UIColor.whiteColor(), size: CGSizeMake(12, 12)) I do get a 12 x 12 image but the battery image fills the space vertically and hence the right part is truncated (as the shape has a larger width). I tries with ArrowsH that is has a larger width as well and it scales correctly (the icon does not fill the height)

Any idea where it might come from ?

Many thanks in advance.

jmcazaux avatar Sep 30 '15 15:09 jmcazaux

I noticed that the icons are actually rendered OK on my iPad. Is it a Retina / non Retina issue ?

jmcazaux avatar Oct 02 '15 05:10 jmcazaux

Ok, after further investigations it seems that it is rather related to the OS version.

Within the simulator, it works with a iPad Air 8.4, but breaks on an iPad Air 9.0.

Hope this helps, JM

jmcazaux avatar Oct 02 '15 12:10 jmcazaux